inou/api/tracker_prompts/extract_birth.md

17 lines
603 B
Markdown

Extract birth and perinatal details from this medical document. Return a JSON array or null.
Each entry:
- type: "delivery"
- value: (empty)
- summary: date + type, e.g. "Feb 26, 2020, premature 26 SSW"
- timestamp: "YYYY-MM-DD" birth date
- data: {"type": "premature/vaginal/cesarean", "gestational_weeks": 26, "weight_g": 3200, "apgar_1": 8, "apgar_5": 9, "complications": "..."}
Include only fields present in the document.
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}}