Diagnosis Assist
Category: AI & ML
Node id: diagnosis-assist
Standards: HIPAA
AI-powered medical differential diagnosis assistance
What it does
- AI-powered differential diagnosis generation
- Multi-provider support (OpenAI, Anthropic)
- Specialty-focused analysis (cardiology, neurology, etc.)
- Confidence scoring for each differential
- Rare disease inclusion option
- Urgency classification (emergency, urgent, soon, routine)
Use cases
- Emergency department differential diagnosis support
- Primary care diagnostic decision assistance
- Specialist consultation preparation
- Medical education and training scenarios
Runtime
- Performance tier:
variable
Input ports
| Name | Type | Required | Description |
|---|---|---|---|
symptoms | json | Yes | Array of symptoms (strings or objects with name/duration/severity) |
patient_history | json | No | Patient medical history (medical_history, medications, allergies) |
vitals | json | No | Vital signs |
lab_results | json | No | Laboratory results |
demographics | json | No | Patient demographics (age, gender) |
Output ports
| Name | Type | Required | Description |
|---|---|---|---|
result | json | No | Main result containing diagnosis, differential, confidence, reasoning, and recommendations |
metadata | json | No | Execution metadata including tokens and diagnosis_count |
success | boolean | No | Whether the operation succeeded |
Settings
Basic
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| Provider | provider | enum | No | anthropic | openai, anthropic | LLM provider |
| Model | model | string | No | "" | Model name (auto-selected if empty) | |
| Focus Area | focus_area | enum | No | general | general, cardiology, neurology, gastroenterology, respiratory, endocrine, infectious, oncology | Medical specialty focus |
| Max Differentials | max_differentials | number | No | 5 | min 1; max 20 | Maximum number of differential diagnoses |
| Include Rare Diseases | include_rare_diseases | boolean | No | false | Include rare diseases in differentials |
Auth
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| API Key | api_key | secret | No | API key for the LLM provider |
Advanced
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| Temperature | temperature | number | No | 0.2 | min 0; max 1 | Sampling temperature |
| Max Tokens | max_tokens | number | No | 2000 | min 1 | Maximum tokens for response |
Errors
| Code | Description |
|---|---|
SYMPTOMS_REQUIRED | No symptoms array provided in inputs |
INVALID_PROVIDER | Provider must be openai or anthropic |
LLM_REQUEST_FAILED | LLM API call failed or returned error |
PARSE_ERROR | Failed to parse LLM response as structured diagnosis |
Runtime notes
- result.diagnosis is an array of Diagnosis objects with condition, confidence, severity, supporting_findings, reasoning, suggested_tests, red_flags
- result.differential is the highest severity across all diagnoses; result.confidence is an urgency string (immediate/urgent/soon/routine)
- LLM response is parsed as JSON array — if parsing fails, a single fallback diagnosis is returned with the raw response in reasoning
- Always includes a disclaimer in result.recommendations that this is AI-assisted, not a clinical diagnosis
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.