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