medical-soap-note-creation
它能做什么
这项技能为 AI 提供一种方法,把非结构化的临床就诊摘要转换为标准 SOAP 病历。适合需要整理就诊记录的临床医生和医务人员。
适用场景
- ✓当我手上有患者就诊的零散记录,需要整理成 SOAP 格式时。
- ✓当我希望根据就诊信息起草评估和计划部分时。
- ✓当我需要一份可以添加到电子健康记录中的临床病历时。
技能链接
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/medical-soap-note-creation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我:这是我今天患者就诊的零散记录。请把它整理成完整的 SOAP 病历,我可以添加到档案中。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 先提取人口学信息、主诉、检查发现、检验结果和用药等关键细节,再把它们放入 SOAP 的四个部分,并起草评估与计划。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Medical SOAP Note Creation
This skill provides a systematic approach to converting unstructured clinical encounter summaries into professional, comprehensive SOAP notes ready for electronic health record documentation.
Overview
SOAP notes organize clinical information into four standard sections:
- Subjective: Patient's reported symptoms and history
- Objective: Measurable clinical findings and data
- Assessment: Clinical diagnosis and reasoning
- Plan: Treatment strategy and follow-up
Step-by-Step Instructions
Step 1: Extract Key Information
Review the clinical encounter summary and identify:
- Patient demographics (age, sex, relevant history)
- Chief complaint and history of present illness
- Review of systems findings
- Physical examination results
- Diagnostic test results (labs, imaging)
- Current medications and allergies
- Past medical/surgical history
Step 2: Structure the SOAP Note
Organize information into the four SOAP sections:
Subjective (S):
- Chief complaint in patient's own words
- History of present illness (onset, duration, severity, aggravating/relieving factors)
- Review of systems (pertinent positives and negatives)
- Relevant past medical, family, and social history
Objective (O):
- Vital signs
- Physical examination findings by system
- Laboratory and imaging results
- Current medication list
Assessment (A):
- Primary diagnosis with ICD-10 code(s)
- Differential diagnoses if applicable
- Clinical reasoning connecting findings to diagnosis
Plan (P):
- Medications (new prescriptions, changes, discontinuations)
- Treatments and procedures
- Patient education provided
- Follow-up arrangements
- Return precautions
Step 3: Write the Complete Note
Compose the full SOAP note in a single write_file operation to ensure completeness and efficiency:
from write_file import write_file
soap_note = """SOAP NOTE
Date: [Encounter Date]
Patient: [Patient Name/ID]
SUBJECTIVE:
[Patient's reported symptoms and history in organized paragraphs]
OBJECTIVE:
[Clinical findings and data in organized sections]
ASSESSMENT:
[Diagnosis with clinical reasoning and ICD codes]
PLAN:
[Specific, actionable treatment steps and follow-up]
"""
write_file(path="soap_note.txt", content=soap_note)
Step 4: Quality Checklist
Before finalizing, verify:
- All four SOAP components present and clearly labeled
- ICD-10 codes included for all diagnoses
- Plan contains specific, actionable items with timelines
- Follow-up instructions are clear and specific
- Return precautions included
- Note is comprehensive (typically 3000-10000 characters for complex cases)
Best Practices
- Be Specific: Use quantifiable measurements and precise clinical terminology
- Include ICD Codes: Always pair diagnoses with appropriate ICD-10 codes
- Actionable Plans: Ensure each plan item has clear next steps, dosages, and timelines
- Single Operation: Write the complete note in one
write_fileoperation for efficiency and consistency - Professional Tone: Use clinical language appropriate for medical records
- Patient-Centered: Include patient education and shared decision-making when applicable
Example Structure
SOAP NOTE
Date: 2024-01-15
Patient: [Name], [Age], [Sex]
SUBJECTIVE:
CC: [Chief complaint]
HPI: [History of present illness using OLDCARTS or similar framework -
onset, location, duration, characteristics, aggravating/relieving factors,
timing, severity]
ROS: [Review of systems - pertinent positives and negatives by system]
PMH: [Past medical history]
PSH: [Past surgical history]
Medications: [Current medications with dosages]
Allergies: [Known allergies and reactions]
FH: [Family history]
SH: [Social history]
OBJECTIVE:
VS: T [temp], BP [blood pressure], HR [heart rate], RR [respiratory rate],
SpO2 [oxygen saturation], Wt [weight]
General: [Appearance, distress level]
HEENT: [Head, eyes, ears, nose, throat findings]
CV: [Cardiovascular examination]
Resp: [Respiratory examination]
Abd: [Abdominal examination]
MSK: [Musculoskeletal examination]
Neuro: [Neurological examination]
Skin: [Dermatological findings]
Labs: [Relevant laboratory results with values and reference ranges]
Imaging: [Imaging study results]
ASSESSMENT:
1. [Primary diagnosis] - ICD-10: [code]
[Brief clinical reasoning supporting diagnosis]
2. [Secondary diagnosis if applicable] - ICD-10: [code]
[Brief c
常见问题
我应该提供哪些信息?
患者信息、主诉、症状、检查结果、检验结果、用药、过敏史和病史。
它会包含诊断编码吗?
技能描述中提到了 ICD 编码,因此在信息支持时,病历中可能会包含这些编码。
需要临床医生审核吗?
需要。临床医生应在用于健康记录前核对病历的准确性。
详情
作者的原始描述
Transform unstructured clinical encounters into comprehensive SOAP notes with ICD codes and care plans
repo: HKUDS/AgentPilot
热度
- GitHub 星标
- 7.8k
- 排名
- #12897
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
agentpilot
7.8k帮你的智能体准备任务并运行 AgentPilot 循环,逐步改进项目:循环会提出修改、测试修改并为其打分。
openspace
7.8k帮你的智能体设置 OpenSpace,这是一个用于存储和获取智能体技能的工具,并通过 MCP 将其连接到你的 AI 应用。
rsi-arena
7.8k帮你的智能体设置并运行标准 AI 基准测试,例如 AIME 和 Terminal-Bench,用来比较不同的改进方法。
experiment-guide
7.8k帮你的智能体规划小型实验、阅读实验结果并记录发现,同时研究如何改进一个程序。