Clinical Decision
Category: AI & ML
Node id: clinical-decision
Standards: HIPAA
Clinical scoring algorithms (qSOFA, NEWS2, CHA2DS2-VASc, Wells PE) and custom LLM-powered decision rules
What it does
- qSOFA sepsis screening score
- NEWS2 national early warning score
- CHA2DS2-VASc stroke risk scoring
- Wells PE probability assessment
- Custom LLM-powered clinical decision rules
- Structured risk level classification
Use cases
- Sepsis early detection in emergency departments
- Automated patient deterioration scoring
- Stroke risk assessment for atrial fibrillation patients
- Pulmonary embolism pre-test probability
- Custom clinical protocol evaluation via AI
Runtime
- Performance tier:
variable
Input ports
| Name | Type | Required | Description |
|---|---|---|---|
patient_data | json | Yes | Patient data with vitals and clinical parameters |
Output ports
| Name | Type | Required | Description |
|---|---|---|---|
result | json | No | Clinical decision result (score, risk level, details, interpretation, recommendations) |
metadata | json | No | Execution metadata (algorithm used) |
success | boolean | No | Operation success flag |
Settings
Basic
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| Algorithm | algorithm | enum | Yes | qsofa, news2, cha2ds2vasc, wells_pe, custom | Clinical scoring algorithm to apply | |
| Model | model | string | No | gpt-4o | Model name for custom algorithm | |
| Decision Rules | decision_rules | text | No | "" | Custom decision rules (for custom algorithm) |
Auth
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| LLM Endpoint | llm_endpoint | string | No | "" | LLM API endpoint (required for custom algorithm) | |
| API Key | api_key | secret | No | Bearer token for LLM endpoint (custom algorithm) |
Errors
| Code | Description |
|---|---|
ALGORITHM_REQUIRED | No algorithm specified in configuration |
PATIENT_DATA_REQUIRED | Missing patient_data input |
UNSUPPORTED_ALGORITHM | Algorithm name not recognized |
LLM_ENDPOINT_REQUIRED | Custom algorithm requires llm_endpoint |
LLM_REQUEST_FAILED | HTTP request to LLM endpoint failed |
Runtime notes
- Each algorithm expects different patient_data fields: qSOFA needs systolic_bp/respiratory_rate/gcs; NEWS2 needs additional spo2/pulse/temperature/consciousness; CHA2DS2-VASc needs age/sex/comorbidity booleans
- result shape varies by algorithm — qSOFA/NEWS2 have risk_level, CHA2DS2-VASc has recommendation, Wells PE has risk_level with float score
- The custom algorithm delegates to an LLM and returns free-form JSON — validate the decision shape in downstream nodes
- Built-in algorithms are deterministic and fast; custom algorithm has variable latency due to LLM call
See Build any workflow for how to put nodes together and Ports, types and data flow for how port types connect.
Etwas unklar? Senden Sie Feedback zur Dokumentation per E-Mail..