2026-05-29 15:58:00 +08:00
|
|
|
|
{
|
|
|
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
|
|
|
|
"title": "CaseFullParseResult",
|
|
|
|
|
|
"description": "C1 parse-pdf 输出 / C3 full-create 入参共用 schema(不含 scoring_rules)",
|
|
|
|
|
|
"type": "object",
|
|
|
|
|
|
"required": ["title", "case_type"],
|
|
|
|
|
|
"properties": {
|
|
|
|
|
|
"title": {
|
|
|
|
|
|
"type": "string",
|
|
|
|
|
|
"minLength": 1,
|
|
|
|
|
|
"maxLength": 255
|
|
|
|
|
|
},
|
|
|
|
|
|
"case_type": {
|
|
|
|
|
|
"type": "string",
|
|
|
|
|
|
"enum": ["traditional", "teaching"]
|
|
|
|
|
|
},
|
|
|
|
|
|
"difficulty": {
|
|
|
|
|
|
"type": "string",
|
|
|
|
|
|
"enum": ["easy", "medium", "hard", ""]
|
|
|
|
|
|
},
|
|
|
|
|
|
"chief_complaint": { "type": "string" },
|
|
|
|
|
|
"description": { "type": "string" },
|
|
|
|
|
|
"patient_age": {
|
|
|
|
|
|
"oneOf": [
|
|
|
|
|
|
{ "type": "integer", "minimum": 0, "maximum": 200 },
|
|
|
|
|
|
{ "type": "null" }
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
"patient_gender": {
|
|
|
|
|
|
"type": "string",
|
|
|
|
|
|
"enum": ["male", "female", ""]
|
|
|
|
|
|
},
|
|
|
|
|
|
"tags": { "type": "string" },
|
|
|
|
|
|
"symptom_tags": {
|
|
|
|
|
|
"type": "array",
|
|
|
|
|
|
"items": { "type": "string" }
|
|
|
|
|
|
},
|
|
|
|
|
|
"disease_tags": {
|
|
|
|
|
|
"type": "array",
|
|
|
|
|
|
"items": { "type": "string" }
|
|
|
|
|
|
},
|
|
|
|
|
|
"competency_tags": {
|
|
|
|
|
|
"type": "array",
|
|
|
|
|
|
"items": { "type": "string" }
|
|
|
|
|
|
},
|
|
|
|
|
|
"guideline_tags": {
|
|
|
|
|
|
"type": "array",
|
|
|
|
|
|
"items": { "type": "string" }
|
|
|
|
|
|
},
|
|
|
|
|
|
"knowledge_points": {
|
|
|
|
|
|
"type": "array",
|
|
|
|
|
|
"items": { "type": "string" }
|
|
|
|
|
|
},
|
|
|
|
|
|
"icd_codes": { "type": "string" },
|
|
|
|
|
|
"estimated_minutes": {
|
|
|
|
|
|
"oneOf": [
|
|
|
|
|
|
{ "type": "integer", "minimum": 1 },
|
|
|
|
|
|
{ "type": "null" }
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
"osce_enabled": { "type": "boolean" },
|
|
|
|
|
|
"department_name": { "type": "string" },
|
2026-06-03 17:34:47 +08:00
|
|
|
|
"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
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2026-05-29 15:58:00 +08:00
|
|
|
|
"traditional": {
|
|
|
|
|
|
"type": "object",
|
|
|
|
|
|
"properties": {
|
|
|
|
|
|
"standard_diagnosis": { "type": "string" },
|
|
|
|
|
|
"standard_treatment": { "type": "string" },
|
|
|
|
|
|
"guideline_reference": { "type": "string" }
|
|
|
|
|
|
},
|
|
|
|
|
|
"additionalProperties": false
|
|
|
|
|
|
},
|
|
|
|
|
|
"teaching": {
|
|
|
|
|
|
"type": "object",
|
|
|
|
|
|
"properties": {
|
|
|
|
|
|
"teaching_goal": { "type": "string" },
|
|
|
|
|
|
"discussion_questions": { "type": "string" },
|
|
|
|
|
|
"teacher_guide": { "type": "string" },
|
|
|
|
|
|
"scoring_focus": { "type": "string" }
|
|
|
|
|
|
},
|
|
|
|
|
|
"additionalProperties": false
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
"oneOf": [
|
|
|
|
|
|
{
|
|
|
|
|
|
"properties": { "case_type": { "const": "traditional" } },
|
|
|
|
|
|
"required": ["traditional"]
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"properties": { "case_type": { "const": "teaching" } },
|
|
|
|
|
|
"required": ["teaching"]
|
|
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
"additionalProperties": false
|
|
|
|
|
|
}
|