Schedule a demo
Segment

Donation

Describes a blood donation event in detail, including the unique Donation Identification Number, donation type, phlebotomy start and end times, arm selection, process interruptions, adverse reactions, and donor eligibility status. It is used in blood bank donation service messages exchanged between blood center registration, collection, and testing systems. DON supports integration with the ISBT 128 standard for blood product identification.

34fields
31required
v2.9HL7 version
don.py
from zato.hl7v2.v2_9 import DON
from zato.hl7v2.v2_9 import EI, DTM, XPN

don = DON()
identifier = EI(entity_identifier='DON20260115001')
don.donation_identification_number_din = identifier
don.donation_date_time = DTM('20260115100000')

Build DON segments in Python

How to construct and work with real-world DON segments.

1

Whole blood donation

Standard blood donation

from zato.hl7v2.v2_9 import DON
from zato.hl7v2.v2_9 import EI, DTM, CWE, NM

don = DON()
don.donation_identification_number_din = EI(entity_identifier='DON20240115001')
don.donation_type = CWE(
    identifier='WB',
    text='Whole Blood'
)
don.donation_date_time = DTM('20240115100000')
don.donation_end_date_time = DTM('20240115103000')
don.donation_duration = '450'
don.donation_duration_units = CWE(
    identifier='mL',
    text='mL',
    name_of_coding_system='UCUM'
)
2

Platelet donation

Apheresis platelet collection

from zato.hl7v2.v2_9 import DON
from zato.hl7v2.v2_9 import EI, DTM, CWE, NM

don = DON()
don.donation_identification_number_din = EI(entity_identifier='DON20240115002')
don.donation_type = CWE(
    identifier='PLT',
    text='Platelets'
)
don.donation_date_time = DTM('20240115110000')
don.donation_end_date_time = DTM('20240115130000')
don.donation_duration = '300'
don.donation_duration_units = CWE(
    identifier='mL',
    text='mL',
    name_of_coding_system='UCUM'
)
3

Plasma donation

Plasma collection

from zato.hl7v2.v2_9 import DON
from zato.hl7v2.v2_9 import EI, DTM, CWE, NM

don = DON()
don.donation_identification_number_din = EI(entity_identifier='DON20240115003')
don.donation_type = CWE(
    identifier='PLS',
    text='Plasma'
)
don.donation_date_time = DTM('20240115140000')
don.donation_end_date_time = DTM('20240115150000')
don.donation_duration = '600'
don.donation_duration_units = CWE(
    identifier='mL',
    text='mL',
    name_of_coding_system='UCUM'
)

Learn by building

Step-by-step guides for working with HL7 v2 in Zato.

Frequently asked questions

DON contains donation information including donation identifiers, types, dates, and donor details for blood bank operations.

Common donation types include WB (Whole Blood), PLT (Platelets), PLS (Plasma), and RBC (Red Blood Cells).

Use donation_identification_number_din field with EI datatype:

don.donation_identification_number_din = EI(entity_identifier='DON20240115001')

DON contains donation information while BUI contains blood unit information. A donation may result in multiple blood units.

Zato connects to any system that speaks HL7v2 over MLLP or FHIR over REST. This includes Epic, Cerner, Meditech, Allscripts, and other EHR platforms.

Yes, Zato has built-in MLLP support for sending and receiving HL7v2 messages. MLLP channels handle the framing protocol automatically.

Zato supports HL7 v2.9, which is backward compatible with earlier versions including v2.3, v2.5, and v2.7. Standard segments and datatypes are available as typed Python classes.

Yes. Zato handles both HL7v2 and FHIR natively, so you can parse v2 messages and build FHIR resources with IG-specific extensions in the same service. Typed Python classes are available for both protocols, including extensions from US Core, UK Core, Da Vinci, and other Implementation Guides.

DON field reference

Complete list of fields in the DON segment, HL7 v2.9.

#Python nameDatatypeUsageRepeatableTable
1donation_identification_number_dinEIOptionalNo-
2donation_typeCNEOptionalNo-
3phlebotomy_start_date_timeDTMRequiredNo-
4phlebotomy_end_date_timeDTMRequiredNo-
5donation_durationNMRequiredNo-
6donation_duration_unitsCNERequiredNoHL70932
7intended_procedure_typeCNERequiredYesHL70933
8actual_procedure_typeCNERequiredYesHL70933
9donor_eligibility_flagIDRequiredNoHL70136
10donor_eligibility_procedure_typeCNERequiredYesHL70933
11donor_eligibility_dateDTMRequiredNo-
12process_interruptionCNERequiredNoHL70923
13process_interruption_reasonCNERequiredNoHL70935
14phlebotomy_issueCNERequiredYesHL70925
15intended_recipient_blood_relativeIDRequiredNoHL70136
16intended_recipient_nameXPNRequiredNo-
17intended_recipient_dobDTMRequiredNo-
18intended_recipient_facilityXONRequiredNo-
19intended_recipient_procedure_dateDTMRequiredNo-
20intended_recipient_ordering_providerXPNRequiredNo-
21phlebotomy_statusCNERequiredNoHL70926
22arm_stickCNERequiredNoHL70927
23bleed_start_phlebotomistXPNRequiredNo-
24bleed_end_phlebotomistXPNRequiredNo-
25aphaeresis_type_machineSTRequiredNo-
26aphaeresis_machine_serial_numberSTRequiredNo-
27donor_reactionIDRequiredNoHL70136
28final_review_staff_idXPNRequiredNo-
29final_review_date_timeDTMRequiredNo-
30number_of_tubes_collectedNMRequiredNo-
31donation_sample_identifierEIRequiredYes-
32donation_accept_staffXCNRequiredNo-
33donation_material_review_staffXCNRequiredYes-
34action_codeIDOptionalNo-

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python