正文
获取原文件README.md
v0.2.0 修复发布
日期/时区用真实日历与 UTC 时间比较;未给时区不补 UTC。保留结束时间、文档时间及原始结束值。相对时间需要存在、同患者、同包的已解析 anchor,以及 offset_days/elapsed_days 约定。人工改时间不得顺便改变其他医学字段。
D011 turns D010 canonical ClinicalFacts into longitudinal patient timelines without inventing time precision.
What it does
- parses exact and coarse event-time candidates;
- preserves year/month/day/minute precision;
- separates occurred, planned and undated events;
- allows text-free Codex review for relative or ambiguous time;
- validates
state_transitionandsupersedingtemporal order; - supports multiple patients in one package;
- preserves every canonical fact exactly once.
What it does not do
- no diagnosis interpretation;
- no medication-state reinterpretation;
- no terminology coding;
- no OMOP/FHIR transformation;
- no network access;
- no automatic dependency installation.
Quick test
python scripts/self_test.py
当前版本:v0.2.1
保留relative时间元数据,缺绝对锚点留在未定时间;人工时间决策也不得顺便丢relative metadata。既有UTC/精度/anchor完整性检查保留。
以SKILL.md顶部发布合同和references/repair-v0.2.1.md为准,历史自测描述不代表全面临床验收。