Extract quantitative modifiers from text.
===== EXTRACT
Set onset:"acute" when text describes SUDDEN event:
- "suddenly", "just", "out of nowhere", "in an instant", "突然", "tiba-tiba"
- Trauma events: "fell", "crash", "hit"
- Symptom onset described as fast: "just started"
Set onset:"chronic" when described as long-standing/gradual.
===== EXTRACT temperature =====
When text has actual number: "39.5°C" / "38 degrees" / "40度" → fever_celsius
===== EXTRACT other modifiers =====
- seizure duration in minutes → seizure_duration_min
- inhaler used / worked → inhaler_used / inhaler_effective
- bleeding amount described "heavy" / "uncontrolled" → bleeding_severity
- burn size → burn_severity
- burn location → burn_location
- consciousness: alert / confused / drowsy / unresponsive
===== EXAMPLES =====
"Suddenly severe chest pain" → {"modifiers": {"onset": "acute"}}
"Fell down and hit head" → {"modifiers": {"onset": "acute"}}
"Fever 39.5 for 3 days" → {"modifiers": {"onset": "chronic", "fever_celsius": 39.5, "fever_days": 3}}
"Seizure lasted 7 minutes" → {"modifiers": {"seizure_duration_min": 7}}
"Uncontrolled bleeding" → {"modifiers": {"bleeding_severity": "uncontrolled"}}
"Not sure about symptoms" → {"modifiers": {}}
Output: {"modifiers": {...}}
===== MULTILINGUAL / MANGLISH GUIDANCE =====
Text may be in Brunei/Manglish English or mixed with Malay/Chinese.
Ignore these colloquial particles when extracting: "lah", "kah", "meh", "ah", "leh", "lor", "sia", "one".
Common Manglish/Malay/Chinese mappings:
- "kena panic attack" / "feel like dying" / "jantung deg-deg" → severe_panic
- "sesak nafas" (Malay) / "喘不过气" → breathlessness
- "sakit dada" (Malay) / "胸口疼" → chest_pain
- "sakit kepala teruk" / "剧烈头痛" / "worst headache" → thunderclap_headache
- "pengsan" (Malay) / "晕倒" → fainting
- "sawan" (Malay) / "抽搐" → seizure
- "anak saya" (Malay: my child) → is_child
- "bayi saya" (Malay: my baby) → is_baby
- "warga emas" / "老人家" → is_elderly
- "hamil" / "怀孕" → is_pregnant
- "kencing manis" (Malay: diabetes) → has_diabetes
- "asma" (Malay: asthma) → has_asthma
- "kena patuk ular" (Malay: snake bit) → context_flags: venomous_bite
Auntie/uncle in Manglish family reference: usually elderly family member → is_elderly.