Da Vinci Clinical Data Exchange (CDex)
2.1.0 - STU 2.1

Publication Build: This will be filled in by the publication tooling

## Resource Profile: CDexPractitionerRole - Mappings

Page standards status: Trial-use | Maturity Level: 2

Mappings for the cdex-practitionerrole resource profile.

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

CDexPractitionerRole
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

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

CDexPractitionerRole
PractitionerRole | Entity. Role, or Act, Role
text | Act.text?
contained | N/A
extension | N/A
modifierExtension | N/A
identifier | .id
active | .statusCode
period | .performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime
practitioner | .player
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
organization | .scoper
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
code | .code
specialty | .player.HealthCareProvider[@classCode = 'PROV'].code
location | .performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']
healthcareService | .player.QualifiedEntity[@classCode = 'QUAL'].code
telecom | .telecom
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/)

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

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

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