Admin OPD Inward Bill Cancellation Requests - hmislk/hmis GitHub Wiki
OPD and Inward Bill Cancellation Requests
Overview
The cancellation request workflow applies to multiple bill types beyond OPD batch bills. This page covers the specific cancellation request flows for:
- OPD bills (standard and batch)
- Inward (inpatient) bills
- Collecting Centre bills
Each type has its own request and approval page, but all follow the same two-step pattern: a staff member submits a request, and an authorised supervisor approves or rejects it.
OPD Bill Cancellation Request
Submitting (Billing Staff)
- Find the OPD bill via the OPD Bill Search
- Open the bill details
- Click the cancellation request option — opens the Bill Cancellation Request page
- Enter the Reason of the Cancel in the comment box
- Click Request Cancel Bill
Approving (Supervisor)
Requires privilege: BillCancelRequestApproval
- Navigate to View Request
- Select the pending OPD cancellation request
- Navigate to the Bill Cancellation Request Approval page
- Enter an Approval Comment
- Click Approve or Reject
Inward (Inpatient) Bill Cancellation Request
Submitting (Billing Staff)
- Navigate to the inward bill search (via the inward/lab search service)
- Find and open the bill
- The Bill Cancellation Request page opens showing:
- Patient details
- Inward bill details (encounter information, total, payment method)
- Enter the Reason of Cancel
- Click the submit button
Approving (Supervisor)
The approval flow follows the same pattern as OPD — navigate to the request via View Request and approve or reject.
Collecting Centre Bill Cancellation Request
For bills generated through collecting centres, a separate request flow exists:
Submitting
Navigate to the CC billing interface, find the bill, and initiate a cancellation request via CC Bill Cancel Request.
Approving
Requires the CC Bill Cancel Request Approval privilege. Navigate to CC Bill Cancel Request Approval via View Request.
Cancelling the Request
If the requester wants to withdraw their CC cancellation request, navigate to CC Bill Cancellation Request Cancel.
Request Status Lifecycle
All request types follow this status flow:
PENDING → (Supervisor reviews) → APPROVED → COMPLETED
↘ REJECTED
(Requester withdraws) → CANCELLED
Viewing All Pending Requests
Navigate to View Request from the administration index to see all pending approval requests across all types. Filter by:
- Request type (OPD, Inward, CC)
- Status (Pending, Approved, Rejected, Completed)
- Date range
Technical Notes (Admin/Developer)
All request types are stored as Request entities with different requestType enum values:
OPD_BILL_CANCEL— OPD bill cancellationINWARD_BILL_CANCEL— Inward bill cancellationCC_BILL_CANCEL— Collecting centre bill cancellation
requestController.createRequestforOPDBatchBill(), createRequestforInwardBill(), and corresponding CC methods create the records. The approval page checks specific privileges per request type.