charludo / ycms

Apache License 2.0
0 stars 1 forks source link

Bed assignment rules not enforced server-side #82

Open charludo opened 11 months ago

charludo commented 11 months ago

Describe the Bug

The "hard" bed assignment rule (no more patients incl. accompanying person than beds in a room) is only enforced client-side, not server-side. That means that it is possible to break this rule when not using our interface.

SUggestion: add a simple check for this in the AssignPatientView.

Steps to Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected Behavior

Actual Behavior

Additional Information

Traceback ``` ```