Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KH-501: NCD monitoring reports #351

Merged
merged 20 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
f12f276
Ignore IntelliJ IDEA IDE files
corneliouzbett Jun 17, 2024
f02a3ad
KH-527: Add CCS HC raw data report
corneliouzbett Jun 17, 2024
6ca04c0
KH-526: Add CCS report on RH Raw Data
corneliouzbett Jun 17, 2024
ca356b5
KH-524: Add self-breast educated and examined women report
corneliouzbett Jun 17, 2024
748841d
KH-524: Add CCS for women report
corneliouzbett Jun 17, 2024
6fa3194
KH-523: Add CCS report on appointment status tracking
corneliouzbett Jun 17, 2024
955b798
KH-525: Add Indicators for monitoring CCS management program report
corneliouzbett Jun 18, 2024
6a097eb
KH-533: Add NCD RH EMR Report
corneliouzbett Jun 18, 2024
1a8fc20
KH-532: Add NCD HC EMR Report
corneliouzbett Jun 18, 2024
c17a07a
KH-535: Added NCD HC Raw Data Report
corneliouzbett Jun 18, 2024
494331d
KH-536: Added NCD RH Raw Data Report
corneliouzbett Jun 18, 2024
d5a05d2
KH-501: Use Analytics database provided by Ozone
corneliouzbett Jun 20, 2024
e012004
KH-525: Update CCS monitoring indicators query & include reporting pe…
corneliouzbett Jun 21, 2024
f81e0e5
KH-501: Copy over Ozone analytics queries
corneliouzbett Jun 21, 2024
bd94510
OZ-429: More fine tuning to Ozone superset configs
corneliouzbett Jun 21, 2024
3e715d4
KH-535: Added drugs use dashboard, dataset, chart assets
corneliouzbett Jun 24, 2024
b5ccf39
KH-528: Added NCD report on yearly monitoring indicators
corneliouzbett Jun 24, 2024
bca578b
KH-501: Add public schema for datasets
corneliouzbett Jun 24, 2024
87eccdf
KH-501: Amalgamate yearly report indicators for monitoring Hypertensi…
corneliouzbett Jun 24, 2024
583c423
KH-501: Use analytics database provided by Ozone
corneliouzbett Jun 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@ fabric.properties
# CodeStream plugin
# https://plugins.jetbrains.com/plugin/12206-codestream
.idea/codestream.xml
.idea/compiler.xml
.idea/encodings.xml
.idea/jarRepositories.xml
.idea/jsLibraryMappings.xml
.idea/material_theme_project_new.xml
.idea/palantir-java-format.xml
.idea/vcs.xml
.idea/misc.xml

### macOS ###
# General
Expand Down Expand Up @@ -386,4 +394,4 @@ dist
# SvelteKit build / generate output
.svelte-kit

