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

[PRMP-839] Fixed suspended patient is active logic & added unit test #416

Merged
merged 5 commits into from
Aug 29, 2024

Conversation

AndyFlintNHS
Copy link
Contributor

Fixed bug where any truthy value for the ODS code would cause a patient to be flagged as active. This caused a problem where PCSE couldn't view suspended patients as their 'ODS code' was returning as SUSP, which is considered truthy and was incorrectly flagging them as active.

Added a unit test with an example expected suspended patient response from PDS

@AndyFlintNHS AndyFlintNHS merged commit 5fa3eaf into main Aug 29, 2024
7 checks passed
@AndyFlintNHS AndyFlintNHS deleted the PRMP-839 branch August 29, 2024 14: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.

5 participants