Schedule a demo
Segment

Practitioner detail

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.

12fields
0required
v2.9HL7 version
pra.py
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'
)

Build PRA segments in Python

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

1

Wellness program coordinator

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

Fitness medicine specialist

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

Nutrition medicine consultant

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

Learn by building

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

Frequently asked questions

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.

PRA field reference

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

#Python nameDatatypeUsageRepeatableTable
1primary_key_value_praCWEOptionalNoHL70681
2practitioner_groupCWEOptionalYesHL70358
3practitioner_categoryCWEOptionalYesHL70186
4provider_billingIDOptionalNoHL70187
5specialtySPDOptionalYesHL70337
6practitioner_id_numbersPLNOptionalYesHL70338
7privilegesPIPOptionalYes-
8date_entered_practiceDTOptionalNo-
9institutionCWEOptionalNoHL70537
10date_left_practiceDTOptionalNo-
11government_reimbursement_billing_eligibilityCWEOptionalYesHL70401
12set_id_praSIOptionalNo-

Ready to build integrations?

Get started with Zato and connect your systems in minutes.

Open source In Python