avniproject / yenepoya

0 stars 0 forks source link

[Yenepoya] Reports to ETL (Urgent) #137

Closed utkarshavni closed 1 year ago

utkarshavni commented 1 year ago

Ticket reference: https://avni.freshdesk.com/a/tickets/2471

Reports mentioned in the ticket have to be picked on priority for ETL migration.

Reports to ETL reference sheet: https://docs.google.com/spreadsheets/d/15U3mOkcVjHhXlr318uj8DRQNzC6mBOTf-GEPf9SLfTM/edit#gid=693027088

Dinesh2019 commented 1 year ago

Blocked for testing due to old report for Yenepoya showing below error in jasper image.png

Dinesh2019 commented 1 year ago

Above which not marked are QA Failed

Gojo-Taqi commented 1 year ago

For this report, Line list of individual with NCD factor, there is data missmatch for 3 cells, I am not able to debug why that's happening. Will need to pair on that issue with someone. For the report - Use of social security schemes, not able to get the old reports data as it takes forever to run.

sachsk commented 1 year ago
Dinesh2019 commented 1 year ago

Individuals undertaking physical activity > 150 minutes/week - old report data 736 and new report data 735 Individuals having family history of high BP, DM and heart disease - old report data 189 and new report data 188

BEULAHEVANJALIN commented 1 year ago
set role yenepoya;
select concat(i.first_name, ' ', i.last_name) as head_of_household_name,
       i.is_voided,
       h.id                                      house_id,
       gs.is_voided,
       r.role
from yenepoya.individual i
         inner join group_subject gs on gs.member_subject_id = i.id
         inner join yenepoya.household h on h.id = group_subject_id
         inner join group_role r on r.id = gs.group_role_id
where i.first_name = 'Naseema'
  and i.last_name = 'M';

image.png

Dinesh2019 commented 1 year ago

For Blood glucose levels in Diabetic patients Line list and NCD risk factors : proportion and scoring we are getting the below error

image.png