Validations and messages related to patient-approved units have been improved, providing more accurate information when updating records and creating appointments.
In Approved Units on the Patient Dashboard, when editing a record and reducing the total below the number of units already used, a Reduce Approved Units confirmation appears.
This confirmation displays the units already used and the resulting negative balance, allowing users to proceed and save the changes or cancel the operation.
When saving changes to an existing record, the confirmation message now displays Units Updated instead of Units Added.
When creating an appointment that requires approved units, if the patient has already used all available units, the APPOINTMENT NOT CREATED warning indicates that the approved units have been exhausted and displays the current balance, instead of incorrectly stating that the patient has no approved units.
These improvements provide clearer information about approved unit usage and balances, making it easier to identify situations where available units are insufficient.