Aggregation and Disaggregation in Pharma

👤 Written by: Naresh Bhakar
GMP & Pharmaceutical Manufacturing Expert

✓ Reviewed by: Pankaj Sharma - Quality Control Specialist
Reviewed for QC, QA accuracy, laboratory practices, analytical methods, and technical Documents

📅 Last Updated: November 16, 2026

Aggregation and disaggregation in pharma describe how serialized packs are linked to and unlinked from the bundle, case or pallet that holds them. Aggregation links each pack to its parent, so one scan of the parent code lists all child codes. Disaggregation deletes that link when packs are removed, and the data is then rebuilt to match the pack.

Infographic of aggregation and disaggregation in pharma: packaging levels with QR codes, a packing line and five steps
The infographic shows the coded packaging levels, the line equipment and five numbered steps from stop to a checked pallet.

What is aggregation and disaggregation in pharma?

Aggregation and disaggregation in pharma are the two data operations that keep the parent-child record of a serialized pack in line with what is physically inside it. Serialization gives each pack a unique ID. Aggregation then links those packs to the bundle, case or pallet that contains them, although it is not legally mandated under the US Drug Supply Chain Security Act (DSCSA) or the EU rules, but it is widely used.

What is aggregation?

Aggregation is the process of linking serialized packs to the bundle, case or pallet that contains them, so that a parent-child relationship is created between a container and the packs inside it. The parent must be uniquely identified, either by a serial shipping container code (SSCC) for a logistic unit or by a global trade item number plus serial number (SGTIN) when the parent is itself a trade item.

During serialization, printed cartons carrying a GTIN or 2D code are aggregated into a bundle or box. Once the bundle holds the quantity set in the packing specification, the system generates a serialized label for it and sends the parent-child data to the server for traceability.

What is disaggregation?

Disaggregation is the data operation of deleting the link between a parent and some or all of its children. In the Electronic Product Code Information Services (EPCIS) standard, it is recorded as an AggregationEvent with the action DELETE, and leaving out the child list means all children are disaggregated.

The physical swap of a faulty carton is a rework step that follows. After the old link is deleted, the faulty carton is replaced at the rework station, and the parent is aggregated again so that the data matches the pack.

Aggregation vs disaggregation

Vision systems read and verify the code of each bottle or carton at the packaging station. When the count in the bundle is scanned and verified, the printer prints a bundle label and it is applied to the bundle. This step is aggregation. Unpacking a bundle or case is recorded as a DELETE event, and the pack is then rebuilt and re-aggregated.

PointAggregationDisaggregation
PurposeLinks child packs to a parentRemoves the link between a parent and some or all children
TriggerPack or bundle is completeReject, damaged pack, wrong count or unpacking
Data eventADDDELETE
Physical actionPacks are bundled, cased or palletisedPacks are removed, corrected and repacked at rework
Done byPacking operator and line equipmentTrained rework staff, with QA review

Aggregation vs serialization

Serialization assigns a unique identifier to each saleable pack. Aggregation is a separate step that records which packs sit inside which bundle, case or pallet. A serialization project designed without aggregation in mind is likely to fail or succeed only partly, so the data hierarchy should be planned from the start.

Why aggregation matters in the supply chain

Medicines move between trading partners in bundles, cases and pallets, but each pack still needs its serialized data recorded. Without aggregation, a receiver must open the case and scan every pack to get its serial numbers. With aggregation, one scan of the case SSCC gives all of them.

Aggregation also gives these benefits:

  • Recalls can be targeted instead of removing whole inventories.
  • Damaged shipments can be decommissioned in bulk.
  • Downstream partners can receive a case without opening it.

Packaging hierarchy and parent-child data

Hierarchical data results from a parent-child relationship between two items. The levels are as follows:

  • A serialized unit (blister, bottle or vial) is packed in a carton.
  • Cartons are grouped in a bundle.
  • Bundles or cartons go into a shipping case.
  • Cases are placed on a pallet.
Aggregation process flow infographic image

The carton or bundle carries an SGTIN or bundle code, the case carries an SSCC, and the pallet carries an SSCC that links all its case SSCCs. The serial numbers of all cartons or packs inside a case or pallet can therefore be read from the parent SSCC without opening it.

