ICD-Coding
v2.2.0ICD疾病分类与手术操作编码技能。熟练掌握中国ICD-10、ICD-9-CM-3、ICD-O编码体系,精通主要诊断选择原则(含黄锋版规则),熟悉DRG/DIP分组规则,支持诊断/手术主导词双向查找(内置词条数据库)。
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & 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).
What to consider before installing
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.Like a lobster shell, security has layers — review code before you run it.
ICD-10ICD-9codingdipdrghealthcarelatestmedical
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
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年发布,簇编码/扩展码/传统医学章节等新特性
查询指令
诊断主导词 <疾病名称> → ICD-10编码(例:诊断主导词 肺炎)
ICD查码 <编码> → 主导词路径(例:ICD查码 I10)
手术主导词 <手术名称> → ICD-9-CM-3编码(例:手术主导词 胆囊切除)
手术查码 <编码> → 主导词路径(例:手术查码 51.23)
临床术语 <医学名词> → 国家临床版ICD-10 2.0编码(例:临床术语 原发性肺癌)
ICD临床查码 <编码> → 临床术语名称(例:ICD临床查码 C34)
DRG查ICD <ICD编码> → MDC/ADRG/DRG三级分组(例:DRG查ICD I21)
DRG查ADRG <ADRG> → ADRG→DRG细分组(例:DRG查ADRG FF9)
DRG权重 <DRG代码> → 查询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技术规范
Files
19 totalSelect a file
Select a file to preview.
Comments
Loading comments…
