Reports the status of a specific interaction or command executed by a laboratory automation device, including the interaction reference number, type, and current state. It is returned in automation status response messages to inform the LIS or automation controller whether a commanded action (such as load, unload, or lock) has been initiated, completed, or failed.
from zato.hl7v2.v2_9 import ISD
from zato.hl7v2.v2_9 import CWE, NM
isd = ISD()
isd.reference_interaction_number = '12345'
isd.interaction_type_identifier = CWE(
identifier='LOAD',
text='Load Sample'
)How to construct and work with real-world ISD segments.
Laboratory sample loading status
from zato.hl7v2.v2_9 import ISD
from zato.hl7v2.v2_9 import CWE, NM
isd = ISD()
isd.reference_interaction_number = '12345'
isd.interaction_type_identifier = CWE(
identifier='LOAD',
text='Load Sample'
)
isd.interaction_active_state = CWE(
identifier='IP',
text='In Progress',
name_of_coding_system='HL70368'
)Sample analysis status
from zato.hl7v2.v2_9 import ISD
from zato.hl7v2.v2_9 import CWE, NM
isd = ISD()
isd.reference_interaction_number = '12346'
isd.interaction_type_identifier = CWE(
identifier='ANALYZE',
text='Analyze Sample'
)
isd.interaction_active_state = CWE(
identifier='CO',
text='Complete',
name_of_coding_system='HL70368'
)Sample unloading status
from zato.hl7v2.v2_9 import ISD
from zato.hl7v2.v2_9 import CWE, NM
isd = ISD()
isd.reference_interaction_number = '12347'
isd.interaction_type_identifier = CWE(
identifier='UNLOAD',
text='Unload Sample'
)
isd.interaction_active_state = CWE(
identifier='PA',
text='Paused',
name_of_coding_system='HL70368'
)Step-by-step guides for working with HL7 v2 in Zato.
ISD contains interaction status detail information including interaction identifiers, types, and status for laboratory automation workflows.
Common interaction states from HL70368 include IP (In Progress), CO (Complete), PA (Paused), and CA (Cancelled).
Use interaction_type_identifier field with CWE datatype:
isd.interaction_type_identifier = CWE(
identifier='LOAD',
text='Load Sample'
)ISD contains interaction status while EQU contains equipment status. Both are used together in laboratory automation messaging.
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 ISD segment, HL7 v2.9.
| # | Python name | Datatype | Usage | Repeatable | Table |
|---|---|---|---|---|---|
| 1 | reference_interaction_number | NM | Required | No | - |
| 2 | interaction_type_identifier | CWE | Optional | No | HL70368 |
| 3 | interaction_active_state | CWE | Required | No | HL70387 |
Get started with Zato and connect your systems in minutes.