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

Being able to configure subject type filter for Due and overdue visits cards when part of custom dashboard #1203

Open
Tracked by #912 ...
mahalakshme opened this issue Apr 19, 2024 · 2 comments
Assignees

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Apr 19, 2024

Need:

  1. 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:
  • Overdue visits for child followup in APF Odisha - which is based on program, encounter type
  • No of Follow-up visits due for Epilepsy followup in JSSCP - Infividual ST, followup encounter type, Epilepsy program
  • Due WIMC meeting in AKRSP - WIMC meeting encounter type and Individual subject type
  • Eye checkup due in Chashma - 'Eye checkup' encounter type and Patients subject type
  1. 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:
    Image

  • 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
Screenshot 2024-04-16 at 10 22 56 AM - 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

@mahalakshme mahalakshme changed the title Add filters when adding SRC to CD Add filters when adding to certain SRCs to CD Apr 19, 2024
@mahalakshme mahalakshme changed the title Add filters when adding to certain SRCs to CD Support subject type filter for Due and overdue visits cards when part of custom dashboard Apr 19, 2024
@mahalakshme mahalakshme changed the title Support subject type filter for Due and overdue visits cards when part of custom dashboard Being able to configure subject type filter for Due and overdue visits cards when part of custom dashboard Apr 19, 2024
@petmongrels petmongrels self-assigned this May 6, 2024
petmongrels added a commit to avniproject/avni-server that referenced this issue May 6, 2024
petmongrels added a commit to avniproject/avni-models that referenced this issue May 8, 2024
… to support web app editing of report card.
petmongrels added a commit to avniproject/avni-server that referenced this issue May 8, 2024
…eport card web contract. renamed web endpoints from card to reportCard.
petmongrels added a commit that referenced this issue May 8, 2024
…lds. created component for SubjectTypeSelect.
@vinayvenu vinayvenu reopened this May 16, 2024
petmongrels added a commit to avniproject/avni-models that referenced this issue May 20, 2024
petmongrels added a commit to avniproject/avni-server that referenced this issue May 20, 2024
petmongrels added a commit that referenced this issue May 20, 2024
petmongrels added a commit to avniproject/avni-server that referenced this issue May 21, 2024
…ograms and encounter types without using Operational classes. Report card to contain subject types, programs, encounter types for standard report card input values.
petmongrels added a commit to avniproject/avni-models that referenced this issue May 21, 2024
petmongrels added a commit that referenced this issue May 21, 2024
…ort card standard report card input parameters.
petmongrels added a commit to avniproject/avni-server that referenced this issue May 22, 2024
…t and response. save report card with standard report card input form metadata
himeshr added a commit to avniproject/avni-server that referenced this issue May 28, 2024
…itory.findAllByUuidIn() across repositories
@himeshr
Copy link
Contributor

himeshr commented Jun 6, 2024

Facing issues while creating Custom Dashboard cards in server for StandardReportCardType Total.

Image

@AchalaBelokar
Copy link

ENV:Staging

  • Login to maha@APF on staging .
  1. Go to the aap designer
  2. offline dashboard
  3. edit the QRT child due and overdue visits
  4. edit filter weight
  5. I change the scope of that filter Registration to Program Enrolment
  6. After selecting program child
  7. it is giving me error

Screen Recording 2024-07-15 at 2.36.10 PM.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: QA Ready
Development

No branches or pull requests

5 participants