New Zealand HPI Implementation Guide
0.9.0 - CI Build

New Zealand HPI Implementation Guide, published by Ministry of Health. This is not an authorized publication; it is the continuous build for version 0.9.0). This version is based on the current content of https://github.com/HL7NZ/hpi/ and changes regularly. See the Directory of published versions

Resource Profile: HpiPractitionerRole - Mappings

Mappings for the HpiPractitionerRole resource profile.

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

HpiPractitionerRole
PractitionerRolePRD (as one example)
   identifierPRD-7 (or XCN.1)
      useN/A
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   activeSTF-7
   periodPRD-8/9 / PRA-5.4
   codePRD-1 / STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17
   telecom
      systemXTN.3
      valueXTN.1 (or XTN.12)
      useXTN.2 - but often indicated by field
      rankn/a
      periodN/A

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

HpiPractitionerRole
PractitionerRoleEntity. Role, or Act, Role
   textAct.text?
   containedN/A
   modifierExtensionN/A
   identifier.id
      idn/a
      extensionn/a
      useRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   active.statusCode
   period.performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime
   practitioner.player
   organization.scoper
   code.code
   location.performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']
   telecom.telecom
      idn/a
      extensionn/a
      system./scheme
      value./url
      useunique(./use)
      rankn/a
      period./usablePeriod[type="IVL<TS>"]

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

HpiPractitionerRole
PractitionerRoleServiceSiteProvider
   identifier./Identifiers
      system./IdentifierType
      value./Value
      period./StartDate and ./EndDate
      assigner./IdentifierIssuingAuthority
   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)
   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)

HpiPractitionerRole
PractitionerRole
   identifierFiveWs.identifier
   activeFiveWs.status
   periodFiveWs.done[x]
   locationFiveWs.where[x]