Case 6 - sensorStatus , 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",
"id": "e1967135-8846-4dc5-886a-cb204217e837", //To be managed by FHIRSTACK
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/device-event-observation" //To be added by facade - FHIR profile for sensor raw data
]
},
"identifier": [
{
"system": "http://roche.com/fhir/rdc/sid/observation/confidence",
"value": "<confidence unique identifier>" //retain same identifier received from Confidence reduced FHIR
}
],
"status": "final",
"category": [ //To be added by facade - system, code and display
{
"coding": [
{
"system": "http://ncimeta.nci.nih.gov",
"code": "CL540608",
"display": "Raw Data"
}
]
}
],
"code": {
"coding": [ //To be added by facade - system, code and display when code.text "stdDevCurrent10pA" is received in the reduced FHIR
{
"system": "http://snomed.info/sct",
"code": "386136009",
"display": "Standard deviation (qualifier value)"
}
],
"text": "stdDevCurrent10pA" //To be retained as is from the reduced format so that on restore it can be sent back
},
"subject": {
"reference": "Device/0053cfd5-a427-4691-8690-b4d956c6e698" //To be added by facade - Device link
},
"effectiveDateTime": "2021-12-09T00:00:30Z",
"performer": [
{
"reference": "Patient/2P0tI8p-SF9-6850" //To be added by facade - patient link
}
],
"valueQuantity": {
"value": 3, //To be retained as is from the reduced format
"unit": "pA", //To be retained as is from the reduced format
"system": "http://unitsofmeasure.org",
"code": "pA"
},
"related": [
{
"type": "derived-from",
"target": {
"reference": "Observation/1e6f0b94-1519-4f95-b50c-758fa3d4ac4b", // To be added by facade based on the target.display in the reduced FHIR. Link to the relevant CGM Session in Phase 1 and CGM data observation in Phase 2
"display": "AAAA"
}
}
],
"device": {
"reference": "DeviceMetric/0053cfd5-a427-4691-8690-b4d956c6e658" //To be added by facade - link to deviceMetric of relevant CGM sensor deviceComponent
},
"extension": [
{
"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, //To be retained as is from the reduced format
"unit": "min", //To be retained as is from the reduced format
"system": "http://unitsofmeasure.org",
"code": "min"
}
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/crc",
"valueString": "15850" //Integrity value over this data set
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/patient-timezone",
"valueString": "+02:00"
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-channel",
"valueString": "<channel-name>" //To be added by facade - fill channel data
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-source",
"valueString": "<source-name>" //To be added by facade - fill source data
}
]
}