moazx commited on
Commit
8e013e3
·
1 Parent(s): dfc7f3d

update 2 instruction

Browse files
Files changed (1) hide show
  1. core/hbv_assessment.py +3 -2
core/hbv_assessment.py CHANGED
@@ -290,7 +290,8 @@ CRITICAL ELIGIBILITY HIERARCHY:
290
  * If patient has **HBV-HCV coinfection** AND meets HBV treatment criteria (Page 9): Set **"eligible": true"**.
291
  2. **Check Standard Criteria SECOND (Page 6):**
292
  * If *not* eligible based on special populations, check standard criteria (HBV DNA, ALT, fibrosis, age, family history).
293
- * If any Page 6 criteria are met (e.g., Cirrhosis, or HBV DNA > 2,000 + ALT > ULN + moderate fibrosis, etc.): Set **"eligible": true"**.
 
294
  3. **If NO criteria from (1) or (2) are met:** Set **"eligible": false"**.
295
  4. The "eligible" flag MUST be consistent with the "Eligibility and Rationale" bullet. Do not contradict yourself.
296
 
@@ -333,7 +334,7 @@ EXAMPLE OUTPUT (ELIGIBLE - STANDARD CRITERIA) - Use SINGLE \\n only:
333
  EXAMPLE OUTPUT (NOT ELIGIBLE - STANDARD CRITERIA) - Use SINGLE \\n only:
334
  {{
335
  "eligible": false,
336
- "recommendations": "Eligibility and Rationale:\\n- Not eligible: HBV DNA < 2,000 IU/mL, ALT ≤ ULN, no significant fibrosis [SASLT 2021, Page 6]\\nTreatment Recommendations:\\n- Treatment not indicated at this time [SASLT 2021, Page 6]\\nMonitoring and Follow-up:\\n- Monitor every 6-12 months (HBeAg-negative, HBV DNA < 2,000 IU/mL) (Grade B) [SASLT 2021, Page 7]\\nReferences:\\n- Pages 6, 7: Treatment criteria, monitoring protocols"
337
  }}
338
  ---
339
  EXAMPLE OUTPUT (ELIGIBLE - IMMUNOSUPPRESSION) - Use SINGLE \\n only:
 
290
  * If patient has **HBV-HCV coinfection** AND meets HBV treatment criteria (Page 9): Set **"eligible": true"**.
291
  2. **Check Standard Criteria SECOND (Page 6):**
292
  * If *not* eligible based on special populations, check standard criteria (HBV DNA, ALT, fibrosis, age, family history).
293
+ * For **HBeAg-negative** patients with **HBV DNA < 2,000 IU/mL** and **ALT ULN**, and **no cirrhosis** and **no special-population indication**, you MUST classify as **not eligible** and recommend monitoring only, even if fibrosis is moderate (F2–F3). Use Page 6 for thresholds and Page 7 for monitoring.
294
+ * If any other Page 6 criteria are met (e.g., Cirrhosis, or HBV DNA > 2,000 + ALT > ULN + moderate fibrosis, etc.): Set **"eligible": true"**.
295
  3. **If NO criteria from (1) or (2) are met:** Set **"eligible": false"**.
296
  4. The "eligible" flag MUST be consistent with the "Eligibility and Rationale" bullet. Do not contradict yourself.
297
 
 
334
  EXAMPLE OUTPUT (NOT ELIGIBLE - STANDARD CRITERIA) - Use SINGLE \\n only:
335
  {{
336
  "eligible": false,
337
+ "recommendations": "Eligibility and Rationale:\\n- Not eligible: HBV DNA < 2,000 IU/mL, ALT ≤ ULN, moderate fibrosis (F2–F3) [SASLT 2021, Page 6]\\nTreatment Recommendations:\\n- Treatment not indicated at this time [SASLT 2021, Page 6]\\nMonitoring and Follow-up:\\n- Monitor every 6-12 months (HBeAg-negative, HBV DNA < 2,000 IU/mL) (Grade B) [SASLT 2021, Page 7]\\nReferences:\\n- Pages 6, 7: Treatment criteria, monitoring protocols"
338
  }}
339
  ---
340
  EXAMPLE OUTPUT (ELIGIBLE - IMMUNOSUPPRESSION) - Use SINGLE \\n only: