Symptom Checker - Basic triage based on described symptoms (with medical disclaimers)
Basic symptom triage powered by AI. Describes possible causes and urgency level. Not a substitute for professional medical advice.
requests library (pip install requests)OPENAI_API_KEY — for AI-based symptom analysis| Command | Description |
|---|---|
check | Analyze described symptoms |
urgent | Quick check if symptoms require emergency care |
log-symptom | Log a symptom for tracking |
history | Show symptom history |
export OPENAI_API_KEY="your_key"
# Check symptoms
python3 scripts/symptom_checker.py check --symptoms "headache, fatigue, mild fever for 2 days"
# Quick urgency assessment
python3 scripts/symptom_checker.py urgent --symptoms "chest pain and shortness of breath"
# Log a symptom
python3 scripts/symptom_checker.py log-symptom --symptom "headache" --severity 4 --notes "started after work"
# View symptom history
python3 scripts/symptom_checker.py history --days 7