StealThis .dev

Clinic — Lab Order Sheet

A clinician lab-order sheet pairing a searchable, category-grouped test catalog with a live order panel. Typing filters Hematology, Chemistry, Endocrine and Micro tests in real time; checking a test adds a removable chip to the selected list and updates the running count. A Routine/STAT priority toggle, an auto-deriving fasting flag, specimen notes and an ICD-10 reason feed an order summary, and Sign and send validates the selection before showing a signed confirmation state.

Ouvrir dans Lab
html css vanilla-js
Targets: JS HTML

Code

Lab Order Sheet

A focused two-pane sheet for placing a laboratory order against a patient chart. On the left, a searchable catalog groups common tests into Hematology, Chemistry, Endocrine and Microbiology, each row carrying its specimen requirement and a Fasting tag where relevant. Typing in the search box filters the catalog live, hiding empty categories and surfacing a clear no-results message when nothing matches.

On the right, a sticky order panel keeps the clinician oriented. Checking a test drops a removable chip into the Selected tests list and bumps a running count; a segmented Routine / STAT toggle switches priority — STAT turning the control coral and posting a live processing note. A fasting switch auto-derives from the chosen tests but yields to a manual override, and free-text fields capture specimen notes and an ICD-10 reason. An order summary tallies count, priority and fasting at a glance.

Sign & send order validates that at least one test is selected, then locks the sheet into a signed confirmation showing the ordering clinician and destination lab, with an Amend action to reopen it. Everything runs on vanilla JS with accessible controls, keyboard-friendly checkboxes and a small toast helper for feedback.

Illustrative UI only — not intended for real medical use.