Carries coverage policy pricing information for services and test observations within a payer master file. Each instance identifies a service or test, its acceptable price range (low and high values), and a textual reason for the cost range. It appears in MFN/MFR master file messages and is used by billing and claims adjudication systems to validate charges against payer-defined price boundaries.
from zato.hl7v2 import MCP
mcp = MCP()
mcp.set_id_mcp = '1'How to construct and work with real-world MCP segments.
Coverage policy entry defining an acceptable price range for a laboratory test
from zato.hl7v2.v2_9 import MCP
from zato.hl7v2.v2_9 import CWE, MO
mcp = MCP()
mcp.set_id_mcp = '1'
mcp.producers_service_test_observation_id = CWE(
identifier='80053',
text='Comp metabolic panel',
name_of_coding_system='CPT4'
)
mcp.universal_service_price_range_low_value = MO(quantity='15.00')
mcp.universal_service_price_range_high_value = MO(quantity='45.00')
mcp.reason_for_universal_service_cost_range = 'Regional fee schedule'Coverage policy for a radiology procedure with facility-based pricing
from zato.hl7v2.v2_9 import MCP
from zato.hl7v2.v2_9 import CWE, MO
mcp = MCP()
mcp.set_id_mcp = '2'
mcp.producers_service_test_observation_id = CWE(
identifier='71046',
text='Chest X-ray 2 views',
name_of_coding_system='CPT4'
)
mcp.universal_service_price_range_low_value = MO(quantity='50.00')
mcp.universal_service_price_range_high_value = MO(quantity='200.00')
mcp.reason_for_universal_service_cost_range = 'Facility type variation'Coverage policy entry for an outpatient evaluation with geographic price variance
from zato.hl7v2.v2_9 import MCP
from zato.hl7v2.v2_9 import CWE, MO
mcp = MCP()
mcp.set_id_mcp = '3'
mcp.producers_service_test_observation_id = CWE(
identifier='99213',
text='Office visit estab',
name_of_coding_system='CPT4'
)
mcp.universal_service_price_range_low_value = MO(quantity='75.00')
mcp.universal_service_price_range_high_value = MO(quantity='150.00')
mcp.reason_for_universal_service_cost_range = 'Geographic adjustment'Step-by-step guides for working with HL7 v2 in Zato.
MCP carries coverage policy pricing data in payer master file messages. It specifies acceptable price ranges for individual services or tests and the rationale for the range, enabling claims systems to validate charges against payer-defined boundaries.
The producers_service_test_observation_id field uses the CWE datatype with a coding system such as CPT4:
from zato.hl7v2.v2_9 import MCP, CWE
mcp = MCP()
mcp.producers_service_test_observation_id = CWE(
identifier='80053',
text='Comp metabolic panel',
name_of_coding_system='CPT4'
)Use the MO (money) datatype for both the low and high price boundaries:
from zato.hl7v2.v2_9 import MCP, MO
mcp = MCP()
mcp.universal_service_price_range_low_value = MO(quantity='15.00')
mcp.universal_service_price_range_high_value = MO(quantity='45.00')The reason_for_universal_service_cost_range field is a free-text string explaining the price variance:
from zato.hl7v2.v2_9 import MCP
mcp = MCP()
mcp.reason_for_universal_service_cost_range = 'Regional fee schedule'Set all fields together to define a full coverage policy price record:
from zato.hl7v2.v2_9 import MCP, CWE, MO
mcp = MCP()
mcp.set_id_mcp = '1'
mcp.producers_service_test_observation_id = CWE(
identifier='80053',
text='Comp metabolic panel',
name_of_coding_system='CPT4'
)
mcp.universal_service_price_range_low_value = MO(quantity='15.00')
mcp.universal_service_price_range_high_value = MO(quantity='45.00')
mcp.reason_for_universal_service_cost_range = 'Regional fee schedule'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 MCP segment, HL7 v2.9.
| # | Python name | Datatype | Usage | Repeatable | Table |
|---|---|---|---|---|---|
| 1 | set_id_mcp | SI | Required | No | - |
| 2 | producers_service_test_observation_id | CWE | Required | No | - |
| 3 | universal_service_price_range_low_value | MO | Optional | No | - |
| 4 | universal_service_price_range_high_value | MO | Optional | No | - |
| 5 | reason_for_universal_service_cost_range | ST | Optional | No | - |
Get started with Zato and connect your systems in minutes.