National Healthcare Directory Query
1.0.0-ballot - ballot

National Healthcare Directory Query, published by HL7 International - Patient Administration Work Group. This is not an authorized publication; it is the continuous build for version 1.0.0-ballot). This version is based on the current content of https://github.com/HL7/fhir-directory-query/ and changes regularly. See the Directory of published versions

## Resource Profile: NatlDirEndpointQryPractitionerRole - Mappings

Active as of 2022-12-08

Mappings for the NatlDirEndpointQry-PractitionerRole resource profile.

### Mappings for HL7 v2 Mapping (http://hl7.org/v2)

NatlDirEndpointQryPractitionerRole
PractitionerRole | PRD (as one example)
identifier | PRD-7 (or XCN.1)
active | STF-7
period | PRD-8/9 / PRA-5.4
code | PRD-1 / STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17
specialty | PRA-5
healthcareService | EDU-2 / AFF-3
telecom |
system | XTN.3
value | XTN.1 (or XTN.12)
use | XTN.2 - but often indicated by field
rank | n/a
period | N/A

### Mappings for RIM Mapping (http://hl7.org/v3)

NatlDirEndpointQryPractitionerRole
PractitionerRole | Entity. Role, or Act, Role
meta |
id | n/a
extension | n/a
text | Act.text?
contained | N/A
modifierExtension | N/A
identifier | .id
active | .statusCode
period | .performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime
practitioner | .player
organization | .scoper
code | .code
specialty | .player.HealthCareProvider[@classCode = 'PROV'].code
location | .performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']
healthcareService | .player.QualifiedEntity[@classCode = 'QUAL'].code
telecom | .telecom
id | n/a
extension | n/a
system | ./scheme
value | ./url
use | unique(./use)
rank | n/a
period | ./usablePeriod[type="IVL<TS>"]
availableTime | .effectiveTime
id | n/a
extension | n/a
modifierExtension | N/A
daysOfWeek | .effectiveTime
allDay | .effectiveTime
availableStartTime | .effectiveTime
availableEndTime | .effectiveTime
notAvailable | .effectiveTime
id | n/a
extension | n/a
modifierExtension | N/A
description | n/a
during | .effectiveTime
availabilityExceptions | .effectiveTime
endpoint | n/a

### Mappings for ServD (http://www.omg.org/spec/ServD/1.0/)

NatlDirEndpointQryPractitionerRole
PractitionerRole | ServiceSiteProvider
identifier | ./Identifiers
period | (ServD maps Practitioners and Organizations via another entity, so this concept is not available)
code | (ServD maps Practitioners and Organizations via another entity, so this concept is not available)
specialty | ./Specialty
location | (ServD maps Practitioners and Organizations via another entity, so this concept is not available)<br/> However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)
telecom |
system | ./ContactPointType
value | ./Value
use | ./ContactPointPurpose
period | ./StartDate and ./EndDate

### Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

NatlDirEndpointQryPractitionerRole
PractitionerRole |
identifier | FiveWs.identifier
active | FiveWs.status
period | FiveWs.done[x]
location | FiveWs.where[x]