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

Incorrect error message is shown on entering encounter date before enrolment date. #1028

Open
Gojo-Taqi opened this issue Aug 18, 2023 · 1 comment

Comments

@Gojo-Taqi
Copy link

image

From the screenshot, it is clear that the enrolment happened on 15-Feb-2023.

image

From the screenshot, when I try to complete an encounter on 14-Feb-2023, ideally the message should say "Encounter date cannot be before enrolment date".
But the message shown over here is "Encounter date not in between enrolment and exit dates"

To Reproduce
Steps to reproduce the behavior:

  1. Register for a subject and enroll in a program.
  2. Try to complete an encounter by selecting the date before the enrolment date.
  3. See error:- "Encounter date not in between enrolment and exit dates"

Ideally, it should say "Encounter date cannot be before enrolment date"

@Gojo-Taqi Gojo-Taqi changed the title Incorrect error message is show on entering encounter date before enrolment date. Incorrect error message is shown on entering encounter date before enrolment date. Aug 18, 2023
@vinayvenu
Copy link
Member

Agree. The message itself is correct, but can be better.

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

No branches or pull requests

2 participants