rdc-Observation-carbs
Carbs Sample
{ "resourceType": "Observation", "id": "rdc-Observation-carbs", "meta": { "profile": [ "https://roche.com/fhir/iop/StructureDefinition/rdc-Observation" ] }, "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "9059-7", "display": "Carbohydrate intake Estimated" } ] }, "subject": { "reference": "Patient/34605fdc-74aa-4587-a5f0-92e6c5f64527" }, "effectiveDateTime": "10/03/2017 05:32:00", "valueQuantity": { "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" /> <meta> <profile value="https://roche.com/fhir/iop/StructureDefinition/rdc-Observation" /> </meta> <status value="final" /> <code> <coding> <system value="http://loinc.org" /> <code value="9059-7" /> <display value="Carbohydrate intake Estimated" /> </coding> </code> <subject> <reference value="Patient/34605fdc-74aa-4587-a5f0-92e6c5f64527" /> </subject> <effectiveDateTime value="2017-10-03T06:32:00+01:00" /> <valueQuantity> <value value="30" /> <unit value="g" /> <system value="http://unitsofmeasure.org" /> <code value="g" /> </valueQuantity> <device> <reference value="Device/8954c958-41c5-4a24-82ef-693218c2f625" /> </device> </Observation>
Observation |
id : rdc-Observation-carbs |
meta |
profile : https://roche.com/fhir/iop/StructureDefinition/rdc-Observation |
status : final |
code |
coding |
system : http://loinc.org |
code : 9059-7 |
display : Carbohydrate intake Estimated |
subject |
reference : Patient/34605fdc-74aa-4587-a5f0-92e6c5f64527 |
effective : 2017-10-03T06:32:00+01:00 |
value |
value : 30 |
unit : g |
system : http://unitsofmeasure.org |
code : g |
device |
reference : Device/8954c958-41c5-4a24-82ef-693218c2f625 |
Observation.id[0] | rdc-Observation-carbs |
Observation.meta[0].profile[0] | https://roche.com/fhir/iop/StructureDefinition/rdc-Observation |
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" ] }, "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "9059-7", "display": "Carbohydrate intake Estimated" } ] }, "subject": { "reference": "Patient/34605fdc-74aa-4587-a5f0-92e6c5f64527" }, "effectiveDateTime": "10/03/2017 05:32:00", "valueQuantity": { "value": 30, "unit": "g", "system": "http://unitsofmeasure.org", "code": "g" }, "device": { "reference": "Device/8954c958-41c5-4a24-82ef-693218c2f625" }, "component": [ { "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" /> <meta> <profile value="https://roche.com/fhir/iop/StructureDefinition/rdc-Observation" /> </meta> <status value="final" /> <code> <coding> <system value="http://loinc.org" /> <code value="9059-7" /> <display value="Carbohydrate intake Estimated" /> </coding> </code> <subject> <reference value="Patient/34605fdc-74aa-4587-a5f0-92e6c5f64527" /> </subject> <effectiveDateTime value="2017-10-03T06:32:00+01:00" /> <valueQuantity> <value value="30" /> <unit value="g" /> <system value="http://unitsofmeasure.org" /> <code value="g" /> </valueQuantity> <device> <reference value="Device/8954c958-41c5-4a24-82ef-693218c2f625" /> </device> <component> <code> <coding> <system value="http://snomed.info/sct" /> <code value="769560003" /> <display value="With lunch (qualifier value)" /> </coding> </code> </component> </Observation>
Observation |
id : rdc-Observation-carbs-sub-type |
meta |
profile : https://roche.com/fhir/iop/StructureDefinition/rdc-Observation |
status : final |
code |
coding |
system : http://loinc.org |
code : 9059-7 |
display : Carbohydrate intake Estimated |
subject |
reference : Patient/34605fdc-74aa-4587-a5f0-92e6c5f64527 |
effective : 2017-10-03T06:32:00+01:00 |
value |
value : 30 |
unit : g |
system : http://unitsofmeasure.org |
code : g |
device |
reference : Device/8954c958-41c5-4a24-82ef-693218c2f625 |
component |
code |
coding |
system : http://snomed.info/sct |
code : 769560003 |
display : With lunch (qualifier value) |
Observation.id[0] | rdc-Observation-carbs-sub-type |
Observation.meta[0].profile[0] | https://roche.com/fhir/iop/StructureDefinition/rdc-Observation |
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
System | Code | Display |
---|---|---|
http://snomed.info/sct | 1179047002 | Estimated quantity of intake of carbohydrate (observable entity) |
http://snomed.info/sct | 228979009 | Small slices/meal (qualifier value) |
http://snomed.info/sct | 260229002 | Standard meal (finding) |
http://snomed.info/sct | 228978001 | large slices/meal (qualifier value) |
http://snomed.info/sct | 1551000175109 | With snack (qualifier value) |
http://snomed.info/sct | 257689006 | Restaurant (environment) |
http://snomed.info/sct | 769561004 | With breakfast (qualifier value) |
http://snomed.info/sct | 769560003 | With lunch (qualifier value) |
http://snomed.info/sct | 769559008 | With dinner (qualifier value) |
http://snomed.info/sct | 267023007 | Binging (finding) |
http://snomed.info/sct | 424616004 | Without regard to meals (qualifier value) |