# Inpatient — Nursing Workbench The Nursing Workbench is a dedicated interface for nursing staff. It provides a ward-centric view — showing all rooms and BHTs assigned to the current department — and quick access to the most common nursing tasks without navigating the full inpatient menu. **Page:** `Inpatient → Nursing WorkBench` (also accessible from the Admission Profile Dashboard header button) **XHTML:** `/nurse/index.xhtml` **Controller:** `NursingWorkBenchController` **Privilege:** `NursingWorkBench` **Template:** Uses `template_without_menu.xhtml` — the full application menu is hidden, keeping the interface clean for ward terminals. --- ## Layout The workbench is divided by a PrimeFaces Splitter: ### Left Panel — Patient List (15% width) A compact patient browser for the current department, with two tabs: - **Rooms tab** — lists all occupied rooms by room number (amber buttons). Click a room to load that patient in the right panel. - **BHT tab** — lists all active BHTs by BHT number (blue buttons). Click a BHT to load that patient. The department name is shown at the top. If no department is set in the session, a red "No Department" warning is shown. ### Right Panel — Patient Actions (85% width) When a patient is selected, a **Selected Patient** summary is shown first. If the patient is waiting to be accepted (new admission, room transfer, sent to theatre or returning from theatre), an amber *Not yet accepted* banner appears right below it, with an Accept button when the request is for your department. See [Pending Acceptance Banner](Inpatient-Admission-Profile-Dashboard#pending-acceptance-banner). Below that, the panel shows two rows of command panels: **Row 1:** - **Edit** — Edit Admission, Room Change, Guardian Room Change - **Clinical Data** — Patient History, Clinical Notes, Ward Medications, Medicine Timeline, Discharge Medications, Investigations, Images, Diagnosis Card, Clinical Discharge, Nursing Discharge, Physical Discharge - **Room Management** — Room Details, Add New Room, Add Guardian Room, Initiate Transfer, Accept Patients - **Service** — Add Services & Investigations, Add Outside Charges, Add Professional Fees, Add Estimated Professional Fee, Add Timed Services - **Surgeries** — Add Surgeries, Manage Surgeries **Row 2:** - **Pharmaceuticals & Consumables** — Pharmacy BHT Request, [Receive Medicines from Pharmacy](https://github.com/hmislk/hmis/wiki/Ward-Medicine-Request-Issue-and-Return-Workflow), [Return Medicines to Pharmacy](Inward-Ward-Return-to-Pharmacy), Issue Discharge Medicines, Direct Issue to BHTs, Direct Issue to Theatre Cases, BHT Issue Requests, View Pharmacy Requests, [Search IP Direct Issues by Bill](Search-Inpatient-Direct-Issue-By-Bill), Search IP Direct Issues by Item, [Search IP Direct Issue Returns by Bill](Search-Inpatient-Direct-Issue-Returns), Search IP Direct Issue Returns by Item - **Reports** — Pharmacy Issue Summary (Entity), Pharmacy Issue Summary (DTO - Fast), Lab Bill Summary > **Two things to know about the Pharmaceuticals & Consumables panel:** > - **Receive Medicines from Pharmacy** here shows *all* pending receipts for your department, not just the currently selected patient (unlike the same button on the [Admission Profile](Inpatient-Admission-Profile-Dashboard), which pre-filters to the selected admission). **Return Medicines to Pharmacy** stays disabled until you select a patient. > - **Search IP Direct Issue Returns by Item** currently opens a page that does not exist and will not load — use **Search IP Direct Issue Returns by Bill** instead, which is the only working return-search page (see [Search Inpatient Direct Issue Returns](Search-Inpatient-Direct-Issue-Returns)). --- ## Selecting a Patient Click any room or BHT button in the left panel. The controller calls `NursingWorkBenchController.selectAdmission(admissionId)`, which loads the selected admission into `admissionController.current`. The right panel updates via AJAX — no full page reload. --- ## Navigation - **Inpatient Dashboard** — navigate to the full Admission Profile for the currently selected patient - **Back to Home** — return to the main application home screen --- ## Privilege-Gated Buttons Several buttons are visible only when the logged-in user holds the corresponding privilege: | Button | Privilege Required | |---|---| | Medicine Timeline | `InpatientClinicalAssessment` | | Clinical Discharge | `InpatientClinicalDischarge` | | Nursing Discharge | `InwardNursingDischarge` | | Physical Discharge | `InwardPhysicalDischarge` | | Room Details | `InwardRoomRoomOccupency` | | Add New Room | `InwardRoomRoomChange` | | Add Guardian Room | `InwardRoomGurdianRoomChange` | | Initiate Transfer | `InwardRoomTransferInitiate` | | Accept Patients | `InwardRoomPatientAccept` | | Pharmacy BHT Request | `InwardPharmacyIssueRequest` | | Receive Medicines from Pharmacy | `InwardPharmacyBhtReceive` | | Return Medicines to Pharmacy | `InwardPharmacyReturnSubmit` | | Issue Discharge Medicines | `PharmacyDischargeMedicineIssue` | | Direct Issue to BHTs | `PharmacySale` | | Direct Issue to Theatre Cases | `PharmacySale` | | BHT Issue Requests | `PharmacyBHTIssueAccept` | | View Pharmacy Requests | `InwardPharmacyIssueRequestSearch` | | Search IP Direct Issues | `PharmacySale` | | Search IP Direct Issue Returns | `PharmacySale` | ## Open Issues The Nursing Workbench functionality is under active development. Issue [#19301](https://github.com/hmislk/hmis/issues/19301) tracks the workbench roadmap. Issue [#21528](https://github.com/hmislk/hmis/issues/21528) added the missing command buttons from the Inpatient Dashboard in June 2026. --- ## Related Articles - [Inpatient Admission Profile (Dashboard)](Inpatient-Admission-Profile-Dashboard) — full patient dashboard - [Inpatient — Nursing Discharge](Inpatient-Nursing-Discharge) — nursing discharge workflow, accessible from this workbench - [Inpatient EHR — Ward Medications](Inpatient-EHR-Ward-Medications) — accessible from the workbench - [Inward Ward Return to Pharmacy](Inward-Ward-Return-to-Pharmacy) — Return Medicines to Pharmacy, in detail - [Direct Issue Return to Pharmacy](Direct-Issue-Return-to-Pharmacy) — returning items from a direct issue bill - [Search Inpatient Direct Issue By Bill](Search-Inpatient-Direct-Issue-By-Bill) / [Search Inpatient Direct Issue Returns](Search-Inpatient-Direct-Issue-Returns) — the search pages linked from this panel - [Admin — Inpatient Privileges and Access](Admin-Inpatient-Privileges-and-Access) — `NursingWorkBench` privilege