ask-openmed
它能做什么
这项技能会把临床文本请求分配到合适的 OpenMed 工作流程,例如录入、隐私处理、信息提取或核验。适合处理临床记录、但不确定应从哪一步开始的人。
适用场景
- ✓当临床数据请求范围很广、涉及多个阶段(例如录入、提取和共享)的时候。
- ✓当不确定某份记录是否包含需要先去标识化的患者数据的时候。
- ✓当你想知道哪个 OpenMed 工作流程适合某项临床文本任务的时候。
技能链接
https://github.com/maziyarpanahi/openmed/blob/master/skills/ask-openmed/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我有一批患者出院记录,想提取其中的诊断并分享结果。应该从哪里开始?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会梳理你的目标,检查是否可能包含患者信息,然后选择对应的技能。不明确的请求会先交给隐私步骤处理。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Ask OpenMed
Use this skill as the first pass when a request does not name a focused OpenMed workflow. It selects an existing skill identifier; it does not process input, download a model, call a service, or make a clinical decision. No mandatory network call is part of this route.
Deterministic routing contract
Apply these rules in order:
- Normalize only the stated goal: lowercase it, trim surrounding whitespace, and collapse repeated whitespace. Do not inspect or copy the data payload.
- Apply the intake boundary. If the goal matches an Intake row, select the first matching intake skill even when the goal also names a later stage. If sensitivity is unclear, its next handoff is the privacy gate: deidentifying-clinical-text, before extraction, exchange, or verification sees the parsed content.
- For a goal with no intake cue, apply the privacy override. If it asks to
analyze, extract, exchange, share, upload, or verify clinical or personal
content and is not explicitly marked safe, start at the privacy gate. The
only safe markers are
synthetic input,synthetic note,synthetic record,synthetic dataset,input is synthetic,data is synthetic,already de-identified, andalready deidentified. A marker does not count whenno,not,never,unknown, oruncertainoccurs in the four normalized words before it. Treat every ambiguous safety statement as sensitive. - Otherwise inspect the remaining tables in the fixed handoff order shown below. Treat each comma-separated cue as a case-insensitive substring of the normalized goal, and select the first matching row. Every cue cell is a comma-separated list of alternatives; conjunctions have no special meaning. Do not add synonyms or infer cues from the payload. This stage order and row order break every tie.
- If no row matches, use building-with-openmed as the orientation fallback.
Route output should contain only the selected category, skill identifier, matched rule index, and next handoff. Never echo the request, input values, exception text, or detected spans into a log or report.
For a multi-stage request, route one stage at a time in this fixed handoff order: intake → privacy → extraction → exchange → verification. A later stage does not bypass the privacy gate merely because it was named first.
Intake
Choose the first skill for turning an external document or record format into local, processable input.
| Goal cues | First skill | Continue with |
|---|---|---|
| laboratory table, lab table | extracting-lab-tables | privacy, then verification |
| scan, fax, image, PDF, CSV, table, document OCR | ingesting-clinical-documents | privacy, then extraction |
| C-CDA, CCD, CDA XML | parsing-ccda-documents | privacy, then extraction |
| HL7 v2, ADT, ORU, MDM, OBX, pipe-delimited feed | parsing-hl7v2-messages | privacy, then extraction |
| DICOM header, DICOM-SR metadata | extracting-dicom-metadata | privacy, then extraction |
| pull FHIR records, page FHIR records, FHIR server | fetching-fhir-resources | privacy, then extraction |
Privacy
Use the privacy table both for an explicit privacy goal and for the privacy override. The first row is the default gate for unspecified sensitive input.
| Goal cues | First skill | Continue with |
|---|---|---|
| remove clinical identifiers, mask clinical identifiers, redact clinical text, anonymize clinical text, de-identify clinical text | deidentifying-clinical-text | extraction or exchange |
| find identifiers, detect identifiers, PII entities | extracting-pii-entities | de-identification or review |
| privacy policy, privacy profile | configuring-privacy-policies | de-identification |
| PHI in logs, PHI in errors, PHI in telemetry, no-PHI logging | enforcing-nophi-logging | verification |
| de-identify non-English text, multilingual de-identification | deidentifying-multilingual-text | extracti |
常见问题
它会处理我的记录吗?
不会。它只选择下一步的工作流程,不处理数据、不调用服务,也不做临床决策。
为什么隐私检查要排在最前面?
如果可能存在原始的临床或个人信息,这项技能会先进入去标识化关口,然后才进行任何分析或共享。
记录能跳过隐私检查吗?
只有在明确标注为合成数据或已去标识化的情况下才可以。
详情
作者的原始描述
Choose the first OpenMed workflow skill for an intake, privacy, extraction, exchange, or verification request using deterministic local routing. Use when a goal is broad, spans several clinical-data stages, or leaves the data-sensitivity status unclear; the privacy gate is selected before downstream work when raw clinical or personal content may be present.
repo: maziyarpanahi/openmed
热度
- GitHub 星标
- 5.8k
- 排名
- #14666
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
annotating-variants
5.8k帮你的智能体预测基因变异的作用,把 HGVS 名称转换为基因组位置,并使用免费的公共注释工具添加人群频率。
assembling-fhir-bundles
5.8k把多份 FHIR 健康记录打包成一个事务 Bundle,可直接发送给 EHR 系统,并正确链接其中的内部引用。
auditing-deid-leakage
5.8k扫描已去标识化的临床文本,查找残留的标识符,例如社会安全号、银行卡号、电子邮件地址和日期,若仍有残留则阻止发布。
auditing-deidentification-runs
5.8k为每次去标识化运行生成一份带签名、可复现的记录,显示修改了什么以及原因,记录中不包含任何患者数据。