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
+22
View File
@@ -60,6 +60,28 @@
},
"osce_enabled": { "type": "boolean" },
"department_name": { "type": "string" },
"exam_items": {
"type": "array",
"items": {
"type": "object",
"required": ["item_code", "item_name", "item_type", "result_text"],
"properties": {
"item_code": { "type": "string", "minLength": 1, "maxLength": 64 },
"item_name": { "type": "string", "minLength": 1, "maxLength": 128 },
"item_type": { "type": "string", "minLength": 1, "maxLength": 32 },
"category": { "type": "string", "maxLength": 64 },
"result_text": { "type": "string", "minLength": 1 },
"result_structured": {
"oneOf": [{ "type": "object" }, { "type": "null" }]
},
"is_key": { "type": "boolean" },
"is_abnormal": { "type": "boolean" },
"score_weight": { "type": "number", "exclusiveMinimum": 0 },
"display_order": { "type": "integer", "minimum": 0 }
},
"additionalProperties": false
}
},
"traditional": {
"type": "object",
"properties": {