Skip to content

Commit

Permalink
Fix breast screening report counts (AMPATH#1121)
Browse files Browse the repository at this point in the history
This PR restores the `location_uuid` column to the breast cancer screening summary report, thereby fixing count mismatches between the base
and aggregate reports. This column had been mistakenly removed in AMPATH#1093.
  • Loading branch information
denniskigen authored Oct 13, 2021
1 parent e8ebe85 commit 231e386
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
"alias": "location_name",
"column": "location_name"
},
{
"type": "simple_column",
"alias": "location_uuid",
"column": "location_uuid"
},
{
"type": "derived_column",
"alias": "encounter_datetime",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
"alias": "location_name",
"column": "location_name"
},
{
"type": "simple_column",
"alias": "location_uuid",
"column": "location_uuid"
},
{
"type": "derived_column",
"alias": "encounter_datetime",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
"alias": "location_id",
"column": "fbcs.location_id"
},
{
"type": "simple_column",
"alias": "location_uuid",
"column": "fbcs.location_uuid"
},
{
"type": "derived_column",
"alias": "past_clinical_breast_exam_results",
Expand Down Expand Up @@ -636,7 +641,7 @@
},
{
"filterType": "tableColumns",
"conditionExpression": "l.uuid in ?",
"conditionExpression": "fbcs.location_uuid in ?",
"parameterName": "locationUuids"
},
{
Expand Down
28 changes: 28 additions & 0 deletions oncology-reports/oncology-patient-list-cols.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -30,6 +31,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -52,6 +54,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -74,6 +77,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -96,6 +100,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -118,6 +123,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -140,6 +146,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -162,6 +169,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -184,6 +192,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -206,6 +215,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -228,6 +238,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -250,6 +261,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -272,6 +284,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand Down Expand Up @@ -302,6 +315,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -324,6 +338,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -346,6 +361,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -368,6 +384,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -390,6 +407,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -412,6 +430,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -434,6 +453,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -456,6 +476,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -478,6 +499,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -500,6 +522,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -522,6 +545,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -544,6 +568,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -566,6 +591,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -588,6 +614,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand All @@ -610,6 +637,7 @@
"patientListCols": [
"encounter_datetime",
"location_name",
"location_uuid",
"identifiers",
"person_name",
"age",
Expand Down

0 comments on commit 231e386

Please sign in to comment.