Example
NOTE to developer: This is only a sample resource. For the resource structure and valusets always refer the section "Overview" under each profile definition in the Implementation guide. If an element is defined as an array (0..*) in the standard and in RDC profile as an object (0..1), please note that it should still carry the structure of an array with one occurance. The structure for all resources as per the FHIR standard can be found at https://www.hl7.org/fhir/STU3/resourcelist.html
Below example is for HBA1c
{
"id": "Hba1c-sample",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/laboratory-observation"
]
},
"resourceType": "Observation",
"status": "final",
"extension": [
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/registered-timestamp",
"valueDateTime": "2012-04-24T20:25:10.511Z"
}
],
"identifier": [
{
"system": "http://roche.com/fhir/rdc/sid/observation/mySugr",
"value": "3cafaf5d-dbae-4e22-94f8-4e90deea6484"
}
],
"category": [
{
"coding": [
{
"system": "http://hl7.org/fhir/observation-category",
"code": "laboratory",
"display": "Laboratory"
}
]
}
],
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "4548-4",
"display": "Hemoglobin A1c/Hemoglobin.total in Blood"
}
]
},
"subject": {
"reference": "Patient/FEoFwXp-KQ-10"
},
"performer": [ // [Optional field] - Either performer.reference or performer.identifier.value can be used for performer
{
"reference": "Practitioner/jWd9d6p-iG5-62", // Practitioner reference if available in FHIR
"identifier":
{
"value": "Practitioner_id_external" // External practitioner ID or practioner organization ID
}
}
],
"effectiveDateTime": "2012-04-23T18:25:43.511Z",
"valueQuantity": {
"value": 7.5,
"unit": "%",
"system": "http://unitsofmeasure.org",
"code": "%"
},
"device": {
"reference": "DeviceMetric/4"
}
}
```