example - Insulin (Time block) settings :
Insulin sample :
Devices.DeviceModel
{ "resourceType": "Device", // Resource name value in FHIR for this profile "id": "a6912957-4c05-4ece-8cc1-a7a16495ed01", "meta": { // used for validation of the profile "profile": [ "http://roche.com/fhir/iop/StructureDefinition/Devices_DeviceModel" ] }, "type": { // hardcoded structure value in FHIR for the BG Device (Glucometer) "coding": [ { "system": "http://snomed.info/sct", "code": "69805005", "display": "Insulin pump" } ] }, "name" : [ { "value" : "soloM Aviva" } ], "modelNumber": "923", }
Devices.DeviceInstance
{ "resourceType": "Device", // Resource name value in FHIR for this profile "id": "5f0990b9-1be2-4f69-9621-028b6abdf1b5", "meta": { // used for validation of the profile "profile": [ "http://roche.com/fhir/iop/StructureDefinition/Devices_DeviceInstance" ] }, "serialNumber": "5050", "extension": [ { "extension": [ { "url": "settingsTime", "valuePeriod": { "start": "2023-10-13T13:00:00Z", "end": "2023-10-13T14:00:00Z" } }, { "url": "settingsCode", "valueCodeableConcept": { "coding": [ { "system": "http://roche.com/fhir/iop/cs", "code": "1055210001_bloodglucose", "display": "1055210001_bloodglucose" } ] } }, { "url": "settingsValue", "valueRange": [ { "low": { "value": 80, "unit": "mg/dL", "system": "http://unitsofmeasure.org", "code": "mg/dL" }, "high": { "value": 200, "unit": "mg/dL", "system": "http://unitsofmeasure.org", "code": "mg/dL" } } ] } ], "url": "http://roche.com/fhir/iop/StructureDefinition/DeviceSettings" }, { "extension": [ { "url": "settingsTime", "valuePeriod": { "start": "2023-10-13T13:00:00Z", "end": "2023-10-13T14:00:00Z" } }, { "url": "settingsCode", "valueCodeableConcept": { "coding": [ { "system": "http://snomed.info/sct", "code": "789483009", "display": "Insulin sensitivity factor" } ] } }, { "url": "settingsValue", "valueRatio": { "numerator" : { "value" : "40", "unit" : "mg/dL", "code" : "mg/dL", "system" : "http://unitsofmeasure.org" }, "denominator" : { "value" : "1.3", "unit" : "[iU]", "code" : "[iU]", "system" : "http://unitsofmeasure.org" } } } ], "url": "http://roche.com/fhir/iop/StructureDefinition/DeviceSettings" }, { "extension": [ { "url": "settingsTime", "valuePeriod": { "start": "2023-10-13T13:00:00Z", "end": "2023-10-13T14:00:00Z" } }, { "url": "settingsCode", "valueCodeableConcept": { "coding": [ { "system": "http://snomed.info/sct", "code": "789496005", "display": "Insulin to carbohydrate ratio" } ] } }, { "url": "settingsValue", "valueRatio": { "numerator" : { "value" : "10", "unit" : "g", "code" : "g", "system" : "http://unitsofmeasure.org" }, "denominator" : { "value" : "1.3", "unit" : "[iU]", "code" : "[iU]", "system" : "http://unitsofmeasure.org" } } } ], "url": "http://roche.com/fhir/iop/StructureDefinition/DeviceSettings" }, { "extension": [ { "url": "settingsTime", "valuePeriod": { "start": "2023-10-13T13:00:00Z", "end": "2023-10-13T14:00:00Z" } }, { "url": "settingsCode", "valueCodeableConcept": { "coding": [ { "system": "http://roche.com/fhir/iop/cs", "code": "39869006_hypoglycemia", "display": "39869006_hypoglycemia" } ] } }, { "url": "settingsValue", "valueBoolean": true } ], "url": "http://roche.com/fhir/iop/StructureDefinition/DeviceSettings" }, { "extension": [ { "url": "settingsTime", "valuePeriod": { "start": "2023-10-13T13:00:00Z", "end": "2023-10-13T14:00:00Z" } }, { "url": "settingsCode", "valueCodeableConcept": { "coding": [ { "system": "http://roche.com/fhir/iop/cs", "code": "39869006_hyperglycemia", "display": "39869006_hyperglycemia" } ] } }, { "url": "settingsValue", "valueBoolean": true } ], "url": "http://roche.com/fhir/iop/StructureDefinition/DeviceSettings" }, { "extension": [ { "url": "settingsTime", "valuePeriod": { "start": "2023-10-13T14:00:00Z", "end": "2023-10-13T15:00:00Z" } }, { "url": "settingsCode", "valueCodeableConcept": { "coding": [ { "system": "http://roche.com/fhir/iop/cs", "code": "1055210001_bloodglucose", "display": "1055210001_bloodglucose" } ] } }, { "url": "settingsValue", "valueRange": [ { "low": { "value": 85, "unit": "mg/dL", "system": "http://unitsofmeasure.org", "code": "mg/dL" }, "high": { "value": 190, "unit": "mg/dL", "system": "http://unitsofmeasure.org", "code": "mg/dL" } } ] } ], "url": "http://roche.com/fhir/iop/StructureDefinition/DeviceSettings" }, { "extension": [ { "url": "settingsTime", "valuePeriod": { "start": "2023-10-13T14:00:00Z", "end": "2023-10-13T15:00:00Z" } }, { "url": "settingsCode", "valueCodeableConcept": { "coding": [ { "system": "http://snomed.info/sct", "code": "789483009", "display": "Insulin sensitivity factor" } ] } }, { "url": "settingsValue", "valueRatio": { "numerator" : { "value" : "45", "unit" : "mg/dL", "code" : "mg/dL", "system" : "http://unitsofmeasure.org" }, "denominator" : { "value" : "1.3", "unit" : "[iU]", "code" : "[iU]", "system" : "http://unitsofmeasure.org" } } } ], "url": "http://roche.com/fhir/iop/StructureDefinition/DeviceSettings" }, { "extension": [ { "url": "settingsTime", "valuePeriod": { "start": "2023-10-13T13:00:00Z", "end": "2023-10-13T14:00:00Z" } }, { "url": "settingsCode", "valueCodeableConcept": { "coding": [ { "system": "http://snomed.info/sct", "code": "789496005", "display": "Insulin to carbohydrate ratio" } ] } }, { "url": "settingsValue", "valueRatio": { "numerator" : { "value" : "15", "unit" : "g", "code" : "g", "system" : "http://unitsofmeasure.org" }, "denominator" : { "value" : "1.3", "unit" : "[iU]", "code" : "[iU]", "system" : "http://unitsofmeasure.org" } } } ], "url": "http://roche.com/fhir/iop/StructureDefinition/DeviceSettings" }, { "extension": [ { "url": "settingsTime", "valuePeriod": { "start": "2023-10-14T13:00:00Z", "end": "2023-10-15T14:00:00Z" } }, { "url": "settingsCode", "valueCodeableConcept": { "coding": [ { "system": "http://roche.com/fhir/iop/cs", "code": "39869006_hypoglycemia", "display": "39869006_hypoglycemia" } ] } }, { "url": "settingsValue", "valueBoolean": false } ], "url": "http://roche.com/fhir/iop/StructureDefinition/DeviceSettings" }, { "extension": [ { "url": "settingsTime", "valuePeriod": { "start": "2023-10-14T13:00:00Z", "end": "2023-10-15T14:00:00Z" } }, { "url": "settingsCode", "valueCodeableConcept": { "coding": [ { "system": "http://roche.com/fhir/iop/cs", "code": "39869006_hyperglycemia", "display": "39869006_hyperglycemia" } ] } }, { "url": "settingsValue", "valueBoolean": false } ], "url": "http://roche.com/fhir/iop/StructureDefinition/DeviceSettings" } ], "parent": { "reference": "Device/a6912957-4c05-4ece-8cc1-a7a16495ed01" } }
Notes :
- Device resource for Insulin pump needs to be send first
- once we have the device resource in place, Medication adminstration resource can be shared as it has a reference to the device(insulin pump) resource.