Inpatient Patient Deposits - hmislk/hmis GitHub Wiki
Inpatient — Patient Deposits
Deposits are amounts paid by the patient (or guardian) during the admission, before the final bill. They are tracked against the BHT and automatically deducted when the final bill is generated.
Pages
| Page | URL | Purpose |
|---|---|---|
| Deposits for admitted patients | /inward/bht_deposit_of_admitted_patient.xhtml |
Take a deposit from a currently admitted patient. |
| Deposits — not yet discharged | /inward/bht_deposit_of_not_discharged_patient.xhtml |
Same, narrowed to those not discharged. |
| By BHT number | /inward/bht_deposit_of_not_discharged_patient_by_bht.xhtml |
Quick deposit by BHT lookup. |
| All deposits by creation date | /inward/bht_deposit_by_created_date_all.xhtml |
Report — deposits across all admissions. |
| Discharged patients, by creation date | /inward/bht_deposit_by_created_date_discharged.xhtml |
Report — deposits where the patient has since been discharged. |
| By discharge date | /inward/bht_deposit_by_discharge_date.xhtml |
Report — group by discharge date. |
| By both dates | /inward/bht_deposit_by_discharge_date_and_created_date.xhtml |
Combined filters. |
All deposit reports are filterable by date range, Date Basis (Payment/Bill Date, Discharge Date, Admission Date), Site, Department, Admission Type, BHT Type (cash / card / credit), and Credit Company.
Controller: InwardPaymentController.
Privilege: InwardBilling.
Recording a deposit
- Open Inpatient → Billing → Deposits (or the dashboard → Payments path).
- Search for the patient / BHT.
- Choose Payment Method — cash, card, cheque, or a combination.
- Enter the amount.
- Save. A deposit bill is created (a
Billrow); a print receipt is issued.
The deposit shows up immediately on:
- The Inpatient Dashboard (under deposits / payments).
- The Interim Bill (subtracted from the running total).
- The Final Bill at generation time.
How deposits affect the final bill
When the final bill is generated:
- The sum of all non-retired deposit bills is read from the BHT.
- That sum is subtracted from the gross final-bill total.
- The remainder (patient share) is what the patient is asked to pay on the Final Bill Payment page.
If the deposit exceeds the bill, the excess is refunded — through the refund flow on the bill cancellations page.
Cancelling / refunding a deposit
If a deposit was recorded wrongly or the patient asks for it back before discharge, use the Cancel Deposit Payment Bill page (/inward/inward_deposit_cancel_bill_payment.xhtml). Cancellation creates an opposite-signed bill — the deposit balance on the BHT returns to zero. See Bill Cancellations and Refunds.