Carbs - updated ("carb-observation" is modelled as "nutritional-value-observation") - Needs update in Gluci-chek

{
	"id": "09d44dc8-c225-4c5c-bba9-031f67566324",
	"resourceType": "Bundle",
	"type": "message",
	"entry": [
		{
			"resource": {
				"id": "1",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/message-header"
					]
				},
				"resourceType": "MessageHeader",
				"event": {
					"system": "http://roche.com/fhir/rdc/message-type",
					"code": "new-bundle",
					"display": "New bundle generated"
				},
				"timestamp": "2019-02-22T11:28:57.962Z",
				"source": {
					"name": "GluciChekApp",
					"software": "GluciChekApp",
					"version": "3.0.2",
					"endpoint": "https://uudev-internal.rochedc.accentureanalytics.com/fhirmsg/rdc/v1.0.0/$process-message"
				},
				"extension": [
					{
						"url": "http://roche.com/fhir/rdc/StructureDefinition/gdpr-controller",
						"valueString": "<GDPR controller>"
					}
				]
			}
		},
		{
			"resource": {
				"id": "2",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/phg-device"
					]
				},
				"resourceType": "Device",
				"status": "active",
				"type": {
					"coding": [
						{
							"system": "http://roche.com/fhir/rdc/cdf",
							"code": "cdf.dev.im",
							"display": "Manual interface"
						}
					]
				},
				"manufacturer": "Roche",
				"model": "GluciChekApp",
				"version": "3.0.2"
			}
		},
		{
			"resource": {
				"id": "3",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/phd-devicecomponent"
					]
				},
				"resourceType": "DeviceComponent",
				"identifier": {
					"system": "http://roche.com/fhir/rdc/sid/device-identifier",
					"value": "GluciChekApp/712/450274815"
				},
				"type": {
					"coding": [
						{
							"system": "http://roche.com/fhir/rdc/cs",
							"code": "smartPhone",
							"display": "Smart Phone"
						}
					]
				},
				"source": {
					"reference": "Device/2"
				},
				"measurementPrinciple": "manual",
				"productionSpecification": [
					{
						"specType": {
							"coding": [
								{
									"system": "http://hl7.org/fhir/specification-type",
									"code": "serial-number",
									"display": "Serial Number"
								}
							]
						},
						"productionSpec": "b89a5d95c258a66b"
					},
					{
						"specType": {
							"coding": [
								{
									"system": "http://hl7.org/fhir/specification-type",
									"code": "unspecified",
									"display": "Unspecified Production Specification"
								}
							]
						},
						"productionSpec": "SM-G960F"
					},
					{
						"specType": {
							"coding": [
								{
									"system": "http://hl7.org/fhir/specification-type",
									"code": "part-number",
									"display": "Part Number"
								}
							]
						},
						"productionSpec": "2000001"
					}
				],
				"lastSystemChange": "2020-01-09T11:51:22+02:00"
			}
		},
		{
			"resource": {
				"id": "4",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/dm-device-metric"
					]
				},
				"resourceType": "DeviceMetric",
				"identifier": {
					"system": "http://roche.com/fhir/rdc/sid/devicemetric-identifier",
					"value": "2339-0"
				},
				"type": {
					"coding": [
						{
							"system": "http://loinc.org",
							"code": "2339-0",
							"display": "Glucose [Mass/volume] in Blood"
						}
					]
				},
				"unit": {
					"coding": [
						{
							"system": "http://unitsofmeasure.org",
							"code": "mg/dL",
							"display": "milligram per deciliter"
						}
					]
				},
				"source": {
					"reference": "Device/2"
				},
				"parent": {
					"reference": "DeviceComponent/3"
				},
				"operationalStatus": "on",
				"category": "measurement"
			}
		},
		{
			"resource": {
				"id": "id-deviceMetric-smartPhone-carb",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/dm-device-metric"
					]
				},
				"resourceType": "DeviceMetric",
				"identifier": {
					"system": "http://roche.com/fhir/rdc/sid/devicemetric-identifier",
					"value": "2331003"
				},
				"type": {
					"coding": [
						{
							"system": "http://snomed.info/sct",
							"code": "2331003",
							"display": "Carbohydrate (substance)"
						}
					]
				},
				"unit": {
					"coding": [
						{
							"system": "http://unitsofmeasure.org",
							"code": "g",
							"display": "gram"
						}
					]
				},
				"source": {
					"reference": "Device/2"
				},
				"parent": {
					"reference": "DeviceComponent/3"
				},
				"operationalStatus": "on",
				"category": "measurement"
			}
		},
		{
			"resource": {
				"resourceType": "Observation",
				"id": "5",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/bg-observation"
					]
				},
				"extension": [
					{
						"url": "http://roche.com/fhir/rdc/StructureDefinition/observation-event-timing",
						"valueCodeableConcept": {
							"coding": [
								{
									"system": "http://hl7.org/fhir/v3/TimingEvent",
									"code": "AC",
									"display": "AC"
								}
							]
						}
					}
				],
				"status": "final",
				"category": [
					{
						"coding": [
							{
								"system": "http://roche.com/fhir/rdc/cs",
								"code": "clinical-observation",
								"display": "Clinical Observation"
							}
						]
					}
				],
				"code": {
					"coding": [
						{
							"system": "http://loinc.org",
							"code": "41653-7",
							"display": "Glucose [Mass/volume] in Capillary blood by Glucometer"
						}
					]
				},
				"subject": {
					"reference": "Patient/AQICAHhzcsqYALCCBTCXULF1CtMvRYZGaN6Qgu2ptQcl7rPXLAGe+Psw3fQFwZEKnFQoRrycAAAAczBxBgkqhkiG9w0BBwagZDBiAgEAMF0GCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQM75O8LPKsLAT9FjC7AgEQgDC5LWAO0sE3RRTemIDMpM7H0eT8eIaE7O1C9ozDS/dzZ0XktSAhCl58iXEXoap8bFU="
				},
				"effectiveDateTime": "2020-01-09T11:49:58+02:00",
				"performer": [
					{
						"reference": "Patient/AQICAHhzcsqYALCCBTCXULF1CtMvRYZGaN6Qgu2ptQcl7rPXLAGe+Psw3fQFwZEKnFQoRrycAAAAczBxBgkqhkiG9w0BBwagZDBiAgEAMF0GCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQM75O8LPKsLAT9FjC7AgEQgDC5LWAO0sE3RRTemIDMpM7H0eT8eIaE7O1C9ozDS/dzZ0XktSAhCl58iXEXoap8bFU="
					}
				],
				"valueQuantity": {
					"value": 110,
					"unit": "mg/dL",
					"system": "http://unitsofmeasure.org",
					"code": "mg/dL"
				},
				"device": {
					"reference": "DeviceMetric/4"
				}
			}
		},
		{
			"resource": {
				"resourceType": "Observation",
				"id": "6",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/bg-observation"
					]
				},
				"extension": [
					{
						"url": "http://roche.com/fhir/rdc/StructureDefinition/observation-event-timing",
						"valueCodeableConcept": {
							"coding": [
								{
									"system": "http://roche.com/fhir/rdc/cs",
									"code": "SNACK",
									"display": "Snack"
								}
							]
						}
					}
				],
				"status": "final",
				"category": [
					{
						"coding": [
							{
								"system": "http://roche.com/fhir/rdc/cs",
								"code": "clinical-observation",
								"display": "Clinical Observation"
							}
						]
					}
				],
				"code": {
					"coding": [
						{
							"system": "http://snomed.info/sct",
							"code": "362943005",
							"display": "Manual method (qualifier value)"
						}
					]
				},
				"subject": {
					"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
				},
				"effectiveDateTime": "2020-02-05T17:00:00+02:00",
				"performer": [
					{
						"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
					}
				],
				"dataAbsentReason": {
					"coding": [
						{
							"system": "http://hl7.org/fhir/data-absent-reason",
							"code": "unknown",
							"display": "Unknown"
						}
					]
				},
				"device": {
					"reference": "DeviceMetric/4"
				},
				"related": [
					{
						"type": "has-member",
						"target": {
							"reference": "Observation/7"
						}
					}
				]
			}
		},
		{
			"resource": {
				"resourceType": "Observation",
				"id": "7",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/nutritional-value-observation"
					]
				},
				"status": "final",
				"category": [
					{
						"coding": [
							{
								"system": "http://snomed.info/sct",
								"code": "84626001",
								"display": "Nutritional value, function (observable entity)"
							}
						]
					}
				],
				"code": {
					"coding": [
						{
							"system": "http://loinc.org",
							"code": "9060-5",
							"display": "Carbohydrate intake Measured"
						}
					]
				},
				"subject": {
					"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
				},
				"effectiveDateTime": "2020-02-05T11:14:00+02:00",
				"performer": [
					{
						"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
					}
				],
				"valueQuantity": {
					"value": 45,
					"unit": "g",
					"system": "http://unitsofmeasure.org",
					"code": "g"
				},
				"device": {
					"reference": "DeviceMetric/id-deviceMetric-smartPhone-carb"
				}
			}
		},
		{
			"resource": {
				"resourceType": "Observation",
				"id": "8",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/bg-observation"
					]
				},
				"extension": [
					{
						"url": "http://roche.com/fhir/rdc/StructureDefinition/observation-event-timing",
						"valueCodeableConcept": {
							"coding": [
								{
									"system": "http://hl7.org/fhir/v3/TimingEvent",
									"code": "CM",
									"display": "CM"
								}
							]
						}
					}
				],
				"status": "final",
				"category": [
					{
						"coding": [
							{
								"system": "http://roche.com/fhir/rdc/cs",
								"code": "clinical-observation",
								"display": "Clinical Observation"
							}
						]
					}
				],
				"code": {
					"coding": [
						{
							"system": "http://snomed.info/sct",
							"code": "362943005",
							"display": "Manual method (qualifier value)"
						}
					]
				},
				"subject": {
					"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
				},
				"effectiveDateTime": "2020-02-04T15:00:00+02:00",
				"performer": [
					{
						"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
					}
				],
				"dataAbsentReason": {
					"coding": [
						{
							"system": "http://hl7.org/fhir/data-absent-reason",
							"code": "unknown",
							"display": "Unknown"
						}
					]
				},
				"device": {
					"reference": "DeviceMetric/4"
				},
				"related": [
					{
						"type": "has-member",
						"target": {
							"reference": "Observation/9"
						}
					}
				]
			}
		},
		{
			"resource": {
				"resourceType": "Observation",
				"id": "9",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/nutritional-value-observation"
					]
				},
				"status": "final",
				"category": [
					{
						"coding": [
							{
								"system": "http://snomed.info/sct",
								"code": "84626001",
								"display": "Nutritional value, function (observable entity)"
							}
						]
					}
				],
				"code": {
					"coding": [
						{
							"system": "http://loinc.org",
							"code": "9060-5",
							"display": "Carbohydrate intake Measured"
						}
					]
				},
				"subject": {
					"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
				},
				"effectiveDateTime": "2020-02-04T10:14:00+02:00",
				"performer": [
					{
						"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
					}
				],
				"valueQuantity": {
					"value": 38,
					"unit": "g",
					"system": "http://unitsofmeasure.org",
					"code": "g"
				},
				"device": {
					"reference": "DeviceMetric/id-deviceMetric-smartPhone-carb"
				}
			}
		},
		{
			"resource": {
				"resourceType": "Observation",
				"id": "10",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/bg-observation"
					]
				},
				"extension": [
					{
						"url": "http://roche.com/fhir/rdc/StructureDefinition/observation-event-timing",
						"valueCodeableConcept": {
							"coding": [
								{
									"system": "http://hl7.org/fhir/v3/TimingEvent",
									"code": "CD",
									"display": "CD"
								}
							]
						}
					}
				],
				"status": "final",
				"category": [
					{
						"coding": [
							{
								"system": "http://roche.com/fhir/rdc/cs",
								"code": "clinical-observation",
								"display": "Clinical Observation"
							}
						]
					}
				],
				"code": {
					"coding": [
						{
							"system": "http://snomed.info/sct",
							"code": "362943005",
							"display": "Manual method (qualifier value)"
						}
					]
				},
				"subject": {
					"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
				},
				"effectiveDateTime": "2020-02-03T12:00:00+02:00",
				"performer": [
					{
						"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
					}
				],
				"dataAbsentReason": {
					"coding": [
						{
							"system": "http://hl7.org/fhir/data-absent-reason",
							"code": "unknown",
							"display": "Unknown"
						}
					]
				},
				"device": {
					"reference": "DeviceMetric/4"
				},
				"related": [
					{
						"type": "has-member",
						"target": {
							"reference": "Observation/11"
						}
					}
				]
			}
		},
		{
			"resource": {
				"resourceType": "Observation",
				"id": "11",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/nutritional-value-observation"
					]
				},
				"status": "final",
				"category": [
					{
						"coding": [
							{
								"system": "http://snomed.info/sct",
								"code": "84626001",
								"display": "Nutritional value, function (observable entity)"
							}
						]
					}
				],
				"code": {
					"coding": [
						{
							"system": "http://loinc.org",
							"code": "9060-5",
							"display": "Carbohydrate intake Measured"
						}
					]
				},
				"subject": {
					"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
				},
				"effectiveDateTime": "2020-02-03T16:14:00+02:00",
				"performer": [
					{
						"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
					}
				],
				"valueQuantity": {
					"value": 67,
					"unit": "g",
					"system": "http://unitsofmeasure.org",
					"code": "g"
				},
				"device": {
					"reference": "DeviceMetric/id-deviceMetric-smartPhone-carb"
				}
			}
		},
		{
			"resource": {
				"resourceType": "Observation",
				"id": "12",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/bg-observation"
					]
				},
				"extension": [
					{
						"url": "http://roche.com/fhir/rdc/StructureDefinition/observation-event-timing",
						"valueCodeableConcept": {
							"coding": [
								{
									"system": "http://hl7.org/fhir/v3/TimingEvent",
									"code": "CV",
									"display": "CV"
								}
							]
						}
					}
				],
				"status": "final",
				"category": [
					{
						"coding": [
							{
								"system": "http://roche.com/fhir/rdc/cs",
								"code": "clinical-observation",
								"display": "Clinical Observation"
							}
						]
					}
				],
				"code": {
					"coding": [
						{
							"system": "http://snomed.info/sct",
							"code": "362943005",
							"display": "Manual method (qualifier value)"
						}
					]
				},
				"subject": {
					"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
				},
				"effectiveDateTime": "2020-02-02T18:00:00+02:00",
				"performer": [
					{
						"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
					}
				],
				"dataAbsentReason": {
					"coding": [
						{
							"system": "http://hl7.org/fhir/data-absent-reason",
							"code": "unknown",
							"display": "Unknown"
						}
					]
				},
				"device": {
					"reference": "DeviceMetric/4"
				},
				"related": [
					{
						"type": "has-member",
						"target": {
							"reference": "Observation/13"
						}
					}
				]
			}
		},
		{
			"resource": {
				"resourceType": "Observation",
				"id": "13",
				"meta": {
					"profile": [
						"http://roche.com/fhir/rdc/StructureDefinition/nutritional-value-observation"
					]
				},
				"status": "final",
				"category": [
					{
						"coding": [
							{
								"system": "http://snomed.info/sct",
								"code": "84626001",
								"display": "Nutritional value, function (observable entity)"
							}
						]
					}
				],
				"code": {
					"coding": [
						{
							"system": "http://loinc.org",
							"code": "9060-5",
							"display": "Carbohydrate intake Measured"
						}
					]
				},
				"subject": {
					"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
				},
				"effectiveDateTime": "2020-02-02T19:14:00+02:00",
				"performer": [
					{
						"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
					}
				],
				"valueQuantity": {
					"value": 28,
					"unit": "g",
					"system": "http://unitsofmeasure.org",
					"code": "g"
				},
				"device": {
					"reference": "DeviceMetric/id-deviceMetric-smartPhone-carb"
				}
			}
		}
	]
}