{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Consultation Note",
"type": "object",
"required": ["chief_complaint", "present_illness", "plan"],
"properties": {
"consultation_date": {
"type": "string",
"format": "date-time"
},
"chief_complaint": {
"type": "string",
"description": "Reason why the patient comes"
},
"present_illness": {
"type": "string",
"description": "Detailed description of current illness"
},
"past_history": {
"type": "string",
"description": "Relevant medical history"
},
"physical_examination": {
"type": "string",
"description": "Physical examination findings"
},
"vital_signs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {"type": "string"},
"value": {"type": "string"},
"unit": {"type": "string"}
}
}
},
"diagnoses": {
"type": "array",
"items": {
"type": "string",
"source": "ICD-10-CM-US-2026"
}
},
"plan": {
"type": "string",
"description": "Treatment and follow-up plan"
},
"prescribed_medication": {
"type": "array",
"items": {
"type": "object",
"properties": {
"medication": {"type": "string"},
"dose": {"type": "string"},
"frequency": {"type": "string"},
"duration": {"type": "string"}
}
}
},
"requested_tests": {
"type": "array",
"items": {"type": "string"}
},
"next_appointment": {
"type": "string"
}
}
}