Search Inpatient Direct Issue By Bill - hmislk/hmis GitHub Wiki

Path:

Inward > Pharmacy > Search Inpatient Direct Issues by Bill — also available from the Nursing Workbench's Pharmaceuticals & Consumables panel (Search IP Direct Issues by Bill)

XHTML: /inward/pharmacy_search_sale_bill_bht.xhtml Controller: searchController

screencapture-qa-carecode-org-coop-test-faces-inward-pharmacy-search-sale-bill-bht-xhtml-2025-03-25-08_32_46

You can search direct issue bills by:

  • Date Range
  • Bill No.
  • BHT No.
  • Patient Name
  • MRN / PHN No.
  • Department Name
  • Total
  • Net Total

Understanding Results

Each row shows the bill's BHT No, Patient Name, Department, Billed At / Billed By (shown in red with cancellation details if the bill was cancelled), and Net Value. If any returns have already been made against a bill, they appear in a nested table alongside it, with one row per return showing its bill number, date, user, and net total.

Search results: a direct issue bill with its two returns listed once each in the nested table

Net Value used to show 0.00 for a bill created via Direct Issue to BHT (Native SQL) even though the bill was correctly settled and its value was correct everywhere else (issue #24359) — this search's underlying query read the bill through the ordinary cache-aware path, which can still return a stale pre-settle copy right after a native-SQL settle. Fixed by switching this search to the same cache-bypassing read already used elsewhere for this exact situation.

Search results showing the correct Net Value (518.89) for a bill settled moments earlier via Direct Issue to BHT (Native SQL)

Bill MP//26/050820, settled seconds before this search, now shows its real Net Value instead of 0.00.

Clicking the Bill No opens the Manage Direct Issue to BHT page for that bill — from there you can view/print the bill, mark it checked, cancel it, or return unused items. See Direct Issue Return to Pharmacy for the return workflow.

Related Features

Back