Notes - Expanded FHIR
Sample Scenario
| Data Point | Value | unit | Comment |
|---|---|---|---|
| Notes | sample note entered along with log entry | String | The note field is where a patient can store additional information along with the log entry |
Note: Comments are provided in green in the JSON below
Observation resource for Notes
A reduced format of this resource will be sent from Confidence. See the section Notes - reduced FHIR. The facade needs to further expand that resource by adding the other relavent fields as per our implementation guide. Details are provided in the comments below in green.
Below is an example JSON for the EWM observation resource in expanded FHIR format
{
"resourceType": "Observation", //FHIR resource type
"id": "ae6f0b94-1519-4f95-b50c-758fa3d4ac4d", //To be managed by FHIRSTACK
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/miscellaneous-observation" //To be added by facade - FHIR profile for CGM
]
},
"identifier": [
{
"system": "http://roche.com/fhir/rdc/sid/observation/confidence",
"value": "<confidence unique identifier>" //retain same identifier received from Confidence reduced FHIR
}
],
"status": "final", //retain same status received from confidence reduced FHIR
"code": {
"coding": [ //To be added by facade - system, code and display when code.text "Notes" is received in the reduced FHIR
{
"system": "http://ncimeta.nci.nih.gov",
"code": "C1317574",
"display": "Note"
}
],
"text": "Notes" //To be retained as is from the reduced format so that on restore it can be sent back
},
"valueString": "sample note entered along with log entry", //To be retained as is from the reduced format
"subject": { //To be added by facade - - patient link
"reference": "Patient/2P0tI8p-SF9-6850"
},
"performer": [ //To be added by facade - - patient link
{
"reference": "Patient/2P0tI8p-SF9-6850"
}
],
"effectiveDateTime": "2020-08-03T05:00:00Z", //To be retained as is from the reduced format
"device": {
"reference": "DeviceMetric/0053cfd5-a427-4691-8690-b4d956c6e658" //To be added by facade - link to dummy deviceMetric because Notes coming from an application do not have a specific deviceMetric
},
"extension": [
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/patient-timezone",
"valueString": "+02:00" //to be retained as is from the reduced FHIR format
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-channel",
"valueString": "<channel-name>" //To be added by facade - fill channel data
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/provenance-source",
"valueString": "<source-name>" //To be added by facade - fill source data
}
]
}