-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KH-501: Added Report Dashboards for KH-501, KH-503, KH-521, KH-522, K…
…H-520, KH-530, KH-531, KH-534
- Loading branch information
Showing
32 changed files
with
10,657 additions
and
0 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
base/configs/superset/assets/charts/CCS_Distribution_of_visits_per_Province_134.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
slice_name: CCS Distribution of visits per Province | ||
description: null | ||
certified_by: null | ||
certification_details: null | ||
viz_type: pie | ||
params: | ||
datasource: 24__table | ||
viz_type: pie | ||
slice_id: 134 | ||
granularity_sqla: Visit date | ||
time_range: '2024-02-01T07:15:38 : now' | ||
groupby: | ||
- Facility Province | ||
metric: count | ||
adhoc_filters: [] | ||
row_limit: 100 | ||
sort_by_metric: true | ||
color_scheme: supersetColors | ||
show_labels_threshold: 5 | ||
show_legend: true | ||
legendType: scroll | ||
legendOrientation: top | ||
label_type: key | ||
number_format: SMART_NUMBER | ||
date_format: smart_date | ||
show_labels: true | ||
labels_outside: true | ||
outerRadius: 87 | ||
donut: false | ||
innerRadius: 30 | ||
extra_form_data: {} | ||
dashboards: | ||
- 11 | ||
query_context: '{"datasource":{"id":24,"type":"table"},"force":false,"queries":[{"time_range":"2024-02-01T07:15:38 | ||
: now","granularity":"Visit date","filters":[],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":["Facility | ||
Province"],"metrics":["count"],"orderby":[["count",false]],"annotation_layers":[],"row_limit":100,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"datasource":"24__table","viz_type":"pie","slice_id":134,"granularity_sqla":"Visit | ||
date","time_range":"2024-02-01T07:15:38 : now","groupby":["Facility Province"],"metric":"count","adhoc_filters":[],"row_limit":100,"sort_by_metric":true,"color_scheme":"supersetColors","show_labels_threshold":5,"show_legend":true,"legendType":"scroll","legendOrientation":"top","label_type":"key","number_format":"SMART_NUMBER","date_format":"smart_date","show_labels":true,"labels_outside":true,"outerRadius":87,"donut":false,"innerRadius":30,"extra_form_data":{},"dashboards":[11],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' | ||
cache_timeout: null | ||
uuid: dd5925be-e474-4104-97d9-0a2ef4a34290 | ||
version: 1.0.0 | ||
dataset_uuid: 7bbd77f5-46bc-49ef-8436-608aefbfb35e |
66 changes: 66 additions & 0 deletions
66
base/configs/superset/assets/charts/CCS_Missed_Referrals_Report_136.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
slice_name: CCS Missed Referrals Report | ||
description: null | ||
certified_by: null | ||
certification_details: null | ||
viz_type: table | ||
params: | ||
datasource: 25__table | ||
viz_type: table | ||
slice_id: 136 | ||
granularity_sqla: Visit date | ||
time_grain_sqla: P1D | ||
time_range: No filter | ||
query_mode: aggregate | ||
groupby: | ||
- Facility Name | ||
- Facility District | ||
- Facility Province | ||
- Referral Facility Name | ||
- Referral Facility District | ||
- Referral Facility Province | ||
- OpenMRS ID | ||
- Patient's name | ||
- Age | ||
- Phone number | ||
- Province/City | ||
- District/ Khan | ||
- Commune/ Sangkat | ||
- Village | ||
- Visit date | ||
- Cervical cancer reason for referral | ||
- Other cervical cancer reason for referral | ||
- Breast cancer reason for referral | ||
- Other breast cancer reason for referral | ||
all_columns: [] | ||
percent_metrics: [] | ||
adhoc_filters: [] | ||
order_by_cols: [] | ||
row_limit: 10000 | ||
server_page_length: 10 | ||
order_desc: true | ||
table_timestamp_format: smart_date | ||
include_search: true | ||
show_cell_bars: true | ||
color_pn: true | ||
allow_rearrange_columns: true | ||
conditional_formatting: [] | ||
extra_form_data: {} | ||
dashboards: | ||
- 12 | ||
query_context: '{"datasource":{"id":25,"type":"table"},"force":false,"queries":[{"time_range":"No | ||
filter","granularity":"Visit date","filters":[],"extras":{"time_grain_sqla":"P1D","having":"","where":""},"applied_time_extras":{},"columns":["Facility | ||
Name","Facility District","Facility Province","Referral Facility Name","Referral | ||
Facility District","Referral Facility Province","OpenMRS ID","Patient''s name","Age","Phone | ||
number","Province/City","District/ Khan","Commune/ Sangkat","Village","Visit date","Cervical | ||
cancer reason for referral","Other cervical cancer reason for referral","Breast | ||
cancer reason for referral","Other breast cancer reason for referral"],"metrics":[],"orderby":[],"annotation_layers":[],"row_limit":10000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"post_processing":[]}],"form_data":{"datasource":"25__table","viz_type":"table","slice_id":136,"granularity_sqla":"Visit | ||
date","time_grain_sqla":"P1D","time_range":"No filter","query_mode":"aggregate","groupby":["Facility | ||
Name","Facility District","Facility Province","Referral Facility Name","Referral | ||
Facility District","Referral Facility Province","OpenMRS ID","Patient''s name","Age","Phone | ||
number","Province/City","District/ Khan","Commune/ Sangkat","Village","Visit date","Cervical | ||
cancer reason for referral","Other cervical cancer reason for referral","Breast | ||
cancer reason for referral","Other breast cancer reason for referral"],"all_columns":[],"percent_metrics":[],"adhoc_filters":[],"order_by_cols":[],"row_limit":10000,"server_page_length":10,"order_desc":true,"table_timestamp_format":"smart_date","include_search":true,"show_cell_bars":true,"color_pn":true,"allow_rearrange_columns":true,"conditional_formatting":[],"extra_form_data":{},"dashboards":[12],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' | ||
cache_timeout: null | ||
uuid: 14eb222c-0b43-4ba9-8617-dfeb3754bc46 | ||
version: 1.0.0 | ||
dataset_uuid: 412423af-0fdd-4e33-b15d-2b63a9e213e1 |
59 changes: 59 additions & 0 deletions
59
...igs/superset/assets/charts/CCS_Monthly_total_count_of_visits_grouped_by_district_135.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
slice_name: CCS Monthly total count of visits grouped by district | ||
description: null | ||
certified_by: null | ||
certification_details: null | ||
viz_type: echarts_timeseries_bar | ||
params: | ||
datasource: 24__table | ||
viz_type: echarts_timeseries_bar | ||
slice_id: 135 | ||
granularity_sqla: Visit date | ||
time_grain_sqla: P1M | ||
time_range: 'DATEADD(DATETIME("now"), -1, year) : now' | ||
metrics: | ||
- count | ||
groupby: | ||
- Facility District | ||
adhoc_filters: [] | ||
order_desc: true | ||
row_limit: 10000 | ||
truncate_metric: true | ||
show_empty_columns: true | ||
comparison_type: values | ||
annotation_layers: [] | ||
forecastPeriods: 10 | ||
forecastInterval: 0.8 | ||
orientation: vertical | ||
x_axis_title_margin: 15 | ||
y_axis_title_margin: 15 | ||
y_axis_title_position: Left | ||
color_scheme: supersetColors | ||
show_value: true | ||
stack: false | ||
only_total: true | ||
zoomable: true | ||
show_legend: true | ||
legendType: scroll | ||
legendOrientation: top | ||
x_axis_time_format: smart_date | ||
y_axis_format: SMART_NUMBER | ||
y_axis_bounds: | ||
- null | ||
- null | ||
rich_tooltip: true | ||
tooltipSortByMetric: false | ||
tooltipTimeFormat: smart_date | ||
extra_form_data: {} | ||
dashboards: | ||
- 11 | ||
query_context: '{"datasource":{"id":24,"type":"table"},"force":false,"queries":[{"time_range":"DATEADD(DATETIME(\"now\"), | ||
-1, year) : now","granularity":"Visit date","filters":[],"extras":{"time_grain_sqla":"P1M","having":"","where":""},"applied_time_extras":{},"columns":["Facility | ||
District"],"metrics":["count"],"orderby":[["count",false]],"annotation_layers":[],"row_limit":10000,"series_columns":["Facility | ||
District"],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"is_timeseries":true,"time_offsets":[],"post_processing":[{"operation":"pivot","options":{"index":["__timestamp"],"columns":["Facility | ||
District"],"aggregates":{"count":{"operator":"mean"}},"drop_missing_columns":false}},{"operation":"rename","options":{"columns":{"count":null},"level":0,"inplace":true}},{"operation":"flatten"}]}],"form_data":{"datasource":"24__table","viz_type":"echarts_timeseries_bar","slice_id":135,"granularity_sqla":"Visit | ||
date","time_grain_sqla":"P1M","time_range":"DATEADD(DATETIME(\"now\"), -1, year) | ||
: now","metrics":["count"],"groupby":["Facility District"],"adhoc_filters":[],"order_desc":true,"row_limit":10000,"truncate_metric":true,"show_empty_columns":true,"comparison_type":"values","annotation_layers":[],"forecastPeriods":10,"forecastInterval":0.8,"orientation":"vertical","x_axis_title_margin":15,"y_axis_title_margin":15,"y_axis_title_position":"Left","color_scheme":"supersetColors","show_value":true,"stack":false,"only_total":true,"zoomable":true,"show_legend":true,"legendType":"scroll","legendOrientation":"top","x_axis_time_format":"smart_date","y_axis_format":"SMART_NUMBER","y_axis_bounds":[null,null],"rich_tooltip":true,"tooltipSortByMetric":false,"tooltipTimeFormat":"smart_date","extra_form_data":{},"dashboards":[11],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' | ||
cache_timeout: null | ||
uuid: 6d8cee3a-64cc-4a2e-af31-7f5b4fefc90b | ||
version: 1.0.0 | ||
dataset_uuid: 7bbd77f5-46bc-49ef-8436-608aefbfb35e |
84 changes: 84 additions & 0 deletions
84
base/configs/superset/assets/charts/HC_CCS_Report_133.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
slice_name: HC CCS Report | ||
description: null | ||
certified_by: null | ||
certification_details: null | ||
viz_type: table | ||
params: | ||
datasource: 24__table | ||
viz_type: table | ||
slice_id: 133 | ||
granularity_sqla: Visit date | ||
time_range: 'DATEADD(DATETIME("now"), -1, year) : now' | ||
query_mode: raw | ||
groupby: [] | ||
all_columns: | ||
- OpenMRS ID | ||
- ID Poor Card | ||
- National ID Card | ||
- PMRS ID Number | ||
- Other Identifiers | ||
- Patient's name | ||
- Age | ||
- Province/City | ||
- District/ Khan | ||
- Commune/ Sangkat | ||
- Village | ||
- Phone number | ||
- Visit date | ||
- Type of visit | ||
- Payment type | ||
- Referred From | ||
- SCJ | ||
- VIA test result | ||
- If VIA(+) Number of Quadrants involved | ||
- If VIA(+) % of Acetowhite site | ||
- HPV Test result | ||
- 'Type of HPV ' | ||
- Treatment option | ||
- Other treatment specified | ||
- Self breast examination and education | ||
- Breast Examination Result | ||
- Other Breast Examination Result | ||
- Treatment | ||
- Facility Province | ||
- Facility District | ||
- Facility Name | ||
percent_metrics: [] | ||
adhoc_filters: [] | ||
order_by_cols: [] | ||
row_limit: 10000 | ||
server_page_length: 10 | ||
order_desc: true | ||
table_timestamp_format: smart_date | ||
include_search: true | ||
show_cell_bars: true | ||
color_pn: true | ||
allow_rearrange_columns: true | ||
column_config: | ||
Age: | ||
showCellBars: false | ||
conditional_formatting: [] | ||
extra_form_data: {} | ||
dashboards: | ||
- 11 | ||
query_context: '{"datasource":{"id":24,"type":"table"},"force":false,"queries":[{"time_range":"DATEADD(DATETIME(\"now\"), | ||
-1, year) : now","granularity":"Visit date","filters":[],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":["OpenMRS | ||
ID","ID Poor Card","National ID Card","PMRS ID Number","Other Identifiers","Patient''s | ||
name","Age","Province/City","District/ Khan","Commune/ Sangkat","Village","Phone | ||
number","Visit date","Type of visit","Payment type","Referred From","SCJ","VIA test | ||
result","If VIA(+) Number of Quadrants involved","If VIA(+) % of Acetowhite site","HPV | ||
Test result","Type of HPV ","Treatment option","Other treatment specified","Self | ||
breast examination and education","Breast Examination Result","Other Breast Examination | ||
Result","Treatment","Facility Province","Facility District","Facility Name"],"orderby":[],"annotation_layers":[],"row_limit":10000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"post_processing":[]}],"form_data":{"datasource":"24__table","viz_type":"table","slice_id":133,"granularity_sqla":"Visit | ||
date","time_range":"DATEADD(DATETIME(\"now\"), -1, year) : now","query_mode":"raw","groupby":[],"all_columns":["OpenMRS | ||
ID","ID Poor Card","National ID Card","PMRS ID Number","Other Identifiers","Patient''s | ||
name","Age","Province/City","District/ Khan","Commune/ Sangkat","Village","Phone | ||
number","Visit date","Type of visit","Payment type","Referred From","SCJ","VIA test | ||
result","If VIA(+) Number of Quadrants involved","If VIA(+) % of Acetowhite site","HPV | ||
Test result","Type of HPV ","Treatment option","Other treatment specified","Self | ||
breast examination and education","Breast Examination Result","Other Breast Examination | ||
Result","Treatment","Facility Province","Facility District","Facility Name"],"percent_metrics":[],"adhoc_filters":[],"order_by_cols":[],"row_limit":10000,"server_page_length":10,"include_time":false,"order_desc":true,"table_timestamp_format":"smart_date","include_search":true,"show_cell_bars":true,"color_pn":true,"allow_rearrange_columns":true,"column_config":{"Age":{"showCellBars":false}},"conditional_formatting":[],"extra_form_data":{},"dashboards":[11],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' | ||
cache_timeout: null | ||
uuid: 5aaa773a-3be3-4fed-b221-a1f3c395cc8b | ||
version: 1.0.0 | ||
dataset_uuid: 7bbd77f5-46bc-49ef-8436-608aefbfb35e |
101 changes: 101 additions & 0 deletions
101
base/configs/superset/assets/charts/HC_NCD_OPD_Register_Report_142.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
slice_name: HC NCD OPD Register Report | ||
description: null | ||
certified_by: null | ||
certification_details: null | ||
viz_type: table | ||
params: | ||
datasource: 30__table | ||
viz_type: table | ||
slice_id: 142 | ||
granularity_sqla: Visit Date | ||
time_grain_sqla: P1D | ||
time_range: No filter | ||
query_mode: raw | ||
groupby: [] | ||
all_columns: | ||
- Facility Name | ||
- Facility District | ||
- Facility Province | ||
- Patient's name | ||
- OpenMRS ID | ||
- Gender | ||
- Phone number | ||
- Referred By | ||
- Village | ||
- District/ Khan | ||
- Commune/ Sangkat | ||
- BMI | ||
- Province/City | ||
- Age | ||
- Visit Date | ||
- Zone | ||
- Weight | ||
- Temperature | ||
- Diastolic Pressure | ||
- Height | ||
- Respiratory Rate | ||
- Systolic Pressure | ||
- Circumference | ||
- Pulse | ||
- Fasting Blood Sugar | ||
- Random Blood Sugar | ||
- OGTT | ||
- Albumin | ||
- Ketones | ||
- HbA1c | ||
- Smoking Status | ||
- Physical Exercise | ||
- Alcohol Use | ||
- CVD risk score (%) | ||
- Tele-consultation with NCD unit | ||
- Diagnosis 1 | ||
- Diagnosis 2 | ||
- Management Lifestyle | ||
- Management - Medications | ||
- Appointment Reason | ||
- Referral Facility | ||
- Reason for referral | ||
- Payment Type | ||
- Remarks | ||
percent_metrics: [] | ||
adhoc_filters: [] | ||
order_by_cols: [] | ||
row_limit: 1000 | ||
server_page_length: 10 | ||
order_desc: true | ||
table_timestamp_format: smart_date | ||
page_length: 0 | ||
include_search: true | ||
show_cell_bars: true | ||
color_pn: true | ||
allow_rearrange_columns: true | ||
column_config: | ||
Age: | ||
showCellBars: false | ||
conditional_formatting: [] | ||
extra_form_data: {} | ||
dashboards: | ||
- 17 | ||
query_context: '{"datasource":{"id":30,"type":"table"},"force":false,"queries":[{"time_range":"No | ||
filter","granularity":"Visit Date","filters":[],"extras":{"time_grain_sqla":"P1D","having":"","where":""},"applied_time_extras":{},"columns":["Facility | ||
Name","Facility District","Facility Province","Patient''s name","OpenMRS ID","Gender","Phone | ||
number","Referred By","Village","District/ Khan","Commune/ Sangkat","BMI","Province/City","Age","Visit | ||
Date","Zone","Weight","Temperature","Diastolic Pressure","Height","Respiratory Rate","Systolic | ||
Pressure","Circumference","Pulse","Fasting Blood Sugar","Random Blood Sugar","OGTT","Albumin","Ketones","HbA1c","Smoking | ||
Status","Physical Exercise","Alcohol Use","CVD risk score (%)","Tele-consultation | ||
with NCD unit","Diagnosis 1","Diagnosis 2","Management Lifestyle","Management - | ||
Medications","Appointment Reason","Referral Facility","Reason for referral","Payment | ||
Type","Remarks"],"orderby":[],"annotation_layers":[],"row_limit":1000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"post_processing":[]}],"form_data":{"datasource":"30__table","viz_type":"table","slice_id":142,"granularity_sqla":"Visit | ||
Date","time_grain_sqla":"P1D","time_range":"No filter","query_mode":"raw","groupby":[],"all_columns":["Facility | ||
Name","Facility District","Facility Province","Patient''s name","OpenMRS ID","Gender","Phone | ||
number","Referred By","Village","District/ Khan","Commune/ Sangkat","BMI","Province/City","Age","Visit | ||
Date","Zone","Weight","Temperature","Diastolic Pressure","Height","Respiratory Rate","Systolic | ||
Pressure","Circumference","Pulse","Fasting Blood Sugar","Random Blood Sugar","OGTT","Albumin","Ketones","HbA1c","Smoking | ||
Status","Physical Exercise","Alcohol Use","CVD risk score (%)","Tele-consultation | ||
with NCD unit","Diagnosis 1","Diagnosis 2","Management Lifestyle","Management - | ||
Medications","Appointment Reason","Referral Facility","Reason for referral","Payment | ||
Type","Remarks"],"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","page_length":0,"include_search":true,"show_cell_bars":true,"color_pn":true,"allow_rearrange_columns":true,"column_config":{"Age":{"showCellBars":false}},"conditional_formatting":[],"extra_form_data":{},"dashboards":[17],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' | ||
cache_timeout: null | ||
uuid: 21650553-f9e7-4249-a0b2-088c1aaca1ea | ||
version: 1.0.0 | ||
dataset_uuid: 262d446a-2c07-4b3b-8ab0-a792b242dea4 |
Oops, something went wrong.