Personal Health Device Implementation Guide
1.1.0 - STU 1.1 International flag

This page is part of the Personal Health Device FHIR IG (v1.1.0: STU 1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Simple numeric with supplemental types

This example shows a basic numeric observation. It does have a single component element as the measurement also contained a Supplemental Types attribute indicating the measurement is a SPOT (stable average).

Note there is no logical id in this resource as this resource is being uploaded to the server in a conditional create operation. The server will use the identifier to check that no other Observation resource exists on the server with the same identifier. If there is not such resource present, the server will create the logical id and return it to the sender in the response. Pulse oximeters reporting a SPOT measurement have a time stamp thus there is a reference to the coincident time stamp.

{
	"resourceType": "Observation",
	"meta": {
		"profile": [		// Indicates resource follows the PhdNumericObservation profile
			"http://hl7.org/fhir/uv/phd/StructureDefinition/PhdNumericObservation"
		]
	},
	"extension": [
		{					// Special HL7 extension to reference a gateway, in this
							// case a Continua PHG
			"url": "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice",
			"valueReference": {
				"reference": "Device/ecde3d4e58532d31.000000000000" // This resource is already on the server
			}
		}
	],
	"identifier": [ // The identifier's purpose is to uniquely identify this
					// measurement on a given server for a given patient and device.
		{
			"value": "74E8FFFEFF051C00-sisansarahId-urn:oid:1.2.3.4.5.6.7.8.10-149530-20181113175902.00-48.0-2720-150588"
			// Identifier contains (patient info, PHD system id, type code, time stamp from PHD,
			// measurement value, MDC term code for the units, and the supplemental types 32-bit MDC code.
		}
	],
	"status": "final",
	"category": [	// The category is required because this measurement is a vital sign
		{
			"coding": [
				{
					"system": "http://terminology.hl7.org/CodeSystem/observation-category",
					"code": "vital-signs"
				}
			],
			"text": "Vital Signs"
		},
		{
		  "coding" : [
			{
			  "system" : "http://hl7.org/fhir/uv/phd/CodeSystem/PhdObservationCategories",
			  "code" : "phd-observation"
			}
		  ]
		}
	  ],	
	"code": {
		"coding": [
			{
				"system": "urn:iso:std:iso:11073:10101",
				"code": "149530"
			},
			{	// A LOINC code is required because this measurement is a vital sign
				"system": "http://loinc.org",
				"code": "8867-4"
			}
		],
		"text": "MDC_PULS_OXIM_PULS_RATE: Pulse rate determined from a pulse oximeter"
	},
	"subject": {
		"reference": "Patient/sisansarahId.1.2.3.4.5.6.7.8.10"
		// The Patient resource was originally uploaded in an update transaction and the logical id was
		// specified to be generated from the Patient.identifier.value and Patient.identifier.system elements.
		// This resource is already on the server
	},
	"effectiveDateTime": "2018-11-13T17:59:02-05:00",
	"valueQuantity": {
		"value": 48.0,
		"system": "http://unitsofmeasure.org",
		"code": "{beat}/min"
	},
	"device": {
		"reference": "Device/74E8FFFEFF051C00.001C05FFE874"
		// The PHD resource was originally uploaded in an update transaction and the logical id was
		// specified to be the Device.identifier.value elements for the system id and transport address
		// elements. It is already on the server
	},
	"derivedFrom": [	// Pointer to the Coincident Time Stamps Observation
		{
			"reference": "Observation/coin-20181114065522"	// This resource already on the server
		}
	],				// Supplemental types further description of measurement
	"component": [
		{
			"code": {
				"coding": [
					{
						"system": "urn:iso:std:iso:11073:10101",
						"code": "68193"
					}
				],
				"text": "MDC_ATTR_SUPPLEMENTAL_TYPES"
			},
			"valueCodeableConcept": {
				"coding": [
					{
						"system": "urn:iso:std:iso:11073:10101",
						"code": "150588"
					}
				],
				"text": "MDC_MODALITY_SPOT: stable running average"
			}
		}
	]
}