跳到正文

D006 临床语境与状态判定

整理临床事实的否定、确定程度、时间、主体和明确状态,区分既往、家族史与当前信息,为后续归并提供语境依据。

个人 Skill知识加工20 个文件浏览次数 0
开始使用

下载前阅读 SKILL.md 中的使用条件,并确认所用工具支持对应能力。

输入资料
Required: D005 fact_extraction_manifest.json with overall_status=ready_for_context_resolution; D005 finalized clinical_fact_drafts.jsonl; D004 StructuredDocuments referenced through D005 provenance for narrative context.… 阅读本节完整说明
  1. 获取完整包,保留配套文件的目录结构。
  2. 按照原文准备所需工具、依赖与输入资料。
  3. 阅读对应使用步骤与输入输出说明,在自己的环境中验证结果。

使用提示摘自原文,配套文件保留来源版本;实际运行条件以各包说明为准。

正文

获取原文件

README.md

v0.2.0 修复发布

结构化状态使用精确枚举,不再用 substring:unconfirmed 不等于 confirmed,inactive 不等于 active。矛盾状态保留 unknown/review。

D-series clinical data processing Skill 006.

Purpose: turn D005 mention-level ClinicalFactDrafts into context-aware facts by resolving negation/polarity, certainty, temporality, experiencer and explicit clinical status while preserving provenance and concept identity.

Key examples:

  • 否认胸痛 -> negative / confirmed
  • 不能排除肺栓塞 -> positive / possible
  • 既往心肌梗死 -> historical, not automatically resolved
  • 父亲患2型糖尿病 -> family experiencer
  • later 不支持肺栓塞 -> refuted, and may form a transition from earlier suspicion if structured times are reliable

D006 is local-only, standard-library-only, does not map terminology, does not merge synonyms, and does not finalize medication actions.

Run the bundled self-test:

python scripts/self_test.py

当前版本:v0.2.1

读取/最终化时重查D005对应隐私收据。否定cue按mention前后位置及转折边界定作用域,排除无诱因/未缓解这类修饰对象不同的cue,并记录排除原因与offset。其父/其母等指代归family;双重否定不确定时review。confidence_kind明确为uncalibrated_rule_score。

以SKILL.md顶部发布合同和references/repair-v0.2.1.md为准,历史自测描述不代表全面临床验收。

CONTACT HAONAN

联系haonan

医疗 AI · 产品与独立开发

刘浩南

关注医疗 AI 从 demo 到真实落地,聚焦产品化、商业化与院内工作流效率提升。

12年医疗产研经验,大湾区头部医疗AI公司前产品总监,独立开发者

医疗 AI 产品化医疗 AI 商业化院内工作流效率
刘浩南的微信联系二维码
微信扫一扫,联系 haonan