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

fix(admissions): block transfer of discharged patients #7822

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jniles
Copy link
Collaborator

@jniles jniles commented Oct 25, 2024

This commit fixes a bug in the admissions registry where you could transfer a patient that has already been discharged. This shouldn't happen in practice as the patient has left the hospital.

Closes #7809.

To test this:

  1. Create a Ward, Room, and Bed via Ward Management > Settings.
  2. Admit a patient to that room (as hospitalization).
  3. Note that you have the option to "transfer" the patient in the menu in the Admissions registry.
  4. Discharge the patient.
  5. Note that you cannot transfer the patient anymore.

This commit fixes a bug in the admissions registry where you could
transfer a patient that has already been discharged.  This shouldn't
happen in practice as the patient has left the hospital.

Closes Third-Culture-Software#7809.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

You can transfer discharged patients to other beds in the Admissions Registry
2 participants