Calibration BG - expanded FHIR
Sample Scenario
| Data Point | Value | unit | comment |
|---|---|---|---|
| SessionId | AAAA | ||
| GlucoseConcentration (BG) | 104 | mg/dL | |
| CalibrationTime | 2020-08-04T15:00:16Z | UTC | |
| CalibrationType | CapillaryWholeBlood | String | Possible values are CapillaryWholeBlood; CapillaryPlasma; VenousWholeBlood; VenousPlasma; ArterialWholeBlood; ArterialPlasma; UndeterminedWholeBlood; UndeterminedPlasma; InterstitialFluid_ISF; ControlSolution |
| CalibrationSampleLocation | Finger | String | Possible values are Finger; AlternateSiteTest; Earlobe; ControlSolution; SubcutaneousTissue; SampleLocationValueNotAvailable |
| NextCalibrationTime | 360 | min | |
| CalibrationDataRecordNumber | 3 | ||
| CalibrationStatus | CalibrationProcessPending | String | Possible values are CalibrationDatarejected; CalibrationDataoutofrange; CalibrationProcessPending |
Observation resource for Calibration BG measurement
A reduced format of this resource will be sent from Confidence. See the section Calibration BG - reduced FHIR. The facade needs to further expand that resource by adding the other relavent fields as per our implementation guide. Details are provided in the comments below in green.
Note: Please see the section Detailed modelling for possible values for how the resource needs to be built for different values of Calibration Type and Calibration Sample Location.
Below is an example JSON for the Calibration observation resource having bg information in expanded FHIR format
{
"resourceType": "Observation",
"id": "1e6f0b94-1519-4f95-b50c-758fa3d4ac4b", //To be managed by FHIRSTACK
"meta": {
"profile": [ //To be updated by facade - FHIR profile for Calibration observation for FHIR internal storage
"http://roche.com/fhir/rdc/StructureDefinition/observation-calibration"
]
},
"identifier": [
{
"system": "http://roche.com/fhir/rdc/sid/observation/confidence",
"value": "<confidence unique identifier>" //retain same identifier received from Confidence reduced FHIR
}
],
"related": [
{
"type": "derived-from",
"target": {
"reference": "Observation/0053cfd5-a427-4691-8690-b4d956c6e690", //To be added by facade based on the SessionID (target.display) in the reduced FHIR. Link to the relevant CGM session observation
"display": "AAAA" //To be retained as is from the reduced format so that on restore it can be sent back
}
}
],
"status": "final", //retain same status received from confidence reduced FHIR
"category": [ //To be added by facade - category for Calibration observation will always be Calibration
{
"coding": [
{
"system": "http://ncimeta.nci.nih.gov",
"code": "C0006751",
"display": "Calibration"
}
]
}
],
"code": {
"coding": [ //To be added by facade - system, code and display when code.text "GlucoseConcentration(BG)" is received in the reduced FHIR
{
"system": "http://ncimeta.nci.nih.gov",
"code": "C0337438",
"display": "Glucose Measurement"
}
],
"text": "GlucoseConcentration(Calibration)" //To be retained as is from the reduced format so that on restore it can be sent back
},
"subject": {
"reference": "Patient/2P0tI8p-SF9-6850" //To be added by facade - patient link
},
"effectiveDateTime": "2020-08-04T15:00:16Z", //Retain same value from Confidence reduced FHIR
"performer": [
{
"reference": "Patient/2P0tI8p-SF9-6850" //To be added by facade - patient link
}
],
"valueQuantity": {
"value": "104", //retain value from reduced FHIR
"unit": "mg/dL", //retain value from reduced FHIR
"system": "http://unitsofmeasure.org", //To be added by facade - the system and code details.
"code": "mg/dL"
},
"bodySite": {
"coding": [ //To be added by facade - system, code and display when bodysite.text "Finger" is received in the reduced FHIR
{
"system": "http://ncimeta.nci.nih.gov",
"code": "C0016129",
"display": "Finger"
}
],
"text": "Finger" //To be retained as is from the reduced format so that on restore it can be sent back
},
"device": { //To be added by facade - link to deviceMetric of smart phone capturing bg value .
"reference": "DeviceMetric/id-deviceMetric-smartPhone-bg"
},
"extension": [
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/patient-timezone",
"valueString": "+02:00" //To be retained as is from the reduced format
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/sample-type",
"valueCodeableConcept": {
"coding": [ //To be added by facade - system, code and display when valueCodeableConcept.text "CapillaryWholeBlood" is received in the reduced FHIR
{
"system": "http://ncimeta.nci.nih.gov",
"code": "C0229666",
"display": "Capillary Blood"
}
],
"text": "CapillaryWholeBlood" //To be retained as is from the reduced format so that on restore it can be sent back
}
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/next-calibration-time",
"valueQuantity": {
"value": 360, //To be retained as is from the reduced format
"unit": "min", //To be retained as is from the reduced format
"system": "http://unitsofmeasure.org", //To be added by facade system and code for the units
"code": "min"
}
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/calibration-count",
"valueInteger": 3 //To be retained as is from the reduced format
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/calibration-action",
"valueString": "CalibrationProcessPending" //To be retained as is from the reduced format
},
{
"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
}
]
}