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

Bugfix: TB API #1492

Merged
merged 1 commit into from
Jun 20, 2023
Merged

Bugfix: TB API #1492

merged 1 commit into from
Jun 20, 2023

Conversation

davidmiller
Copy link
Member

@davidmiller davidmiller commented Jun 20, 2023

Error email fixup:

Return empty but don't 500 if we hit the TB test summary API for a patient with no TB Episode

There is nowhere in the UI where these results are displayed if no TB episode
exists, but due to questionable implementation details of episode detail views,
sometimes this can be called for non-tb patients.
If they have old -ve TB screening tests this raises an exception - prevent that
by simply returning fast.

@davidmiller davidmiller changed the title Bugfix: return empty but don't 500 if we hit the TB test summary API … Bugfix: TB API Jun 20, 2023
@fredkingham fredkingham merged commit 9d4c582 into v0.110 Jun 20, 2023
2 checks passed
@fredkingham fredkingham deleted the tb-api-bugfix branch June 20, 2023 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants