Closed sachsk closed 3 months ago
Folder Link : Link
select cicv.program_enrolment_id,
c.base_date::date + ((item_detail_status::json->>0)::json->>'end')::int as due_date,
completion_date,
item_detail_state
from checklist_item_checklist_view cicv
left join checklist c on cicv.checklist_id = c.id
where item_detail_state = 'Due'
order by 1;
@vedfordev
Context
As we are unable to add this charts in the dashboard due to metabase filter limitations we have decided to create a separate report for each graph with their linelist
Reports
Filters: Date filter on the due date
[x] Vaccination coverage area wise (Bar graph)
Numerator: Count of unique children whose - all the vaccine's which have due date in the year filter are completed ie. have completion date in the selected time-range
Denominator: Count of unique children who has any one vaccine's due date in the selected time-range
[x] Vaccination coverage (Pie Chart)
Numerator: Count of unique children whose - all the vaccine's which have due date in the year filter are completed ie. have completion date in the selected time-range
Denominator: Count of unique children who has any one vaccine's due date in the selected time-range
[x] Vaccination coverage monthly trend (bar graph)
Logic : Month wise percentage of vaccination coverage in the current year(selected duration in the date filter) ie. group the following by Month of due date
Numerator: Count of unique children whose - all the vaccine's which have due date in the year filter are completed ie. have completion date in the selected time-range
Denominator: Count of unique children who has any one vaccine's due date in the selected time-range
Sample image