Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create script to analyze created annotations #639

Open
22 of 27 tasks
tamslo opened this issue Jul 27, 2023 · 0 comments
Open
22 of 27 tasks

Create script to analyze created annotations #639

tamslo opened this issue Jul 27, 2023 · 0 comments
Labels
P: Scripts Project: Scripts T: Feature Type: New Features

Comments

@tamslo
Copy link
Collaborator

tamslo commented Jul 27, 2023

Preparation

  • Get guidelines and resolve bricks
  • Refactor to have checks in single files and only configuration in main analyze file
  • Organize log to put failed checks first

Introduce checks, potentially correct, and describe in README

  • Consult text (also correct)
  • Trim leading and trailing whites paces in drug brand names (also correct)
  • Use "much" keyword only if explicitly mentioned in guideline text (usually "significantly")
  • Warning levels
    • "up to a certain dose" > yellow (but might be same as side effects)
    • “if #drug-name isn’t working for you…” > at least yellow
    • "increased risk for side effects" > at least yellow
  • Metabolization before consequence
  • Special guideline sanity:
    • Any fallback has only one guideline
    • Any and any not handled should only have one lookup value in lookup key
  • Warn if annotated but not staged (drug with guidelines)
  • Remove “You have a normal risk of side effects.” if not in external data
  • Non-metabolizers or ignored: warn if "break down" or "activate" in implication (DPYD, G6PD, SLCO1B1, MT-RNR1, HLA-B, HLA-A)
  • Single drug brand names should not contain ", " (automatically correct [split])
  • Check "slow titration" > "cautiously and slowly"
  • Check for unsused bricks
  • Check that same indication/recommendation result in same bricks (per guideline)
  • Add rule checking per medication: Guidelines should either use break down or activate

Checks to maybe implement in the future

  • Check for "still" cases if contradictory (e.g., normal but change dose)
  • Check risk severity
    • "may increase risk" used if "may" near to "risk" in guideline
    • Check "may have increased risk" in “increased risk” cases
    • Check "much" cases
@tamslo tamslo added T: Feature Type: New Features P: Scripts Project: Scripts and removed Study: Could have Study: Should have labels Jul 27, 2023
tamslo added a commit that referenced this issue Jul 27, 2023
tamslo added a commit that referenced this issue Jul 28, 2023
tamslo added a commit that referenced this issue Oct 15, 2024
tamslo added a commit that referenced this issue Oct 15, 2024
tamslo added a commit that referenced this issue Oct 15, 2024
tamslo added a commit that referenced this issue Oct 15, 2024
tamslo added a commit that referenced this issue Oct 15, 2024
@tamslo tamslo moved this from Todo to Out of Scope in PharMe Study Preparation Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: Scripts Project: Scripts T: Feature Type: New Features
Projects
Status: Out of Scope
Development

No branches or pull requests

1 participant