Identifies a purchasing vendor that supplies a given material item, including the vendor identifier, name, catalog number, and primary vendor indicator. It appears nested under the ITM segment in MFN materials management master file messages, allowing hospitals to synchronize vendor-item relationships between their MMIS or ERP systems and clinical ordering or receiving systems.
from zato.hl7v2.v2_9 import VND
from zato.hl7v2.v2_9 import EI
vnd = VND()
vnd.set_id_vnd = '1'
vnd.vendor_identifier = EI(entity_identifier='VND001')
vnd.vendor_name = 'Medical Supplies Inc'How to construct and work with real-world VND segments.
Primary supply vendor
from zato.hl7v2.v2_9 import VND
from zato.hl7v2.v2_9 import EI
vnd = VND()
vnd.set_id_vnd = '1'
vnd.vendor_identifier = EI(entity_identifier='VND001')
vnd.vendor_name = 'Medical Supplies Inc'
vnd.vendor_catalog_number = 'CAT-MS-001'Drug distributor
from zato.hl7v2.v2_9 import VND
from zato.hl7v2.v2_9 import EI
vnd = VND()
vnd.set_id_vnd = '2'
vnd.vendor_identifier = EI(entity_identifier='VND002')
vnd.vendor_name = 'PharmaCorp Distribution'
vnd.vendor_catalog_number = 'CAT-PH-002'Medical equipment supplier
from zato.hl7v2.v2_9 import VND
from zato.hl7v2.v2_9 import EI
vnd = VND()
vnd.set_id_vnd = '3'
vnd.vendor_identifier = EI(entity_identifier='VND003')
vnd.vendor_name = 'MedEquip Solutions'
vnd.vendor_catalog_number = 'CAT-EQ-003'Step-by-step guides for working with HL7 v2 in Zato.
VND contains purchasing vendor information including vendor identifiers, names, and catalog numbers for materials management.
Use vendor_identifier field with EI datatype:
from zato.hl7v2.v2_9 import VND
from zato.hl7v2.v2_9 import EI
vnd = VND()
vnd.vendor_identifier = EI(entity_identifier='VND001')The vendor catalog number is the vendor-specific product code used for ordering and inventory management.
VND contains vendor information while ITM contains item master data. Multiple VND segments can supply the same ITM.
Primary_contact and associated_contract_id give clear people and agreement anchors so nutrition, fitness, and preventive-care supply orders stay coordinated with positive, well-organized vendor relationships.
from zato.hl7v2.v2_9 import VND
from zato.hl7v2.v2_9 import EI, XCN, CWE
vnd = VND()
vnd.primary_contact = XCN(
person_identifier='PC1',
family_name='Vitality',
given_name='Coordinator'
)
vnd.associated_contract_id = EI(entity_identifier='WELL-2026-001')
vnd.pricing_tier_level = CWE(
identifier='TIER2',
text='Preferred wellness partner'
)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 VND segment, HL7 v2.9.
| # | Python name | Datatype | Usage | Repeatable | Table |
|---|---|---|---|---|---|
| 1 | set_id_vnd | SI | Required | No | - |
| 2 | vendor_identifier | EI | Optional | No | - |
| 3 | vendor_name | ST | Optional | No | - |
| 4 | vendor_catalog_number | EI | Optional | No | - |
| 5 | primary_vendor_indicator | CNE | Optional | No | HL70532 |
| 6 | corporation | EI | Optional | Yes | - |
| 7 | primary_contact | XCN | Optional | No | - |
| 8 | contract_adjustment | MOP | Optional | No | - |
| 9 | associated_contract_id | EI | Optional | Yes | - |
| 10 | class_of_trade | ST | Optional | Yes | - |
| 11 | pricing_tier_level | CWE | Optional | No | - |
Get started with Zato and connect your systems in minutes.