Skip to content

Commit

Permalink
Add encounter_id column for encounter
Browse files Browse the repository at this point in the history
  • Loading branch information
josephatJ committed Dec 2, 2024
1 parent 7a1d72e commit 44a6dff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions views/encounter_flat_view.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
"name": "id",
"type": "string"
},
{
"path": "fhir_id",
"name": "encounter_id",
"sql": "SELECT fhir_id FROM hfj_resource WHERE res_type = 'Encounter' AND res_id = id"
},
{
"path": "status",
"name": "status",
Expand Down

0 comments on commit 44a6dff

Please sign in to comment.