Personal Health Device Implementation Guide, published by HL7 International / Health Care Devices. This guide is not an authorized publication; it is the continuous build for version 2.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/phd/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/fhir/uv/phd/CodeSystem/ASN1ToHL7 | Version: 2.1.0 | |||
Standards status: Trial-use | Maturity Level: 3 | Computable Name: ASN1ToHL7 |
Codesystem for mapping IEEE 11073 bitstrings to FHIR Codeable Concepts
11073 PHDs report some device or measurement attributes as an integer where each bit in the integer may mean something. There is no HL7 data type that treats this kind of measurement. This code system defines a code for each of the possible bit settings. The bit value can be reported in a CodeableConcept data type.
The bit may either represent an event or a state. When an event, the defined event has occurred when set. If a state, the described item is either set or cleared. In addition the code may derive from an IEEE 11073 attribute or from a measurement. The codes come either from measurements or from a device attribute. This is encoded in a property of the code. More codes maybe added to this list in the future.
The code values for the properties are included here as well, since the valueset extension for properties is not supported for FHIR R4.
The uploader can generate the code from the data received from the PHD. No external information is necessary unless the uploader wants to populate the 'display' element of the CodeableConcept data type. It is recommended that the uploader populate the display element with at least the 11073 specialization name for the bit setting. It is not required because it is desired to have an uploader that can still work with future specializations and in that case, it is not possible for the uploader to know what the 11073 specialization name for the bit is as it is not sent over the wire; it is only available from the specialization documents.
To generate the code, the uploader obtains the code for the type of measurement which is used to populate the Observation.code.coding.code element. Then for each bit to be reported, a new code is generated by appending a period followed by the bit position being mapped. Thus a 16-bit measurement may correspond to 16 codes.
A bit can only have two values, set or cleared. Thus the value is reported in the Observation.component.valueCodeableConcept.coding.code element using the HL7 Version 2 binary coding system; "Y" for set and "N" for cleared.
If the ASN.1 bit represents an event, only the set condition needs to be reported. If the ASN.1 bit represents a state, both the set and cleared conditions need to be reported. If the device does not support the bit, it is not required to report the value. If the uploader would, nevertheless, desire to report the unsupported situation it is done in an Observation.component.dataAbsentReason.coding.code element with code "unsupported". The Observation.component.value[x] element is absent. Undefined bits are never reported.
This code system can be used to report IEEE 11073-10206 Multiple Boolean State observations, where each bit represents a state and for Bluetooth GHS Compound state/event observations that come with a mask to indicate per bit if it is a state or an event and whether it is supported by the device or not.
It can also be used for 11073-20601 Bit-Str metrics. In version 4 of the IEEE 11073-20601 specification the enumeration metric object supports both a Capability-Mask-Simple/Basic and State-flag-Simple/Basic attribute that must be present when an enumeration BITs measurement is reported. The Capability-Mask attribute will have a bit set when the corresponding bit in the actual measurement is supported by the device. The State-Flag attribute will have a bit set if the corresponding bit is a state. If cleared, the corresponding bit is an event. However, these attributes are not present in IEEE 11073-20601 versions 3 or earlier that are currently used by PHDs. Thus, the uploader will need to obtain this information from the ASN.1 mapping tables.
This Code system is referenced in the content logical definition of the following value sets:
Generated Narrative: CodeSystem ASN1ToHL7
Profile: Shareable CodeSystem
Properties
This code system defines the following properties for its concepts
Name | Code | URI | Type | Description |
Event or State | eventOrState | http://hl7.org/fhir/uv/phd/CodeSystem/ASN1ToHL7#eventOrState | code | The code type is an event or state |
Source | source | http://hl7.org/fhir/uv/phd/CodeSystem/ASN1ToHL7#source | code | The code originates from a measurement or an attribute that further describes a measurement or the sensor device. |
MDC Code | MDCCode | http://hl7.org/fhir/uv/phd/CodeSystem/ASN1ToHL7#MDCCode | Coding | The decimal code for the MDC code of the bits observation |
Concepts
This case-sensitive code system http://hl7.org/fhir/uv/phd/CodeSystem/ASN1ToHL7
defines the following codes: