I am trying to map the properties of a medical device as described by a sequence of OBX segments in a PCD-01 message to FHIR resources. The properties described in the PCD-01 message are
- the device type (such as a blood pressure cuff) (found in FHIR Device resource)
- the manufacturer name and model number (found in the FHIR Device resource)
- the production specifications (found in the FHIR DeviceComponent resource)
- properties such as time capabilities (found in the FHIR DeviceMetric)
I would expect that the logical way to do this would be to populate each of these resources with the data from the said OBX segments and then "link" them together by making the DeviceMetric a contained resource of the DeviceComponent which is a contained resource of the Device. However, a contained resource cannot contain further contained resources so I need to include two contained resources in the Device resource.
However, the example for the DeviceComponent at
http://www.hl7.org/fhir/2015May/devicecomponent-example-prodspec.json.html
shows the Device a contained resource of the DeviceComponent, exactly backwards of what I would expect. How are these resources supposed to be used? I cannot use any single one of these resources to describe all the properties of the actual device, the real difficulty being that the manufacturer and model names are not in the same resource as the production specification information.
Also, if the Device type identifies that the device is a blood pressure cuff, what does the DeviceComponent type indicate? There really is no 'component' in this case, the device is a stand-alone BP cuff and nothing else, I am just forced to use the DeviceComponent resource in order to describe the production specification values.
Any help on this would be greatly appreciated!