Skip to content

feat(clinical): use reports with flag to build indications and evidence#141

Merged
DSuveges merged 4 commits into
mainfrom
il-report-flags
Jun 10, 2026
Merged

feat(clinical): use reports with flag to build indications and evidence#141
DSuveges merged 4 commits into
mainfrom
il-report-flags

Conversation

@ireneisdoomed

Copy link
Copy Markdown
Contributor

This PR includes:

  • Upgrade clinical_mining to 0.6.3 and adjustments in the clinical_report step
  • Added two new flags in clinical_indication: NO_DISEASE and NO_DRUG to track cases where the diseases or drugs arrays come empty as a result of the extraction
    • 796 reports without diseases
    • 0 reports without drugs
  • Changed logic for INDIRECT_PRIMARY_PURPOSE: here we are using the drug_intent field we extracted with the LLM work: 113,636 reports have this flag now.
  • Removed UNVALIDATED_INDICATION as a QC flag for evidence_clinical_precedence and clinical_indication (more about this on the ticket)
qualityControls | count
-- | --
list[str] | u32
null | 137268
["INDIRECT_PRIMARY_PURPOSE"] | 86432
["UNVALIDATED_INDICATION"] | 27286
["INDIRECT_PRIMARY_PURPOSE", "NO_DISEASE"] | 21190
["PHASE_IV_NOT_APPROVED"] | 6673
["PHASE_IV_NOT_APPROVED", "UNVALIDATED_INDICATION"] | 4279
["INDIRECT_PRIMARY_PURPOSE", "UNVALIDATED_INDICATION"] | 3621
["INDIRECT_PRIMARY_PURPOSE", "PHASE_IV_NOT_APPROVED"] | 1577
["INDIRECT_PRIMARY_PURPOSE", "PHASE_IV_NOT_APPROVED", "UNVALIDATED_INDICATION"] | 816
["NO_DISEASE"] | 796

@ireneisdoomed ireneisdoomed requested a review from DSuveges June 10, 2026 09:13

@DSuveges DSuveges left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All changes makes sense. I'm moving the relevant configurations to orchestration 26.06 branch.

@DSuveges DSuveges merged commit 58a5955 into main Jun 10, 2026
2 checks passed
@DSuveges DSuveges deleted the il-report-flags branch June 10, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants