score_clinical_instrument
Score a governed clinical instrument from structured responses: IBS-SSS (ibs-sss, 5 slider items 0-100 + days×10, total 0-500) and GERD-Q (gerd-q, 6 choice items, total 0-18, ≥8 consistent with GERD). Returns total, percent of max, band label + interpretation, and the instrument citation. Every item is required; invalid/missing responses are rejected without defaulting or clamping. Educational scoring — not a diagnosis. Also POST /api/tools/score-instrument.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| responses | Yes | item_id → numeric value (see instrument spec at /tools/instruments.json) | |
| instrument | Yes |