Carries visit-level grouping and reimbursement data specific to CMS Ambulatory Payment Classifications (APCs) and the Outpatient Prospective Payment System (OPPS), including type of bill code, revenue codes, claim disposition code, and outlier cost. It appears in DFT and billing-related messages sent between hospital billing systems and claims processing applications. GP1 is specific to U.S. healthcare reimbursement workflows.
from zato.hl7v2.v2_9 import GP1
from zato.hl7v2.v2_9 import CWE
gp1 = GP1()
gp1.type_of_bill_code = CWE(
identifier='131',
text='Hospital Outpatient'
)
gp1.revenue_code = CWE(
identifier='0942',
text='Wellness Program'
)How to construct and work with real-world GP1 segments.
Outpatient wellness program visit
from zato.hl7v2.v2_9 import GP1
from zato.hl7v2.v2_9 import CWE
gp1 = GP1()
gp1.type_of_bill_code = CWE(
identifier='131',
text='Hospital Outpatient'
)
gp1.revenue_code = CWE(
identifier='0942',
text='Wellness Program'
)
gp1.reimbursement_action_code = CWE(
identifier='1',
text='Claim submitted'
)Annual wellness screening visit
from zato.hl7v2.v2_9 import GP1
from zato.hl7v2.v2_9 import CWE
gp1 = GP1()
gp1.type_of_bill_code = CWE(
identifier='131',
text='Hospital Outpatient'
)
gp1.revenue_code = CWE(
identifier='0770',
text='Preventive Care'
)
gp1.reimbursement_action_code = CWE(
identifier='1',
text='Claim submitted'
)Dietary services visit
from zato.hl7v2.v2_9 import GP1
from zato.hl7v2.v2_9 import CWE
gp1 = GP1()
gp1.type_of_bill_code = CWE(
identifier='131',
text='Hospital Outpatient'
)
gp1.revenue_code = CWE(
identifier='0943',
text='Nutrition Services'
)
gp1.reimbursement_action_code = CWE(
identifier='1',
text='Claim submitted'
)Step-by-step guides for working with HL7 v2 in Zato.
GP1 contains grouping and reimbursement information for visits including type of bill, revenue codes, and reimbursement action codes for wellness program billing.
Common wellness revenue codes include 0942 (Wellness Program), 0770 (Preventive Care), and 0943 (Nutrition Services).
GP1 contains visit-level grouping information while GP2 contains procedure line item details. Both work together for complete reimbursement information.
Type of bill code 131 is commonly used for hospital outpatient visits including wellness and preventive care services.
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 GP1 segment, HL7 v2.9.
| # | Python name | Datatype | Usage | Repeatable | Table |
|---|---|---|---|---|---|
| 1 | type_of_bill_code | CWE | Required | No | HL70455 |
| 2 | revenue_code | CWE | Optional | Yes | HL70456 |
| 3 | overall_claim_disposition_code | CWE | Optional | No | HL70457 |
| 4 | oce_edits_per_visit_code | CWE | Optional | Yes | HL70458 |
| 5 | outlier_cost | CP | Optional | No | - |
Get started with Zato and connect your systems in minutes.