Provides supplemental purchasing information for a requisition line item, including the anticipated price, manufacturer and vendor identifiers, catalog references, taxability, and whether substitution is allowed. It accompanies the RQD segment in supply requisition messages (O18, O22) and gives materials management and purchasing systems the data needed to source, price, and procure the requested items.
from zato.hl7v2 import RQ1
rq1 = RQ1()
rq1.anticipated_price = '29.95'
rq1.taxable = 'Y'
rq1.substitute_allowed = 'Y'How to construct and work with real-world RQ1 segments.
Requisition detail with anticipated price, manufacturer, and taxable indicator
from zato.hl7v2.v2_9 import RQ1
from zato.hl7v2.v2_9 import CWE
rq1 = RQ1()
rq1.anticipated_price = '29.95'
rq1.manufacturer_identifier = CWE(
identifier='MFG-100',
text='Acme Medical',
name_of_coding_system='HL70385'
)
rq1.manufacturers_catalog = 'CAT-2024A'
rq1.taxable = 'Y'
rq1.substitute_allowed = 'Y'Requisition with vendor identification, catalog reference, and substitution flag
from zato.hl7v2.v2_9 import RQ1
from zato.hl7v2.v2_9 import CWE
rq1 = RQ1()
rq1.anticipated_price = '145.00'
rq1.manufacturers_catalog = 'CAT-MFG-500'
rq1.vendor_id = CWE(
identifier='VND-200',
text='Global Supply',
name_of_coding_system='HL70683'
)
rq1.vendor_catalog = 'VND-CAT-99'
rq1.taxable = 'N'
rq1.substitute_allowed = 'N'Complete requisition detail with manufacturer, vendor, catalogs, and all flags
from zato.hl7v2.v2_9 import RQ1
from zato.hl7v2.v2_9 import CWE
rq1 = RQ1()
rq1.anticipated_price = '75.50'
rq1.manufacturer_identifier = CWE(
identifier='MFG-300',
text='Sterile Corp',
name_of_coding_system='HL70385'
)
rq1.manufacturers_catalog = 'SC-CAT-12'
rq1.vendor_id = CWE(
identifier='VND-400',
text='MedDistrib',
name_of_coding_system='HL70683'
)
rq1.vendor_catalog = 'MD-CAT-88'
rq1.taxable = 'Y'
rq1.substitute_allowed = 'N'Step-by-step guides for working with HL7 v2 in Zato.
RQ1 supplements the RQD segment with purchasing details such as anticipated price, manufacturer and vendor identifiers, catalog numbers, taxability, and whether substitutes are acceptable. It helps procurement systems source and price requisitioned items.
The manufacturer_identifier field uses the CWE datatype with HL7 table 0385:
from zato.hl7v2.v2_9 import RQ1, CWE
rq1 = RQ1()
rq1.manufacturer_identifier = CWE(
identifier='MFG-100',
text='Acme Medical',
name_of_coding_system='HL70385'
)The vendor_id field uses the CWE datatype with HL7 table 0683:
from zato.hl7v2.v2_9 import RQ1, CWE
rq1 = RQ1()
rq1.vendor_id = CWE(
identifier='VND-200',
text='Global Supply',
name_of_coding_system='HL70683'
)Both fields use HL7 table 0136 (Yes/No indicator). Set them as simple string values:
from zato.hl7v2.v2_9 import RQ1
rq1 = RQ1()
rq1.taxable = 'Y'
rq1.substitute_allowed = 'N'The anticipated_price, manufacturers_catalog, and vendor_catalog fields are all simple string values:
from zato.hl7v2.v2_9 import RQ1
rq1 = RQ1()
rq1.anticipated_price = '29.95'
rq1.manufacturers_catalog = 'CAT-2024A'
rq1.vendor_catalog = 'VND-CAT-99'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 RQ1 segment, HL7 v2.9.
| # | Python name | Datatype | Usage | Repeatable | Table |
|---|---|---|---|---|---|
| 1 | anticipated_price | ST | Optional | No | - |
| 2 | manufacturer_identifier | CWE | Optional | No | HL70385 |
| 3 | manufacturers_catalog | ST | Optional | No | - |
| 4 | vendor_id | CWE | Optional | No | HL70683 |
| 5 | vendor_catalog | ST | Optional | No | - |
| 6 | taxable | ID | Optional | No | HL70136 |
| 7 | substitute_allowed | ID | Optional | No | HL70136 |
Get started with Zato and connect your systems in minutes.