Medical Triage
Classify medical messages into priority categories based on urgency indicators, symptoms, and patient context.
Categories
| Icon | Category | Description |
|---|
| 🔴 | INLINECODE0 | Life-threatening symptoms, emergency keywords, severe pain |
| 🟡 |
urgent | Needs same-day attention, worsening symptoms, medication issues |
| 🟢 |
routine | Follow-ups, general questions, appointment requests |
How It Works
This skill analyzes message content for:
- - Emergency keywords: chest pain, difficulty breathing, severe bleeding, etc.
- Symptom severity: pain scale, duration, progression
- Patient context: chronic conditions, medications, recent procedures
- Temporal urgency: "right now", "getting worse", "can't wait"
Input Format
The skill expects a JSON array of messages:
CODEBLOCK0
Output Format
Returns a JSON array with triage results:
CODEBLOCK1
Usage
This skill is designed to be invoked programmatically via OpenClaw's skill execution API.
Medical Urgency Indicators
Critical (🔴)
- - Chest pain, pressure, or tightness
- Difficulty breathing or shortness of breath
- Severe bleeding
- Loss of consciousness
- Stroke symptoms (FAST: Face, Arms, Speech, Time)
- Severe allergic reaction
- Suicidal ideation
Urgent (🟡)
- - High fever (>103°F / 39.4°C)
- Persistent vomiting or diarrhea
- Medication side effects
- Worsening chronic condition
- Moderate pain (7-8/10)
- Infection signs (redness, swelling, pus)
- Mental health crisis
Routine (🟢)
- - Appointment requests
- Prescription refills
- General health questions
- Follow-up on stable conditions
- Lab result questions
- Mild symptoms (<3 days)
Integration
This skill can be invoked via the OpenClaw CLI:
CODEBLOCK2
Or programmatically:
CODEBLOCK3
Recommended Model: Claude Sonnet 4.5 (openclaw models set anthropic/claude-sonnet-4-5)
医疗分诊
根据紧急指标、症状和患者背景,将医疗信息分类为优先等级。
分类类别
| 图标 | 类别 | 描述 |
|---|
| 🔴 | 紧急 | 危及生命的症状、紧急关键词、剧烈疼痛 |
| 🟡 |
加急 | 需要当天关注、症状恶化、用药问题 |
| 🟢 | 常规 | 随访、一般问题、预约请求 |
工作原理
该技能分析信息内容中的:
- - 紧急关键词:胸痛、呼吸困难、严重出血等。
- 症状严重程度:疼痛等级、持续时间、进展情况
- 患者背景:慢性病、用药情况、近期手术
- 时间紧迫性:现在、越来越糟、等不及了
输入格式
该技能需要一个 JSON 格式的信息数组:
json
[
{
id: msg-123,
subject: 胸痛,
from: patient@example.com,
date: 2026-02-27T10:30:00Z,
body: 我已经胸痛了一个小时...
}
]
输出格式
返回一个包含分诊结果的 JSON 数组:
json
[
{
id: msg-123,
category: critical,
reason: 提及胸痛 - 可能存在心脏急症,
confidence: 0.95
}
]
使用方式
该技能旨在通过 OpenClaw 的技能执行 API 以编程方式调用。
医疗紧急指标
紧急 (🔴)
- - 胸痛、压迫感或胸闷
- 呼吸困难或气短
- 严重出血
- 意识丧失
- 中风症状(FAST:面部、手臂、言语、时间)
- 严重过敏反应
- 自杀意念
加急 (🟡)
- - 高烧(>103°F / 39.4°C)
- 持续呕吐或腹泻
- 药物副作用
- 慢性病恶化
- 中度疼痛(7-8/10)
- 感染迹象(发红、肿胀、脓液)
- 心理健康危机
常规 (🟢)
- - 预约请求
- 处方续药
- 一般健康问题
- 稳定状况的随访
- 化验结果咨询
- 轻微症状(<3天)
集成
该技能可通过 OpenClaw CLI 调用:
bash
openclaw skill run medical-triage --input [{id:msg-1,subject:...,body:...}] --json
或以编程方式调用:
typescript
const result = await execFileAsync(openclaw, [
skill, run, medical-triage,
--input, JSON.stringify(messages),
--json
]);
推荐模型:Claude Sonnet 4.5(openclaw models set anthropic/claude-sonnet-4-5)