Packaging line flow for aggregation

The flow below applies on a serialization and aggregation line. The number of cartons per bundle, bundles per case and cases per pallet is set by the packing specification of each product.

  1. Take line clearance from the in-process quality assurance (IPQA) officer, and check that the cartons, labels and data from the previous batch are removed.

  2. Before the run starts, perform the challenge test of the vision system with known good and known bad cartons, so that the reject mechanism is proven to work.

  3. Serialize the cartons, then let the vision system read and verify each code.

  4. Make sure failed cartons are rejected from the line and collected in a controlled reject bin.

  5. Aggregate the verified cartons into bundles, and then into cases. Once the case is complete, the system generates the case label.

  6. Aggregate the cases on the pallet, and apply the auto-generated pallet label after the pallet is built.

  7. While the line runs, the production officer watches the reject counts, and all data is sent to the server.

  8. At the end of the batch, reconcile the number of packs on the line, the rejects and the data in the system, and record it in the batch packing record (BPR).

Manual, semi-automatic and automatic aggregation

Three methods are used, depending on the packaging level and the degree of automation.

LevelMethod
BundleBundles are wrapped in film or paper and read by high-resolution cameras, and an SSCC label is applied by hand or by machine
CaseCameras and lighting are integrated into a semi-automatic or automatic case packer, or a manual station has cameras viewing each layer
PalletAn auto-generated label carries the aggregation data after operators or robots build the pallet

In one automated bottle line, each bottle gets a label code and a helper code on the base. A robot arm presents each bundle to a camera that reads every code, the bundles are stacked into a case, and a case label is generated that aggregates all bottle codes, while software controls the sequence.

READ ALSO

Top Asked Dissolution Interview Questions with Expert Answers from Pharma Professionals

Want to succeed in your next pharma interview?

Disaggregation and rework procedure

A disaggregation is started when a vision or scanner reject, a damaged pack or a wrong count is found after the pack is aggregated. If an error is found at case level, the case goes to a rework station where trained staff correct the discrepancy.

  1. The packing operator stops the line and informs the supervisor, and the affected case or bundle is moved to the rework station.

  2. The trained rework staff delete the old parent-child link in the software, so the data no longer shows the removed packs.

  3. The faulty carton is replaced or corrected, and the packs are rescanned.

  4. A new parent label or SSCC is issued, and the parent is aggregated again.

  5. The IPQA officer and Quality Assurance (QA) review the rework, and it is recorded in the BPR together with the audit trail.

Who may authorise rework and how an old SSCC is cancelled follow the company’s standard operating procedure.

Data side: SSCC, SGTIN and EPCIS

An SSCC identifies a logistic unit such as a case or pallet. An SGTIN identifies a parent that is itself a trade item, for example a bundle sold as a unit. Packs inside a case are the children, and the case SSCC is their parent ID.

EPCIS aggregation events have three actions:

  • ADD: records packing of children into the parent.
  • OBSERVE: records that the children were seen in the parent.
  • DELETE: records unpacking.

The parent ID, usually an SSCC, and the child codes are required for ADD and DELETE. A disaggregation event is commonly DELETE with the business step “unpacking”. Trading-partner specifications may name the business step differently, so the software specification is followed.

Inference means that downstream partners trust the aggregation data and do not open the cases. For this reason, errors in aggregation data travel with the product, and the manufacturer or packer who creates the data is responsible for its accuracy.

Regulatory status of aggregation and disaggregation in pharma

The rules differ by market, and none of the three below makes aggregation mandatory.

  • United States: The US Food and Drug Administration (FDA) describes DSCSA as an interoperable, electronic way to identify and trace certain prescription drugs at package level through the supply chain. Enhanced distribution security requirements apply from 27 November 2023, and FDA exemptions end in stages: 27 May 2025 for manufacturers and repackagers, 27 August 2025 for wholesalers, 27 November 2025 for larger dispensers and 27 November 2027 for small dispensers. FDA counts a dispenser as small if, as of 27 November 2026, its owner company has 25 or fewer full-time employees licensed as pharmacists or qualified as pharmacy technicians. Aggregation supports case-level receipt under DSCSA.
  • European Union: Commission Delegated Regulation (EU) 2016/161 has applied since 9 February 2019 and requires a unique identifier and an anti-tampering device on the outer pack of in-scope medicines. Aggregation is voluntary.
  • India: QR code traceability has applied to the top 300 brands since 2023. The requirement extends to vaccines, narcotic and psychotropic drugs and anti-cancer drugs (compliance by 1 July 2027) and to antimicrobials (1 July 2028), with the code on the primary pack or on the secondary pack if space is short.

