feat: update medical training case and auth modules

This commit is contained in:
2026-06-03 17:34:47 +08:00
parent b4bb38b7be
commit fd0b3e1982
45 changed files with 1459 additions and 812 deletions
+4 -2
View File
@@ -29,6 +29,7 @@
"estimated_minutes": 45,
"osce_enabled": false,
"department_name": "呼吸内科",
"exam_items": [],
"teaching": {
"teaching_goal": "教学目标",
"discussion_questions": "讨论问题",
@@ -51,5 +52,6 @@
- `discussion_questions`:提取讨论题目,多个用换行分隔。
- `teacher_guide`:提取教师引导要点。
- `scoring_focus`:提取评分重点关注方向。
8. 不要生成 `scoring_rules``stages` 等字段
9. 输出必须是合法 JSON,不要包含注释或 markdown 代码块标记
8. `exam_items`:规则同传统病例;无检查数据时填 `[]`
9. 不要生成 `scoring_rules``stages` 等字段
10. 输出必须是合法 JSON,不要包含注释或 markdown 代码块标记。
+17 -2
View File
@@ -29,6 +29,20 @@
"estimated_minutes": 30,
"osce_enabled": false,
"department_name": "呼吸内科",
"exam_items": [
{
"item_code": "blood_routine",
"item_name": "血常规",
"item_type": "lab",
"category": "实验室检查",
"result_text": "WBC 12.5×10^9/L,中性粒细胞比例 72%。",
"result_structured": {"wbc": "12.5×10^9/L", "neutrophil": "72%"},
"is_key": true,
"is_abnormal": true,
"score_weight": 1.0,
"display_order": 1
}
],
"traditional": {
"standard_diagnosis": "标准诊断",
"standard_treatment": "标准治疗方案",
@@ -49,5 +63,6 @@
- `standard_diagnosis`:从原文提取或推断标准诊断。
- `standard_treatment`:从原文提取标准治疗方案。
- `guideline_reference`:引用相关临床指南名称。
8. 不要生成 `scoring_rules``stages` 等字段
9. 输出必须是合法 JSON,不要包含注释或 markdown 代码块标记
8. `exam_items`:从 PDF 中提取辅助检查/检验/影像/生命体征等可结构化项目;`item_code` 使用英文蛇形命名且同一输出内不重复;PDF 中无检查数据时填 `[]`
9. 不要生成 `scoring_rules``stages` 等字段
10. 输出必须是合法 JSON,不要包含注释或 markdown 代码块标记。