Identifies a specific sterilization device and its current operational context, including the lot number being processed, the device identifier, device name, data state, and load status. It appears in sterilization device messages (SDN, SDR, SDS) alongside SCD segments to link cycle data back to the originating equipment, enabling central sterile supply systems to track which device processed each load and whether the device is active, inactive, or undergoing maintenance.
from zato.hl7v2 import SDD
sdd = SDD()
sdd.device_number = 'STER-001'
sdd.device_name = 'Autoclave A'
sdd.operator_name = 'J. Smith'How to construct and work with real-world SDD segments.
Basic device record with lot number, device identifier, name, and operator
from zato.hl7v2.v2_9 import SDD
from zato.hl7v2.v2_9 import EI
sdd = SDD()
sdd.lot_number = EI(
entity_identifier=(
'LOT-2024-001'
),
namespace_id='CSSD'
)
sdd.device_number = EI(
entity_identifier='STER-001',
namespace_id='CSSD'
)
sdd.device_name = 'Autoclave A'
sdd.operator_name = 'J. Smith'Device record with data state and load status for inventory tracking
from zato.hl7v2.v2_9 import SDD
from zato.hl7v2.v2_9 import EI, CWE
sdd = SDD()
sdd.lot_number = EI(
entity_identifier=(
'LOT-2024-055'
),
namespace_id='CSSD'
)
sdd.device_number = EI(
entity_identifier='WD-003',
namespace_id='CSSD'
)
sdd.device_name = (
'Washer-Disinfector 3'
)
sdd.device_data_state = CWE(
identifier='RE',
text='Real time',
name_of_coding_system=(
'HL70667'
)
)
sdd.load_status = CWE(
identifier='CC',
text='Cycle complete',
name_of_coding_system=(
'HL70669'
)
)
sdd.control_code = '7'
sdd.operator_name = 'M. Garcia'Device record with only device number and name for equipment registration
from zato.hl7v2.v2_9 import SDD
from zato.hl7v2.v2_9 import EI
sdd = SDD()
sdd.device_number = EI(
entity_identifier='PLS-010',
namespace_id='BIOMED'
)
sdd.device_name = (
'Plasma Sterilizer 10'
)Step-by-step guides for working with HL7 v2 in Zato.
SDD identifies a specific sterilization device and its current operational context. It carries the device identifier, name, lot number being processed, data state, and load status. It appears alongside SCD segments in sterilization messages to link cycle data back to the originating equipment.
The device_number field uses the EI (entity identifier) datatype, combining an identifier with a namespace:
from zato.hl7v2.v2_9 import SDD, EI
sdd = SDD()
sdd.device_number = EI(
entity_identifier='STER-001',
namespace_id='CSSD'
)The device_data_state field uses the CWE datatype with HL7 table 0667. Common values include RE (real time) and PD (post data):
from zato.hl7v2.v2_9 import SDD, CWE
sdd = SDD()
sdd.device_data_state = CWE(
identifier='RE',
text='Real time',
name_of_coding_system=(
'HL70667'
)
)The load_status field uses the CWE datatype with HL7 table 0669:
from zato.hl7v2.v2_9 import SDD, CWE
sdd = SDD()
sdd.load_status = CWE(
identifier='CC',
text='Cycle complete',
name_of_coding_system=(
'HL70669'
)
)The lot_number field uses the EI datatype to associate the current processing lot with the device:
from zato.hl7v2.v2_9 import SDD, EI
sdd = SDD()
sdd.lot_number = EI(
entity_identifier=(
'LOT-2024-001'
),
namespace_id='CSSD'
)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 SDD segment, HL7 v2.9.
| # | Python name | Datatype | Usage | Repeatable | Table |
|---|---|---|---|---|---|
| 1 | lot_number | EI | Optional | No | - |
| 2 | device_number | EI | Optional | No | - |
| 3 | device_name | ST | Optional | No | - |
| 4 | device_data_state | CWE | Optional | No | HL70667 |
| 5 | load_status | CWE | Optional | No | HL70669 |
| 6 | control_code | NM | Optional | No | - |
| 7 | operator_name | ST | Optional | No | - |
Get started with Zato and connect your systems in minutes.