Sensor Raw Data - reduced FHIR

Case 1 - Median & Standard Deviation

Sample Scenario

Data Point Value unit
medianCurrent10pA 2 pA
stdDevCurrent10pA 3 pA

Note: Comments are provided in green in the JSON below

medianCurrent10pA - Median Filter Current

{
	"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": "medianCurrent10pA" //text describing that this is for Median Filter Current
	},
	"effectiveDateTime": "2021-12-09T00:00:30Z",  // Timestamp relative to the start of the patch
	"valueQuantity": {
				"value": 2,     
				"unit": "pA"	// Median Filter Current in picoampere			
			},
	"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
	}
 ]
}


stdDevCurrent10pA - Standard Deviation Filter Current

{
	"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": "stdDevCurrent10pA" //text describing that this is for Standard Deviation Filter 
	},
	"effectiveDateTime": "2021-12-09T00:00:30Z",  // Timestamp relative to the start of the patch
	"valueQuantity": {
				"value": 3,     
				"unit": "pA"	// Median Filter Current in picoampere			
			},
	"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

Case 2 - Median & Std Deviation voltage counter

Sample Scenario

Data Point Value unit
medianVpolCEWEmV 50 mV
stdDevVpolCEWE100uV 83 uV

Note: Comments are provided in green in the JSON below

medianVpolCEWEmV - Median Voltage Counter Electrode Working Electrode CE WE

{
	"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": "medianVpolCEWEmV" //text describing that this is for Median Filter Current
	},
	"effectiveDateTime": "2021-12-09T00:00:30Z",  // Timestamp relative to the start of the patch
	"valueQuantity": {
				"value": 50,     
				"unit": "mV"	// Median Voltage Counter in milli volt
			},
	"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
	}
 ]
}

stdDevVpolCEWE100uV - Standard Deviation Voltage Counter Electrode Working Electrode CE WE


{
	"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": "stdDevVpolCEWE100uV" //text describing that this is for Standard Deviation Voltage Counter Filter Current
	},
	"effectiveDateTime": "2021-12-09T00:00:30Z",  // Timestamp relative to the start of the patch
	"valueQuantity": {
				"value": 83,     
				"unit": "uV"	// Standard Deviation Voltage Counter in milli volt
			},
	"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

Case 3 - Battery voltage remaining

Sample Scenario

Data Point Value unit
medianVbat10mVplus1200 178 mV

Note: Comments are provided in green in the JSON below

medianVbat10mVplus1200 - Remaining voltage of the battery.

{
	"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": "medianVbat10mVplus1200" //text describing that this is for Median remaining battery voltage
	},
	"effectiveDateTime": "2021-12-09T00:00:30Z",  // Timestamp relative to the start of the patch
	"valueQuantity": {
				"value": 178,     
				"unit": "mV"	// Median Voltage battery remaining in milli volt
			},
	"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

Case 4 - Median & Std Impedence

Sample Scenario

Data Point Value unit
medianImped1stOhm 33195 Ohm
medianImped2ndOhm 33768 Ohm
medianImped3rdOhm 35772 Ohm
stdDevImped1stOhm 3870 Ohm

Note: Comments are provided in green in the JSON below

medianImped1stOhm - Median Impedance first point

{
	"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": "medianImped1stOhm" //text describing that this is for Median Impedance first point
	},
	"effectiveDateTime": "2021-12-09T00:00:30Z",  // Timestamp relative to the start of the patch
	"valueQuantity": {
				"value": 33195,     
				"unit": "Ohm"	// Median impedence first point in Ohm
			},
	"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
	}
 ]
}


medianImped2ndOhm - Median Impedance second point

{
	"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": "medianImped2ndOhm" //text describing that this is for Median Impedance second point
	},
	"effectiveDateTime": "2021-12-09T00:00:30Z",  // Timestamp relative to the start of the patch
	"valueQuantity": {
				"value": 33768,     
				"unit": "Ohm"	// Median impedence second point in Ohm
			},
	"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
	}
 ]
}


medianImped3ndOhm - Median Impedance third point

{
	"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": "medianImped3rdOhm" //text describing that this is for Median Impedance third point
	},
	"effectiveDateTime": "2021-12-09T00:00:30Z",  // Timestamp relative to the start of the patch
	"valueQuantity": {
				"value": 35772,     
				"unit": "Ohm"	// Median impedence third point in Ohm
			},
	"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
	}
 ]
}


stdDevImped1stOhm - standard deviation Impedance first point

{
	"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": "stdDevImped1stOhm" //text describing that this is for standard deviation Impedance first point
	},
	"effectiveDateTime": "2021-12-09T00:00:30Z",  // Timestamp relative to the start of the patch
	"valueQuantity": {
				"value": 3870,     
				"unit": "Ohm"	// standard deviation Impedance first point in Ohm
			},
	"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

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

Case 6 - sensor Status , TimestampMinutes and CRC16

Sample Scenario

Data Point Value unit
SensorStatus 0 n/a
timestampMinutes 1 min
CRC16 15850 n/a

Note: Comments are provided in green in the JSON below

{
	"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": "stdDevCurrent10pA" //text describing that this is for Standard Deviation Filter
	},
	"effectiveDateTime": "2021-12-09T00:00:30Z",  // Timestamp relative to the start of the patch
	"valueQuantity": {
				"value": 3,     
				"unit": "pA"	// Standard Deviation Filter Current in 
			},
	"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. **
	},
	{
		"url": "http://roche.com/fhir/rdc/StructureDefinition/sensor-status",
			"valueString": "0" //Value corresponding to the "Sensor Status Annunciation" field provided in the CGMS specification.
	},
	{
		"url": "http://roche.com/fhir/rdc/StructureDefinition/timestamp-minutes",
		"valueQuantity": {
			"value": 1,     //Timestamp in minutes relative to the start of the patch
			"unit": "min"	// unit as min
		}
	},
	{
		"url": "http://roche.com/fhir/rdc/StructureDefinition/crc",
			"valueString": "15850" //Integrity value over this data set
	}
  ]
}


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