Schedule a demo
Segment

Interaction status detail

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.

3fields
2required
v2.9HL7 version
isd.py
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'
)

Build ISD segments in Python

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

1

Sample loading interaction

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'
)
2

Analysis interaction

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'
)
3

Unload interaction

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'
)

Learn by building

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

Frequently asked questions

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.

ISD field reference

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

#Python nameDatatypeUsageRepeatableTable
1reference_interaction_numberNMRequiredNo-
2interaction_type_identifierCWEOptionalNoHL70368
3interaction_active_stateCWERequiredNoHL70387

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python