StealThis .dev

Clinic — Patient Intake / Triage Form

A single-page patient intake and triage form with sectioned cards for personal details, reason for visit and health history, a sticky four-step progress indicator that tracks as you scroll, a live colour-coded symptom-severity slider, add-and-remove medication and allergy chips driven by Enter, an accessible consent checkbox, inline validation that glows the required fields on an invalid submit, and a review summary card plus success toast on completion.

Labで開く
html css vanilla-js
ターゲット: JS HTML

コード

Patient Intake / Triage Form

A calm, single-page intake flow for Northpoint Clinic that gathers everything the care team needs before a visit. Four sectioned cards walk the patient through About you, Your visit, Health history and Consent, while a sticky progress indicator at the top tracks the active section live as you scroll and fills a thin teal bar to show how far along you are.

The Your visit card pairs a character-counted reason textarea with a symptom-severity slider that updates a live label and shifts colour from green through amber to coral-red as the rating climbs from Mild to Severe. In Health history, current medications and known allergies are entered as chips — type and press Enter to add, click the × or press Backspace to remove, with duplicate guarding, quick-add buttons for common allergens and a gentle toast for feedback. Submitting validates the required fields inline, glowing any that are missing, then folds the form into a tidy review summary card and fires a success toast.

Illustrative UI only — not intended for real medical use.