Closed mahalakshme closed 2 months ago
Facing issues while creating Custom Dashboard cards in server for StandardReportCardType Total.
ENV:Staging
anomaly between filter and recent registrations input being only 1 day
Refrences video :
https://github.com/user-attachments/assets/57b975b1-7793-4f08-bbcd-1313595af4f3
Need:
Frequently we are unable to use Standard report card as such because users want to customise it based on subject type or program or encounter type. Eg:
To be able to achieve MyDashboard functionalities via Custom Dashboard code ie. to have the code at one place eventually.
AC:
Configuration 1: (for Need 1)
When 'Scheduled visits' and 'Overdue visits' are selected as 'Standard card type', display the filters like mentioned in the below rough mockup:
Initially when the above standard repord card types are selected, show 'Subject type' filter alone.
Based on the subject type selected, show any programs if applicable, in the programs filter, and general encounter types in the 'Encounter type' filter.
Based on the program selected, show program encounter types as well, in the 'Encounter type' filter.
Should be able to select any color in the color picker.
Should be able to save without anything selected in 'Subject Type' filter as well.
Configuration 2: (for Need 2)
Should be able to add 'subject type' filter as part of custom dashboard filters
Make sure the format used to save filters are backward compatible (the existing custom dashboard filters should continue to work)
Out of scope:
To make the configuration work in mobile app