Skip to content

Commit

Permalink
Update views definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
josephatJ committed Dec 12, 2024
1 parent 8e038be commit 4ee3418
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 10 deletions.
35 changes: 35 additions & 0 deletions views/diagnosticreport_flat_view.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,41 @@
"path": "getResourceKey()",
"name": "id",
"type": "string"
},
{
"path": "encounter.getReferenceKey(Encounter)",
"name": "encounter_id",
"type": "string"
}
]
},
{
"forEachOrNull": "category.coding",
"column": [
{
"path": "code",
"name": "category",
"type": "string"
}
]
},
{
"forEachOrNull": "code.coding",
"column": [
{
"path": "code",
"name": "code",
"type": "string"
},
{
"path": "system",
"name": "code_system",
"type": "string"
},
{
"path": "display",
"name": "code_display",
"type": "string"
}
]
}
Expand Down
5 changes: 5 additions & 0 deletions views/immunization_flat_view.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"path": "getResourceKey()",
"name": "id",
"type": "string"
},
{
"path": "encounter.getReferenceKey(Encounter)",
"name": "encounter_id",
"type": "string"
}
]
}
Expand Down
20 changes: 10 additions & 10 deletions views/observation_flat_view.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@
"name": "status",
"type": "string"
},
{
"forEachOrNull": "category.coding",
"column": [
{
"path": "code",
"name": "category",
"type": "string"
}
]
},
{
"path": "effective.ofType(dateTime)",
"name": "obs_date",
Expand Down Expand Up @@ -92,6 +82,16 @@
}
]
},
{
"forEachOrNull": "category.coding",
"column": [
{
"path": "code",
"name": "category",
"type": "string"
}
]
},
{
"forEachOrNull": "code.coding",
"column": [
Expand Down
5 changes: 5 additions & 0 deletions views/procedure_flat_view.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"path": "getResourceKey()",
"name": "id",
"type": "string"
},
{
"path": "encounter.getReferenceKey(Encounter)",
"name": "encounter_id",
"type": "string"
}
]
}
Expand Down

0 comments on commit 4ee3418

Please sign in to comment.