← Back to Skills Marketplace
192
Downloads
1
Stars
0
Active Installs
9
Versions
Install in OpenClaw
/install icd-coding
Description
ICD疾病分类与手术操作编码技能。熟练掌握中国ICD-10、ICD-9-CM-3、ICD-O编码体系,精通主要诊断选择原则(含黄锋版规则),熟悉DRG/DIP分组规则,支持诊断/手术主导词双向查找(内置词条数据库)。
README (SKILL.md)
ICD-Coding 疾病分类与手术操作编码技能
熟练掌握中国ICD-10、ICD-9-CM-3、ICD-O编码体系,精通主要诊断选择原则(含黄锋版规则),熟悉DRG/DIP分组规则,可进行疾病编码查询、诊断选择建议、编码审核等。
核心能力
- ICD-10 疾病编码查询 — 26,606条诊断主导词,支持精确+模糊双向查找
- ICD-9-CM-3 手术编码查询 — 4,620条手术主导词,含腹腔镜/开放入路区分
- 主导词双向查找 — 词→码 / 码→词,含完整多级查找路径
- 临床术语映射 — 🆕 31,106条《国家临床版ICD-10 2.0》对照,30个科室,含又称/曾称/英文名
- CHS-DRG2.0分组查询 — 🆕 409个ADRG / 655个DRG 含权重;ICD→MDC/ADRG/DRG三级映射
- 主要诊断选择规则(黄锋版) — 17个疾病类别的详细选择规范
- 临床知识支持 — 诊断学基础知识、症状鉴别、辅助检查解读
- ICD-O肿瘤编码 — ICD-O-4最新动态行为编码
- ICD-11 最新知识 ← WHO 2022年发布,簇编码/扩展码/传统医学章节等新特性
查询指令
诊断主导词 \x3C疾病名称> → ICD-10编码(例:诊断主导词 肺炎)
ICD查码 \x3C编码> → 主导词路径(例:ICD查码 I10)
手术主导词 \x3C手术名称> → ICD-9-CM-3编码(例:手术主导词 胆囊切除)
手术查码 \x3C编码> → 主导词路径(例:手术查码 51.23)
临床术语 \x3C医学名词> → 国家临床版ICD-10 2.0编码(例:临床术语 原发性肺癌)
ICD临床查码 \x3C编码> → 临床术语名称(例:ICD临床查码 C34)
DRG查ICD \x3CICD编码> → MDC/ADRG/DRG三级分组(例:DRG查ICD I21)
DRG查ADRG \x3CADRG> → ADRG→DRG细分组(例:DRG查ADRG FF9)
DRG权重 \x3CDRG代码> → 查询DRG权重(例:DRG权重 FR21)
主要诊断三最原则
- 患者住院的主要原因
- 消耗医疗资源最多
- 影响患者康复最大
常用编码速查
| 编码 | 疾病 |
|---|---|
| I10 | 原发性高血压 |
| I21.0 | ST段抬高型心肌梗死 |
| I48.x | 心房颤动 |
| I63.x | 脑梗死 |
| J18.9 | 肺炎(未特指) |
| J44.1 | 慢阻肺急性加重 |
| K85.x | 急性胰腺炎 |
| E11.9 | 2型糖尿病(无并发症) |
| E11.1 | 2型糖尿病伴酮症酸中毒 |
| C34.x | 肺恶性肿瘤 |
常用网址
- 国家医保版ICD-10查询:https://code.nhsa.gov.cn/jbzd/public/dataWesterSearch.html
- WHO ICD-10 Browser:https://icd.who.int/browse10/2022/en
- WHO ICD-11 Browser(新增!):https://icd.who.int/browse/11
详细文档
| 文档 | 内容 |
|---|---|
docs/Diagnosis_Lead_Words.md |
诊断主导词速查表(15大类+完整路径) |
docs/Surgery_Lead_Words.md |
手术主导词速查表(10大类+入路区分) |
docs/Diagnosis_Selection.md |
黄锋版主要诊断选择规则(17类疾病) |
docs/Clinical_Term_Mapping.md |
🆕 临床术语映射速查(31,106条,30个科室) |
docs/Clinical_Knowledge.md |
诊断学临床知识(症状/检查/诊断标准) |
docs/Principal_Diagnosis_Procedure.md |
编码操作规程 |
docs/DRG_Knowledge.md |
🆕 CHS-DRG2.0知识手册(26MDC/409ADRG/655DRG/权重) |
docs/ICD_Updates_2025.md |
ICD编码2024-2025年最新更新 |
docs/ICD11_Reference.md |
ICD-11全面参考(簇编码/扩展码/中国实施进展) |
docs/ICD10_Chapters.md |
ICD-10 22章详细分类 |
docs/ICD9CM3_Chapters.md |
ICD-9-CM-3 17章详细分类 |
docs/ICDO_4.md |
ICD-O-4肿瘤形态学编码 |
docs/icd_lookup_tool.py |
Python诊断/手术/临床术语查询工具 |
docs/drg_lookup_tool.py |
🆕 Python DRG分组+权重查询工具 |
data/clinical_terms.json |
🆕 临床术语映射数据库(31,106条) |
data/drg_weight.json |
🆕 DRG权重+ADRG/DRG映射(409+655条) |
data/drg_icd_map.json |
🆕 ICD→MDC/ADRG映射(38,114条) |
参考资料
- 《疾病和有关健康问题的国际分类第十次修订本(ICD-10)》
- 《ICD-9-CM-3 手术操作分类代码》
- 《ICD-O 第三版/第四版》
- 《ICD-11 MMS 参考指南》(WHO 2022)
- 《病案信息学》(第三版)
- 《诊断学(第10版)》
- 《主要诊断编码选择规则(黄锋版)》
- CHS-DRG分组方案 + DIP技术规范
Usage Guidance
Do not run this skill against real patient data until you verify its contents and behavior. Specific steps to take before installing or executing:
1) Confirm the data files: SKILL.md lists large datasets (data/clinical_terms.json, data/drg_weight.json, data/drg_icd_map.json). Check whether those files are actually included in the package — if they're missing, the included Python tools may attempt to download data or contact remote servers.
2) Inspect the Python scripts (docs/icd_lookup_tool.py and docs/drg_lookup_tool.py) before execution: look for network calls (requests, urllib, socket), subprocess/OS calls, file writes outside the package, or code that collects environment variables. If you cannot read them yourself, ask someone with Python experience to do so.
3) If scripts perform network access, verify the endpoints are legitimate (WHO, national code sites) and that data sent is limited to queries — do not allow exfiltration of PHI/secret files. Prefer running the scripts in a sandbox or offline environment initially.
4) Source validation: the skill's homepage and author source are unknown. Prefer packages with clear provenance for clinical tools; verify licensing and whether the data mapping is permitted for your use (regulatory/privacy considerations).
5) Operational safety: because this tool influences coding and potentially billing (DRG/DIP), review outputs with an experienced coder/clinician before relying on them for official records.
If any Python script makes unexpected network calls, attempts to read unrelated local files (e.g., /etc/, home directories) or writes back to external endpoints, treat the skill as unsafe and do not enable it in production.
Capability Analysis
Type: OpenClaw Skill
Name: icd-coding
Version: 2.2.0
The skill bundle is a highly detailed medical coding assistant focused on ICD-10, ICD-9-CM-3, and CHS-DRG 2.0 systems. It contains Python utility scripts (icd_lookup_tool.py and drg_lookup_tool.py) designed to parse medical Excel files and perform lookups against local JSON databases. The documentation is purely educational and referential, providing extensive medical knowledge and coding rules. No evidence of malicious intent, data exfiltration, unauthorized network access, or harmful prompt injection was found.
Capability Assessment
Purpose & Capability
SKILL.md and the docs claim built‑in datasets (e.g., data/clinical_terms.json, data/drg_weight.json, data/drg_icd_map.json) and '内置词条数据库' supporting lookups; the manifest/file list provided with the skill does not actually include those data files. That is inconsistent: either the skill expects large local databases that are missing, or the python tools will fetch data from external sources at runtime. The presence of two Python lookup tools is appropriate for an ICD/DRG lookup skill, but the missing data files are disproportionate to the declared file set.
Instruction Scope
Runtime instructions tell the agent to run the included Python tools (docs/icd_lookup_tool.py and docs/drg_lookup_tool.py). The instructions themselves do not request unrelated system files or credentials, but they reference local data files and '实时查询请使用' the scripts. Because the manifest omits the declared data files, the scripts may attempt network access or other I/O at runtime. Without inspecting the Python code, it's unknown whether they read only local data or contact external endpoints — this is a notable risk.
Install Mechanism
No install spec and no external downloads; the skill is instruction‑only with two Python scripts in the docs folder. That is low risk from an installation/extraction vector. However, executing bundled scripts still runs code on the host.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. That matches expectations for an offline coding/lookup tool and is proportionate to the stated purpose.
Persistence & Privilege
Flags like always and disable-model-invocation are default (always:false), so the skill does not demand permanent/system‑wide presence or elevated privileges. Normal autonomous invocation is allowed (platform default).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install icd-coding - After installation, invoke the skill by name or use
/icd-coding - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.2.0
v2.2.0: 新增CHS-DRG2.0分组知识(26MDC/409ADRG/655DRG/权重表),DRG查询工具;DRG权重数据基于2023年公立医院绩效考核权重表
v2.1.0
v2.1.0: 新增临床术语映射(31,106条,30个科室),《国家临床版ICD-10 2.0》对照,含又称/曾称/英文名;扩展查询工具支持临床术语查询
v2.0.0
v2.0.0: 新增诊断主导词查找工具(51k词条)、手术主导词(19k词条)、黄锋版主要诊断规则、临床知识板块
v1.3.4
ICD-Coding 1.3.4 Changelog
- 更新了《ICD-9-CM-3 手术操作编码》章节分类说明,优化了章节标题与内容对齐。
- 补充和修正了docs/ICD9CM3_Chapters.md相关文档说明,提升章节内容准确性与整洁性。
- 其他内容和编码查询、诊断建议功能保持不变。
v1.3.3
- 新增文档:添加了《docs/Guangxi_YB_Course_Knowledge.md》文件,补充广西医保局医保大讲堂相关ICD编码教学课程资源。
- 元数据更新:_meta.json文件有调整,反映了文档结构的完善。
- 其余功能和内容保持不变,持续支持ICD编码、诊断选择及DRG/DIP相关查询。
v1.3.2
ICD-Coding v1.3.2
- 新增官方文档:广西医保局ICD编码与医保大讲堂学习资源(docs/Guangxi_YB_ICD_Resource.md)
- 主要文档内(SKILL.md)补充了广西医保局学习资源的引用及指向
- 细化文档结构,新增外部资源文档链接,提升查阅便捷性
v1.3.1
ICD-Coding v1.3.1
- 新增: 增加了《2024-2025年编码研究进展》文档(docs/Coding_Research_2024_2025.md),丰富最新编码知识。
- 优化: SKILL.md中“ICD编码最新知识”板块,增加对新文档的引用,内容更详细。
- 其余文本与结构微调,无破坏性更改。
v1.3.0
ICD-Coding v1.3.0 更新日志
- 新增《ICD编码2025最新更新》专项文档(docs/ICD_Updates_2025.md)。
- 增设“ICD编码最新知识”板块,涵盖ICD-10/11和ICD-9-CM-3的年度新增、医保版与临床版区别等说明。
- 核心能力结构优化,提升对最新ICD编码规则整理与指引支持。
- 补充各类权威查询链接与更新文档引用,引导用户获取最新官方信息。
v1.2.0
ICD-Coding 1.2.0 introduces key new features and content updates for improved coding support:
- 新增ICD-O-4肿瘤形态学编码知识。
- 补充了主要诊断“三最原则”和主要手术操作“四最原则”。
- 新增DRG/DIP分组规则对诊断及手术选择的影响、详细选择规则指引。
- 丰富编码查询、诊断选择与编码审核内容,扩展参考网址与使用示例。
- 优化ICD-10、ICD-9-CM-3和ICD-O结构与示例讲解,便于实际应用。
Metadata
Frequently Asked Questions
What is ICD-Coding?
ICD疾病分类与手术操作编码技能。熟练掌握中国ICD-10、ICD-9-CM-3、ICD-O编码体系,精通主要诊断选择原则(含黄锋版规则),熟悉DRG/DIP分组规则,支持诊断/手术主导词双向查找(内置词条数据库)。 It is an AI Agent Skill for Claude Code / OpenClaw, with 192 downloads so far.
How do I install ICD-Coding?
Run "/install icd-coding" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is ICD-Coding free?
Yes, ICD-Coding is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does ICD-Coding support?
ICD-Coding is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created ICD-Coding?
It is built and maintained by liangnan (@liangnan); the current version is v2.2.0.
More Skills