GS1 application identifier quick reference
- (00) SSCC: identifies a logistic unit such as a shipping case or pallet.
- (01) GTIN: the trade item at a specific packaging level.
- (10) Batch or lot number.
- (17) Expiration date (YYMMDD).
- (21) Serial number, unique for that GTIN.
Aggregation, explained
Aggregation records parent/child relationships: these serialized units are in this case, and these cases are on this pallet (often identified by an SSCC). It lets a partner receive a pallet or case without opening it, as long as the aggregation data is accurate, which is why reliable scanning and exception handling at packing matter so much.
HL7 v2 vs FHIR
HL7 v2 is event-driven, pipe-delimited messaging pushed between systems, and remains the backbone of most hospital interfaces. FHIR exposes data as web resources over REST and JSON, which makes it easier to query and to build modern APIs. Many projects use both: v2 for established order feeds, FHIR for newer services.
ACK and NAK
Each HL7 v2 message is answered with an acknowledgement. An ACK (AA) confirms the receiver accepted it; an error or reject (AE/AR, often called a NAK) means it must be corrected or resent. Interfaces queue and retry until acknowledged, so orders aren’t silently lost.
DSCSA verification of saleable returns
Before a returned product is resold, the wholesaler verifies its product identifier (GTIN, serial, lot, and expiry) with the manufacturer, commonly through a verification router service. Scanning stations capture the identifier, the verification result is recorded, and items that fail are quarantined.