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

Create consultation API is throwing 500 when HF ID is missing for the facility #8848

Closed
1 task
nihal467 opened this issue Oct 21, 2024 · 2 comments
Closed
1 task
Assignees

Comments

@nihal467
Copy link
Member

nihal467 commented Oct 21, 2024

Describe the bug

When the HF ID is missing for a facility, and we attempt to create a consultation by linking the ABHA ID to the patient, a 500 error is thrown by the backend, and The user remains on the form, but in the background, the consultation has already been created.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any facility without hf id
  2. create a patient and new consultation with Abha linked
  3. See error

Expected behavior

  • disable the link abha button in patient registration as well as in the consultation page if the HF id's are missing (Temporary Solution)

Screenshots

Copy link

sentry-io bot commented Oct 21, 2024

Sentry Issue: CARE-FGA

@PAVAN507-STAR
Copy link

Hii @nihal467 .I would like to work on this issue.Can u assign me this issue?

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

No branches or pull requests

3 participants