init medical training project
This commit is contained in:
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"$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" },
|
||||
"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
|
||||
}
|
||||
Reference in New Issue
Block a user