Critical process parameters

ParameterSetting or rangeWhy it mattersHow it is monitored
Aggregation levelsCarton, bundle, case, pallet; parent ID is an SSCC or an SGTINDefines the parent-child hierarchyPacking specification and software setup
Cartons per bundle, per case, bundles per case, cases per palletSet by the packing specification of each productMust match the physical packVision system count and reconciliation
Aggregation accuracyGoal is 100% of children read and matched to the parentA wrong link travels with the productReject and exception reports, reconciliation

No standard sets a numeric accuracy limit. The goal is 100% of children matched to the parent.

Software validation and data integrity

The serialization and aggregation software is a computerised system. It must be validated against user requirements, with testing and change control, and each user must have a unique account and role. The audit trail should be reviewed, system clocks must be time-synchronised, and backup and restore must work.

Data must also be reconciled with the physical packs, and QA must approve the rework data. These controls follow the principles in Attributable, Legible, Contemporaneous, Original and Accurate (ALCOA), ALCOA+ and ALCOA++, and the system and records can be examined in a self-inspection.

Common problems and fixes

  • Unread carton code: A poor print or a camera or lighting fault can be the cause. The carton is rejected and goes to rework, and QA is informed if the cause is a repeated print defect.
  • Damaged or duplicate SSCC label: The old label is cancelled in the software, a new SSCC is issued, and the case is aggregated again. The event is recorded in the BPR.
  • Mismatch between physical case content and system data: The case is not shipped. It is disaggregated, opened, counted and re-aggregated, and QA reviews the deviation.
  • Camera or scanner fault: The line is stopped and engineering is informed. The challenge test is repeated before the line restarts.

Expert Tips

  • Take line clearance first. The IPQA officer clears the line and removes cartons, labels and data of the previous batch, otherwise mixed codes can enter the new batch.
  • Run the vision challenge test before the batch. The operator records the result in the BPR, because an unproven reject system can let a failed carton pass.
  • Delete the old link before rework. The rework staff delete the parent-child link first and then re-aggregate, so the data never shows packs that are no longer inside.
  • Never reuse a cancelled SSCC. Issue a new one and record the cancellation, because a duplicate code can cause a mismatch downstream.
  • Reconcile at the end of the batch. Compare physical packs, rejects and system data, and record the result in the BPR.

For more packing interview questions, see Top Asked Pharma Packing Questions for the Interview.

Frequently Asked Questions

Is aggregation mandatory under DSCSA or the EU rules?

No. DSCSA and Commission Delegated Regulation (EU) 2016/161 do not require aggregation by law. Both require serialized identification of packs. Aggregation is used by many companies because it lets receivers accept a case without scanning every unit.

What is a rework station in aggregation?

A rework station is a controlled place on or near the packaging line where trained staff correct case or bundle errors. They delete the old link, correct the pack, re-aggregate and update the data. QA reviews the rework, and it is recorded in the BPR.

What happens in EPCIS when the child list is left out of a DELETE event?

When the child list is left out of an AggregationEvent with the action DELETE, all children of that parent are disaggregated, although the parent ID, usually an SSCC, is still required. This is used when a whole case is opened.

What are the Indian QR code deadlines for vaccines and anti-cancer drugs?

Compliance for vaccines, narcotic and psychotropic drugs and anti-cancer drugs is due by 1 July 2027, and for antimicrobials by 1 July 2028. The code goes on the primary pack, or on the secondary pack if space on the primary pack is short.

References

  1. Drug Supply Chain Security Act (DSCSA), US FDA
  2. Falsified medicines, European Commission
  3. Asia-Pacific roundup: India expands mandatory QR codes, RAPS
  4. EPCIS Aggregation Delete, IBM IFT Developer Zone
  5. DSCSA implementation takes big steps in 2025, Pharmaceutical Online

Leave a Comment