凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate
English
Reg Citation Normalizer
Recognize and normalize medical-device regulatory citation numbers — turn inconsistent citation styles in your documents into a canonical structure with recommended standard formatting.
When to use
- Reviewing registration dossiers, writing IFU/technical files, or checking regulatory-translation consistency (normalizing 21 CFR / ISO·IEC / GB·YY-T / NMPA decree citations).
- Triggers: citation normalize, 21 CFR, ISO 13485, YY/T, NMPA.
How to use
python scripts/cite_normalize.py normalize "21 CFR 820.30(a)(6)"
python scripts/cite_normalize.py parse "ISO 13485:2016 clause 7.5.1" --json
python scripts/cite_normalize.py check report.md [--json]
Workflow
- Run
checkon a document to find formatting issues; - Use
normalize/parseto get canonical forms; - Batch-fix and re-review.
Supported citation types
| Type | Example input | Canonical output |
|---|---|---|
| US 21 CFR | 21 CFR 820.30 (a)(6) |
21 CFR 820.30(a)(6) |
| ISO/IEC | ISO 13485:2016 clause 7.5.1 |
ISO 13485:2016, 7.5.1 |
| Chinese line standard | YY/T 0287-2017 7.5.1 |
YY/T 0287-2017, clause 7.5.1 |
| Decree | 国家市场监督管理总局令第47号 |
agency normalized (incl. SFDA→CFDA→NMPA history) |
| Announcement | 国家药监局公告 2021年第76号 |
normalized announcement |
Errata (check mode)
- Missing space between code and number (
ISO13485→ISO 13485); lowercase code; misplaced§; year separator (:vs dash); undated ISO references → prompt to add year.
Boundary
- Format recognition and normalization only; does NOT validate clause content currency (use openstd.samr.gov.cn / ecfr.gov / iso.org).
- Rules per ISO/IEC Directives Part 2 §10.4–10.5, GB/T 1.1-2020, GPO/eCFR, NMPA official style.
Requirements
Python 3.8+, zero third-party deps.
Evidence & safety
- Evidence: TBD; Version: 1.0.1; Security: no independent scan (TBD).
中文
reg-citation-normalizer
医疗器械法规引用编号识别与规范化工具。把文档里五花八门的法规引用写法,解析成规范结构并给出标准书写建议。
何时用
- 注册文档审校、IFU/技术文件编写、法规翻译一致性检查时。
- 触发词:法规引用、21 CFR、ISO 13485、YY/T、NMPA。
用法
python scripts/cite_normalize.py normalize "21 CFR 820.30(a)(6)"
python scripts/cite_normalize.py parse "ISO 13485:2016 clause 7.5.1" --json
python scripts/cite_normalize.py check report.md [--json]
流程
- 对文档跑 check 发现书写问题;
- 用 normalize/parse 得到规范写法;
- 批量回改并复核。
覆盖的引用类型
| 类型 | 示例输入 | 规范化输出 |
|---|---|---|
| 美国 21 CFR | 21 CFR 820.30 (a)(6) |
21 CFR 820.30(a)(6) |
| ISO/IEC | ISO 13485:2016 clause 7.5.1 |
ISO 13485:2016, 7.5.1 |
| 中国行标 | YY/T 0287-2017 7.5.1 |
YY/T 0287-2017,第7.5.1条 |
| 部令 | 国家市场监督管理总局令第47号 |
机构归一化(含 SFDA→CFDA→NMPA 沿革) |
| 公告 | 国家药监局公告 2021年第76号 |
规范公告写法 |
勘误能力(check 模式)
缺空格、大小写、§ 误用、年份连接符、ISO 未注日期等 9 类常见书写问题。
边界声明
只做格式识别与规范化,不校验条款内容正确性与现行有效性(查现行状态用 openstd.samr.gov.cn / ecfr.gov / iso.org)。
环境要求
Python 3.8+,零第三方依赖。
证据与安全声明
- 证据:TBD;版本:1.0.1;安全:未做独立扫描(TBD)。
