CGM Session - expanded FHIR
Sample Scenario
| Data Point | Value | unit |
|---|---|---|
| SessionId | AAAA | |
| SessionStatus | Started | possible values: NotConfigured, Started, Stopped, WarmingUp, UnPaired |
| MacAddress | Note: See the section CGM Sensor. As it is relevant to the sensor it is included in the DeviceComponent resource. There is an extension in the DeviceComponent resource that holds the Session ID. | |
| Calculated Session start time | 2020-08-03T05:05:00Z | UTC |
| SessionStartTime (Paring Date) | 2020-08-03T05:00:00Z | UTC |
| CGM Session Run Time | 5 | hours |
| CGM session end time | 2020-08-03T10:00:00Z | UTC |
| NotificationAlreadyScheduled | true | bool |
Note: Comments are provided in green in the JSON below
Paring Date will be same as the session start time
Observation resource for CGM Session
A reduced format of this resource will be sent from Confidence. See the section CGM Session - reduced FHIR. The facade needs to further expand that resource by adding the other relelavnt fields as per our implementation guide. Details are provided in the comments below.
{
"resourceType": "Observation", //FHIR resource type
"id": "1e6f0b94-1519-4f95-b50c-758fa3d4ac4b", //To be managed by FHIRSTACK
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/miscellaneous-observation" //To be added by facade - FHIR profile for CGM
]
},
"identifier": [
{
"system": "http://roche.com/fhir/rdc/sid/observation/confidence",
"value": "AAAA" //retain same identifier received from Confidence reduced FHIR
}
],
"status": "final", //retain same status received from confidence reduced FHIR
"code": {
"coding": [ //To be added by facade - system, code and display when code.text "CGMSession" is received in the reduced FHIR
{
"system": "http://roche.com/fhir/rdc/cs",
"code": "CGM-session",
"display": "CGM Session"
}
],
"text": "CGMSession" //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
},
"performer": [
{
"reference": "Patient/2P0tI8p-SF9-6850" //To be added by facade - Patient link
}
],
"effectivePeriod": {
"start": "2020-08-03T05:00:00Z", //To be retained as is from the reduced format
"end": "2020-08-03T10:00:00Z" //To be retained as is from the reduced format
},
"dataAbsentReason": { //To be adedd by the facade - Reduced FHIR will not have any value for this Observation
"coding": [
{
"system": "http://hl7.org/fhir/data-absent-reason",
"code": "unknown",
"display": "Unknown"
}
]
},
"device": { //To be added by facade - link to deviceMetric of relevant CGM sensor deviceComponent
"reference": "DeviceMetric/0053cfd5-a427-4691-8690-b4d956c6e658"
},
"extension": [
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/session-run-time",
"valueQuantity": {
"value": 5, //To be retained as is from the reduced format
"unit": "h",
"system": "http://unitsofmeasure.org", //To be added by facade system and code for the units
"code": "h"
}
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/calculated-session-start-time",
"valueDateTime": "2020-08-03T05:05:00Z" //To be retained as is from the reduced format
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/session-status",
"valueString": "Started" //To be retained as is from the reduced format
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/notification-scheduled-status",
"valueBoolean": true //To be retained as is from the reduced format
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/patient-timezone",
"valueString": "+02:00" //to be retained as is from the reduced FHIR 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
}
]
}
** Refer timezone extension page for possible combination of timezone captured HERE