正文
获取原文件README.md
v0.2.0 修复发布
新增明确的上游 manifest 引用,D014 可追溯源清单。画像与推测字段关联不是临床标准映射证明。
D-series medical data/knowledge processing skill #002.
Purpose: validate schema grain, keys, patient/encounter/specimen/order linkage, duplicates, missingness, orphan risk, join coverage, and cardinality after D001 intake and before PHI processing or clinical fact extraction.
Install into a Codex project
Place this directory under:
.agents/skills/haonan-d002-clinical-schema-linkage-profiler/
Main command
python scripts/profile_schema.py \
--manifest /path/to/source_manifest.json \
--input-path /path/to/original/source-package \
--output-root ./runs/haonan-d002
Validate the result:
python scripts/validate_profile.py ./runs/haonan-d002/<package-id>/schema_linkage_profile.json
Run bundled regression/security tests:
python scripts/self_test.py
D002 uses only the Python standard library. It performs no network access, executes no source-package code, emits no sampled patient values, and writes only under the chosen output directory.
当前版本:v0.2.1
本模块既有运行逻辑保持;本次与其他模块统一发布0.2.1,并执行原有回归。不得仅凭版本号推断新增临床能力。
以SKILL.md顶部发布合同和references/repair-v0.2.1.md为准,历史自测描述不代表全面临床验收。