CGM Session

Sample Scenario

Data Point Value unit
data → number 1 number for the session
data → start time 2020-08-03T05:00:00Z UTC
data → end time 2020-08-03T10:00:00Z UTC

The following points have to be considered while mapping to FHIR:

  1. For cases when sensor details are provided in RocheJson:
  • RocheJson2FHIR mapper needs to create sensor device component and device metric resources.
  • Mapper needs to point Transmitter devicecomponent as parent for sensor device component.
  • Sensor Devicemetric will be referenced in Session Observation.

Identifier for the Observation resource is built as:

<session-number>/<DeviceComponent.Identifier.value>/<Obsrevation.code>/<Patient-FHIR-ID>/<Observation.effectivePeriod.start>/<Observation.effectivePeriod.end>


Observation resource for CGM Session

{
	"resourceType": "Observation",
	"id": "1e6f0b94-2345-4f95-b50c-758fa3d4ac4b",
	"meta": {
		"profile": [
			"http://roche.com/fhir/rdc/StructureDefinition/miscellaneous-observation"
		]
	},
	"extension": [{
		"url": "http://roche.com/fhir/rdc/StructureDefinition/patient-timezone",
		"valueString": "+09:00"
	}],
	"identifier": [{
		"system": "http://roche.com/fhir/rdc/sid/observation/sinovo",
		"value": "unique identifier" 
	}],
	"status": "final",
	"code": {
		"coding": [{
			"system": "http://roche.com/fhir/rdc/cs",
			"code": "CGM-session",
			"display": "CGM Session"
		}],

		"text": "CGMSession"
	},
	"subject": {
		"reference": "Patient/2P0tI8p-SF9-6850"
	},
	"performer": [{
		"reference": "Patient/2P0tI8p-SF9-6850"
	}],
	"effectivePeriod": {
		"start": "2020-08-03T05:00:00Z",
		"end": "2020-08-03T10:00:00Z"
	},
	"dataAbsentReason": {
		"coding": [{
			"system": "http://hl7.org/fhir/data-absent-reason",
			"code": "unknown",
			"display": "Unknown"
		}]
	},
	"device": {
		"reference": "DeviceMetric/sensor-device-metric-001"
	}	
}