Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

Resource Profile: AthenaDevice - Mappings

Active as of 2022-03-01

Mappings for the athena-device-profile resource profile.

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

AthenaDevice
DeviceFHIRR4_DEVICEVIEW
   id%IMPLANTABLEDEVICEGROUPID%
   meta
      versionId%RESOURCEID%
      lastUpdated%WHENUPDATED%
      security
      security (SENSITIVECHART)CheckSensitive(%SENSITIVECHART%)
      security (CONFABBR)
         systemgetSiteCodeSystem("ConfidentialDocument")
         code%CONFABBR%
      tagMakeChangeTagList(%CHANGE%)
   identifierMakeIdentifier("U",getSiteSystem("DEVICEIDENTIFIER"),%DEVICEIDENTIFIER%)
   udiCarrier
      deviceIdentifier%DEVICEIDENTIFIER%
      carrierHRF%UDI%
   statusMapCode(%DEVICESTATUS%, "DEVICESTATUS")
   distinctIdentifier%DEVICEIDENTIFIER%
   manufacturer%COMPANYNAME%
   manufactureDate%DATEMANUFACTURED%
   expirationDate%EXPIRATIONDATE%
   lotNumber%LOTNUMBER%
   serialNumber%SERIALNUMBER%
   modelNumber%VERSIONMODEL%
   typeMakeTextConcept(%GMDNPTNAME%)
   version
      value%VERSIONMODEL%
   patientMakeReference("PATIENT",%PID%,"Patient")
   noteMakeAnnotation(%NOTES%)

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

AthenaDevice
DeviceFHIRR4_DEVICEVIEW
   id%IMPLANTABLEDEVICEGROUPID%
   meta
      versionId%RESOURCEID%
      lastUpdated%WHENUPDATED%
      security
      security (SENSITIVECHART)CheckSensitive(%SENSITIVECHART%)
      security (CONFABBR)
         systemgetSiteCodeSystem("ConfidentialDocument")
         code%CONFABBR%
      tagMakeChangeTagList(%CHANGE%)
   identifierMakeIdentifier("U",getSiteSystem("DEVICEIDENTIFIER"),%DEVICEIDENTIFIER%)
   udiCarrier
      deviceIdentifier%DEVICEIDENTIFIER%
      carrierHRF%UDI%
   statusMapCode(%DEVICESTATUS%, "DEVICESTATUS")
   distinctIdentifier%DEVICEIDENTIFIER%
   manufacturer%COMPANYNAME%
   manufactureDate%DATEMANUFACTURED%
   expirationDate%EXPIRATIONDATE%
   lotNumber%LOTNUMBER%
   serialNumber%SERIALNUMBER%
   modelNumber%VERSIONMODEL%
   typeMakeTextConcept(%GMDNPTNAME%)
   version
      value%VERSIONMODEL%
   patientMakeReference("PATIENT",%PID%,"Patient")
   noteMakeAnnotation(%NOTES%)

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

AthenaDevice
DeviceEntity. Role, or Act, Device
   meta
      idn/a
      extensionn/a
      security
      security (SENSITIVECHART)
      security (CONFABBR)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifier.id
   udiCarrier.id and .code
      idn/a
      extensionn/a
      modifierExtensionN/A
      deviceIdentifierRole.id.extension
      issuerRole.id.root
      jurisdictionRole.scoper
      carrierAIDCRole.id.extension
      carrierHRFRole.id.extension
      entryTypeNA
   status.statusCode
   distinctIdentifier.lotNumberText
   manufacturer.playedRole[typeCode=MANU].scoper.name
   manufactureDate.existenceTime.low
   expirationDate.expirationTime
   lotNumber.lotNumberText
   serialNumber.playedRole[typeCode=MANU].id
   deviceName
      idn/a
      extensionn/a
      modifierExtensionN/A
      type.playedRole[typeCode=MANU].code
   modelNumber.softwareName (included as part)
   partNumber.playedRole[typeCode=MANU].id
   specialization
      idn/a
      extensionn/a
      modifierExtensionN/A
   version
      idn/a
      extensionn/a
      modifierExtensionN/A
   property
      idn/a
      extensionn/a
      modifierExtensionN/A
   patient.playedRole[typeCode=USED].scoper.playedRole[typeCode=PAT]
   owner.playedRole[typeCode=OWN].scoper
   contact.scopedRole[typeCode=CON].player
   location.playedRole[typeCode=LOCE].scoper
   url.telecom
   note.text
   safetyNA

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

AthenaDevice
Device
   identifierFiveWs.identifier
   udiCarrierFiveWs.identifier
      deviceIdentifierFiveWs.what[x]
   statusFiveWs.status
   statusReasonFiveWs.status
   distinctIdentifierFiveWs.what[x]
   manufacturerFiveWs.what[x]
   manufactureDateFiveWs.what[x]
   expirationDateFiveWs.what[x]
   lotNumberFiveWs.what[x]
   serialNumberFiveWs.what[x]
   deviceName
      typeFiveWs.what[x]
   modelNumberFiveWs.what[x]
   partNumberFiveWs.what[x]
   specialization
      versionFiveWs.what[x]
   version
      componentFiveWs.what[x]
   patientFiveWs.subject[x], FiveWs.subject
   ownerFiveWs.source
   contactFiveWs.source
   locationFiveWs.where[x]
   urlFiveWs.where[x]

Mappings for UDI Mapping (http://fda.gov/UDI)

AthenaDevice
Device
   identifierThe serial number which is a component of the production identifier (PI), a conditional, variable portion of a UDI. The identifier.type code should be set to “SNO”(Serial Number) and the system left empty.
   udiCarrier
      deviceIdentifierThe device identifier (DI), a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device.
      issuerAll UDIs are to be issued under a system operated by an Jurisdiction-accredited issuing agency. GS1 DIs: http://hl7.org/fhir/NamingSystem/gs1 HIBCC DIs: http://hl7.org/fhir/NamingSystem/hibcc ICCBBA DIs for blood containers: http://hl7.org/fhir/NamingSystem/iccbba-blood ICCBA DIs for other devices: http://hl7.org/fhir/NamingSystem/iccbba-other
      carrierAIDCA unique device identifier (UDI) on a device label a form that uses automatic identification and data capture (AIDC) technology.
      carrierHRFA unique device identifier (UDI) on a device label in plain text
   distinctIdentifierThe lot or batch number within which a device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI.
   manufacturerN/A
   manufactureDateThe date a specific device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI. For FHIR, The datetime syntax must converted to YYYY-MM-DD[THH:MM:SS]. If hour is present, the minutes and seconds should both be set to “00”.
   expirationDatethe expiration date of a specific device - which is a component of the production identifier (PI), a conditional, variable portion of a UDI. For FHIR, The datetime syntax must converted to YYYY-MM-DD[THH:MM:SS]. If hour is present, the minutes and seconds should both be set to “00”.
   lotNumberThe lot or batch number within which a device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI.