About this work

Purpose
Capture a structured MAT B1 certificate and produce a validated result — completeness status, the active Part A / Part B and doctor / midwife branch, and flagged issues — to support correct issuance and DWP acceptance.
Specification
Spec-driven: the living domain spec defines the data model, the validation rules engine, and the flag rules. The same engine validates both the form and the dashboard.
Documentation
Follows the DWP MAT B1 guidance for health professionals: issue only when satisfied of pregnancy, not more than 20 weeks before the expected week of confinement (EWC), in ink, on an officially numbered form.