Sensor Details
Data Point Value unit Comments
data → sensor → batch 12345 string batch identification as string
data → sensor → sample location subcutaneous string Location from which the values are measured. Possible values: "subcutaneous", "undetermined", "other"

Possible optional datapoints provided in below example to map in fhir bundle if available.

  • 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.

{
	"resourceType": "DeviceComponent",
	"id": "sensor-devicecomponent-001",
	"meta": {
		"profile": [
			"http://roche.com/fhir/rdc/StructureDefinition/phd-devicecomponent"
		]
	},
	"identifier": {
		"system": "http://roche.com/fhir/rdc/sid/device-identifier",
		"value": "<unique device identifier>"
	},
	"type": {
		"coding": [{
			"system": "http://snomed.info/sct",
			"code": "701750003",
			"display": "Subcutaneous glucose sensor"
		}],
		"text": "CGMSensor"
	},
	"source": {
		"reference": "Device/sinovoapp-device-001"
	},
	"parent": {
		"reference": "DeviceComponent/transmitter-devicecomponent-001"
	},
	"measurementPrinciple": "other",
	"productionSpecification": [{
			"specType": {
				"coding": [{
					"system": "http://ncimeta.nci.nih.gov",
					"code": "C3641829",
					"display": "Batch Number"
				}]
			},
			"productionSpec": "12345"
		},
		{
			"specType": {
				"coding": [{
					"system": "http://hl7.org/fhir/specification-type",
					"code": "part-number",
					"display": "Part Number"
				}],
				"text": "ModelNumber"
			},
			"productionSpec": "56789"
		},		
		{
			"specType": {
				"coding": [{
					"system": "http://hl7.org/fhir/specification-type",
					"code": "unspecified",
					"display": "Unspecified Production Specification"
				}],
				"text": "ModelName"
			},
			"productionSpec": "Aero"
		}
	],
	"extension": [{
			"url": "http://roche.com/fhir/rdc/StructureDefinition/sample-location",
			"valueCodeableConcept": {
				"coding": [{
					"system": "http://ncimeta.nci.nih.gov",
					"code": "C0278403",
					"display": "Subcutis"
				}],
				"text": "SubcutaneousTissue"
			}
		}, {
			"url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-channel",
			"valueString": "<channel-name>"
		},
		{
			"url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-source",
			"valueString": "<source-name>"
		}
	]
}


DeviceMetric resource for each CGM sensor

This resource has to be created for each CGM Sensor DeviceComponent


{
                "resourceType": "DeviceMetric",
				 "id": "sensor-device-metric-001",
                "meta": {
                    "profile":  [
                        "http://roche.com/fhir/rdc/StructureDefinition/dm-device-metric"
                    ]
                },
                "identifier":  {  //build based on the deviceComponent identifier
                        "system": "http://roche.com/fhir/rdc/sid/devicemetric-identifier",
                        "value": "<deviceComponent.identifier.value>/2344-0"
                    },
                "type": {   //always same for CGM
                    "coding":  [
                        {
                            "system": "http://loinc.org",
                            "code": "2344-0",
                            "display": "Glucose [Mass/volume] in Body fluid"
                        }
                    ]
                },
                "unit": {   //always same for CGM
                    "coding":  [
                        {
                            "system": "http://unitsofmeasure.org",
                            "code": "mg/dL",
                            "display": "milligram per deciliter"
                        }
                    ]
                },
                "source": {
                    "reference": "Device/sinovoapp-device-001" 
                },
                "parent": {
                    "reference": "DeviceComponent/sensor-devicecomponent-001" 
                },
                "operationalStatus": "on",
                "category": "measurement",
                "measurementPeriod": {   
                    "repeat": {
                        "frequency": 1,
                        "period": 5,     
                        "periodUnit": "min"
                    }
                },
        "extension":  [
        {
            "url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-channel",
            "valueString": "<channel-name>" 
        },
        {
            "url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-source",
            "valueString": "<source-name>" 
        }
    ]
}