Source and Device details

RocheJSON sample

{
	"$schema": "ExchangeJsonSchema.json",
	"information": {
		"specification": {
			"name": "Exchange JSON File Format",
			"version": [
				0,
				9
			]
		},
		"generated by": {
			"name": "SINOVO Connection Center",
			"version": [
				1,
				0,
				20
			]
		}
        .....
	 "devices": [{
    	"description": {
    		"id": "0",    
			"type": "smartphone app",    
			"name": "CGM_Dev",    
			"serial number": "SCC-TkcxHsM0NTY4SB",
			"model type": "123456", 
			"device name": "Samsung Galaxy",
			"manufacturer": "Dev",    
			"os": "Android",
			"version": [
				1,
				2,
				0
			]
			"company": "SINOVO",
			"paired with": [ "1" ],
			"connected with": [ "1" ]   /* comment */
		}
		}...

		........
		{
    	"description": {
    		"id": "1",    
			"type": "cgm transmitter",    
			"manufacturer": "Dev",    
			"name": "CGM_Dev",    
			"serial number": "SCC-TkcxHsM0NTY4SB",
			"paired with": [ "0" ],
			"connected with": [ "0" ],
    		"sampling interval": [1  , "min"],
			"session count": 3
		}
		.......

Important Note for Implementers:

Please also refer the Roche JSON schema (https://confluence.rochedc.accentureanalytics.com/x/WglsBQ) to confirm the expected data format, i.e whether an element is an array or the data type etc.

Sample Bundle

Command 'json' could not render: File not found for 'subject=example-udtc-sinovo-source-and-device-data'

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>" 
        }
    ]
}