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

Intake - Past visit - Show error 'There are no past visits yet' for empty list #406

Closed
DenysMyrosh opened this issue Sep 13, 2024 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@DenysMyrosh
Copy link
Collaborator

DenysMyrosh commented Sep 13, 2024

Tested on:

  • Ottehr Admin Version: 0.10.0 - Demo
  • Chrome Version 128.0.6613.137 (Official Build) (64-bit)

Description:
There is a rare case where a new patient has no visits yet. This occurs if a new patient starts a visit request but doesn’t complete it and then returns to the Home screen. In this case, when patient navigates "Past Visits" for his patient with no visits then empty past visits screen is shown.

Steps To Reproduce:

  1. Start a visit request as a new patient.
  2. Do not submit the visit request.
  3. Open the Home screen.
  4. Click on "Past Visits."
  5. Select this new patient.

Actual result:
The Past Visits screen is opened with no visits listed.

Expected result:
If the patient has no visits yet, an appropriate message should be displayed (e.g., "There are no past visits yet").

image

@DenysMyrosh DenysMyrosh added the bug Something isn't working label Sep 13, 2024
@GiladSchneider GiladSchneider added this to the N milestone Sep 27, 2024
@GiladSchneider GiladSchneider moved this from Backlog to Todo in Ottehr Product Sep 27, 2024
@GiladSchneider GiladSchneider moved this from Todo to In Progress in Ottehr Product Oct 1, 2024
GiladSchneider added a commit that referenced this issue Oct 1, 2024
@DenysMyrosh
Copy link
Collaborator Author

Env: dev
Hash: e24b901
Version: 0.13.0

Still reproducible
image

GiladSchneider added a commit that referenced this issue Oct 11, 2024
GiladSchneider added a commit that referenced this issue Oct 11, 2024
@GiladSchneider GiladSchneider moved this from Ready For Review to Ready For Build in Ottehr Product Oct 11, 2024
@DenysMyrosh
Copy link
Collaborator Author

DenysMyrosh commented Oct 22, 2024

Intake Version: 0.13.0
Env: development
Hash: 13a239e

image

@github-project-automation github-project-automation bot moved this from Ready For Test to Ready For Release in Ottehr Product Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants