Supplements STF with practitioner-specific information including practitioner group, specialty, license numbers, institutional privileges, and billing classification. It follows STF in MFN and PMU messages and is used by credentialing systems to communicate practitioner details to EHR, scheduling, and billing systems.
from zato.hl7v2.v2_9 import PRA
from zato.hl7v2.v2_9 import XCN, XPN, CWE, XAD
pra = PRA()
pra.primary_key_value_pra = '1'
pra.practitioner_id = XCN(
person_identifier_type='NPI',
id_number='1234567890',
family_name='Johnson',
given_name='Sarah'
)
pra.practitioner_name = XPN(
family_name='Johnson',
given_name='Sarah',
second_name='Marie'
)
pra.practitioner_specialty = CWE(
identifier='207Q00000X',
text='Family Medicine',
name_of_coding_system='NUCC'
)How to construct and work with real-world PRA segments.
Family medicine physician specializing in preventive care
from zato.hl7v2.v2_9 import PRA
from zato.hl7v2.v2_9 import XCN, XPN, CWE, XON, XAD
pra = PRA()
pra.primary_key_value_pra = '1'
pra.practitioner_id = XCN(
person_identifier_type='NPI',
id_number='1234567890',
family_name='Johnson',
given_name='Sarah'
)
pra.practitioner_name = XPN(
family_name='Johnson',
given_name='Sarah',
second_name='Marie',
name_type_code='D'
)
pra.practitioner_specialty = CWE(
identifier='207Q00000X',
text='Family Medicine',
name_of_coding_system='NUCC'
)
pra.practitioner_degree = CWE(
identifier='MD',
text='Doctor of Medicine',
name_of_coding_system='HL70336'
)
pra.practice_location = XON(organization_name='Active Life Wellness')
pra.practitioner_address = XAD(
street_address='123 Wellness Way',
city='Denver',
state_or_province='CO',
zip_or_postal_code='80202'
)Sports medicine physician with exercise physiology expertise
from zato.hl7v2.v2_9 import PRA
from zato.hl7v2.v2_9 import XCN, XPN, CWE, XON, XAD
pra = PRA()
pra.primary_key_value_pra = '2'
pra.practitioner_id = XCN(
person_identifier_type='NPI',
id_number='9876543210',
family_name='Miller',
given_name='Michael'
)
pra.practitioner_name = XPN(
family_name='Miller',
given_name='Michael',
second_name='Robert',
name_type_code='D'
)
pra.practitioner_specialty = CWE(
identifier='207RP0101X',
text='Sports Medicine',
name_of_coding_system='NUCC'
)
pra.practitioner_degree = CWE(
identifier='MD',
text='Doctor of Medicine',
name_of_coding_system='HL70336'
)
pra.practice_location = XON(organization_name='River Valley Wellness')
pra.practitioner_address = XAD(
street_address='456 Fitness Blvd',
city='Boulder',
state_or_province='CO',
zip_or_postal_code='80301'
)Registered dietitian with clinical nutrition specialization
from zato.hl7v2.v2_9 import PRA
from zato.hl7v2.v2_9 import XCN, XPN, CWE, XON, XAD
pra = PRA()
pra.primary_key_value_pra = '3'
pra.practitioner_id = XCN(
person_identifier_type='NPI',
id_number='5551112222',
family_name='Chen',
given_name='Lisa'
)
pra.practitioner_name = XPN(
family_name='Chen',
given_name='Lisa',
second_name='Ann',
name_type_code='D'
)
pra.practitioner_specialty = CWE(
identifier='133VN1006X',
text='Clinical Nutrition',
name_of_coding_system='NUCC'
)
pra.practitioner_degree = CWE(
identifier='RD',
text='Registered Dietitian',
name_of_coding_system='HL70336'
)
pra.practice_location = XON(organization_name='Harmony Health Center')
pra.practitioner_address = XAD(
street_address='789 Health Plaza',
city='Fort Collins',
state_or_province='CO',
zip_or_postal_code='80521'
)Step-by-step guides for working with HL7 v2 in Zato.
PRA contains detailed practitioner information including demographics, specialties, certifications, and practice locations. It's more comprehensive than STF and used for detailed provider profiles in wellness programs.
Use NUCC taxonomy codes for healthcare provider taxonomy:
pra.practitioner_specialty = CWE(
identifier='207Q00000X',
text='Family Medicine',
name_of_coding_system='NUCC'
)practitioner_id includes official identifiers like NPI numbers, while practitioner_name contains detailed name information including middle names and name type codes.
PRA supports single primary specialty and degree. For multiple qualifications, use additional PRA segments or consider using the EDU segment for educational details.
Use HL70336 for healthcare provider degrees, or appropriate coding systems for academic degrees. Common codes include MD, DO, RN, RD, and various specialty certifications.
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 PRA segment, HL7 v2.9.
| # | Python name | Datatype | Usage | Repeatable | Table |
|---|---|---|---|---|---|
| 1 | primary_key_value_pra | CWE | Optional | No | HL70681 |
| 2 | practitioner_group | CWE | Optional | Yes | HL70358 |
| 3 | practitioner_category | CWE | Optional | Yes | HL70186 |
| 4 | provider_billing | ID | Optional | No | HL70187 |
| 5 | specialty | SPD | Optional | Yes | HL70337 |
| 6 | practitioner_id_numbers | PLN | Optional | Yes | HL70338 |
| 7 | privileges | PIP | Optional | Yes | - |
| 8 | date_entered_practice | DT | Optional | No | - |
| 9 | institution | CWE | Optional | No | HL70537 |
| 10 | date_left_practice | DT | Optional | No | - |
| 11 | government_reimbursement_billing_eligibility | CWE | Optional | Yes | HL70401 |
| 12 | set_id_pra | SI | Optional | No | - |
Get started with Zato and connect your systems in minutes.