charludo / ycms

Apache License 2.0
0 stars 0 forks source link

Add options for unassigning and ward transfers #102

Closed charludo closed 9 months ago

charludo commented 10 months ago

Short description

If you click the "Transfer" or "Assign" buttons, you will now see some additional options in the top bar, namely completely unassigning the patient (i.e. they are not discharged, but don't occupy a bed anymore) and a dropdown for moving the patient to a different ward (this will also unassign them, but also set the "recommended ward", so the patient won't be shown in the current ward's unassigned list any longer).

Proposed changes

Side effects

Resolved issues

Fixes: #19, #80

charludo commented 9 months ago

The only improvement I could think of is to remove the "Unassign" button if the patient is already unassigned. But it is also fine the way it is currently.

Oh, right! Good catch, thanks. Hiding the button in that case what just one if block in the template, so I'm going to take the liberty of merging without a re-review 😅