Everything that has shipped
Dated catalogue of HMS Light capabilities — from the 18 June 2026 foundation through each clinical, billing, and platform release.
Radiology safety screening, payer co-pay cap, signed report print and completed-work-only unbilled list
A payer with a coverage percentage can no longer be claimed above its share of the whole bill, imaging studies capture indication, pregnancy, contrast allergy and kidney acknowledgement before the scan, signed radiology reports can be printed, and the unbilled-activity list shows only completed work.
- Insurance claims cap at bill total times coverage percent, cumulative across tenders
- Imaging booking requires clinical indication and safety screening
- Signed radiology report print / PDF
- Unbilled activity lists only completed work, not orders awaiting collection
Lab safety: critical limits, specimen identity, withdrawn results and a priced catalogue
Lab critical alerts now have curated limits, a sample cannot be received without scanning its container (or an audited reason), results of a booking cancelled after release are withdrawn everywhere, the lab catalogue is checked for unpriced and duplicate tests, and imaging studies get accession numbers from the same generator as the lab.
- Critical limits copied from curated templates by an owner-run dry-run-first script
- Container scan or audited override when receiving a lab sample
- Cancelled-after-release results show Withdrawn on print and chart and disappear from portal, FHIR and reports
- Services catalogue health tab and priced, de-duplicated lab provisioning
- Imaging bookings receive an accession number at booking
Safer orders: duplicate-order check, bundle override and complete order worklist
The same lab or imaging study can no longer be ordered twice on one visit without a reason, including through order-set bundles, and a bundle line blocked by an allergy alert can be overridden with a reason. The order worklist shows every order type with priority and age, and referrals gain a scheduled date, a refer action and a printable letter.
- One duplicate-order check for manual orders, CPOE, ED, inpatient and bundles
- Bundle apply reports each line by name and allows an audited allergy override
- Order worklist includes procedure, consult, diet and monitoring orders with priority and age
- Referral shows its scheduled date, cannot complete early without a reason, and prints a letter
Ledger parity repair, honest receipts and linked sale returns
Paid appointment invoices can no longer show Paid while the receivable stays open: a receipt must debit cash, bank or wallet or it is refused, and a guided Fix action reopens the old unfunded ones. Stock sales of uncosted items are blocked until a cost is set, sale returns are tied to the original invoice quantities, receipts list every tender, discount and tax, and ledger vouchers carry readable types with every leg.
- Receipts that would not move real money are refused instead of posting an empty entry
- Fix modal action Reopen unfunded payment restores the outstanding amount with an audited reversal
- Selling uncosted stock is refused until a cost is set (Set cost on the store stock dialog)
- Sale returns pick the original invoice lines and cannot exceed the quantity sold
- Receipts and the patient statement show every tender, discount, tax, credit and receipt number
- Account ledger, vouchers and Day Book label each journal by its real type and show all legs
- Item picker shows on-hand stock for the selected store
Appointment slots and stock expiry follow the hospital's clock
Appointment slots now follow the clinic's own wall-clock time for every hospital, so 09:00 clinic time is 09:00 in the slot grid, conflict suggestions and follow-up booking. Stock and blood-bank expiry flips at the hospital's midnight, and the reception room scan agrees with the queue's today and the appointments day board.
- Appointment slot grid, conflict suggestions and follow-up slots use clinic wall-clock time, including daylight-saving days
- Lot and blood-unit expiry changes at the hospital's midnight
- Reception room scan, queue today and the appointments day board count the same day
- A guard fails the build if tenant-scoped code does day math with setHours or setUTCHours
Appointments, portal and reports show the clinic clock and clearer hints
Appointments (calendar, booking form, conflict panel), the patient portal and staff impersonation now use the hospital's own timezone, and date-time forms say which zone they use. Tour text now matches the screens in English, Arabic and Urdu, report tables align correctly in right-to-left languages, and the demo tenant gains a separate inventory approver role.
- Appointment calendar, booking form and conflict panel follow the facility timezone regardless of device zone; the portal session carries the facility zone too
- Date-time forms show "Facility time (zone)" next to the field
- Guided tours match current screens (190 step texts synced, stale steps removed) and the inventory adjustments tour covers the export
- Allergen picker explains an empty substance catalogue; commission bounds hint is visible text; store stock warns with a link to Adjust stock
- Demo admin no longer self-approves large stock movements; a dedicated Inventory approver role does
Doctor accruals and dashboard income follow the billed invoice
The doctor dashboard income and today/month invoice counts now show the billed figure shared with Profitability, Productivity and Income Summary. Doctor payouts can no longer pay an accrual cancelled at the same moment, accrual entries and their ledger journals are saved together, and credit notes or cancelled invoices adjust the pending accrual to the new net amount. Commissions use the same invoice base.
- Dashboard income and invoice counts match the billed doctor revenue
- Payout and cancel can no longer race into a double debit
- Credit note or cancelled invoice adjusts the pending doctor accrual
- Commission base matches the doctor accrual base
Claims show missing postings and can repair them; installment payments settle atomically
The Claims page now flags a claim whose ledger postings are missing and lets an authorised user repair them in one click, asking for the cash or bank account only when the insurer actually paid money. A claim that is fully written off can be marked paid without choosing a cash or bank account. The Claim Register shows the insurer receivable control line. Paying an installment with split or insurance tenders now updates the installment in the same step as the money, so a failure can no longer leave cash taken but the installment still showing unpaid.
- Missing-posting badge on the claim list and detail, with a Repair postings action
- Full write-off claims are marked paid without a cash or bank account
- Insurer receivable (GL 1110) control line on the Claim Register
- Installment tender and insurance payments settle the installment in the same transaction
Doctor revenue is one billed number, and doctor accruals follow the invoice
Doctor Profitability, Income Summary and Doctor Productivity now show the same doctor revenue, taken from posted fee invoices, so margin is no longer inflated by counting both the appointment fee and the session fee or by unattended appointments. New doctor-contract accruals are based on the posted invoice net of discount (and tax-aware for post-tax contracts), and cancelling an accrual now leaves a properly linked reversal in the ledger.
- One doctor revenue figure across Profitability, Income Summary and Productivity
- No double count of appointment and session fees; unattended appointments add nothing
- New doctor accruals follow the posted invoice net of discount
- Cancelled accrual reversal is linked to its original journal in the Day Book
- A guard fails the build if reports read the accrual register directly
Reports and queue days follow the hospital's own timezone
Daily Collection, shift reports, ageing and reconciliation as-of dates, installment overdue, queue and display-board today, the appointment day board, ward census and HR attendance now use the facility's timezone for what counts as a day, matching the date shown on screen. A payment taken at 9:30 pm in Dubai or New York lands in that local day. Karachi hospitals see no change. Entering a time inside the repeated hour when clocks go back is now stored deterministically as the first occurrence.
- Daily Collection, cash collection, payment methods and shift report use the hospital day
- Ageing and control-account reconciliation as-of dates end at the hospital's end of day
- Queue today, appointments day board, ward census and installment standing agree with the date picker
- Daylight-saving days (23 h and 25 h) are handled; the repeated hour maps to its first occurrence
- A guard fails the build if tenant-scoped code uses a hard-coded zone for a day
One doctor-contract cost across reports, and stock gains valued at the moving average
Doctor Profitability and Income Summary now show the same doctor-contract cost as the Doctor contracts accrual register and the Doctor Fees ledger, with salary cost spread over the days of the report window and a clear register-versus-ledger line. Stock gains from counts and adjustments are valued at the store average instead of silently at zero, and the Store stock count editor needs the stock adjustment permission.
- Doctor Profitability: doctor cost split into event and salary, doctors with cost but no revenue appear, external doctors shown as unattributed
- Income Summary: new Doctor share column beside Billed, with the same cost number as Profitability and the register
- Register vs Doctor Fees ledger difference shown as a labelled timing / unposted line, never an error
- A count raise or Adjust gain uses the store moving average; with no cost on record it asks for a unit cost instead of diluting the average
- Adjust stock unit cost is optional when a cost is on record; large-movement approval sees the real value
- Store stock quantity editor needs inventory:adjust (same as Adjust stock)
Clinical times follow the facility's timezone, not the device's
Dates and times typed into the discharge wizard, nursing station, monitoring plans, patient vitals and room presence are now interpreted in the hospital's own timezone, so a laptop or phone set to another zone records the same moment. 'Today' also follows the facility timezone configured in Settings.
- Time of death, body released, custom nursing task due time, monitoring plan start and end, vitals recorded time and room presence shift end are saved in facility time regardless of the device timezone
- Editing a vitals record shows the stored time in facility time
- The facility timezone from Settings drives 'today' and the end-of-day rollover (for example Asia/Dubai rolls over an hour before Asia/Karachi)
- Attendance times keep their documented wall-clock convention; no stored data changed
Safer forms: phone and CNIC checks, inline errors, commission deactivate, currency fix and a Subscription tab in Settings
Registration now checks Pakistani phone and CNIC numbers (and keeps matching them across Arabic and Urdu digits), forms show what is wrong next to the field instead of silently doing nothing, over-limit commission rules can be switched off in one click, legacy currency text is repaired, and Settings gains a Subscription tab.
- Patient registration: phone and CNIC are validated on the form and the server; +92 with trunk zero, 00+country code and Arabic/Urdu digits are accepted; editing only re-checks a changed value
- Server validation errors appear under the field with a tab badge; role, waitlist, add-user, purchase-order and vitals forms show inline reasons (systolic above diastolic, soft SpO2/BP range notes, quantity and date checks, discard confirm)
- Commission rules: Activate / Deactivate row action; a legacy over-limit rule can be turned off without editing its value and cannot be reactivated until it is within bounds
- Settings: legacy currency such as "Rs" is migrated to PKR/AED (unknown values warn), Save jumps to and focuses the field with the error, and a new Subscription tab shows plan, usage (quotas once) and the add-on marketplace
- Combobox pickers announce errors and required state to assistive technology; Roles editor shows translated labels for override-schedule and approve-large
Stock counts are ledgered, every scheduled job runs once, and the adjustments register shows the reason
Setting a store quantity now records a count adjustment with its journal and cannot race a dispense, all scheduled background jobs run on one server at a time with per-database lock caps, the A/R ageing check is faster at scale, and the inventory adjustments register shows why each adjustment was made.
- Store stock: changing a quantity posts a count-variance adjustment (old and new quantity recorded, balanced inventory journal, large-value approval still required) and is processed under the stock lock
- The 17 remaining scheduled jobs (device syncs, feedback, installment reminders, retention, refund and overdue sweeps and more) run on one server at a time and are covered by never-ran alerting
- Job lock capacity is sized per database connection pool
- A/R ageing reconciliation about 0.9 s at 20,000 invoices (was 1.76 s)
- Inventory adjustments register: a Reason column on screen, in CSV (Reason and Narration) and in print
Claims and refunds reconcile to the ledger: paid claims clear the invoice, one claim cap, reversal links everywhere
A paid insurance claim now leaves nothing outstanding on its invoice, the co-pay and the invoice balance are written together with their voucher, the claim dialog shows the exact maximum the server enforces, and reversed vouchers are linked from the Day Book and ledgers.
- Insurance claims: installment and bill-to-insurance collections no longer erase the covered share, and POS co-pay now counts toward the invoice balance
- Claim voucher and invoice balance commit in one transaction, so a failure never leaves one without the other
- Claims: cancelling a claim the payer already holds is blocked; the new Insurance Receivable reconciliation lists every difference between the ledger and open claims
- Claim dialog: claimable invoices and the maximum claimable amount come from the server (80/100/0 % payers); anonymous invoices cannot be claimed manually
- Day Book, account ledger, Cash Book and party statements show Reversed by / Reversal of links that open the voucher
- Refund by original tender no longer borrows another invoice tender; the manual gateway-refund banner asks for the invoice own online share; acknowledging twice writes one audit row
Critical results are never held for billing, release review pages fully, and archive races are closed everywhere
A critical lab or radiology result is released even when bill-before-release is on and the work is unbilled (and the bypass is audited), the lab-rules Release review can now reach every released result per rule, and an archived patient can no longer gain an emergency, surgery, treatment-plan or specialty record - or a waitlist entry - even at the moment of archiving.
- Settings: Require billing before lab/radiology result release never holds a critical-flagged result; the release is audited as a critical billing bypass and non-critical results are still blocked
- Lab rules > Release review: each rule shows how many results it released and a Load more button walks every released booking (100 per page), instead of stopping at the newest 100
- Emergency visit, surgery, treatment plan and the specialty registers (ophthalmology, physiotherapy, dialysis, psychiatry, oncology, anaesthesia, ENT, cardiology, IVF, obstetrics) lock the patient while they are created, so an archive in flight is not overtaken
- Adding an archived patient to the appointment waitlist is refused with the archived-patient message
- Lab autoverify keeps holding every first-time numeric result for manual validation (now covered by a test)
Safety alerts never reach nobody, sweeps run once, and the ward board shows overdue work
Consent and attending-round reminders now reach nursing staff even before an administrator sets up a rule, scheduled safety checks no longer run twice when several servers are up, each ward-board bed shows the same overdue count as the Nursing Station, and stock movements of the same lot can no longer race each other.
- Missing-consent and overdue attending-round alerts go to staff holding the nursing-station permission when no notification rule exists, instead of nobody
- Scheduled safety checks (pending-bed alerts, overdue tasks, reminders) run on one server at a time, and monitoring now alerts when a scheduled check has never run since deployment
- Ward board: each occupied bed shows a red Overdue chip with the number of overdue nursing tasks, the same number as that patient on the Nursing Station and the IPD dashboard
- A stock write-off, a dispense, a sale and a transfer touching the same lot are processed one at a time, so stock can no longer go below the sum of its lots
Archived patients are blocked everywhere, billed prices stay locked, and radiology joins the billing gate
An archived patient can no longer start a visit, booking, admission, queue ticket, emergency or specialty record - even in the instant a record is archived - the portal refuses their login, a billed or invoiced booking keeps its price under concurrent edits, radiology reports follow the same bill-before-release setting as lab results, and pathologists get a review list for results that retired auto-release rules let through.
- Archive and create can no longer race: a visit, booking, session, admission, queue ticket or specialty record started at the same moment a patient is archived is refused instead of attaching to the archived patient
- The patient portal refuses login, token renewal and appointment requests for an archived patient with a clear message, and works again as soon as the patient is restored; arrears collection is unaffected
- A booking that is billed, on a draft invoice or billed concurrently keeps its price: the price edit re-checks under a row lock, so no path can reprice a billed booking
- Settings: Require billing before lab/radiology result release now also blocks signing out an unbilled standalone radiology report
- Unbilled Work date range follows the date the work was actually completed (validated, reported or finished), not the last edit; deep links to a record that is not on the page now say so instead of doing nothing
- Lab rules: a Release review view lists each retired auto-release rule with the results it released and links to each booking, for pathologist re-check (lab-rules:manage)
Online refund follow-up and admission cancel refunds by original payment method
A cancelled invoice that was paid online together with other invoices now says so and lets a permitted user record the by-hand gateway refund; cancelling an admission pays each advance back the way it was paid; busy posting returns a retry instead of an error.
- Cancelled invoice detail shows a Refund by hand required warning (with the amount this invoice paid) when its online payment also covered other invoices; a user with cancel permission records the by-hand gateway refund for that invoice with an optional note, and the other invoices stay valid
- Cancelling an admission posts the refund back to each advance's original payment channel in the books in one voucher; the cancel dialog reminds the cashier to return the money to the patient by the same channel, and says an insurer-covered share and older untagged payments are returned as cash
- A room-only admission (room assigned, no bed yet) starts room charges at the first bed assignment instead of at admission time
- Several simultaneous discharges for one doctor and day each get their own follow-up slot, and a busy ledger answers with a short retry message instead of an error
Voucher reversal links and a trustworthy past-date inventory reconciliation
A reversed journal now says so where you read it: the original shows Reversed by JV-x and its contra shows Reversal of JV-y, each opening the other, and General Vouchers can filter by Reversed. The Inventory reconciliation drill for an earlier date now lists the stock as it stood on that date, so it adds up to the summary above it.
- General Vouchers: Status cell and voucher detail show Reversed by / Reversal of links to the paired journal; new status filter (Posted, Reversed, Cancelled)
- Reversing a journal that used an account or party since deactivated no longer fails; the reversal posts and the books net to zero
- Inventory reconciliation for a past date: the per-item drill is rolled back by later stock movements and equals the summary sub-ledger; the of-which-expired line is shown for today only
- Dashboard, Daily Collection, Payment Methods, Cash Collection, Shift report and the cash drawer total collections in one database query instead of loading every receipt; the patient statement payment label no longer confuses invoice numbers that contain one another
Booking guard, pharmacy stock controls and Test Mode safety
A second booking for the same doctor and time, or a past time, is now refused unless a permitted user overrides it with a reason; stock write-offs and adjustments always carry a reason code (with an approval tier for large values); and destructive Test Mode actions need the workspace slug typed.
- Double-booking is blocked by default (Settings > Booking rules can opt a clinic out); override needs the Override schedule permission and a reason, and online or portal bookings can never override
- Appointments list gets a Needs attention filter (past, still scheduled or in progress), cancel asks for a reason, and the Collect payment dialog explains an amount that exceeds what is due
- Expiry write-off and Adjust stock require a reason code and narration; large movements need the Approve large stock movements permission; Opening is only allowed before the first movement
- Stock Valuation shows the expired part separately while still tying to the inventory ledger, and the Expiry page opens on Expired when there is expired stock
- Items: a medicine needs a unit, deleting an item with stock history is refused with a Deactivate option, and a Controlled only filter helps review the flag
- Test Mode: Re-seed and Clear test data need the workspace slug typed, the delivery log labels test sends Simulated, and internal roadmap copy and compliance wording were tidied
Pending-bed visibility and an IPD clinical-safety monitor
Admitted patients with no bed are now visible with how long they have waited, room rent starts only when a bed is assigned, and the inpatient safety alerts that used to reach nobody now reach the right staff, with a sweep that reports its own failures.
- Ward board Pending bed tab, a chart banner with Assign bed, an IPD dashboard tile and an hourly alert after a tenant-set number of hours
- Room rent accrues from the first bed assignment, cancelled admissions no longer count as admissions or census, and the cancel dialog asks for a reason and states the refund
- The IPD dashboard shows the exact overdue-task count (with showing N of M) and No doses scheduled instead of a false 0 percent missed-dose rate
- Nursing Station Whole ward lists every admitted patient, with an Unassigned badge, so unassigned patients no longer hide their tasks
- Nurse tasks for the next 12 hours of doses are created by the hourly sweep, and an order whose schedule ends within 24 hours raises a review task and a timeline alert
- Overdue-dose, overdue-vitals, adverse-reaction and critical-vitals alerts with no notification rule now go to staff holding the nursing-station permission
- Background sweeps and notification delivery report failures to monitoring (stale-sweep, failing-tenant and failed-dispatch alerts) instead of failing silently
Patients are archived instead of deleted, plan balances stay visible, and unbilled work is surfaced
A patient with invoices or clinical history can no longer be deleted: the dialog says what blocks it and offers Archive. Money sitting on an installment plan is now shown wherever a balance is, an installment plan can no longer read Completed while money is owed, and lab, radiology and specialty work that nobody billed has its own worklist with controls on price overrides and unpriced services.
- Delete is refused for a patient with invoices, payments or any clinical record (the dialog lists the counts); Archive hides the patient from lists and pickers and blocks new visits, bookings and admissions, and Restore brings them back
- A patient with no history deletes together with its now-unused customer record; a customer shared with a staff login is never removed
- Patients list, Patient 360, and every balance strip show money on an installment plan, with how much of it is overdue
- An installment plan stays Active with a Needs attention badge when its schedule ends with money still owed, instead of reading Completed
- Booking a lab or radiology test charges the catalogue price; a different price needs the new override permission and a reason, and is audited
- A service with no price (and not marked free of charge) cannot be booked; template import skips duplicates ("CBC (CBC)" vs "CBC"), says how many imported tests still need a price, and flags them unpriced
- New Unbilled Work page lists completed lab, radiology, operation, IVF, dialysis, cardiology and dietary work that no invoice carries yet
- Optional setting to require billing before a standalone lab result can be released (off by default)
- Lab Exceptions now shows bookings never collected after 24 hours, the TAT tab counts work still in progress, and a validated sample no longer shows an ongoing Overdue
- New tenant settings: pending-bed alert hours, billing before result release, and a large stock-movement threshold
One collected-money number, a blind cash count and fewer misleading report numbers
Daily Collection, Payment Methods, Daily Activity, the Shift report, the dashboard tiles and the cash session now all read the same ledger-based collections, so a consultation billed on credit and paid later, a split payment or a refund shows on the day the money actually moved and ties to the Cash Book. Cash sessions are counted blind and flag a till left open too long.
- Money received (cash, card, bank, online) minus refunds by receipt date, with a Cash Book tie-out line and a list of the other cash movements behind it; credit billed and insurer claims are shown separately as a not-collected memo
- The cash drawer counts refunds as well as receipts, including a refund of a sale collected in an earlier, already-closed session
- Cash sessions: the closer counts first and sees the expected amount only after closing (tenant setting), a stale-session alert appears for cashiers and admins, and the over/short, deposit and handover entries now post together with the close
- Shift report fixed for the last day of a range and for clinic time, with one-click Add standard shifts for Morning, Evening and Night
- Invoices: the ledger-parity count and the filtered list now use the same server filter; reports gain This month / Last 30 days quick ranges and the Income Summary shows Consultation as its own head
Chart-of-accounts integrity, journaled opening balances and ledger reconciliation
The books now explain themselves: opening balances are real journals, account codes cannot clash, and every control-account report shows how it ties to the ledger and what is left over.
- Opening balances on accounts, parties and bank accounts post a balanced journal against Opening Balance Equity, so they appear in the trial balance and balance sheet; they stay editable until the first other posting, then lock
- A duplicate account code is refused with an inline message on the Code field; system accounts keep their code and cannot be deleted, and accounts or parties with postings can only be deactivated
- Accounts Receivable, Accounts Payable, Stock Valuation and Care Packages show Reconciles to: ledger balance, sub-ledger and difference, with a drill into mismatched documents and unattributed journal lines
- Accounts Receivable Ageing now lists admission receivables and flags patients discharged with a balance
- A guard flags any invoice whose Bank or Cash debits exceed what it was paid, and an online-payment retry can no longer debit the bank twice
Cancel a paid invoice and refund it in one step
Cancelling an invoice that was already paid now returns the money in the same operation: the cancel dialog asks how to refund and why, the books, cash drawer, stock lot and prescription line all go back to where they were, and the invoice shows what was refunded with a printable refund receipt.
- A paid invoice cannot be cancelled without choosing a refund method (original tender, cash, card, bank or online) and a reason; an invoice paid directly shows its method read-only
- The cash is returned exactly once: trial balance, cash book, sales, cost of goods, inventory and the patient balance return to their pre-sale values, and the invoice shows Paid 0 and Refunded with the credit-note and refund receipt numbers
- Cancelling puts stock back into the exact batch it was sold from and makes the prescription line billable again
- An invoice with an open insurance claim or an active installment plan is refused with a clear message until that claim or plan is cancelled
- A branded refund receipt prints on A4 or thermal
Scan to build an invoice: products, services, patients and visit scripts
On the invoice screen one scan box accepts whatever the cashier scans: a product or service barcode adds it to the bill at its normal price, and a patient MR card or a visit script number picks the patient and pulls the visit's unbilled services and medicines - the same quoted lines as choosing the session by hand.
- Scan a product or service barcode to add a line at its list price; scanning the same one again raises the quantity, and a barcode shared by more than one product or service asks which one rather than guessing
- Scan a patient MR card or QR to pick the patient, or a visit script number (DSN) to pick the patient and pull that visit's unbilled services and medicines in one step; inactive products or services and unknown codes get a clear message
- A service or medicine that came from the visit is never added a second time by a scan, its quantity cannot be raised above what was booked, and its price stays at the quoted price even if the screen is tampered with - so the bill always equals the quote
- Services now carry an optional barcode on the service form; who can scan what follows the cashier's existing permissions
- The scan is recognised on the server only, so every screen agrees on what a code means, and an automated check fails the build if a second barcode lookup or scan classifier appears
Bill a whole OPD visit from its consultation session, on one editable invoice
On the invoice screen, once a patient is chosen you can pick one of their consultation sessions and the services and medicines the doctor ordered are added to the bill at the quoted price - no re-keying. The invoice stays the one editable bill: you can change quantities, add your own lines, save a draft and post it with the normal payment flow.
- A "Bill from session" control appears beside the patient (for users who can read OPD and create invoices) and lists that patient's sessions with how many services and medicines are still unbilled
- Choosing a session appends its unbilled services and prescribed medicines to the invoice - lines you already typed are never overwritten, and choosing the same session again never adds anything twice
- A "Not added" list shows what was left out and why - already billed (with the invoice number), on another draft, already dispensed, a cancelled script, or a medicine that still needs a stock product - and the consultation fee is only shown as a note because it is billed separately
- Prices, medicine quantities (what is still owed), the dispensing store and lot are quoted by the server, never recomputed on screen, and the invoice is linked to the visit so the services and medicines read as billed everywhere after it posts - on the session, the pharmacy counter and the encounter bill
- Controlled medicines keep the legal capture: save the draft, then post it with the witness, collector and prescriber details; changing the patient asks first and removes only the lines pulled from the previous patient's session
Pharmacy dispensing at a scan-driven counter
Prescriptions are now dispensed by the pharmacist, not billed from the doctor's screen. Every signed prescription gets a scannable script number; the pharmacist scans or types it, sees what is still owed, checks the safety findings, dispenses what is in stock, collects payment and hands the medicines over — with stock, the invoice and the doctor's prescription status always in agreement.
- Each signed prescription carries a script number (DSN) printed as a barcode and QR; a keyboard-wedge scanner just types it into the new Dispense Counter, which also finds scripts by patient name or MR number and lists everything awaiting dispensing, oldest first
- Medicines are dispensed per loose unit (tablet, capsule, mL) from stock held in packs, priced per unit, with the correct fraction of a pack taken from stock and the right cost booked
- Partial fills for short supply: dispense what you have from a chosen store and lot (earliest expiry first, or pick a lot); only what is handed over is billed and taken from stock, the rest stays visibly owed and can be dispensed later
- Medication-safety findings (interactions, allergies, duplicates) are shown before dispensing, with a recorded reason required to override a major finding; a held invoice shows exactly why it is held
- Payment is collected at the counter through the normal payment flow (cash, card, bank, online, insurance co-pay), the medicines are then marked handed over with who and when, and the patient's balance matches the books
- Double-clicks and two counters working the same script can never dispense a medicine twice; the doctor's prescription list shows live status (not dispensed, in progress, partly dispensed, dispensed) after any refresh
- Generic prescriptions are dispensable: the pharmacist picks an in-stock product with the same ingredient, and can substitute another same-ingredient product with a recorded reason — never a different ingredient, and never when the prescriber marked the medicine do-not-substitute; the barcode check, price and stock follow the product actually dispensed
- Controlled drugs at the counter capture the legal controls: a second-pharmacist witness (never the dispenser), the collector's name and ID (stored encrypted, shown masked), the prescriber registration, and a per-item maximum quantity per dispense that only a pharmacist with override rights can exceed with a reason — all written to the controlled-drug register, whose columns follow a per-tenant layout (generic, DRAP or MOHAP/DHA; the DRAP and MOHAP/DHA layouts are UNVERIFIED working approximations and must be confirmed with legal/compliance before use in an inspection)
- A per-tenant setting chooses a one-step counter (pharmacist collects and hands over) or the two-step flow (pharmacist fills, cashier settles) — the same ledger either way
- The item form has a Dispensing tab where a medicine is set up for loose-unit sale: a dispense unit chosen from a fixed list, units per pack, an optional price per unit and — for a controlled drug — the maximum per dispense (capped at 100 loose units, or one pack for a liquid); stock quantities now show down to a ten-thousandth of a pack, so a single tablet of a large pack no longer reads as zero
- The counter shows each substitute's current stock in the product picker, a controlled drug's maximum per dispense holds even when two counters dispense at the same moment, a line started in tablets cannot be finished in whole packs, and a branded A4 or thermal receipt opens after payment and can be reprinted for the money taken on the script
- The product barcode on file is no longer sent to the screen: the scan is checked on the server and the counter only shows the verdict
"What's included" on every price
Pricing is no longer a number with no detail. Each plan, add-on, and bundle now shows exactly what it includes — the modules you get and the limits (users, patients, items, stores) — the same way on the public pricing page, the registration showcase, and inside the app, so there is one honest list that cannot drift between surfaces.
- A shared "what's included" panel renders modules (by friendly name) and quota limits on /pricing, the registration showcase, the tenant subscription panel, and the platform catalogue — built by one owner so every surface agrees
- Bundles list the specific suites they actually sell (explicit membership), not everything that happens to share a permission; quantity add-ons show their per-unit top-up
- Public surfaces show the included modules and limits without ever exposing raw internal permission keys
- Add-ons that rely on an outside provider (SMS/WhatsApp, e-mail, e-invoicing, AI, connected devices, insurance clearing-house) now carry a clear "billed separately by <vendor>; our price covers the integration only" note with the real vendor name, on every price surface and the Integrations hub
Trial countdown and in-app billing notice
Every workspace now starts on a 30-day full-access trial and sees exactly where it stands — days left, payment due, or read-only — in a non-blocking in-app banner, with a one-tap WhatsApp link to the provider to clear a bill. No one is surprised by a lockout mid-shift anymore.
- Dashboard banner for all staff: trial countdown (amber in the final 3 days), amber "payment pending" during the grace period, and a red read-only notice when access is restricted — dismissible for info, persistent for urgent states
- A "Contact us on WhatsApp" button prefilled with the workspace and latest invoice reference, pointed at the provider's own contact number (never a hospital's patient-payment number)
- The amount due is shown only to staff who can read billing (subscription:read); everyone else sees the state and deadline without figures; a blocked write surfaces the banner instead of a raw error
Support-access transparency and PHI consent
Tenants can now see exactly when platform support opened their workspace, why, and what was attempted — and they choose whether support can see patient data at all. Support sessions are read-only, time-limited, and attributed to the real operator in the tenant's own tamper-evident audit.
- Settings → Support access log (gated on audit:read) lists every impersonation start, stop, and blocked write with the operator, reason, and time, from the tenant's own hash-chained audit trail
- Patient data is off-limits to support by default; a tenant-owned "Allow support access to patient data" consent toggle must be turned on before any PHI module is visible, and then only read-only
- Impersonation is server-enforced read-only (writes 403 even outside the browser), capped at 30 minutes with a mandatory reason, and the in-app banner shows that reason plus remaining time
Send a ward procedure order to theatre
A ward-booked procedure order can escalate straight into an OT case from the IPD Procedures tab, carrying the patient, admission, service, and clinical indication into the existing Surgery booking dialog — no re-keying, and the order is linked back to the case so it never orphans.
- "Send to theatre" row action on eligible procedure orders (gated on surgery:create, hidden not disabled), reusing the existing /surgery booking deep-link with service, procedure name, and indication pre-filled
- The surgeon still picks theatre and time — no auto-scheduling; the ward order is left untouched (no status flip)
- ClinicalOrder.resultRefType='surgery'/resultRefId is the single link owner; the back-stamp is idempotent (one order → at most one case, second escalation returns 409), and the row then shows "OT case scheduled — view"
Clinical safety UX — eMAR, pharmacy, labs, and boards
Bedside and consult surfaces harden BCMA and pharmacist verification, surface allergies and lab intervals at a glance, and tighten ED staffing and OPD BMI feedback without new parallel safety engines.
- eMAR BCMA hard-stop on Given mismatch, verify-before-administer parity when the tenant toggle is on, and Administer dialog Scan & verify / Details tabs
- OPD consult PatientContextRail; Verification Queue Verify/Reject shows dose, route, frequency, and prescribe-time safety alerts
- Admission Results projects gender/age effectiveReferenceRange; ward/ICU/IPD chips show allergen names; ED ESI 1–2 unassigned attending breach badge; shared FE vitals BMI helper
Walk-in service booking charge and payment
Lab and radiology clerks can Save a walk-in booking unbilled or Post & collect cash, card, bank, online, credit, insurance, or split tenders, and Bill later on an existing standalone order — one invoice to Service Income.
- Save booking posts no journal; omitted collectFee is never auto-cash
- Post & collect and Bill later share collectBookingFee through PaymentService; revenue is Service Income 4003
- Encounter-linked orders stay deferred; a second Bill or an encounter charge is rejected
Lab worklist and radiology New study stay on one booking
Service Bookings is the LIS specimen bench for lab orders only. Walk-in imaging is booked from Radiology New study on the same ServiceBooking create — not a second booking module.
- Lab list, stage KPIs, barcode scan, and Unmatched rematch request serviceType=lab so X-ray never shares Awaited tiles
- Omitted GET /service-bookings still returns all types so commissions keep mixed sources
- Radiology header New study uses the shared create dialog with an imaging picker
Surgery Complete opens the missing step
When an in-progress OT case cannot Complete, the listing hides Complete and promotes Bill, Materials, Checklist, or Case timeline so staff open the existing owner instead of a dead-end toast.
- First-blocker order from the shared completeBlocker helper: closure, Sign Out, procedure fee, priced consumables
- Billed badge counts unbilled priced consumables as well as the procedure fee
- Time Out missing consent or site-mark and Sign Out count gates hide Complete phase and open Readiness or Counts
Service Bookings list polish and lab-tab tours
Lab receptionists clear active worklist filters in one control, see the referring doctor on the Bookings table, and the Tutorial covers QC, Rules, Unmatched, and Criticals with permission-gated steps.
- Filter row meets T-1239: scan hint sits under search, not on the controls baseline
- Clear filters resets search, status, sample stage (including worklist tiles), and page
- Referring-doctor column from existing referringDoctorName; service type stays visible; collected time stays on detail only
QC and rules workbench scoped to one analyte
LIS techs pick an analyte before Levey–Jennings and QC runs, see control names and timestamps from the run DTO, and supervisors can enable or disable autoverify, reflex, delta, and critical rules without a builder.
- QC tab requires an analyte; runs and the chart never mix parameters
- Run and level rows project material and parameter names; warning vs rejected use distinct badges
- Rules list shows service/parameter scope; enable/disable uses the existing PATCH only
Lab attention queues: safe criticals ack and true TAT breaches
LIS techs acknowledge each critical on its own read-back dialog, and the TAT badge counts bookings that missed their target — not every completed assay. Unmatched reasons are translated; exceptions show accession and open the booking.
- Criticals tab uses LabCriticalAckDialog only; badge is unacked notifications, not leftover criticalFlag bookings
- Worklist TAT badge, TAT tab, and lab TAT report share isLabTatBreached over the same 30-day window
- Unmatched reasons i18n plus a truncated analyser snippet; Exceptions show accession and Open booking
Dietary plans in IPD nav and diet-only charges
The dietary-plans register is a first-class Inpatient & Theatre item. Diet plans bill only dietary-type catalogue services; lab, consult, and other types stay off the picker and the charge API.
- Dietary plans nav at /dietary (dietary:read), immediately above Kitchen worklist
- Catalogue Service.serviceType includes dietary; Services can create and filter them
- Create and bill-later pickers list dietary services only; charge rejects a non-dietary serviceId
Item pickers show catalogue type
Every catalogue item dropdown names the type — Medicine, Consumable, Supply, or Equipment — next to the item, so mixed lists are distinguishable at pick time.
- Shared picker label: name, optional code, then type from Items kinds
- Invoice, inventory, indent, procurement, OT, CSSD, and medicine search rows
- Type is searchable in the combobox
Record incision from WHO Sign Out
Sign Out stays blocked until knife-to-skin is recorded. The safety checklist now offers Record incision (or Case timeline) instead of a failed Complete.
- Sign Out pause explains the incision gate and hides Complete until knife-to-skin exists
- Record incision uses the same case-timeline milestone (current time; Time Out and anaesthesia start required)
- In-progress cases without incision show Case timeline as a labeled row action
Type-specific collect→receive stability
Each sample type carries its own pre-analytical integrity window on the bookings worklist, specimen bench, and Exceptions tab. Overdue receive and start-processing warn before proceeding; reject can pre-fill delayed.
- Type-specific stability minutes with tenant SLA fallback; 0 disables the clock
- Remaining minutes and near/overdue badges on bookings rows and custody hints
- near_expiry exception kind; overdue receive warn-only ConfirmDialog
Sample-type storage temp and blood batch windows
Each sample type carries a derived storage temperature; blood-family draws show the next :00/:30 chemistry batch in clinic time. Missed-batch and wrong-storage breaches surface on the existing specimen-exceptions worklist.
- Storage temp derived from sample type (ambient / refrigerated / frozen)
- Blood, serum, and plasma project next half-hour batch after collection
- Exceptions tab adds missed-batch and wrong-storage kinds with clear labels
Specimen tube labels at 50×25 mm
Phlebotomy prints direct-thermal tube stickers sized for 50×25 mm stock. The lab worklist can reprint the same Code-128 labels after collection without reopening the specimen bench.
- Collect opens browser print at 50×25 mm label geometry (not ID-1 card)
- Code-128 still encodes the SP- container barcode assigned at collection
- Print labels row action on the bookings worklist for collected samples
Admission amount due display SSOT
IPD overview, billing KPIs, discharge wizard, and interim print now separate running-bill charge totals from patient-facing amount due (unpaid admission fee invoice plus ward residual). Dual ledgers unchanged — display only.
- Overview card headline shows amountDue; running bill total stays secondary
- Billing tab KPI labels Amount due vs running bill total; fee chip stays off the folio
- Discharge wizard uses accrued room from charge lines and stay amountDue — not room rent × nights
- Interim print footer shows running bill balance, not amount due
Consumables stay on Items, not a menu row
Pharmacy Products no longer lists Consumables beside Items. Consumables remain an item type: filter them on Items, or open /items?kind=consumable.
- Removed the Products → Consumables sidebar duplicate of the Items list
- Items type filter (Medicines / Consumables / Supplies / Equipment) stays the finder
- Demo consumable seed unchanged
Consumables catalogue discoverability
Demo tenant seeds common ward and OT supplies as Item.kind=consumable in the main pharmacy store. Staff find them with the Items type filter (not a second Products menu).
- Items page kind filter syncs with the ?kind= URL parameter
- Demo seed includes gauze, syringes, cannulae, sutures, gloves and IV sets as consumables
Admit from Ward Board Available tab
Ward clerks admit directly from the Available beds list with the bed preselected. Cleaning rows explain that EVS must finish first and link to the Housekeeping worklist — no Admit until the bed is census-available.
- Admit row action on census-available beds (ipd:create)
- Admission intake opens with room and bed preselected
- Cleaning rows show EVS copy and a Housekeeping tab link; discharge still routes beds through markForCleaning
Bed types and properties on every bed surface
Facility staff record frame type (including labour, recliner, crib, orthopedic, psychiatric, electric) and see type, isolation, gender, anti-bedsore overlay, and care level on every bed picker, ward tile, Available row, and ICU census.
- Bed type enum on Beds manager (13 frame classes; ICU stays careLevel)
- Anti-bedsore boolean overlay — not a type and not Braden
- Shared picker label plus property chips on intake, transfer, escalation, ward board, Available, ICU census, and beds manager
Building master on Room
Facility admins maintain campus buildings on the Rooms page and assign every room to a building. The ward board groups census and available beds by building then floor.
- Buildings tab on /rooms with CRUD reusing rooms permissions
- Required building picker on room create/edit; Main seeded per tenant
- Ward board census and Available tabs group by building name then floor
Appointment series and cancellation waitlist
Front desk books a repeating course as linked visits in one action. Cancelling one occurrence leaves the rest. A cancelled or no-show slot offers the next waitlisted patient for that doctor or department.
- Book daily, weekly, biweekly or monthly series with a visit count or end date
- Series badge on the appointments list; cancel remaining scheduled visits without a parallel series status
- Waitlist listing at /appointments/waitlist; cancel and no-show surface the next candidate
Kitchen tray worklist by ward and meal
Ward kitchen sees today's diet orders grouped by ward for breakfast, lunch, or dinner and marks each tray delivered or refused. NPO and allergy flags come from the diet-order safety owner. Status shows on the IPD chart and Patient-360.
- New /dietary/kitchen listing with meal tabs (one listing per view)
- Delivered blocked for NPO and same-day OT feeding diets; refused always available
- dietary:kitchen permission ships with the screen; IPD chart diet badge / Overview card / Kitchen diet action; tray status on Patient-360 dietary rows
Dietary NPO and allergy safety flags
Diet orders now use a structured type. NPO versus same-day theatre and food-allergy warnings from the patient allergy list are flagged on the order screen and the day's list. Charge posting is unchanged.
- Structured diet types (NPO, fasting, regular, therapeutic categories) on the nutrition plan dialog
- Same-day OT booking flags NPO as expected and blocks a feeding tray
- Allergy warnings read PatientAllergy — the same list Patient-360 shows
IPD discharge disposition and in-hospital death register
Discharging an inpatient stay now requires a structured outcome shared with ED (routine, referred, transferred, LAMA, DAMA, deceased). Death captures time, certifying clinician, MLC, and body release. LAMA/DAMA uses the existing admission consent ledger.
- Disposition is required on PATCH /admissions/:id/discharge; deceased opens death-register fields
- LAMA/DAMA blocked until a signed AMA consent exists on POST /admissions/:id/consents
- IPD reports Registers tab shows mortality/outcome counts by disposition for a date range
Ward Board housekeeping worklist
EVS can assign, start, and complete bed-turnaround tasks from Ward Board ?tab=housekeeping. Age is shown from createdAt. Completing a row or Mark cleaned on a cleaning tile uses the same HousekeepingTask PATCH.
- Third ward tab lists open HousekeepingTask rows (room/bed, kind, status, age, assignee)
- Assign via StaffCombobox; start and complete from row actions; bed returns to available in the same complete transaction
- Assignee is a User FK with a flat assignedToName on the existing housekeeping DTO
Invoice lot on purchase, sale, and print
Medicines default to batch tracking. Purchase invoices capture lot and expiry; sales consume FEFO and stamp the lot onto the line so detail, A4, and thermal receipts show it under the description.
- New medicines default tracksBatches on (supply/equipment still forced off)
- Composer copies the header store onto the line so Auto (FEFO) shows without a second pick
- Posted GET detail + A4 + thermal show lot and expiry as a sub-line
UI/UX audit — structured pickers, Arabic/Urdu sweep, i18n ratchet
Comprehensive UI/UX audit batch: identity comboboxes replace free-text clinical fields; CSSD and quality wired to structured FK pickers; reports, commissions, contracts, bank, installments, tax, care-packages, platform admin, and compliance pages fully localized (en/ar/ur); literal baseline ratchet guard prevents new hardcoded UI prose.
- Shared DepartmentCombobox, StaffCombobox, AssetCombobox for department, clinical staff, and biomedical assets
- CSSD Record load dialog tabbed with department/operator/sterilizer pickers; quality incidents use reporter StaffCombobox
- Referrals catalog enums and structured pickers; six clinical dialogs i18n'd
- All financial reports localized (phase A + B) via docs locale and ReportShell chrome
- Commissions, doctor contracts, bank accounts, installments, tax, and care packages use billing namespace (en/ar/ur)
- Platform admin, SalaryDialog HR tour, governance, HIE, privacy consent, and breach incident pages localized
- i18n literal baseline budget guard wired into audit:integration — ceiling ratcheted 4260→2230
Phase 100 production readiness — POS, specialty templates, balance hints, ZATCA
Pharmacy quick-sale POS preset, specialty encounter templates for oncology/IVF/dialysis/anaesthesia, live A/R on register list filters, admin listing row-action consistency, ZATCA e-invoice transport, and combobox polish for small tenants.
- Invoice New sale / ?quickSale=1 opens items-first POS composer (no hold/draft, Post primary)
- Specialty list with seeded encounter templates; the registers stay the single source for cycles and sessions
- PatientBalanceStrip on specialty register list patient filters with Pay outstanding
- TableRowActions + i18n on Governance, HIE, DSR, Feedback, and 18 HR/settings listings
- ZATCA FATOORA transport (UBL + TLV QR + clearance/reporting API; PCSID pasted externally)
- SimpleCombobox single-option panel layout polish
Counterparty balance on every patient and vendor picker
Selecting a patient or vendor on billing and clinical forms now shows live A/R or A/P balance from the ledger, with Pay outstanding or Record payment when money is owed — plus stable deep-links from the accounting ledger into invoice and bill detail.
- PatientBalanceStrip / VendorBalanceStrip on appointments, OPD, lab bookings, admissions, invoices, claims, specialty registers, procurement, and payables
- Pay outstanding opens the same multi-invoice collection dialog as Patient 360 Billing
- Vendor balance links to Payables filtered by supplier
- useDeepLinkOpen fixes dialog flash-then-dismiss on ?open= deep links
- Completed appointments show View consultation (eye) instead of Open consultation
Front desk allergy and ABO badges
Appointments and Queue desk rows show read-only allergy indicators and blood group when known on the patient chart — so reception sees hazards before check-in or call-next, without a desk allergy editor.
- Appointment list/detail and queue ticket patient refs project bloodGroup, NKA flag, and allergy counts
- Shared ClinicalSafetyBadges on Appointments and Queue (absent when unknown; no invented NKA)
- Visit-status and payment gates unchanged
Nursing station blood request and bedside transfusion
Ward nurses can request blood and run bedside transfusion from Nursing Station patient cards — the same sheets and safety gates as the IPD chart and ED, without a parallel transfuse path.
- Request blood and Transfuse icons on nursing-station patient cards (permission-gated)
- Reuses BloodRequestSheet and BedsideTransfusionSheet (SHOT bedside chain)
- Blood Bank worklist and chart stay aligned after refresh
Ward transfer placement override
Ward-board TransferDialog explains isolation, gender-policy, and ICU bed mismatches before submit and requires an audited placementOverrideReason — the same override path as intake and care-level escalation.
- Available-bed picker projects genderPolicy and isIsolation for explainable gates
- Override reason required when placement rules fail; stored on transfer history
- Backend assertPlacement rules unchanged; occupancy still censusBedStatus
Ward board and ICU census safety badges
Occupied ward-board tiles, the patient peek sheet, and the ICU census widget show allergy, ABO, isolation, open blood requests, and due-dose pressure — the same clinical safety strip already used on the ED board.
- Ward board / ICU census API projects blood group, allergy counts, isolation, open blood requests, and due doses
- Shared ClinicalSafetyBadges on bed tiles, peek, and ICU census
- Occupancy still uses censusBedStatus (no second occupancy owner)
CSSD sterilization loads pagination and KPIs
CSSD operational desk shows paginated sterilization cycles with date filters and a KPI strip for total cycles, pass rate, active released loads, and recalls.
- Paginated sterilization cycle listing with date range
- GET /sterilization-cycles/kpis
- KPI strip and pagination on CSSD page
Patient 360 transfusion history
Patient charts show transfusion history with unit details, reactions flagged, and links to the blood bank module.
- GET /patients/:id/transfusions
- Transfusion history card on Patient 360 overview
- Reaction status badges and blood bank deep-link
Blood bank inventory KPIs and pagination
The blood bank units table is paginated with an inventory KPI strip — available units, expiring within 7 days, reserved, and issued today.
- Paginated GET /blood-units
- Inventory summary endpoint for KPI tiles
- Expiring-soon units highlighted in the table
Blood bank donor lookback and unit traceback
Haemovigilance lookback lists every unit and recipient when donor screening fails; unit traceback shows donor and sibling units. Bank broadcast and treating-clinician inbox alerts fire for affected recipients.
- Donor row Lookback dialog with units and transfusion recipients
- Alert banner when donor screening is failed post-issue
- GET donor lookback and unit traceback endpoints
Donor lookback notifies treating clinicians of recipients
When donor screening fails with issued or transfused units, the blood bank desk still gets the lookback broadcast, and each affected recipient's admitting doctor (and today's assigned nurse, when admitted) receives a targeted critical inbox alert linking to the admission chart — not the donors tab.
- Active admission doctor preferred; else most recent admission with doctor
- Today's NursePatientAssignment nurse on active stays only (one nurse, deduped)
- Clinician link opens /admissions/<id>; no patient-portal panic messaging
Emergency Department operational KPI strip
The ED register shows live door-to-disposition metrics — active census, acuity mix, LAMA/DAMA rate — filtered by the same date range as the visit table.
- GET /emergency-visits/kpis with date-range filter
- KPI auto-fit strip above the ED visit table
- Arrival date From/To filters drive both table and KPIs
ED attending doctor is a real user FK
Emergency visits now pick the attending doctor from staff directory; the visit stores attendingDoctorId for my-ED-list scoping while keeping the display name on the row.
- Doctor SimpleCombobox on the ED visit dialog
- attendingDoctorId FK with display-name cache on EmergencyVisit
- Doctor data-scope filters ED list/board by attending doctor
Emergency triage vitals are structured with auto NEWS2
ED visit triage now captures BP, HR, RR, SpO₂, temperature and GCS as structured readings that flow into the patient vitals chart and compute NEWS2 automatically — legacy free-text visits still display.
- Clinical tab replaces the single vitals text box with structured fields plus notes
- Structured readings post to PatientVital via VitalsService for Patient 360 charts
- NEWS2 score auto-calculated on save and previewed while entering vitals
Emergency admitted visits now link to inpatient stays
When an ED visit closes with disposition Admitted, the IPD admission intake opens inline and stamps a two-way link — the ED register and Patient 360 show the connected ward chart instead of a dead-end closed visit.
- Choosing Admitted in the ED visit dialog opens the bed/ward intake wizard with ED context
- Emergency listing shows Admit pending, Admit to IPD, and a green IPD deep-link after linkage
- IPD chart header and Patient 360 procedures tab surface the ED → ward chain
Appointment list and consultation share one visit status
After check-in, start consultation, complete, or cancel, the appointments listing and the consultation dialog now read the same server-owned visit status — a full refresh no longer shows checked-in on the list while the session still says scheduled.
- Visit status is projected from the same SSOT the queue and consultation use
- Appointments list badges match the consultation dialog after refresh
- Cancel routes through visit-payment SSOT so billing and status stay aligned
Insurance claims now track clearinghouse transport status
Submitted claims show whether the 837 is queued, transmitting, accepted, or failed at the clearinghouse — with a retry action on failure, the same transport pattern as e-invoice authority transmission.
- Claims listing and detail show transportStatus (pending → transmitting → submitted / failed)
- Configure clearinghouse credentials in Settings → Integrations
- Retry re-queues failed EDI transmission without duplicating the claim row
Structured crossmatch before blood issue
Blood units now require a recorded crossmatch result compatible with the patient before issue — ABO/Rh remain the first gate, but transfusion safety also stores the formal crossmatch outcome instead of free text on the unit.
- Crossmatch workflow on /blood-bank before Issue is enabled
- Issue is blocked when the latest crossmatch is incompatible or missing
- Existing unit inventory and screening flows are unchanged
Radiology critical findings use the shared critical-result loop
Signing a radiology report with a critical finding no longer opens a one-off dialog — it feeds the same critical-result acknowledgement workflow used elsewhere, so ordering clinicians see one inbox and one ack trail.
- Critical flag on radiology sign routes through the shared critical-result service
- Ordering clinician must acknowledge from the critical inbox
- IPD and OPD Results tabs update when the report is signed
RIS worklist acknowledges critical imaging findings (LIS parity)
Radiologists and ordering clinicians can acknowledge unacked critical imaging findings on the radiology worklist and report dialog using the same LabCriticalAckDialog and lab-critical:ack permission as the LIS — no second critical store.
- Worklist rows and report dialog surface Acknowledge when a CriticalResultNotification is pending
- Ack uses the existing service-bookings critical-ack API; LIS and session banners agree after refresh
- Without lab-critical:ack the action is hidden and the report dialog shows explainable forbidden copy
FHIR DiagnosticReport and ServiceRequest from live clinical data
Interoperability export now includes FHIR R4 DiagnosticReport (validated lab and radiology results) and ServiceRequest (CPOE orders) — facades over existing ServiceBooking and CPOE rows, not a second data store.
- GET /fhir/DiagnosticReport?patient=… returns validated booking results
- GET /fhir/ServiceRequest?patient=… returns CPOE orders with date search
- Capability statement updated; mappers read the same rows as LIMS and order worklist
Biomedical PM schedules auto-create maintenance work orders
When a device passes its next preventive-maintenance due date, the system creates a scheduled maintenance log automatically — overdue PMs appear in the assets summary and listing filter instead of relying on manual entry alone.
- Nightly job scans PM schedules and creates scheduled maintenance logs on due date
- Assets summary shows overdue PM count; listing filter for due/overdue PM
- Manual corrective maintenance logs remain for ad-hoc work
E-invoices now transmit to FBR for a real IRN
Submitting a sale invoice queues async transmission to the tax authority (FBR PRAL by default). The system no longer fabricates a local IRN — status stays Transmitting until FBR returns invoiceNumber and QR data, or Failed with a retry action.
- Configure seller NTN and FBR bearer token in Settings → Integrations → e-Invoice
- Submit sets pending_transmission; BullMQ posts to FBR and stores the authority-issued IRN
- Failed transmissions show the error and a Retry action on the e-Invoice listing
Sign-in showcase now includes formulary, floor-stock indents and asset custody
The login and registration capability cards match what the product actually ships: a Formulary & Drug Knowledge card (curation plus CSV/JSON import), inventory copy for item types, department stores, fill-to targets and Stock Indents, and biomedical location/custody on the existing equipment register.
- New Formulary & Drug Knowledge card on the public showcase
- Stock, Batches & Floor Indents describes item types, department stores and non-billable ward indents
- Biomedical Assets describes department/room/custodian assignment and the movement timeline
Biomedical equipment now tracks department, room and custodian
Each device on the biomedical register can be assigned to a department, room and staff custodian. Assign / Transfer records a movement timeline so you can see where a ventilator has been — without a second listing or new in-use status. Sending it to maintenance still uses the existing service log.
- Department (and status) filters on the existing /assets register — no second page
- One Assign / Transfer dialog writes location, custodian and a movement ledger row together
- Asset detail shows a movement timeline; surgical case reservations are unchanged
Wards can indent floor stock from central pharmacy
A ward or OT raises a Stock Indent to a department store; pharmacy approves and issues it as a normal stock transfer — no patient invoice and no accounting journal. The ward can then mark the delivery received. After issue, using a consumable on that ward prefers the department store.
- Pharmacy → Stock Indents with My indents and Issue queue tabs (one listing each)
- Draft → submitted → approved → issued (or cancelled); receive is an acknowledgement only
- Issue creates a Stock Transfer into the department store and does not post a journal
Stores can belong to a department, with a fill-to target beside par min
Each inventory store can optionally be linked to the department it serves, and each store-item now has a fill-to target next to the existing par minimum. Par Level Alerts still fire only when on-hand drops below the minimum — the target is for replenishment planning, not a second alert.
- Store form includes an optional Department picker; the store list can be filtered by department
- Par Alerts “Set par” dialog edits both the minimum and the fill-to target
- Alerts remain min-breach only — stock below target but at or above par does not appear
Inventory items now have a type, with fields to match
Every stock item is now classified as a Medicine, Consumable, Supply or Equipment, and the item form adapts to the type you pick — only medicines show drug codes (RxNorm/NDC), coded clinical-drug identity and controlled/high-alert safety, while consumables/supplies/equipment (OT, CSSD and general-store stock) get a cleaner, relevant form. Medicine items also show whether their safety checks are active, with a link to map them in the Formulary.
- Item type selector (Medicine / Consumable / Supply / Equipment) drives which fields appear
- Medicine-only fields (RxNorm/NDC, controlled, high-alert, coded identity) hidden for non-medicine items
- Read-only coded-identity badge on medicines: 'safety checks active' vs 'not yet coded', linking to the Formulary
- Type badge and a type filter on the item list, so non-medicine stock (OT/CSSD/general) is easy to find and purchase
Explore every capability from the sign-in page
The feature showcase on the login and registration pages is now interactive: each capability is a tappable card that opens a focused detail modal explaining what the module is, why it matters, how it threads through the rest of the system (as a step-by-step flow) and the concrete benefits it delivers — presented as three short tabs, never a long scroll. The list was also de-duplicated so each capability appears exactly once.
- Every capability card opens a tabbed detail modal (Overview · How it works · Benefits)
- Each module documents what it is, why it matters, an integration flow and its benefits
- Removed duplicate cards caused by live add-on keys aliasing curated capabilities (Emergency, Operation Theatre, Blood Bank, CSSD, Governance)
- Newly surfaced capabilities folded into the showcase: ICU Care, AI Appointment Chatbot, LIMS, Patient Feedback, HR & Payroll and Recruitment
Dead letter queue for failed background jobs
Platform super-admins can see BullMQ jobs that exhausted all retries, inspect the error, and replay them from a dedicated screen — with Prometheus depth and enqueue-failure counters for alerting.
- New Platform → Dead letter queue listing with status, queue and tenant filters
- Replay re-enqueues the stored payload and records who replayed it
- Duplicate device-ingest work is idempotent; hms_bullmq_dlq_depth gauge tracks pending DLQ rows
Bulk formulary import from CSV or JSON
Pharmacists can upload or paste a CSV or JSON of substances and clinical drugs on the Formulary Stewardship tab. Re-importing the same RxNorm, UNII or name updates in place instead of duplicating rows.
- POST /formulary/import is audited and gated on formulary:create
- Stewardship-tab upload (no second page); helper text sits under the toolbar, not on the control row
- Per-row validation for missing names, unresolved ingredients, and invalid UCUM strength units
Pharmacy formulary curation and an all-medicine coded catalogue
Pharmacists get a dedicated Formulary screen to curate substances and clinical drugs, map stock products to coded drugs, and clear the unmapped queue — and every medicine in the catalogue now ships pre-coded, so that importing the medicine catalogue brings interaction, duplicate-therapy and allergy checking with it rather than needing each drug hand-coded first.
- Formulary screen with Substances, Clinical drugs and Stewardship tabs, gated on its own formulary permissions
- All ~10K medicines in the item-template catalogue carry coded identity (ingredient RxNorm, cross-reactivity class, dose form)
- Importing a medicine now creates its coded clinical drug automatically, so safety checks work on imported items with no manual mapping
- Curated conflict reference seeded on install: interactions, dose ceilings, paediatric/renal dosing and pregnancy/disease/age contraindications
Inpatient chart no longer repeats the patient header
The layout patient rail already shows name, allergies, stay status and balance. The IPD chart page now only adds stay facts (room, doctor, day count, checklist) plus IPD-only safety chips.
- Name, MRN and Penicillin (or other allergens) appear once, in the rail
- Admission number, room/bed and attending stay on the page title line
- Fall risk, NEWS2 and due doses remain on the IPD safety strip
One vitals record for OPD, IPD, ED, and FHIR
Blood pressure, pulse, temperature and the rest of the chart vitals live on PatientVital. Encounter columns stay as a cache, emergency free-text is saved as a note on that same record, and FHIR export reads the canonical row instead of session columns.
- OPD encounter GET overlays vitals from PatientVital when a row exists
- Emergency visit vitals string write-through as a note-only PatientVital
- FHIR Observations and ORU export prefer PatientVital; session columns are fallback only
Restricted and VIP charts need extra permission or emergency access
Psychiatry and VIP records stay on the patient list but the chart, EHR, vitals and context rail stay locked until the caller has the matching attribute permission or records a 4-hour audited break-glass reason.
- Restricted charts open for psychiatry readers; VIP charts need VIP-read
- Emergency access is audited and expires after four hours
- Unmasking contact details is still a separate permission from opening the chart
72-hour National Commission breach clock
Personal-data breaches now track the Pakistan PDPB 2025 72-hour notice to the National Commission on the same register as GDPR, and a tenant whose data region is not Pakistan must name a transfer safeguard on every cross-border processing activity.
- Breach register shows a live 72-hour clock computed by the server (not the browser)
- Notify records the National Commission as the supervisory authority
- RoPA blocks a cross-border transfer with no named safeguard; data-residency region flags non-PK hosting
Clinical AI stays decision-support, not diagnosis
The appointment chatbot cannot be configured to give medical advice. Clinical questions are refused and handed to a human, and any future clinical-AI feature needs a recorded SaMD determination before it can ship.
- Booking assistant is logistics-only (book / reschedule / cancel)
- Human-in-the-loop rules are appended to every chatbot prompt and cannot be turned off
- Note-copilot and medication-reconciliation assist remain blocked until registered as devices
Coded route, unit and override reasons
Prescribing no longer asks for free-text route, dose unit or safety-override reason. Clinicians pick from coded lists (SNOMED routes, UCUM units, and a closed override-reason set) so orders stay consistent and auditable.
- Route and dose-unit pickers on OPD, IPD, order sets, the medication list and immunisation
- Safety alerts require a coded override reason (Other still allows a short note)
- Older free-text values still display and remain editable
Patient snapshot stays as you move around
The patient snapshot bar now lives in the app chrome, so identity, allergies, the active encounter, medications and balance stay visible when you leave the record for the queue, an admission chart, a consultation or billing.
- One current-patient store; the bar is mounted once in the layout, not copied onto each page
- Opening a record, IPD chart, consultation or a patientId link sets the current patient
- The snapshot survives navigation until another patient is selected
Patient snapshot rail
A single at-a-glance patient bar shows identity, allergies (flagging critical ones), the active admission or consultation, active-medication count and outstanding balance — loaded in one request at the top of the patient record.
- One consolidated read for the whole snapshot instead of piecemeal fetches
- Allergies show No-Known-Allergies, and highlight severe/anaphylaxis in red
- Balance comes from the same billing figure used everywhere else
Coded drug-allergy picker
Drug allergies can now be recorded from a coded substance list instead of free text, so allergy alerts catch the drug even when the prescribed brand name looks nothing like the allergen, and warn on same-class agents.
- Allergen field for drug allergies is a searchable coded substance picker (free text still allowed)
- Allergy checks match by substance and cross-reactivity class, not just by name
- Existing free-text allergies keep working via name resolution
Configure secure file storage from the admin console
Super-admins can now point the platform at their S3/MinIO object storage for PHI files (attachments, consents, imaging) from a settings page, instead of editing environment variables — keys are stored encrypted and take effect immediately.
- New Platform → File Storage page: endpoint, bucket, region, path-style, max size and credentials
- Access/secret keys are write-only and encrypted at rest; never returned to the browser
- Saving reconfigures the live storage client with no redeploy; falls back to env config when unset
Closed-period posting override
A voucher dated inside a closed accounting period is now blocked with a clear warning; users with the new override permission can still post it by giving a reason, which is recorded on the voucher for audit.
- General voucher warns when the chosen date is in a closed period
- Authorised users post into a closed period with a required reason (recorded on the entry)
- Users without the override permission are blocked and guided to a valid date
Early-warning escalation on the ward
Inpatient NEWS2 readings now drive a graded response: a single severely-abnormal vital raises a nurse-review alert even when the total is low, higher scores page the clinician, and observation frequency tightens automatically as a patient deteriorates.
- Nurse-review alert for a single red parameter (previously only total scores of 5+ alerted)
- Clinician paged for medium and high scores
- Observation cadence auto-tightens (to 30/60/240 min) on deterioration and feeds the overdue-vitals sweep
Auto-maintained problem list
Diagnoses recorded during a visit or admission now flow automatically into the patient's longitudinal problem list (deduplicated by code), so the active problem list stays current without separate data entry and feeds contraindication checking.
- Recording a diagnosis promotes it to the problem list with its ICD code and the source encounter
- Duplicate diagnoses across visits do not create duplicate problems
- Problems carry SNOMED alongside ICD for interoperability
Contraindication alerts at prescribing
Prescribing now warns on drugs contraindicated for the patient's state — active pregnancy, a recorded disease (by diagnosis code), or age — alongside the existing allergy, interaction and dose checks.
- Pregnancy contraindications triggered by an active pregnancy episode
- Disease contraindications matched against the patient's recorded diagnosis codes
- Age-based contraindications (too young / too old) from the patient's date of birth
Age- and weight-based dose checking
Dose alerts can now use the patient's age and recorded weight — flagging paediatric mg/kg overages, per-band ceilings, excess frequency or course length, and renal dose adjustments — instead of a single flat adult maximum.
- Weight-based (mg/kg) single and daily ceilings using the latest recorded weight
- Age-band rules (paediatric / adult / geriatric) with frequency and duration bounds
- Renal (eGFR) and hepatic adjustment flags, with the flat adult ceiling kept as a fallback
Ingredient-level medication safety checking
Interaction, allergy, and duplicate-therapy checks now match on the drug's active ingredient and class — not just its typed name — so a brand name is caught against an ingredient rule, and a penicillin allergy warns on other beta-lactams.
- Drug interactions match at ingredient (RxNorm) and ATC-class level, with source/evidence shown on the alert
- Drug-allergy checks add class cross-reactivity (e.g. penicillins, sulfonamides)
- Duplicate-therapy detection catches the same ingredient across different brands on an encounter
Coded drug prescribing
Prescribers can now pick a coded clinical drug (by ingredient, brand, or ATC) in OPD and IPD prescribing, not just free text — the coded reference is what makes ingredient-level interaction, allergy, and duplicate-therapy checking accurate.
- Structured medicine formulary: substances, clinical drugs with strength/dose-form/route/ATC, and product mapping
- Medicine picker offers coded formulary drugs alongside stock items, with a free-text fallback
- Prescriptions store the coded drug (derived from the chosen product or picked directly) across OPD and IPD
Price calculator on sign-in and pricing
Visitors on login, register, and /pricing pick a base plan and add-ons and see an estimated monthly total in their local currency, instead of a static starting-from price.
- Login and register left pane: collapsible calculator on small screens, open on desktop
- Same estimator on the public pricing page so the quote math has one owner
- Country-resolved prices from the existing public pricing API
Notifications open the record and fill names
In-app, SMS, email, and WhatsApp fallbacks no longer show leftover unfilled number placeholders. Clicking a notification opens that admission, claim, appointment, invoice, or portal stay.
- Notification templates fill their variables through one renderer after the language lookup
- Staff bell and inbox go to the record, not the listing
- Patient portal messages open the matching stay or appointment
Split tenders and zero-due discharge
IPD discharge no longer asks for a payment when the bill is already clear. Everywhere money is taken from a patient, one PaymentMethodSelect can combine cash, card, credit, and insurance; each line posts a balanced journal through PaymentService.
- Zero outstanding: discharge from the clinical-ready step with no settle screen
- Add several tenders on one collection so they add up to the amount due
- Queue, pay-outstanding, appointment collect, invoices, IPD, registration, OPD, installments, and care packages use the same widget
- One insurance payer per collection; combine with cash, card, bank, or credit
Long screens split into tabs
IPD reports, the account ledger, IPD clinical and orders, surgery record/counts/materials, the platform subscription dialog, and specialty registers no longer stack four or more sections past one viewport.
- IPD dashboard: Overview / Live lists / Registers
- Surgery case: Case / Theatre / Operative note / Post-op, with Save in the footer
- Specialty records: Visit / Clinical / Plan
Discharge without scrolling the bill
The IPD billing tab is the running bill only. Discharge is a two-step dialog: remaining clinical blockers, then settle. Every clearance gate still runs on the server.
- Discharge button on the billing header, with a count of open clinical items
- Step 1 shows only unmet checks; passed items sit under Already clear
- Step 2 settles and discharges in the dialog footer — same PaymentService path
Discharge summary finalize after the stay ends
Staff draft the summary while the patient is still admitted, finalize only after discharge, and can revert a mistaken finalize so care and clearance can continue.
- Finalize is refused until the admission status is discharged
- Revert finalize returns the summary to draft (same discharge permission)
- A mistaken early finalize no longer locks charges, orders, or discharge
LIMS owns where the sample is
Specimen custody — stage, location, and a misplaced-sample exceptions board — on Service Bookings. The order worklist stays on the booking; the tube has its own timeline.
- Scan at every handoff writes an immutable custody event with location
- Exceptions tab for overdue-in-transit, stalled-in-lab, missing, and wrong-station tubes
- Barcode find shows last known location and the full timeline
- Coded reject and recollect, send-out, dispose, start processing, OT→lab handoff, AP recut
- Arabic and Urdu labels for sample stage, specimen status, and custody events (T-1212)
- App-wide status, kind, and channel codes use shared translations (T-1213)
Public feature timeline
A dated, public catalogue of what has shipped — kept in lock-step with the feature-set backlog so new work appears here in the same task.
- Public /features page with year filter and search
- robots.txt, sitemap.xml, and prerendered HTML so Google can crawl /features without signing in
- Machine-readable SSOT at docs/feature-timeline.json
- CI guard plus G-02 close-out so agents append every future ship
Must-have clinical depth on existing owners
Terminology, hosted DICOM, BCMA five-rights, voice adapters, and transfusion reactions — shipped on the screens that already own the work, not as parallel LIMS/RIS products.
- SNOMED/LOINC/ICD terminology store, CodePicker, and FHIR $lookup
- Hosted DICOM STOW/WADO with in-app study viewer (external OHIF remains default)
- eMAR barcode five-rights (wristband + drug scan) with witnessed override
- Twilio/Vonage/Plivo/Amazon Connect voice adapters on Integrations Verify
- Transfusion vitals, ABO re-check, and reaction reporting on BloodTransfusion
LIMS depth and one listing per view
Microbiology, pathology, CPOE, and radiology benches stay on Services and Radiology — with page-level tabs so staff never scroll past a second workbench.
- Microbiology culture/sensitivity and pathology gross/microscopy on the lab bench
- CPOE clinical decision support and order-set depth on the existing worklist
- Radiology structured reporting and study worklist UX
- Enterprise IA: one primary listing per view (tabs, not stacked tables)
OpenAPI as the frontend contract
Every migrated module’s React client is generated from the backend OpenAPI spec, so request/response shapes cannot drift between Nest DTOs and the UI.
- Orval-generated hooks from backend/openapi.json
- Response DTOs required on every migrated route
- CI drift guards (openapi-response-types, openapi-check)
Connected devices and remote monitoring
Wearables and clinic Bluetooth vitals ingest as patient-generated data, reviewed by staff before they become chart vitals, with RPM plans and threshold alerts.
- Withings, Dexcom, and generic OAuth device connect
- Staff review queue and promote-to-vital gate
- Doctor-ordered RPM plans with threshold alerts
- Web Bluetooth capture for clinic vitals
- Patient portal “My devices” with consent
Inpatient chart, CPOE, and eMAR
The admission becomes a full chart workspace: NEWS2 vitals, unified clinical orders, dose administration with witness, nursing station, and automated room-rent.
- Admission event spine, bed lifecycle, and transfer history
- Admission-linked vitals with NEWS2 alerts
- Unified CPOE ClinicalOrder with fulfilment billing
- eMAR dose engine with witness, charge, and stock
- Nurse station, I/O, fluid restriction, and room-rent accrual
HR, attendance, and payroll
Workforce lives in the same tenant as clinical work: attendance, leave, salary structures, and payroll that posts a balanced journal.
- Attendance and timesheets
- Leave management
- Salary structures and statutory configuration
- Payroll run engine with balanced accounting
- Disbursement, remittance, and staff loans
Patient feedback and service recovery
Branded public surveys, automated dispatch after visits, scoring, and a staff call-task queue so complaints close the loop.
- Survey templates and trigger engine
- Public branded survey form with scoring
- Delivery plus staff call-task queue
- Closed-loop service recovery and analytics
One person, one identity
National-ID and phone reconciliation on create, so the same human is not registered twice under slightly different names.
- Additive person-identity links
- IdentityService reconcile-on-create (national-ID → phone, never name alone)
- Merge review for suspected duplicates
CPOE and radiology RIS
Server-enforced clinical decision support at order entry, plus structured radiology reporting and a PACS viewer deep-link.
- CDSS at order entry and a unified order console
- RIS structured reporting and modality worklist
- PACS viewer deep-link (external OHIF)
Patient portal
Patients see their own appointments, invoices, and payment plans without a staff login — conflict-aware booking and printable receipts included.
- Appointment requests with free-slot / conflict feedback
- Personal agenda and calendar
- Invoice breakdown, insurance split, and printable receipt
- Payment-plan schedule and progress
Email and WhatsApp messaging
Per-tenant templates, channels, and a delivery log so appointment and result notifications leave through one owned path.
- Per-tenant Email and WhatsApp templates
- Channel configuration and delivery log
Emergency, theatre, blood bank, and CSSD
Triage, OT scheduling, blood-unit issue, and sterilization release — the first specialty and peri-operative modules on the same ledger as OPD/IPD.
- Emergency triage and disposition
- OT scheduling and operative note
- Blood-unit inventory, screening, and issue
- CSSD sterilization load log and release control
- Pharmacy inter-store transfers and reorder suggestions
Admissions, POS billing, and insurance at sale
Inpatient encounters with a running charge ledger, plus a pharmacy/retail POS composer that posts pay-and-post into the same double-entry engine.
- Tabbed admission encounter with clinical parity from OPD
- Running charge ledger and partial payments against the admission bill
- POS composer with store/batch, scan-to-add, draft + post
- Printable A4 invoice and 80 mm receipt with barcode
- Insurance payer split at point of sale
Batch, expiry, and FEFO
Lots are first-class: invoice lines pick a batch, stock issues FEFO, and near-expiry write-off posts to the ledger.
- Batch-aware stock movements with FEFO
- Expiry write-off and near-expiry dashboard
- Batch and expiry on invoice lines
FHIR export, trust page, and audit chain
Read-only FHIR R4 Patient $everything, a public Trust & Compliance page, data-subject rights, and a hash-chained audit log.
- FHIR R4 Patient $everything bundle
- Public /trust page and auth-screen trust badges
- SAR / portability export and data-subject register
- Read-access logging and tamper-evident audit hash chain
Unified patient queue and display board
Appointments and walk-in sessions share one token line per doctor/department/day, with a waiting-room board and realtime call/recall.
- QueueTicket console: call, recall, skip, serve, transfer
- Read-only waiting-room display board (zones / counters)
- Realtime announcements, priority, and wait-time analytics
- Auto-start consultation and fee capture on call/serve
Perpetual stock and inventory ledger
Every stock movement posts COGS/inventory journals; adjustments and wastage are first-class endpoints, not spreadsheet afterthoughts.
- Perpetual stock engine with COGS posting
- Stock adjustment / wastage with movement ledger
OPD vitals, notes, and prescription pad
The diagnostic session becomes a paper-like Rx pad with vitals, clinical notes, follow-up, and a printable completion flow.
- Vitals, clinical notes, and follow-up on the session
- Plain-language Rx dosing and item-catalogue lines
- Session completion and reusable print scoping
Registration cards and registration fees
Printable scannable MR cards, scan-back lookup on return visits, and a configurable registration fee posted to the ledger.
- Printable ID-1 registration card (QR + Code-128)
- Scan-card return-visit lookup
- Configurable registration fee journal
Platform foundation
Multi-tenant identity, masters, patients, OPD, appointments, EHR, inventory, and a double-entry chart of accounts — the day HMS Light became a product rather than a scaffold.
- Users, roles, RBAC, and per-tenant isolation (isTest)
- Patient registration with auto MR# and charity/zakat
- Diagnostic sessions, symptom/diagnosis libraries, prescriptions
- Appointment scheduling
- Longitudinal EHR with ICD-10 coding
- Stores, generics, and item catalogue
- Chart of accounts, general voucher, and per-account ledger