Insulin data - reduced FHIR

Sample Scenario

Data Point Value unit
Bolus Insulin 3 iU
Basal Insulin 5 iU
Time Stamp 2020-08-04T15:00:16Z UTC

Note: Comments are provided in green in the JSON below

Below are examples of Medication adminstration resource having Insulin information in reduced FHIR format

Sample basal (long-acting)


{
	"resourceType": "MedicationAdministration", //FHIR resource type
	"meta": { //Should be sent by Confidence saying which profile the below resource conforms to. It is always the same for a Insulin resource
		"profile": [ 
			"http://roche.com/fhir/rdc/StructureDefinition/medication-administration-reduced"
		]
	},
	"identifier": [
		{
			"system": "http://roche.com/fhir/rdc/sid/medication-administration/confidence",
			"value": "<confidence unique identifier>" // Unique identifier from confidence
		}
	],
	"status": "completed", //status will be completed for Insulin dat
	"medicationCodeableConcept": {
		"text": "BasalInsulin" //static text describing that the resource is for a Basal Insulin value
	},
	"subject": {
		"reference": "Patient/<patient reference>" // This value will be overwritten by the FHIR Server to put the fhir id of the user sending data from auth header
	},
	"extension": [
		{
			"url": "http://roche.com/fhir/rdc/StructureDefinition/patient-timezone",
			"valueString": "+02:00" //timezone of the patient when the insulin reading was taken
		}
	],
	"effectiveDateTime": "2020-08-04T15:00:16Z", //Timestamp of the measurement in zulu/UTC
	"dosage": {
		"dose": {
			"value": 5, // Insulin value quality in [iU]
			"unit": "[iU]"
		}
	}
}


Sample bolus (short-acting)


{
	"resourceType": "MedicationAdministration", //FHIR resource type
	"meta": {  //Should be sent by Confidence saying which profile the below resource conforms to. It is always the same for a Insulin resource
		"profile": [
			"http://roche.com/fhir/rdc/StructureDefinition/medication-administration-reduced"
		]
	},
	"identifier": [
		{
			"system": "http://roche.com/fhir/rdc/sid/medication-administration/confidence",
			"value": "<confidence unique identifier>" // Unique identifier from confidence
		}
	],
	"status": "completed", //always completed for Insulin
	"medicationCodeableConcept": {
		"text": "BolusInsulin" //static text describing that the resource is for a Basal Insulin value
	},
	"subject": {
		"reference": "Patient/<patient reference>" // This value will be overwritten by the FHIR Server to put the fhir id of the user sending data from auth header
	},
	"extension": [
		{
			"url": "http://roche.com/fhir/rdc/StructureDefinition/patient-timezone",
			"valueString": "+02:00" //timezone of the patient when the insulin reading was taken. ** Refer timezone extension page for possible combination of timezone displayed 
		}
	],
	"effectiveDateTime": "2020-08-04T15:00:16Z", //Timestamp of the measurement in zulu/UTC
	"dosage": {
		"dose": {
			"value": 3, //Insulin value quality in [iU]
			"unit": "[iU]"
		}
	}
}


** Refer timezone extension page for possible combination of timezone displayed HERE