Personal Health Device Implementation Guide
1.0.0 - STU 1

Publication Build: This will be filled in by the publication tooling

## Resource Profile: PhgDevice - Mappings

Mappings for the PhgDevice resource profile.

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

PhgDevice
Device | Entity. Role, or Act, Device
meta |
id | n/a
extension | n/a
text | Act.text?
contained | N/A
extension | N/A
modifierExtension | N/A
identifier | .id
identifier (systemIdIdentifier) | .id
id | n/a
extension | n/a
use | Role.code or implied by context
type | Role.code or implied by context
id | n/a
extension | n/a
coding | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
system | II.root or Role.id.root
value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
period | Role.effectiveTime or implied by context
assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
identifier (btmacAddressIdentifier) | .id
id | n/a
extension | n/a
use | Role.code or implied by context
type | Role.code or implied by context
id | n/a
extension | n/a
coding | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
system | II.root or Role.id.root
value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
period | Role.effectiveTime or implied by context
assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
identifier (macAddressIdentifier) | .id
id | n/a
extension | n/a
use | Role.code or implied by context
type | Role.code or implied by context
id | n/a
extension | n/a
coding | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
system | II.root or Role.id.root
value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
period | Role.effectiveTime or implied by context
assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
udiCarrier | .id and .code
id | n/a
extension | n/a
modifierExtension | N/A
deviceIdentifier | Role.id.extension
issuer | Role.id.root
jurisdiction | Role.scoper
carrierAIDC | Role.id.extension
carrierHRF | Role.id.extension
entryType | NA
status | .statusCode
distinctIdentifier | .lotNumberText
manufacturer | .playedRole[typeCode=MANU].scoper.name
manufactureDate | .existenceTime.low
expirationDate | .expirationTime
lotNumber | .lotNumberText
serialNumber | .playedRole[typeCode=MANU].id
deviceName |
id | n/a
extension | n/a
modifierExtension | N/A
type | .playedRole[typeCode=MANU].code
modelNumber | .softwareName (included as part)
partNumber | .playedRole[typeCode=MANU].id
type |
id | n/a
extension | n/a
coding | union(., ./translation)
coding (MDCType) | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
specialization |
id | n/a
extension | n/a
modifierExtension | N/A
systemType |
id | n/a
extension | n/a
coding | union(., ./translation)
coding (MDCType) | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
version |
id | n/a
extension | n/a
modifierExtension | N/A
type |
id | n/a
extension | n/a
coding | union(., ./translation)
coding (MDCType) | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
property |
id | n/a
extension | n/a
modifierExtension | N/A
type |
valueQuantity |
valueCode |
property (bitProperties) |
id | n/a
extension | n/a
modifierExtension | N/A
type |
id | n/a
extension | n/a
coding | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
valueCode |
id | n/a
extension | n/a
coding | union(., ./translation)
coding (V2Binary) | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
property (quantitiesProperty) |
id | n/a
extension | n/a
modifierExtension | N/A
type |
id | n/a
extension | n/a
coding | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
valueQuantity |
id | n/a
extension | n/a
value | PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
comparator | IVL properties
unit | PQ.unit
system | CO.codeSystem, PQ.translation.codeSystem
code | PQ.code, MO.currency, PQ.translation.code
property (codedListProperties) |
id | n/a
extension | n/a
modifierExtension | N/A
type |
id | n/a
extension | n/a
coding | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
valueCode |
id | n/a
extension | n/a
coding | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
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
safety | NA

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

PhgDevice
Device |
identifier | FiveWs.identifier
identifier (systemIdIdentifier) | FiveWs.identifier
identifier (btmacAddressIdentifier) | FiveWs.identifier
identifier (macAddressIdentifier) | FiveWs.identifier
udiCarrier | FiveWs.identifier
deviceIdentifier | FiveWs.what[x]
status | FiveWs.status
statusReason | FiveWs.status
distinctIdentifier | FiveWs.what[x]
manufacturer | FiveWs.what[x]
manufactureDate | FiveWs.what[x]
expirationDate | FiveWs.what[x]
lotNumber | FiveWs.what[x]
serialNumber | FiveWs.what[x]
deviceName |
type | FiveWs.what[x]
modelNumber | FiveWs.what[x]
partNumber | FiveWs.what[x]
specialization |
version | FiveWs.what[x]
version |
component | FiveWs.what[x]
patient | FiveWs.subject[x], FiveWs.subject
owner | FiveWs.source
contact | FiveWs.source
location | FiveWs.where[x]
url | FiveWs.where[x]

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

PhgDevice
Device |
identifier | The 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.
identifier (systemIdIdentifier) | The 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.
identifier (btmacAddressIdentifier) | The 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.
identifier (macAddressIdentifier) | The 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 |
deviceIdentifier | The device identifier (DI), a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device.
issuer | All 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
carrierAIDC | A unique device identifier (UDI) on a device label a form that uses automatic identification and data capture (AIDC) technology.
carrierHRF | A unique device identifier (UDI) on a device label in plain text
distinctIdentifier | The 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.
manufacturer | N/A
manufactureDate | The 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”.
expirationDate | the 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”.
lotNumber | The 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.