Schedule a demo
Segment

Purchasing vendor

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.

11fields
1required
v2.9HL7 version
vnd.py
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'

Build VND segments in Python

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

1

Medical supply vendor

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

Pharmaceutical vendor

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

Equipment vendor

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'

Learn by building

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

Frequently asked questions

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.

VND field reference

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

#Python nameDatatypeUsageRepeatableTable
1set_id_vndSIRequiredNo-
2vendor_identifierEIOptionalNo-
3vendor_nameSTOptionalNo-
4vendor_catalog_numberEIOptionalNo-
5primary_vendor_indicatorCNEOptionalNoHL70532
6corporationEIOptionalYes-
7primary_contactXCNOptionalNo-
8contract_adjustmentMOPOptionalNo-
9associated_contract_idEIOptionalYes-
10class_of_tradeSTOptionalYes-
11pricing_tier_levelCWEOptionalNo-

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python