Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

Resource Profile: AthenaLocation - Mappings

Active as of 2022-03-01

Mappings for the athena-location-profile resource profile.

Mappings for athenaFlow (http://unknown.org/athenaFlow)

AthenaLocation
LocationFHIRR4_LOCATIONVIEW
   idMakeId(%LOCID%)
   meta
      versionIdMakeId(%LOCID%)
      lastUpdated%LASTMODIFIED%
   identifierMakeIdentifier("U",getSiteSystem("LocationId"),%LOCID%)
   statusMapCode(%STATUS%,"LOCSTATUS")
   name%NAME%
   description%DESCRIPTION%
   telecom
   telecom (WORKPHONE)
      value%PRIMPHONE%
   telecom (ALTPHONE)
      value%SECPHONE%
   telecom (FAXPHONE)
      value%FAXPHONE%
   telecom (EMAIL)
      value%EMAIL%
   addressMakeSearchAddress(%ADDRESS1%,%ADDRESS2%,%CITY%,%STATE%,%ZIP%,%COUNTRY%)
      line (ADDRESS1)%ADDRESS1%
      line (ADDRESS2)%ADDRESS2%
      city%CITY%
      state%STATE%
      postalCode%ZIP%
      country%COUNTRY%
   managingOrganizationMakeReference("LOCREG",%ORGANIZATIONID%,"Organization")
   partOfMakeReference("LOCREG",%PARENTID%,"Location")

Mappings for athenaPractice (http://unknown.org/athenaPractice)

AthenaLocation
LocationFHIRR4_LOCATIONVIEW
   idMakeIdWithPrefix(%LOCID%,%ID_PREFIX%)
   meta
      versionIdMakeId(%LOCID%)
      lastUpdated%LASTMODIFIED%
   identifierMakeIdentifier("U",getSiteSystem("LocationId"),%LOCID%,%ID_PREFIX%)
   statusMapCode(%STATUS%,"LOCSTATUS")
   name%NAME%
   description%DESCRIPTION%
   telecom
   telecom (WORKPHONE)
      value%PRIMPHONE%
   telecom (ALTPHONE)
      value%SECPHONE%
   telecom (FAXPHONE)
      value%FAXPHONE%
   telecom (EMAIL)
      value%EMAIL%
   addressMakeSearchAddress(%ADDRESS1%,%ADDRESS2%,%CITY%,%STATE%,%ZIP%,%COUNTRY%)
      line (ADDRESS1)%ADDRESS1%
      line (ADDRESS2)%ADDRESS2%
      city%CITY%
      state%STATE%
      postalCode%ZIP%
      country%COUNTRY%
   managingOrganizationMakeReference("LOCREG",%FACILITYID%,"Organization")
   partOfMakeReference("LOCREG",%PARENTID%,"Location")

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

AthenaLocation
LocationEntity. Role, or Act, .Role[classCode=SDLC]
   meta
      idn/a
      extensionn/a
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifier.id
   status.statusCode
   operationalStatusn/a
   name.name
   alias.name
   description.playingEntity[classCode=PLC determinerCode=INSTANCE].desc
   mode.playingEntity[classCode=PLC].determinerCode
   type.code
   telecom.telecom
   telecom (WORKPHONE).telecom
      idn/a
      extensionn/a
      system./scheme
      value./url
      useunique(./use)
      rankn/a
      period./usablePeriod[type="IVL<TS>"]
   telecom (ALTPHONE).telecom
      idn/a
      extensionn/a
      system./scheme
      value./url
      useunique(./use)
      rankn/a
      period./usablePeriod[type="IVL<TS>"]
   telecom (FAXPHONE).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>"]
   address.addr
      idn/a
      extensionn/a
      useunique(./use)
      typeunique(./use)
      text./formatted
      lineAD.part[parttype = AL]
      line (ADDRESS1)AD.part[parttype = AL]
      line (ADDRESS2)AD.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

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

AthenaLocation
Location
   identifierFiveWs.identifier
   statusFiveWs.status
   operationalStatusFiveWs.status
   modeFiveWs.class
   typeFiveWs.class
   physicalTypeFiveWs.class