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

Try to match referral to appointment on single referral fetch #101219

Open
brianseek opened this issue Jan 15, 2025 · 0 comments
Open

Try to match referral to appointment on single referral fetch #101219

brianseek opened this issue Jan 15, 2025 · 0 comments
Labels

Comments

@brianseek
Copy link
Contributor

We need to catch referrals that are already appointments. This could happen on the FE or the BE. If we do it on the FE, we should add a step to search for a matching referralId in the upcoming appointments payload. If it happens on the BE, vets-api should send a response that includes the existing appointment ID.

Regardless of who does this work, FE will need to redirect the user to either the appointment detail page or the complete page. Maybe we need some kind of a "you already did this" alert. Work with UX on the details for this scenario.

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

No branches or pull requests

1 participant