Identifies a piece of laboratory equipment, including its device identifier, event date and time, equipment state (such as powered on, normal operation, or out of service), and alert level. It is used in laboratory automation messages exchanged between laboratory automation middleware, analyzers, and LIS to communicate equipment status changes, enabling labs to monitor and manage instrument operations.
from zato.hl7v2.v2_9 import EQU
from zato.hl7v2.v2_9 import EI, DTM, CWE
equ = EQU()
identifier = EI(entity_identifier='ANALYZER-001')
equ.equipment_instance_identifier = identifier
equ.event_date_time = DTM('20260115093000')How to construct and work with real-world EQU segments.
Laboratory analyzer equipment status
from zato.hl7v2.v2_9 import EQU
from zato.hl7v2.v2_9 import EI, DTM, CWE
equ = EQU()
equ.equipment_instance_identifier = EI(
entity_identifier='ANALYZER-001',
namespace_id='LAB-SYS'
)
equ.event_date_time = DTM('20240115093000')
equ.equipment_state = CWE(
identifier='OP',
text='Operational',
name_of_coding_system='HL70365'
)
equ.local_remote_control_state = CWE(
identifier='L',
text='Local',
name_of_coding_system='HL70366'
)Equipment in maintenance mode
from zato.hl7v2.v2_9 import EQU
from zato.hl7v2.v2_9 import EI, DTM, CWE
equ = EQU()
equ.equipment_instance_identifier = EI(
entity_identifier='CENTRIFUGE-002',
namespace_id='LAB-SYS'
)
equ.event_date_time = DTM('20240115100000')
equ.equipment_state = CWE(
identifier='MA',
text='Maintenance',
name_of_coding_system='HL70365'
)
equ.local_remote_control_state = CWE(
identifier='L',
text='Local',
name_of_coding_system='HL70366'
)Equipment under remote control
from zato.hl7v2.v2_9 import EQU
from zato.hl7v2.v2_9 import EI, DTM, CWE
equ = EQU()
equ.equipment_instance_identifier = EI(
entity_identifier='SAMPLER-003',
namespace_id='LAB-SYS'
)
equ.event_date_time = DTM('20240115110000')
equ.equipment_state = CWE(
identifier='OP',
text='Operational',
name_of_coding_system='HL70365'
)
equ.local_remote_control_state = CWE(
identifier='R',
text='Remote',
name_of_coding_system='HL70366'
)Step-by-step guides for working with HL7 v2 in Zato.
EQU contains equipment detail information including equipment identifiers, status, event timestamps, and control states for laboratory automation.
Common equipment states from HL70365 include OP (Operational), MA (Maintenance), IN (Initializing), PA (Pausing), and PU (Powered Up).
Use local_remote_control_state field with HL70366 values:
equ.local_remote_control_state = CWE(
identifier='R',
text='Remote',
name_of_coding_system='HL70366'
)EQU contains equipment status while ISD contains interaction status details. Both are used 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 EQU segment, HL7 v2.9.
| # | Python name | Datatype | Usage | Repeatable | Table |
|---|---|---|---|---|---|
| 1 | equipment_instance_identifier | EI | Required | Yes | - |
| 2 | event_date_time | DTM | Required | No | - |
| 3 | equipment_state | CWE | Optional | No | HL70365 |
| 4 | local_remote_control_state | CWE | Optional | No | HL70366 |
| 5 | alert_level | CWE | Optional | No | HL70367 |
| 6 | expected_datetime_of_the_next_status_change | DTM | Optional | No | - |
Get started with Zato and connect your systems in minutes.