Randomization and kits

Minimum expiry date displays incorrectly for automatic resupply shipments

Now, the Shipment Request File correctly includes the Minimum Expiry Date only for automatic resupply shipments. This date is calculated based on visit scheduling rules, using the highest Do-Not-Dispense (DND) value for the kit (for pooled kits, this is the current date plus the maximum DND). Manual shipments display Lot ID and Quantity, while resupply shipments display Minimum Expiry Date and Quantity as intended. Previously, the Shipment Request File defaulted the expiry date to the current day and occasionally populated it for other shipment types.

(Issue 38091110)

Shipment Request File shows incorrect batch number data

Now, the batch number value for the Shipment Request File populates only for manual shipments, and remains blank (NULL) for automatic resupply shipments. Previously, the batch number value incorrectly populated for both manual and automatic resupply shipments.

(Issue 38038114)