RDC Interoperability Guide
1.2.0

rdc-Observation-carbs

Carbs Sample

{
"resourceType": "Observation",
"id": "rdc-Observation-carbs",
"meta": {
"profile": [
"https://roche.com/fhir/iop/StructureDefinition/rdc-Observation-CarbohydrateIntake"
]
},
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "9059-7",
"display": "Carbohydrate intake Estimated"
}
]
},
"subject": {
"reference": "Patient/34605fdc-74aa-4587-a5f0-92e6c5f64527"
},
"effectiveDateTime": "2017-10-03T06:32:00+01:00",
"value": 30,
"unit": "g",
"system": "http://unitsofmeasure.org",
"code": "g"
},
"device": {
"reference": "Device/8954c958-41c5-4a24-82ef-693218c2f625"
}
}
<Observation xmlns="http://hl7.org/fhir">
<id value="rdc-Observation-carbs" />
<profile value="https://roche.com/fhir/iop/StructureDefinition/rdc-Observation-CarbohydrateIntake" />
</meta>
<status value="final" />
<system value="http://loinc.org" />
<code value="9059-7" />
<display value="Carbohydrate intake Estimated" />
</coding>
</code>
<reference value="Patient/34605fdc-74aa-4587-a5f0-92e6c5f64527" />
</subject>
<effectiveDateTime value="2017-10-03T06:32:00+01:00" />
<value value="30" />
<unit value="g" />
<system value="http://unitsofmeasure.org" />
<code value="g" />
</valueQuantity>
<reference value="Device/8954c958-41c5-4a24-82ef-693218c2f625" />
</device>
</Observation>
Observation
Observation.id[0]rdc-Observation-carbs
Observation.meta[0].profile[0]https://roche.com/fhir/iop/StructureDefinition/rdc-Observation-CarbohydrateIntake
Observation.status[0]final
Observation.code[0].coding[0].system[0]http://loinc.org
Observation.code[0].coding[0].code[0]9059-7
Observation.code[0].coding[0].display[0]Carbohydrate intake Estimated
Observation.subject[0].reference[0]Patient/34605fdc-74aa-4587-a5f0-92e6c5f64527
Observation.effective[0]2017-10-03T06:32:00+01:00
Observation.value[0].value[0]30
Observation.value[0].unit[0]g
Observation.value[0].system[0]http://unitsofmeasure.org
Observation.value[0].code[0]g
Observation.device[0].reference[0]Device/8954c958-41c5-4a24-82ef-693218c2f625

Carbs sample with (component sub type)

{
"resourceType": "Observation",
"id": "rdc-Observation-carbs-sub-type",
"meta": {
"profile": [
"https://roche.com/fhir/iop/StructureDefinition/rdc-Observation-CarbohydrateIntake"
]
},
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "9059-7",
"display": "Carbohydrate intake Estimated"
}
]
},
"subject": {
"reference": "Patient/34605fdc-74aa-4587-a5f0-92e6c5f64527"
},
"effectiveDateTime": "2017-10-03T06:32:00+01:00",
"value": 30,
"unit": "g",
"system": "http://unitsofmeasure.org",
"code": "g"
},
"device": {
"reference": "Device/8954c958-41c5-4a24-82ef-693218c2f625"
},
{
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "769560003",
"display": "With lunch (qualifier value)"
}
]
}
}
]
}
<Observation xmlns="http://hl7.org/fhir">
<id value="rdc-Observation-carbs-sub-type" />
<profile value="https://roche.com/fhir/iop/StructureDefinition/rdc-Observation-CarbohydrateIntake" />
</meta>
<status value="final" />
<system value="http://loinc.org" />
<code value="9059-7" />
<display value="Carbohydrate intake Estimated" />
</coding>
</code>
<reference value="Patient/34605fdc-74aa-4587-a5f0-92e6c5f64527" />
</subject>
<effectiveDateTime value="2017-10-03T06:32:00+01:00" />
<value value="30" />
<unit value="g" />
<system value="http://unitsofmeasure.org" />
<code value="g" />
</valueQuantity>
<reference value="Device/8954c958-41c5-4a24-82ef-693218c2f625" />
</device>
<system value="http://snomed.info/sct" />
<code value="769560003" />
<display value="With lunch (qualifier value)" />
</coding>
</code>
</component>
</Observation>
Observation
Observation.id[0]rdc-Observation-carbs-sub-type
Observation.meta[0].profile[0]https://roche.com/fhir/iop/StructureDefinition/rdc-Observation-CarbohydrateIntake
Observation.status[0]final
Observation.code[0].coding[0].system[0]http://loinc.org
Observation.code[0].coding[0].code[0]9059-7
Observation.code[0].coding[0].display[0]Carbohydrate intake Estimated
Observation.subject[0].reference[0]Patient/34605fdc-74aa-4587-a5f0-92e6c5f64527
Observation.effective[0]2017-10-03T06:32:00+01:00
Observation.value[0].value[0]30
Observation.value[0].unit[0]g
Observation.value[0].system[0]http://unitsofmeasure.org
Observation.value[0].code[0]g
Observation.device[0].reference[0]Device/8954c958-41c5-4a24-82ef-693218c2f625
Observation.component[0].code[0].coding[0].system[0]http://snomed.info/sct
Observation.component[0].code[0].coding[0].code[0]769560003
Observation.component[0].code[0].coding[0].display[0]With lunch (qualifier value)

Component.code coding for all possible sample types

This section describes how each sub component type has to be handled in Modelling. The following coding section needs to be updated based on the sub component type.

For example:

"component": [ // sub category - type
			{
		"code": {
			"coding": [ 
				{
					"system": "http://snomed.info/sct",
					"code": "769560003",
					"display": "With lunch (qualifier value)"
				}
			]
		}
	}
 ]

Below are some of possible codes for BG subType (component),for exhaustive list of codes refer HERE