SafetyGraphics / hep-explorer

Interactive Graphic for Exploring Liver Function Data in Clinical Trials
https://safetygraphics.github.io/hep-explorer/test/
MIT License
10 stars 3 forks source link

Summary R Ratio should be calculated at time when maximal ALT occurs #295

Closed jwildfire closed 5 years ago

jwildfire commented 5 years ago

Background

Calculating an R ratio at any given visit is fairly simple using this formula: [(ALT/ULN) / (ALP/ULN)]. However, we also need a single “summary” R ratio value for each participant across all visits to use with the R Ratio filter.

Issue

How should we calculate this “summary” R Ratio?

  1. Take Max ALT / Max ALP (Being used in V1.0)
  2. Take Max ALT / Min ALP
  3. Calculate R Ratio at all visits, and then find max value.
  4. Use R Ratio at visit where Max ALT occurs
  5. Other

Resolution

Clinical team agreed that option 4 made the most sense, so that has been implemented in v1.1.