PerryLink/dsh-medrec-qc ↗★ 0

dsh-medrec-qc

质控病案首页形式并提示逻辑矛盾 适合医院病案室质控员,用于核对病案首页形式与逻辑自洽性。

包名
dsh-medrec-qc
兼容性
待验证
Harness 依赖范围
>=0.1.2-rc.1 <0.2.0 || >=0.2.0-0 <0.3.0
Cordis 依赖范围
^4.0.2
版本
0.2.2
许可证
NOASSERTION
最近更新
2026年10月8日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-medrec-qc

Configuration

Every tunable lives in the Schemastery schema in src/config.ts, so it can be changed from cordis.yml without editing code. The per-rule field lists and thresholds live in rules/medrec-qc.yaml.

KeyTypeDefaultDescription
rulesFilestringrules/medrec-qc.yamlRule-pack path, relative to the package root
disabledRulesstring[][]Rule ids to stop running; each appears in skipped
onlyRulesstring[][]Run only these rule ids; empty runs every rule
skipNotesstring""Note appended to every skipped reason
timeoutMsnumber120000Cooperative tool timeout budget

Rule-level parameters worth knowing:

  • MR-001 fields — the required-column list, taken from 附件1 of 国卫办医发〔2016〕24号. Extend it with your own mandatory columns without touching the code.
  • MR-011 underOnePattern / adultPattern — the accepted age spellings.
  • MR-013 maxChecked — the other-diagnosis count above which ordering is flagged for review.
  • MR-014 rules — the sex-versus-diagnosis term lists, expressed as { sex, label, pattern }.