IPD has its own lab-ordering pages so ward staff never need to visit the separate Lab module UI — while lab technicians still use the full Lab module for result entry, QC, and turnaround-time tracking. This works only when the Lab module is enabled clinic-wide (isModuleEnabled('lab')).
ipd/pages/lab_orders.php) — lists every lab order placed for the current admission.ipd/pages/lab_order_form.php) — two modes:ipd/pages/lab_collect.php) — lists orders needing sample collection; staff mark samples collected (generating IPD-scoped accession numbers) and print barcode tube labels.ipd/pages/lab_results.php) — read-only results viewer grouped by order; entering results themselves still happens in the full Lab module for staff with lab_enter_results.Regardless of mode, both order paths use the same shared order-creation logic as the standalone Lab module, so billing, turnaround-time (TAT) tracking, audit logging, and IPD-charge routing all work identically either way.
lab_order_tests; can't collect samples without lab_collect_samples; can't view results without view_lab_reports.
Was this article helpful?