PerryLink/dsh-medrec-qc ↗★ 0

dsh-medrec-qc

病案首页形式质控与逻辑矛盾提示(依据国卫办医发〔2016〕24号等公开文件,仅提示差异,不作出定性结论) 适合医院病案室质控员,用于核对病案首页形式与逻辑自洽性。

パッケージ
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/08

インストール

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

ドキュメント

README 全文を読む ↗

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 }.