Inpatient Cancel Admission - hmislk/hmis GitHub Wiki
Inpatient — Cancel Admission
Cancelling an admission voids the BHT and removes the patient from the active admission list. This is used when an admission was created in error and no clinical or financial activity has occurred against it.
Entry point: Admission Profile Dashboard → Edit Admission → Cancel Admission
Controller: BhtEditController.navigateToCancelAdmission()
Privilege: InwardAdmissionsEditAdmission
When Cancellation Is Allowed
An admission can only be cancelled if:
- No service bills have been posted against the BHT
- No pharmacy issues have been made to the BHT
- No final bill has been generated
- No deposit payments have been collected
If any of these conditions are not met, the system will block the cancellation and display an appropriate message. Reverse or cancel the dependent transactions first before attempting to cancel the admission.
What Cancellation Does
- Sets the admission (
PatientEncounter) status to cancelled - Releases the room back to vacancy
- Removes the patient from the room occupancy board
- The BHT number is retired and will not be reused
The BHT record itself is retained in the database for audit purposes — cancellation does not delete data.
Reason for Cancellation
The system prompts for a reason before completing the cancellation. The reason is recorded in the audit log along with the user's identity and timestamp.
Related Articles
- Inpatient — Edit Admission Details — correct admission fields without cancelling
- Inpatient — Admit a Patient — create a new admission after cancelling an erroneous one
- Inpatient Admission Profile (Dashboard) — central dashboard for the BHT