medical.cha2ds2_vasc
Calculates the CHA2DS2-VASc stroke risk score for atrial fibrillation patients from age, sex, and clinical factors, returning a 0–9 score with low, moderate, or high risk.
Instructions
심방세동 환자의 뇌졸중 위험 점수 CHA2DS2-VASc를 계산한다. C=울혈성심부전, H=고혈압, A2=75세 이상(2점), D=당뇨, S2=뇌졸중/TIA(2점), V=혈관질환, A=6574세(1점), Sc=여성. 총 09점이며 risk_level은 0점 low, 1점 moderate, 2점 이상 high. age는 0~130 정수, 나머지는 bool이어야 하고 문자열 'true'는 거부한다. 판단 보조용이며 임상 결정을 대신하지 않는다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | ||
| chf | No | ||
| female | Yes | ||
| diabetes | No | ||
| hypertension | No | ||
| stroke_or_tia | No | ||
| vascular_disease | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| score | Yes | ||
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| risk_level | Yes |