Mappings for the athena-location-profile resource profile.
| AthenaLocation |
| Location | FHIRR4_LOCATIONVIEW |
| id | MakeId(%LOCID%) |
| meta | |
| versionId | MakeId(%LOCID%) |
| lastUpdated | %LASTMODIFIED% |
| identifier | MakeIdentifier("U",getSiteSystem("LocationId"),%LOCID%) |
| status | MapCode(%STATUS%,"LOCSTATUS") |
| name | %NAME% |
| description | %DESCRIPTION% |
| telecom | |
| telecom (WORKPHONE) | |
| value | %PRIMPHONE% |
| telecom (ALTPHONE) | |
| value | %SECPHONE% |
| telecom (FAXPHONE) | |
| value | %FAXPHONE% |
| telecom (EMAIL) | |
| value | %EMAIL% |
| address | MakeSearchAddress(%ADDRESS1%,%ADDRESS2%,%CITY%,%STATE%,%ZIP%,%COUNTRY%) |
| line (ADDRESS1) | %ADDRESS1% |
| line (ADDRESS2) | %ADDRESS2% |
| city | %CITY% |
| state | %STATE% |
| postalCode | %ZIP% |
| country | %COUNTRY% |
| managingOrganization | MakeReference("LOCREG",%ORGANIZATIONID%,"Organization") |
| partOf | MakeReference("LOCREG",%PARENTID%,"Location") |
| AthenaLocation |
| Location | FHIRR4_LOCATIONVIEW |
| id | MakeIdWithPrefix(%LOCID%,%ID_PREFIX%) |
| meta | |
| versionId | MakeId(%LOCID%) |
| lastUpdated | %LASTMODIFIED% |
| identifier | MakeIdentifier("U",getSiteSystem("LocationId"),%LOCID%,%ID_PREFIX%) |
| status | MapCode(%STATUS%,"LOCSTATUS") |
| name | %NAME% |
| description | %DESCRIPTION% |
| telecom | |
| telecom (WORKPHONE) | |
| value | %PRIMPHONE% |
| telecom (ALTPHONE) | |
| value | %SECPHONE% |
| telecom (FAXPHONE) | |
| value | %FAXPHONE% |
| telecom (EMAIL) | |
| value | %EMAIL% |
| address | MakeSearchAddress(%ADDRESS1%,%ADDRESS2%,%CITY%,%STATE%,%ZIP%,%COUNTRY%) |
| line (ADDRESS1) | %ADDRESS1% |
| line (ADDRESS2) | %ADDRESS2% |
| city | %CITY% |
| state | %STATE% |
| postalCode | %ZIP% |
| country | %COUNTRY% |
| managingOrganization | MakeReference("LOCREG",%FACILITYID%,"Organization") |
| partOf | MakeReference("LOCREG",%PARENTID%,"Location") |
| AthenaLocation |
| Location | Entity. Role, or Act, .Role[classCode=SDLC] |
| meta | |
| id | n/a |
| extension | n/a |
| text | Act.text? |
| contained | N/A |
| extension | N/A |
| modifierExtension | N/A |
| identifier | .id |
| status | .statusCode |
| operationalStatus | n/a |
| name | .name |
| alias | .name |
| description | .playingEntity[classCode=PLC determinerCode=INSTANCE].desc |
| mode | .playingEntity[classCode=PLC].determinerCode |
| type | .code |
| telecom | .telecom |
| telecom (WORKPHONE) | .telecom |
| id | n/a |
| extension | n/a |
| system | ./scheme |
| value | ./url |
| use | unique(./use) |
| rank | n/a |
| period | ./usablePeriod[type="IVL<TS>"] |
| telecom (ALTPHONE) | .telecom |
| id | n/a |
| extension | n/a |
| system | ./scheme |
| value | ./url |
| use | unique(./use) |
| rank | n/a |
| period | ./usablePeriod[type="IVL<TS>"] |
| telecom (FAXPHONE) | .telecom |
| id | n/a |
| extension | n/a |
| system | ./scheme |
| value | ./url |
| use | unique(./use) |
| rank | n/a |
| period | ./usablePeriod[type="IVL<TS>"] |
| telecom (EMAIL) | .telecom |
| id | n/a |
| extension | n/a |
| system | ./scheme |
| value | ./url |
| use | unique(./use) |
| rank | n/a |
| period | ./usablePeriod[type="IVL<TS>"] |
| address | .addr |
| id | n/a |
| extension | n/a |
| use | unique(./use) |
| type | unique(./use) |
| text | ./formatted |
| line | AD.part[parttype = AL] |
| line (ADDRESS1) | AD.part[parttype = AL] |
| line (ADDRESS2) | AD.part[parttype = AL] |
| city | AD.part[parttype = CTY] |
| district | AD.part[parttype = CNT | CPA] |
| state | AD.part[parttype = STA] |
| postalCode | AD.part[parttype = ZIP] |
| country | AD.part[parttype = CNT] |
| period | ./usablePeriod[type="IVL<TS>"] |
| physicalType | .playingEntity [classCode=PLC].code |
| position | .playingEntity [classCode=PLC determinerCode=INSTANCE].positionText |
| id | n/a |
| extension | n/a |
| modifierExtension | N/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 |
| id | n/a |
| extension | n/a |
| modifierExtension | N/A |
| daysOfWeek | .effectiveTime |
| allDay | .effectiveTime |
| openingTime | .effectiveTime |
| closingTime | .effectiveTime |
| availabilityExceptions | n/a |
| endpoint | n/a |