About this work

Purpose
Stratify the risk of rebleeding and death after acute upper GI bleeding — scoring age, shock (from heart rate and systolic blood pressure), and comorbidity for a pre-endoscopy (clinical) score of 0-7, and diagnosis and stigmata of recent haemorrhage for a full (post-endoscopy) score of 0-11, where a full score of 2 or below identifies a low-risk group — to support admission, monitoring, and escalation decisions, flagging shock, high-risk stigmata, upper GI malignancy, and high total scores for action.
Specification
Spec-driven: the living domain spec defines the data model, the per-parameter thresholds, the shock derivation, the risk bands, and the flag rules. The same engine grades both the form and the dashboard.
Documentation
Drawn from Rockall et al. (Gut 1996), NICE CG141, and related upper-GI-bleeding guidance. A risk estimate and escalation prompt, not a diagnostic or treatment decision.