MediRecords FHIR Implementation Guide
1.3.0 - release


Resource Profile: MRPractitionerRoleContact - Mappings

Mappings for the mr-practitioner-role-contact resource profile.

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

MRPractitionerRoleContact
PractitionerRolePRD (as one example)
   contained
   contained (practitioner)PRD (as one example)
   contained (location)
      identifierCX / EI (occasionally, more often EI maps to a resource id or a URL)
      addressXAD
         useXAD.7
         typeXAD.18
         textXAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6
         lineXAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)
         cityXAD.3
         districtXAD.9
         stateXAD.4
         postalCodeXAD.5
         countryXAD.6
         periodXAD.12 / XAD.13 + XAD.14
   identifierCX / EI (occasionally, more often EI maps to a resource id or a URL)
   identifier (identifierAUMedicare)CX / EI (occasionally, more often EI maps to a resource id or a URL)
   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
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   specialtyPRA-5
   healthcareServiceEDU-2 / AFF-3
   telecom
   telecom (workPhone)
      systemXTN.3
      valueXTN.1 (or XTN.12)
      useXTN.2 - but often indicated by field
      rankn/a
      periodN/A
   telecom (fax)
      systemXTN.3
      valueXTN.1 (or XTN.12)
      useXTN.2 - but often indicated by field
      rankn/a
      periodN/A
   telecom (mobile)
      systemXTN.3
      valueXTN.1 (or XTN.12)
      useXTN.2 - but often indicated by field
      rankn/a
      periodN/A
   telecom (pager)
      systemXTN.3
      valueXTN.1 (or XTN.12)
      useXTN.2 - but often indicated by field
      rankn/a
      periodN/A
   telecom (email)
      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)

MRPractitionerRoleContact
PractitionerRoleEntity. Role, or Act, Role
   meta
      idn/a
      extensionn/a
   textAct.text?
   containedN/A
   contained (practitioner)Entity. Role, or Act, Role
   contained (location)Entity. Role, or Act, .Role[classCode=SDLC]
      meta
         idn/a
         extensionn/a
      textAct.text?
      containedN/A
      extensionN/A
      modifierExtensionN/A
      identifiern/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
      status.statusCode
      operationalStatusn/a
      name.name
      alias.name
      description.playingEntity[classCode=PLC determinerCode=INSTANCE].desc
      mode.playingEntity[classCode=PLC].determinerCode
      type.code
      telecom.telecom
      addressn/a, AD
         idn/a
         extensionn/a
         useunique(./use)
         typeunique(./use)
         text./formatted
         lineAD.part[parttype = AL]
         cityAD.part[parttype = CTY]
         districtAD.part[parttype = CNT | CPA]
         stateAD.part[parttype = STA]
         postalCodeAD.part[parttype = ZIP]
         countryAD.part[parttype = CNT]
         period./usablePeriod[type="IVL<TS>"]
      physicalType.playingEntity [classCode=PLC].code
      position.playingEntity [classCode=PLC determinerCode=INSTANCE].positionText
         idn/a
         extensionn/a
         modifierExtensionN/A
         longitude(RIM Opted not to map the sub-elements of GPS location, is now an OBS)
         latitude(RIM Opted not to map the sub-elements of GPS location, is now an OBS)
         altitude(RIM Opted not to map the sub-elements of GPS location, is now an OBS)
      managingOrganization.scopingEntity[classCode=ORG determinerKind=INSTANCE]
      partOf.inboundLink[typeCode=PART].source[classCode=SDLC]
      hoursOfOperation.effectiveTime
         idn/a
         extensionn/a
         modifierExtensionN/A
         daysOfWeek.effectiveTime
         allDay.effectiveTime
         openingTime.effectiveTime
         closingTime.effectiveTime
      availabilityExceptionsn/a
      endpointn/a
   extensionN/A
   modifierExtensionN/A
   identifiern/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
   identifier (identifierAUMedicare)n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
   active.statusCode
   period.performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime
   practitioner.player
   organization.scoper
   code.code
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   specialty.player.HealthCareProvider[@classCode = 'PROV'].code
   location.performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']
   healthcareService.player.QualifiedEntity[@classCode = 'QUAL'].code
   telecom.telecom
   telecom (workPhone).telecom
      idn/a
      extensionn/a
      system./scheme
      value./url
      useunique(./use)
      rankn/a
      period./usablePeriod[type="IVL<TS>"]
   telecom (fax).telecom
      idn/a
      extensionn/a
      system./scheme
      value./url
      useunique(./use)
      rankn/a
      period./usablePeriod[type="IVL<TS>"]
   telecom (mobile).telecom
      idn/a
      extensionn/a
      system./scheme
      value./url
      useunique(./use)
      rankn/a
      period./usablePeriod[type="IVL<TS>"]
   telecom (pager).telecom
      idn/a
      extensionn/a
      system./scheme
      value./url
      useunique(./use)
      rankn/a
      period./usablePeriod[type="IVL<TS>"]
   telecom (email).telecom
      idn/a
      extensionn/a
      system./scheme
      value./url
      useunique(./use)
      rankn/a
      period./usablePeriod[type="IVL<TS>"]
   availableTime.effectiveTime
      idn/a
      extensionn/a
      modifierExtensionN/A
      daysOfWeek.effectiveTime
      allDay.effectiveTime
      availableStartTime.effectiveTime
      availableEndTime.effectiveTime
   notAvailable.effectiveTime
      idn/a
      extensionn/a
      modifierExtensionN/A
      descriptionn/a
      during.effectiveTime
   availabilityExceptions.effectiveTime
   endpointn/a

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

MRPractitionerRoleContact
PractitionerRoleServiceSiteProvider
   contained
   contained (practitioner)Provider
   contained (location)
      identifierIdentifier
      addressAddress
         use./AddressPurpose
         line./StreetAddress (newline delimitted)
         city./Jurisdiction
         state./Region
         postalCode./PostalIdentificationCode
         country./Country
         period./StartDate and ./EndDate
   identifierIdentifier
   identifier (identifierAUMedicare)Identifier
   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
   telecom (workPhone)
      system./ContactPointType
      value./Value
      use./ContactPointPurpose
      period./StartDate and ./EndDate
   telecom (fax)
      system./ContactPointType
      value./Value
      use./ContactPointPurpose
      period./StartDate and ./EndDate
   telecom (mobile)
      system./ContactPointType
      value./Value
      use./ContactPointPurpose
      period./StartDate and ./EndDate
   telecom (pager)
      system./ContactPointType
      value./Value
      use./ContactPointPurpose
      period./StartDate and ./EndDate
   telecom (email)
      system./ContactPointType
      value./Value
      use./ContactPointPurpose
      period./StartDate and ./EndDate

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

MRPractitionerRoleContact
PractitionerRole
   contained
   contained (practitioner)
   contained (location)
      statusFiveWs.status
      operationalStatusFiveWs.status
      modeFiveWs.class
      typeFiveWs.class
      physicalTypeFiveWs.class
   activeFiveWs.status
   periodFiveWs.done[x]
   locationFiveWs.where[x]