Files
operating-room-monitor-server/docs/耗材产品编码与类名对照表.md
Kevin ae6300b8b2 Add rotating file logs, access noise filters, and longer RTSP start timeout.
Persist app logs under logs/app with 7-day rotation, suppress routine health/pending access lines, raise default VIDEO_OPEN_TIMEOUT_SEC to 90s, and document consumable codes plus client timeout guidance.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 13:11:51 +08:00

139 lines
5.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 耗材产品编码与类名对照表
本文档列出视觉耗材分类模型YOLO 耗材分类 + `consumable_classifier_labels.yaml`)支持的 **41 类**耗材。开录接口 `candidate_consumables`、离线批处理白名单、结果中的 `item_id` 均以此为准。
**数据源(随代码发布)**`backend/app/resources/consumable_classifier_labels.yaml`
**重要**
- 推理时类名以 **模型权重内嵌 `names`** 为准;本表与 yaml 保持一致。
- `candidate_consumables` 须传 **完整类名****产品编码label_id**;口语简称(如「纱布」「缝线」)**不会**自动映射,会导致算法白名单与模型类名无交集。
- 同一 `label_id` 若对应多个规格yaml 中以 `/` 连接;开录时可传其中任一段编码,服务端会解析为对应类名。
- `candidate_consumables` 缺省或 `[]` 时,服务端展开为下表 **全部 41 个类名**
---
## 全量对照表
| 序号 | 类名(`candidate_consumables` 可用) | 产品编码(`label_id` |
| ---: | --- | --- |
| 0 | MCuⅡ功能性宫内节育器 | `740-2-14` |
| 1 | 一次性中性电极板 | `4787-2-55` |
| 2 | 一次性使用乳胶导尿管 | `7386-10-89` |
| 3 | 一次性使用冲洗袋 | `1644-37-3` |
| 4 | 一次性使用医疗卫生用品 | `2241272` |
| 5 | 一次性使用单极手术电极 | `4805-2-50` |
| 6 | 一次性使用导尿管 | `735592/14556-4-18` |
| 7 | 一次性使用手术单 | `14764-2-4` |
| 8 | 一次性使用无菌敷贴 | `215-93-1` |
| 9 | 一次性使用无菌气管插管Tracheal Tube | `14780-3-5` |
| 10 | 一次性使用无菌注射器带针 | `1531-3-2/1531-3-1/1174-42-4/1174-42-1` |
| 11 | 一次性使用无菌采样拭子 | `15026-1-1` |
| 12 | 一次性使用气管插管 | `21444-1-2` |
| 13 | 一次性使用灭菌橡胶外科手套 | `10362-1-4` |
| 14 | 一次性使用牙垫 | `975961` |
| 15 | 一次性使用精密过滤输液器 带针 | `2295950` |
| 16 | 一次性使用肛门管 | `1518-22-4` |
| 17 | 一次性使用胃管 | `1518-34-17` |
| 18 | 一次性使用血液透析管路 | `14730-10-10` |
| 19 | 一次性使用输卵管导管 | `1380-15-1` |
| 20 | 一次性使用雾化器 | `5019-4-43` |
| 21 | 一次性使用静脉留置针 | `12591-1-184` |
| 22 | 一次性使用静脉输液针 | `129-5-30` |
| 23 | 一次性使用麻醉面罩 | `2003984` |
| 24 | 一次性内窥镜护套 | `521-31-1` |
| 25 | 一次性医用灭菌棉签 | `2237844/10183-1-29` |
| 26 | 一次性无菌喉罩 | `7386-61-46` |
| 27 | 医用凡士林敷料 | `10870-25-16` |
| 28 | 医用纱布敷料 | `19246-3-14` |
| 29 | 医用缝合针 | `583039/11207-1-64` |
| 30 | 医用脱脂棉纱布块 | `8028-4-39` |
| 31 | 可吸收性外科缝线 | `11765-1-101/1330-49-185` |
| 32 | 密闭式防针刺伤型静脉留置针 | `1281-39-3` |
| 33 | 导管固定器 | `1441340` |
| 34 | 气管切开插管 | `10869-30-7` |
| 35 | 结扎夹Ligating Clips | `14780-2-12` |
| 36 | 自粘性薄膜敷料 | `1819-4-1` |
| 37 | 血液净化装置的体外循环血路 | `739-2-1` |
| 38 | 负压引流器 | `1518-20-8` |
| 39 | 非吸收性外科缝线 | `4142-1-46` |
| 40 | 非吸收性外科缝线(蚕丝线) | `654032` |
---
## 常用口语与正确写法
下列简称 **不在** 模型类名表中,直接传入会导致算法白名单失效(日志:`allowed_names 与模型类名无交集`)。
| 口语/错误写法 | 建议改用(类名或编码) |
| --- | --- |
| 纱布 | `医用纱布敷料``19246-3-14`)或 `医用脱脂棉纱布块``8028-4-39` |
| 缝线 | `可吸收性外科缝线``11765-1-101` 等)或 `非吸收性外科缝线``4142-1-46`)或 `非吸收性外科缝线(蚕丝线)``654032` |
| 止血钳 | 表中无「止血钳」类;若业务需要请确认是否应对应其它器械类或扩展训练标签 |
| 垫单 | `一次性使用手术单``14764-2-4`);别名「一次性医用垫单」在服务端会归一化为该类名 |
---
## 开录请求示例
**按产品编码(推荐,与 HIS 编号一致)**
```json
{
"surgery_id": "123456",
"camera_ids": ["or-cam-01", "or-cam-03"],
"candidate_consumables": ["19246-3-14", "11765-1-101", "4142-1-46"]
}
```
**按完整类名**
```json
{
"surgery_id": "123456",
"camera_ids": ["or-cam-01"],
"candidate_consumables": ["医用纱布敷料", "可吸收性外科缝线", "非吸收性外科缝线"]
}
```
**医院导出对象(含消耗品编号)**
```json
{
"candidate_consumables": [
{ "消耗品编号": "14764-2-4", "名称": "一次性使用手术单" }
]
}
```
**不传候选(使用全部 41 类)**
```json
{
"surgery_id": "123456",
"camera_ids": ["or-cam-03"],
"candidate_consumables": []
}
```
---
## 多规格编码说明
部分 `label_id` 含多个规格,以 `/` 分隔。任一段均可作为 `candidate_consumables` 传入,例如:
| 类名 | 完整 label_id | 可单独传入的编码示例 |
| --- | --- | --- |
| 一次性使用无菌注射器带针 | `1531-3-2/1531-3-1/1174-42-4/1174-42-1` | `1531-3-2``1174-42-1` |
| 一次性使用导尿管 | `735592/14556-4-18` | `735592``14556-4-18` |
| 可吸收性外科缝线 | `11765-1-101/1330-49-185` | `11765-1-101``1330-49-185` |
| 一次性医用灭菌棉签 | `2237844/10183-1-29` | `2237844``10183-1-29` |
| 医用缝合针 | `583039/11207-1-64` | `583039``11207-1-64` |
---
## 相关文档
- 开录与结果接口:`docs/客户端手术通信接口说明.md` §5.2
- 候选清单行为说明:`docs/video-backends.md`