Muhammadidrees commited on
Commit
0f1b622
Β·
verified Β·
1 Parent(s): a1a6bd3

Update app.py

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