Case 5 - Median Temperature External & Internal

Sample Scenario

Data Point Value unit
medianTempExternNTC100mDeg 294 mDeg
medianTempInternNTC100mDeg 277 mDeg

Note: Comments are provided in green in the JSON below

medianTempExternNTC100mDeg - Median Temperature External

{
	"resourceType": "Observation",
	"meta": { //Should be sent by Confidence saying which profile the below resource conforms to.
		"profile": [
			"http://roche.com/fhir/rdc/StructureDefinition/device-event-observation-reduced"
		]
	},
	"identifier": [{
		"system": "http://roche.com/fhir/rdc/sid/observation/confidence",
		"value": "<confidence unique identifier>" // Unique identifier from confidence
	}],
	"status": "final", //always final 
	"code": {
		"text": "medianTempExternNTC100mDeg" //text describing that this is for Temperature of the external NTC
	},
	"effectiveDateTime": "2021-12-09T00:00:30Z",  // Timestamp relative to the start of the patch
	"valueQuantity": {
				"value": 294,     
				"unit": "mDeg"	// Temperature of the external NTC in millidegree
			},
	"related": [
		{
			"type": "derived-from",
			"target": {
				"display": "AAAA"//Identifier value of CGM Session resource in Phase 1 / Identifier value of CGM data resource in Phase 2
			}
		}
	],	
	"extension":[		
		{
		"url": "http://roche.com/fhir/rdc/StructureDefinition/patient-timezone",
			"valueString": "+02:00" //timezone of the patient when the sensor raw data reading was taken
	}
 ]
}


medianTempInternNTC100mDeg - Median Temperature Internal

{
	"resourceType": "Observation",
	"meta": { //Should be sent by Confidence saying which profile the below resource conforms to.
		"profile": [
			"http://roche.com/fhir/rdc/StructureDefinition/device-event-observation-reduced"
		]
	},
	"identifier": [{
		"system": "http://roche.com/fhir/rdc/sid/observation/confidence",
		"value": "<confidence unique identifier>" // Unique identifier from confidence
	}],
	"status": "final", //always final 
	"code": {
		"text": "medianTempInternNTC100mDeg" //text describing that this is for Temperature of the internal NTC
	},
	"effectiveDateTime": "2021-12-09T00:00:30Z",  // Timestamp relative to the start of the patch
	"valueQuantity": {
				"value": 277,     
				"unit": "mDeg"	// Temperature of the internal NTC in millidegree
			},
	"related": [
		{
			"type": "derived-from",
			"target": {
				"display": "AAAA"//Identifier value of CGM Session resource in Phase 1 / Identifier value of CGM data resource in Phase 2
			}
		}
	],	
	"extension":[		
		{
		"url": "http://roche.com/fhir/rdc/StructureDefinition/patient-timezone",
			"valueString": "+02:00" //timezone of the patient when the sensor raw data reading was taken. **
	}
 ]
}


** Refer timezone extension page for possible combination of timezone captured HERE