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 - Pre-Booked Visits - Patients Able to Book Same Slot if Prebook Screen Opened Simultaneously* #615

Open
DenysMyrosh opened this issue Nov 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DenysMyrosh
Copy link
Collaborator

Tested on:
Env: development
Hash: afa762e
Version: 0.17.0

Description:
When multiple patients access the Prebook screen simultaneously, they can book the same time slot without validation. If one patient books a slot, other patients who attempt to book the same slot afterward should see an error message to prevent multiple bookings for the same time.

1st visit https://ehr.ottehr.com/visit/3fc9799d-ddb5-487b-b85a-3f434329b6cc
2nd visit https://ehr.ottehr.com/visit/58cfa2c9-715a-4674-9b2d-df43bdd3fb48

Steps to Reproduce:

  1. Patient A and Patient B open the Prebook screen at the same time.
  2. Both patients see the available time slot "10:00 AM" for the selected location.
  3. Patient A selects the 10:00 AM slot and successfully requests the visit.
  4. Patient B selects the same 10:00 AM slot and also successfully requests the visit without an error message.

Expected Result:
When Patient B tries to book the already selected time slot (10:00 AM), an error message should be displayed, preventing duplicate bookings for the same slot.

Actual Result:
Both Patient A and Patient B can successfully book the same time slot (10:00 AM).

image

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: Backlog
Development

No branches or pull requests

1 participant