Risk Score
Category: Healthcare Standards
Node id: risk-score
Standards: HIPAA, GDPR, SOC2
Calculates validated clinical risk scores including Framingham, ASCVD, CHA2DS2-VASc, HAS-BLED, Wells DVT, Morse Fall Scale, and Caprini VTE
What it does
- Framingham 10-year cardiovascular risk calculation
- ASCVD pooled cohort equations risk estimation
- CHA2DS2-VASc stroke risk scoring for atrial fibrillation
- HAS-BLED bleeding risk assessment
- Wells DVT clinical prediction score
- Morse Fall Scale for fall risk
- Caprini VTE risk stratification
Use cases
- Cardiovascular risk stratification in primary care
- Anticoagulation decision support (CHA2DS2-VASc vs HAS-BLED)
- Inpatient fall risk assessment
- Post-surgical VTE prophylaxis recommendations
- Population health risk screening
Runtime
- Performance tier:
fast
Input ports
| Name | Type | Required | Description |
|---|---|---|---|
patient | json | Yes | Patient data including demographics, vitals, conditions, and clinical factors |
Output ports
| Name | Type | Required | Description |
|---|---|---|---|
result | json | No | Risk score result with score, risk level, factors, and recommendations |
metadata | json | No | Execution metadata (score_type, risk_level) |
success | boolean | No | Operation success flag |
Settings
Basic
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| Score Type | score_type | enum | No | framingham | framingham, ascvd, cha2ds2vasc, hasbled, wells_dvt, morse_fall, caprini | Clinical risk score to calculate |
Errors
| Code | Description |
|---|---|
PATIENT_REQUIRED | Patient data with demographics and clinical factors is required |
UNSUPPORTED_SCORE_TYPE | Score type not recognized |
MISSING_FIELDS | Required patient fields for the selected score are missing |
Runtime notes
- Required patient fields vary by score_type; missing fields default to zero/false
- risk_level is one of: low, moderate, high, very_high
- The metadata output duplicates score_type and risk_level for easy routing downstream
- CHA2DS2-VASc and HAS-BLED are often used together for anticoagulation decisions
See Build any workflow for how to put nodes together and Ports, types and data flow for how port types connect.
Quelque chose n'est pas clair ? Envoyez vos commentaires sur la documentation par courriel.