Schedule a demo
Segment

Material location

Contains inventory-location-specific information for a supply item defined in the ITM (Material Item) segment, including the inventory location identifier, source supply location, item status, bin locations, par levels, and reorder points. It is used in materials management master file messages to synchronize supply item configurations across inventory locations within a healthcare facility.

26fields
2required
v2.9HL7 version
ivt.py
from zato.hl7v2.v2_9 import IVT
from zato.hl7v2.v2_9 import EI, CWE

ivt = IVT()
ivt.set_id_ivt = '1'
identifier = EI(entity_identifier='LOC001')
ivt.inventory_location_identifier = identifier
ivt.inventory_location_name = 'Fitness Equipment Room'

Build IVT segments in Python

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

1

Fitness equipment location

Inventory location for gym equipment

from zato.hl7v2.v2_9 import IVT
from zato.hl7v2.v2_9 import EI, CWE

ivt = IVT()
ivt.set_id_ivt = '1'
ivt.inventory_location_identifier = EI(entity_identifier='LOC001')
ivt.inventory_location_name = 'Fitness Equipment Room'
ivt.source_location_identifier = CWE(
    identifier='A',
    text='Active'
)
2

Nutrition supplies location

Inventory location for dietary supplements

from zato.hl7v2.v2_9 import IVT
from zato.hl7v2.v2_9 import EI, CWE

ivt = IVT()
ivt.set_id_ivt = '2'
ivt.inventory_location_identifier = EI(entity_identifier='LOC002')
ivt.inventory_location_name = 'Nutrition Supply Room'
ivt.source_location_identifier = CWE(
    identifier='A',
    text='Active'
)
3

Screening supplies location

Inventory location for preventive care supplies

from zato.hl7v2.v2_9 import IVT
from zato.hl7v2.v2_9 import EI, CWE

ivt = IVT()
ivt.set_id_ivt = '3'
ivt.inventory_location_identifier = EI(entity_identifier='LOC003')
ivt.inventory_location_name = 'Screening Supplies Storage'
ivt.source_location_identifier = CWE(
    identifier='A',
    text='Active'
)

Learn by building

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

Frequently asked questions

IVT contains material location information including inventory locations, item quantities, and supply details for wellness center equipment and supplies.

Use inventory_location_identifier and inventory_location_name fields:

ivt.inventory_location_identifier = EI(entity_identifier='LOC001')
ivt.inventory_location_name = 'Fitness Equipment Room'

IVT defines inventory locations while INV contains detailed inventory information. Both work together to track wellness center supplies.

Yes, use multiple IVT segments with different set_id_ivt values to track multiple inventory locations in a wellness center.

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.

IVT field reference

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

#Python nameDatatypeUsageRepeatableTable
1set_id_ivtSIRequiredNo-
2inventory_location_identifierEIRequiredNo-
3inventory_location_nameSTOptionalNo-
4source_location_identifierEIOptionalNo-
5source_location_nameSTOptionalNo-
6item_statusCWEOptionalNoHL70625
7bin_location_identifierEIOptionalYes-
8order_packagingCWEOptionalNoHL70818
9issue_packagingCWEOptionalNo-
10default_inventory_asset_accountEIOptionalNo-
11patient_chargeable_indicatorCNEOptionalNoHL70532
12transaction_codeCWEOptionalNoHL70132
13transaction_amount_unitCPOptionalNo-
14item_importance_codeCWEOptionalNoHL70634
15stocked_item_indicatorCNEOptionalNoHL70532
16consignment_item_indicatorCNEOptionalNoHL70532
17reusable_item_indicatorCNEOptionalNoHL70532
18reusable_costCPOptionalNo-
19substitute_item_identifierEIOptionalYes-
20latex_free_substitute_item_identifierEIOptionalNo-
21recommended_reorder_theoryCWEOptionalNoHL70642
22recommended_safety_stock_daysNMOptionalNo-
23recommended_maximum_days_inventoryNMOptionalNo-
24recommended_order_pointNMOptionalNo-
25recommended_order_amountNMOptionalNo-
26operating_room_par_level_indicatorCNEOptionalNoHL70532

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python