CGM Sensor - reduced FHIR

Sample Scenario

Data Point Value unit Comments
SessionId AAAA
Type CapillaryWholeblood string Possible values are CapillaryWholeBlood; CapillaryPlasma; VenousWholeBlood; VenousPlasma; ArterialWholeBlood; ArterialPlasma; UndeterminedWholeBlood; UndeterminedPlasma; InterstitialFluid_ISF; ControlSolution
Sample Location Finger string Possible values are Finger; AlternateSiteTest; Earlobe; ControlSolution; SubcutaneousTissue; SampleLocationValueNotAvailable
Sample Interval 5 min
Lot Number 12345 string
SystemID ABCD-1234 string
Manufacturer Name Roche string
Model Number 56789 string
Serial Number ABCD123467878767 string
HW Revision 1.0.0 string
FW Revision 2.0.0 string
SW Revision 3.0.0 string
Model Name Aero string
Appearance 0x0D00 (Generic Continuous Glucose Monitor) string
Mac address (from sessionInfoDBItem) 00:1B:44:11:3A:B7 string

Note: Comments are provided in green in the JSON below


{
	"resourceType": "DeviceComponent",
	"meta": {  //Should be sent by Confidence saying which profile the below resource conforms to. It is always the same for a DeviceComponent resource
		"profile": [
			"http://roche.com/fhir/rdc/StructureDefinition/phd-devicecomponent-reduced"
		]
	},
	"identifier": {
		"system": "http://roche.com/fhir/rdc/sid/device-identifier", //always same for resourceType DeviceComponent
		"value": "confidence/701750003/<serial-number>" //to be built as "confidence/701750003" (static text describing the source and the type of device) followed by "/<serial-number of that sensor which will be unique>"
	},
	"type": {
		"text": "CGMSensor"   //static text describing that this resource is for the details of a CGM Sensor
	},
	"productionSpecification": [
		{
			"specType": {
				"text": "LotNumber" //static text describing the spec type
			},
			"productionSpec": "12345" 
		},
		{
			"specType": {
				"text": "SystemId"  //static text describing the spec type
			},
			"productionSpec": "ABCD-1234"
		},
		{
			"specType": {
				"text": "ManufacturerName"  //static text describing the spec type
			},
			"productionSpec": "Roche"
		},
		{
			"specType": {
				"text": "ModelNumber"  //static text describing the spec type
			},
			"productionSpec": "56789"
		},
		{
			"specType": {
				"text": "SerialNumber"  //static text describing the spec type
			},
			"productionSpec": "ABCD123467878767"
		},
		{
			"specType": {
				"text": "HWRevision"  //static text describing the spec type
			},
			"productionSpec": "1.0.0"
		},
		{
			"specType": {
				"text": "FWRevision"  //static text describing the spec type
			},
			"productionSpec": "2.0.0"
		},
		{
			"specType": {
				"text": "SWRevision"  //static text describing the spec type
			},
			"productionSpec": "3.0.0"
		},
		{
			"specType": {
				"text": "ModelName"  //static text describing the spec type
			},
			"productionSpec": "Aero"
		},
		{
			"specType": {
				"text": "Appearance"  //static text describing the spec type
			},
			"productionSpec": "0x0D00 (Generic Continuous Glucose Monitor)"
		},
		{
			"specType": {
				"text": "MacAddress"  //static text describing the spec type
			},
			"productionSpec": "00:1B:44:11:3A:B7"
		}
	],
	 "extension":  [
		{
		"url": "http://roche.com/fhir/rdc/StructureDefinition/cgm-session-id",  
		"valueString": "AAAA"   //session id
		},
		{
		"url": "http://roche.com/fhir/rdc/StructureDefinition/sample-type",  
		"valueCodeableConcept": {
			"text": "InterstitialFluid_ISF"   //static text describing the type (of sample) 
			}
		},
		{
		"url": "http://roche.com/fhir/rdc/StructureDefinition/sample-location",  
		"valueCodeableConcept": {
			"text": "SubcutaneousTissue"   //static text describing the sample location
			}
		},
		{
		"url": "http://roche.com/fhir/rdc/StructureDefinition/sample-interval",  
		"valueQuantity": {
				"value": 5,      //Sample interval in  mins
				"unit": "min"
			}
		}
]
}