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

Table for overdue and due visits #78

Open
mahalakshme opened this issue Nov 6, 2023 · 0 comments
Open

Table for overdue and due visits #78

mahalakshme opened this issue Nov 6, 2023 · 0 comments

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Nov 6, 2023

Motivation:

Display due and overdue visits without consuming much loading time and impact on the server.

Acceptance criteria:

  • Create a ETL visits table called due_and_overdue_visits
  • The table will contain the below columns:
    - encounter_uuid
    - scheduled_by
    - scheduled_for
    - due_on
    - overdue_on
    - encounter name
    - subject type name
    - created_date_time
    - last_modified_date_time
  • Remove the completed visits everytime the table is updated.

Approach:

  • trigger
  • or just normal scan and insert using lastSyncTime

Out of scope:

UI to render in webapp

@mahalakshme mahalakshme changed the title Show overdue and due visits Table for overdue and due visits Nov 6, 2023
@mahalakshme mahalakshme transferred this issue from avniproject/avni-webapp Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Analysis
Development

No branches or pull requests

1 participant