Carries information related to a patient's death and any subsequent autopsy. It includes the death location, certified indicator, certificate signing date/time, the certifying and performing providers, autopsy indicator with start/end dates, and the coroner indicator. This segment appears in ADT messages following notification of death and supports downstream mortality reporting and administrative closure workflows.
from zato.hl7v2 import PDA
pda = PDA()
pda.death_certified_indicator = 'Y'
pda.autopsy_indicator = 'N'
pda.coroner_indicator = 'N'How to construct and work with real-world PDA segments.
Basic death record with location, certification status, and the certifying provider
from zato.hl7v2.v2_9 import PDA
from zato.hl7v2.v2_9 import PL, XCN
pda = PDA()
pda.death_location = PL(
point_of_care='ICU',
room='Room 4',
facility='Main Hospital'
)
pda.death_certified_indicator = 'Y'
pda.death_certificate_signed_date_time = (
'20240315140000'
)
pda.death_certified_by = XCN(
person_identifier='5544',
family_name='JONES',
given_name='MARIA',
suffix='MD'
)
pda.autopsy_indicator = 'N'Death record with autopsy details including the performing pathologist and date range
from zato.hl7v2.v2_9 import PDA
from zato.hl7v2.v2_9 import PL, XCN, DR
pda = PDA()
pda.death_location = PL(
point_of_care='ER',
room='Bay 2',
facility='City Hospital'
)
pda.death_certified_indicator = 'Y'
pda.death_certificate_signed_date_time = (
'20240601100000'
)
pda.death_certified_by = XCN(
person_identifier='3321',
family_name='SMITH',
given_name='ALAN',
suffix='MD'
)
pda.autopsy_indicator = 'Y'
pda.autopsy_start_and_end_date_time = DR(
range_start_date_time='20240602080000',
range_end_date_time='20240602170000'
)
pda.autopsy_performed_by = XCN(
person_identifier='7789',
family_name='LEE',
given_name='CHEN',
suffix='MD'
)
pda.coroner_indicator = 'N'Death notification with coroner involvement and minimal autopsy information
from zato.hl7v2.v2_9 import PDA
from zato.hl7v2.v2_9 import PL
pda = PDA()
pda.death_location = PL(
point_of_care='WARD',
room='Room 12',
facility='General Hospital'
)
pda.death_certified_indicator = 'N'
pda.autopsy_indicator = 'N'
pda.coroner_indicator = 'Y'Step-by-step guides for working with HL7 v2 in Zato.
PDA carries death and autopsy information for a patient. It includes the death location, certification status, certificate signing date, the certifying provider, autopsy indicator, autopsy date range and performer, and whether a coroner was involved. It appears in ADT death notification messages.
The death_location field uses the PL (person location) datatype:
from zato.hl7v2.v2_9 import PDA, PL
pda = PDA()
pda.death_location = PL(
point_of_care='ICU',
room='Room 4',
facility='Main Hospital'
)The autopsy_start_and_end_date_time field uses the DR (date/time range) datatype:
from zato.hl7v2.v2_9 import PDA, DR
pda = PDA()
pda.autopsy_start_and_end_date_time = DR(
range_start_date_time='20240602080000',
range_end_date_time='20240602170000'
)The death_certified_by field uses the XCN (extended composite ID) datatype:
from zato.hl7v2.v2_9 import PDA, XCN
pda = PDA()
pda.death_certified_by = XCN(
person_identifier='5544',
family_name='JONES',
given_name='MARIA',
suffix='MD'
)The coroner_indicator field uses HL7 table 0136 with standard Y/N values:
from zato.hl7v2.v2_9 import PDA
pda = PDA()
pda.coroner_indicator = 'Y'
pda2 = PDA()
pda2.coroner_indicator = 'N'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.
Complete list of fields in the PDA segment, HL7 v2.9.
| # | Python name | Datatype | Usage | Repeatable | Table |
|---|---|---|---|---|---|
| 1 | death_cause_code | CWE | Optional | Yes | - |
| 2 | death_location | PL | Optional | No | - |
| 3 | death_certified_indicator | ID | Optional | No | HL70136 |
| 4 | death_certificate_signed_date_time | DTM | Optional | No | - |
| 5 | death_certified_by | XCN | Optional | No | - |
| 6 | autopsy_indicator | ID | Optional | No | HL70136 |
| 7 | autopsy_start_and_end_date_time | DR | Optional | No | - |
| 8 | autopsy_performed_by | XCN | Optional | No | - |
| 9 | coroner_indicator | ID | Optional | No | HL70136 |
Get started with Zato and connect your systems in minutes.