20 lines
843 B
Markdown
20 lines
843 B
Markdown
Extract diagnoses and medical conditions from this medical document. Return a JSON array or null.
|
|
|
|
Each entry:
|
|
- type: status ("active", "resolved", "historical")
|
|
- value: (empty)
|
|
- summary: condition name, e.g. "Posthämorrhagischer Hydrocephalus"
|
|
- search_key: ICD-10 code lowercase if available, e.g. "g91.1"
|
|
- timestamp: "YYYY-MM-DD" if diagnosis date mentioned
|
|
- data: {"icd10": "...", "status": "active/resolved", "source": "document"}
|
|
|
|
Only extract DISEASES and CONDITIONS — not procedures.
|
|
"Z. n. [procedure]" (status post procedure) belongs in surgical history, not here.
|
|
Use the EXACT wording from the document. Do NOT translate or rewrite condition names.
|
|
|
|
Every entry MUST come from text explicitly present in the document. Do NOT infer or assume.
|
|
Return null if nothing relevant is explicitly described.
|
|
|
|
Document:
|
|
{{MARKDOWN}}
|