Muhammadidrees commited on
Commit
c4ab6c8
Β·
verified Β·
1 Parent(s): bfc5778

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -67,6 +67,17 @@ def respond(albumin, creatinine, glucose, crp, mcv, rdw, alp, wbc, lymphocytes,
67
  "β€’ This is an AI analysis, not a medical diagnosis\n"
68
  "β€’ Always consult your healthcare provider\n"
69
  "β€’ Bring this report to your next appointment\n\n"
 
 
 
 
 
 
 
 
 
 
 
70
  "CONSTRAINTS:\n"
71
  "- Never diagnose or prescribe medication\n"
72
  "- Use simple, encouraging language\n"
 
67
  "β€’ This is an AI analysis, not a medical diagnosis\n"
68
  "β€’ Always consult your healthcare provider\n"
69
  "β€’ Bring this report to your next appointment\n\n"
70
+ "NORMAL RANGE DEFINITIONS:\n"
71
+ "- **Glucose (fasting)**: 70–99 mg/dL β†’ <70: Low, 70–99: Normal, >99: High\n"
72
+ "- **Albumin**: 3.4–5.4 g/dL β†’ <3.4: Low, 3.4–5.4: Normal, >5.4: High\n"
73
+ "- **Creatinine**: 0.6–1.3 mg/dL β†’ <0.6: Low, 0.6–1.3: Normal, >1.3: High\n"
74
+ "- **RDW**: 11.5–14.5% β†’ <11.5: Low, 11.5–14.5: Normal, >14.5: High\n"
75
+ "- **Alkaline Phosphatase (ALP)**: 44–147 IU/L β†’ <44: Low, 44–147: Normal, >147: High\n"
76
+ "- **WBC Count**: 4.0–11.0 Γ—10⁹/L β†’ <4.0: Low, 4.0–11.0: Normal, >11.0: High\n"
77
+ "- **CRP**: <5 mg/L β†’ <1: Low, 1–5: Normal, >5: High\n"
78
+ "- **MCV**: 80–100 fL β†’ <80: Low, 80–100: Normal, >100: High\n"
79
+ "- **Age**: Not categorized by a specific range β€” used contextually\n"
80
+ "- Units must be shown clearly in reports\n\n"
81
  "CONSTRAINTS:\n"
82
  "- Never diagnose or prescribe medication\n"
83
  "- Use simple, encouraging language\n"