# End of https://www.toptal.com/developers/gitignore/api/node
# End of https://www.toptal.com/developers/gitignore/api/node
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
slice_name: Appointment status tracking
description: 'A table showing the appointment status tracking of cervical cancer screening patients.'
certified_by: null
certification_details: null
viz_type: table
params:
datasource: 5__table
viz_type: table
time_grain_sqla: P1D
time_range: No filter
query_mode: raw
groupby: []
metrics: []
all_columns:
- hf_name
- hf_district
- hf_province
- patient_id
- patient_name
- age
- phone_number
- country
- province
- district
- commune
- village
- css_appointment_date
- css_appointment_reason
- bcs_appointment_date
- bcs_appointment_reason
percent_metrics: []
adhoc_filters: []
order_by_cols: []
row_limit: 1000
server_page_length: 10
order_desc: true
table_timestamp_format: smart_date
show_cell_bars: true
color_pn: true
column_config:
age:
showCellBars: false
conditional_formatting: []
extra_form_data: {}
dashboards:
- 5
query_context: '{"datasource":{"id":5,"type":"table"},"force":false,"queries":[{"time_range":"No
filter","filters":[],"extras":{"time_grain_sqla":"P1D","having":"","where":""},"applied_time_extras":{},"columns":["hf_name","hf_district","hf_province","patient_id","patient_name","age","phone_number","country","province","district","commune","village","css_appointment_date","css_appointment_reason","bcs_appointment_date","bcs_appointment_reason"],"orderby":[],"annotation_layers":[],"row_limit":1000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"post_processing":[]}],"form_data":{"datasource":"5__table","viz_type":"table","time_grain_sqla":"P1D","time_range":"No
filter","query_mode":"raw","groupby":[],"metrics":[],"all_columns":["hf_name","hf_district","hf_province","patient_id","patient_name","age","phone_number","country","province","district","commune","village","css_appointment_date","css_appointment_reason","bcs_appointment_date","bcs_appointment_reason"],"percent_metrics":[],"adhoc_filters":[],"order_by_cols":[],"row_limit":1000,"server_page_length":10,"include_time":false,"order_desc":true,"table_timestamp_format":"smart_date","show_cell_bars":true,"color_pn":true,"column_config":{"age":{"showCellBars":false}},"conditional_formatting":[],"extra_form_data":{},"dashboards":[5],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}'
cache_timeout: null
uuid: 127c71e6-af8a-4d9a-ba10-c56e534d9956
version: 1.0.0
dataset_uuid: 5279e6d6-998b-4e05-9a47-811df81cd533
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
slice_name: "\u1780\u17B6\u179A\u1782\u17D2\u179A\u1794\u17CB\u1782\u17D2\u179A\u1784\
\ (Management)"
description: null
certified_by: null
certification_details: null
viz_type: pivot_table_v2
params:
datasource: 1__table
viz_type: pivot_table_v2
slice_id: 3
granularity_sqla: date_started
time_range: No filter
groupbyColumns:
- age_group
groupbyRows: []
metrics:
- sum treated
- sum referred
metricsLayout: COLUMNS
adhoc_filters: []
row_limit: 10000
order_desc: true
aggregateFunction: Sum
rowTotals: false
colTotals: true
transposePivot: true
valueFormat: ~g
date_format: smart_date
rowOrder: key_a_to_z
colOrder: key_a_to_z
conditional_formatting: []
extra_form_data: {}
dashboards:
- 1
query_context: '{"datasource":{"id":1,"type":"table"},"force":false,"queries":[{"time_range":"No
filter","granularity":"date_started","filters":[],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":["age_group"],"metrics":["sum
treated","sum referred"],"orderby":[["sum treated",false]],"annotation_layers":[],"row_limit":10000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"datasource":"1__table","viz_type":"pivot_table_v2","slice_id":3,"granularity_sqla":"date_started","time_range":"No
filter","groupbyColumns":["age_group"],"groupbyRows":[],"metrics":["sum treated","sum
referred"],"metricsLayout":"COLUMNS","adhoc_filters":[],"row_limit":10000,"order_desc":true,"aggregateFunction":"Sum","rowTotals":false,"colTotals":true,"transposePivot":true,"valueFormat":"~g","date_format":"smart_date","rowOrder":"key_a_to_z","colOrder":"key_a_to_z","conditional_formatting":[],"extra_form_data":{},"dashboards":[1],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}'
cache_timeout: null
uuid: 87838d2c-ca56-44f1-a3a7-ec7648dddcc3
version: 1.0.0
dataset_uuid: 105ff668-0cd3-4674-82d2-bcecc6813280
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
slice_name: "\u1785\u17C6\u1793\u17BD\u1793\u179F\u17D2\u178F\u17D2\u179A\u17B8\u1780\
\u17D2\u1793\u17BB\u1784\u1798\u17BD\u1799\u1794\u17D2\u179A\u1797\u17C1\u1791\u1793\
\u17C3\u1780\u17B6\u179A\u1798\u1780\u179B\u17C1\u1784 (# of women per visit type)"
description: null
certified_by: null
certification_details: null
viz_type: pivot_table_v2
params:
datasource: 1__table
viz_type: pivot_table_v2
slice_id: 2
granularity_sqla: date_started
time_grain_sqla: P1D
time_range: No filter
groupbyColumns:
- age_group
groupbyRows:
- referred_from_grouping
metrics:
- count per visit type
metricsLayout: COLUMNS
adhoc_filters:
- clause: WHERE
comparator: N/A
datasourceWarning: false
expressionType: SIMPLE
filterOptionName: filter_24vo20jrrtl_gqcm97kdcra
isExtra: false
isNew: false
operator: '!='
operatorId: NOT_EQUALS
sqlExpression: null
subject: referred_from_grouping
row_limit: 10000
order_desc: true
aggregateFunction: Sum
rowTotals: true
colTotals: true
transposePivot: true
valueFormat: ~g
date_format: smart_date
rowOrder: key_a_to_z
colOrder: key_a_to_z
conditional_formatting: []
extra_form_data: {}
dashboards:
- 1
query_context: '{"datasource":{"id":1,"type":"table"},"force":false,"queries":[{"time_range":"No
filter","granularity":"date_started","filters":[{"col":"referred_from_grouping","op":"!=","val":"N/A"}],"extras":{"time_grain_sqla":"P1D","having":"","where":""},"applied_time_extras":{},"columns":["age_group","referred_from_grouping"],"metrics":["count
per visit type"],"orderby":[["count per visit type",false]],"annotation_layers":[],"row_limit":10000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"datasource":"1__table","viz_type":"pivot_table_v2","slice_id":2,"granularity_sqla":"date_started","time_grain_sqla":"P1D","time_range":"No
filter","groupbyColumns":["age_group"],"groupbyRows":["referred_from_grouping"],"metrics":["count
per visit type"],"metricsLayout":"COLUMNS","adhoc_filters":[{"clause":"WHERE","comparator":"N/A","datasourceWarning":false,"expressionType":"SIMPLE","filterOptionName":"filter_24vo20jrrtl_gqcm97kdcra","isExtra":false,"isNew":false,"operator":"!=","operatorId":"NOT_EQUALS","sqlExpression":null,"subject":"referred_from_grouping"}],"row_limit":10000,"order_desc":true,"aggregateFunction":"Sum","rowTotals":true,"colTotals":true,"transposePivot":true,"valueFormat":"~g","date_format":"smart_date","rowOrder":"key_a_to_z","colOrder":"key_a_to_z","conditional_formatting":[],"extra_form_data":{},"dashboards":[1],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}'
cache_timeout: null
uuid: ae4b7d1d-1bae-4a6f-bec4-71826613e857
version: 1.0.0
dataset_uuid: 105ff668-0cd3-4674-82d2-bcecc6813280
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
slice_name: "\u179B\u1791\u17D2\u1792\u1795\u179B\u178F\u17C1\u179F\u17D2\u178F VIA\
\ (# of women per VIA result)"
description: null
certified_by: null
certification_details: null
viz_type: pivot_table_v2
params:
datasource: 1__table
viz_type: pivot_table_v2
slice_id: 4
granularity_sqla: date_started
time_grain_sqla: P1D
time_range: No filter
groupbyColumns:
- age_group
groupbyRows:
- via_test_result_grouping
metrics:
- count per via test result
metricsLayout: COLUMNS
adhoc_filters:
- expressionType: SIMPLE
subject: via_test_result_grouping
operator: '!='
operatorId: NOT_EQUALS
comparator: N/A
clause: WHERE
sqlExpression: null
isExtra: false
isNew: false
datasourceWarning: false
filterOptionName: filter_wb6zuz83qde_1nmcjy79ejy
row_limit: 1000
order_desc: true
aggregateFunction: Sum
rowTotals: true
colTotals: true
transposePivot: true
valueFormat: ~g
date_format: smart_date
rowOrder: key_a_to_z
colOrder: key_a_to_z
conditional_formatting: []
extra_form_data: {}
dashboards:
- 1
query_context: '{"datasource":{"id":1,"type":"table"},"force":false,"queries":[{"time_range":"No
filter","granularity":"date_started","filters":[{"col":"via_test_result_grouping","op":"!=","val":"N/A"}],"extras":{"time_grain_sqla":"P1D","having":"","where":""},"applied_time_extras":{},"columns":["age_group","via_test_result_grouping"],"metrics":["count
per via test result"],"orderby":[["count per via test result",false]],"annotation_layers":[],"row_limit":1000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"datasource":"1__table","viz_type":"pivot_table_v2","slice_id":4,"granularity_sqla":"date_started","time_grain_sqla":"P1D","time_range":"No
filter","groupbyColumns":["age_group"],"groupbyRows":["via_test_result_grouping"],"metrics":["count
per via test result"],"metricsLayout":"COLUMNS","adhoc_filters":[{"expressionType":"SIMPLE","subject":"via_test_result_grouping","operator":"!=","operatorId":"NOT_EQUALS","comparator":"N/A","clause":"WHERE","sqlExpression":null,"isExtra":false,"isNew":false,"datasourceWarning":false,"filterOptionName":"filter_wb6zuz83qde_1nmcjy79ejy"}],"row_limit":1000,"order_desc":true,"aggregateFunction":"Sum","rowTotals":true,"colTotals":true,"transposePivot":true,"valueFormat":"~g","date_format":"smart_date","rowOrder":"key_a_to_z","colOrder":"key_a_to_z","conditional_formatting":[],"extra_form_data":{},"dashboards":[1],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}'
cache_timeout: null
uuid: bc93b773-a54f-4070-9624-681d4940207e
version: 1.0.0
dataset_uuid: 105ff668-0cd3-4674-82d2-bcecc6813280
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
slice_name: "\u1785\u17C6\u1793\u17BD\u1793\u179F\u17D2\u178F\u17D2\u179A\u17B8\u1794\
\u17B6\u1793 \u1792\u17D2\u179C\u17BE\u178F\u17C1\u179F\u17D2\u178F VIA (# of women\
\ with VIA tested)"
description: null
certified_by: null
certification_details: null
viz_type: pivot_table_v2
params:
datasource: 1__table
viz_type: pivot_table_v2
slice_id: 1
granularity_sqla: date_started
time_range: No filter
groupbyColumns:
- age_group
groupbyRows: []
metrics:
- count has via test result
metricsLayout: COLUMNS
adhoc_filters:
- expressionType: SIMPLE
subject: age_group
operator: IS NOT NULL
operatorId: IS_NOT_NULL
comparator: null
clause: WHERE
sqlExpression: null
isExtra: false
isNew: false
datasourceWarning: false
filterOptionName: filter_34jgyf68k4e_7xz6k799l7k
row_limit: 10000
order_desc: true
aggregateFunction: Sum
rowTotals: false
colTotals: true
transposePivot: true
valueFormat: ~g
date_format: smart_date
rowOrder: key_a_to_z
colOrder: key_a_to_z
conditional_formatting: []
extra_form_data: {}
dashboards:
- 1
query_context: '{"datasource":{"id":1,"type":"table"},"force":false,"queries":[{"time_range":"No
filter","granularity":"date_started","filters":[{"col":"age_group","op":"IS NOT
NULL"}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":["age_group"],"metrics":["count
has via test result"],"orderby":[["count has via test result",false]],"annotation_layers":[],"row_limit":10000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"datasource":"1__table","viz_type":"pivot_table_v2","slice_id":1,"granularity_sqla":"date_started","time_range":"No
filter","groupbyColumns":["age_group"],"groupbyRows":[],"metrics":["count has via
test result"],"metricsLayout":"COLUMNS","adhoc_filters":[{"expressionType":"SIMPLE","subject":"age_group","operator":"IS
NOT NULL","operatorId":"IS_NOT_NULL","comparator":null,"clause":"WHERE","sqlExpression":null,"isExtra":false,"isNew":false,"datasourceWarning":false,"filterOptionName":"filter_34jgyf68k4e_7xz6k799l7k"}],"row_limit":10000,"order_desc":true,"aggregateFunction":"Sum","rowTotals":false,"colTotals":true,"transposePivot":true,"valueFormat":"~g","date_format":"smart_date","rowOrder":"key_a_to_z","colOrder":"key_a_to_z","conditional_formatting":[],"extra_form_data":{},"dashboards":[1],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}'
cache_timeout: null
uuid: a57aa88b-eb68-4d6f-9061-107c47d6b76d
version: 1.0.0
dataset_uuid: 105ff668-0cd3-4674-82d2-bcecc6813280
Loading