About this work

Purpose
Capture the seven weighted Wells criteria — clinical signs of DVT (+3), PE most likely (+3), heart rate > 100 (+1.5), immobilisation or recent surgery (+1.5), previous DVT/PE (+1.5), haemoptysis (+1), and malignancy (+1) — and the patient's haemodynamic status, and produce a graded report — total score (0 to 12.5), two-level and three-level bands, recommended pathway, and flagged issues — to direct the diagnostic pathway.
Specification
Spec-driven: the living domain spec defines the data model, the additive weighted scoring engine, and the flag rules. The same engine grades both the form and the dashboard.
Documentation
Drawn from Wells et al. (Thromb Haemost 2000; Ann Intern Med 2001), NICE NG158, and the PERC rule. The output selects the next diagnostic step; it does not diagnose or exclude PE on its own.