About this work

Purpose
Capture a structured advance decision — personal details, mental-capacity declaration, circumstances, general and life-sustaining treatment refusals, exceptions, other wishes, lasting power of attorney, healthcare-professional review, and legal signatures — and produce a validity report: overall validity status, fired validity rules, and flagged issues, to support clinical and legal review.
Specification
Spec-driven: the living domain spec defines the data model, the validity-checking engine, and the flag rules. The same engine drives both the form and the dashboard.
Documentation
Validity is checked against the legal requirements of the Mental Capacity Act 2005, including the special requirements for refusing life-sustaining treatment.