Skip to content

Commit

Permalink
Update diagnostic report to capture results if any
Browse files Browse the repository at this point in the history
  • Loading branch information
josephatJ committed Dec 13, 2024
1 parent c919378 commit b6ef483
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions views/diagnosticreport_flat_view.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,42 @@
"type": "string"
}
]
},
{
"forEachOrNull": "result",
"join": "Observation",
"column": [
{
"path": "getReferenceKey()",
"name": "observation_id",
"type": "string"
},
{
"path": "valueQuantity.value",
"name": "observation_value",
"type": "decimal"
},
{
"path": "valueQuantity.unit",
"name": "observation_unit",
"type": "string"
},
{
"path": "code.coding[0].code",
"name": "observation_code",
"type": "string"
},
{
"path": "code.coding[0].system",
"name": "observation_code_system",
"type": "string"
},
{
"path": "code.coding[0].display",
"name": "observation_display",
"type": "string"
}
]
}
],
"name": "diagnosticreport_flat",
Expand Down

0 comments on commit b6ef483

Please sign in to comment.