Closed samussiah closed 4 years ago
Feature testing complete.
[x] Confirm that 'rRatio' has been added as an option under points size, and that the points are sized appropriately when it is clicked.
[x] Confirm that a new 'R Ratio by Visit' chart is visible in the participant details when the point is clicked. The chart should have the following features:
[x] Filter to id = 5090-02 and confirm that R ratio values (shown on point mouseover) are correct for each plot type. Use the clinical-trials\renderer-specific\allQuads.csv dataset and this settings object: { "max_width": 600, "value_col": "LBORRES", "measure_col": "TESTNAM", "visit_col": "VISIT", "studyday_col": "STUDYDAY", "normal_col_low": "LBORRESLO", "normal_col_high": "LBORRESHI", "id_col": "SUBJID", "group_cols": [ "TRTA", "SEX" ], "filters": [ { "value_col": "TRTA", "label": "Treatment" }, { "value_col": "SEX", "label": "Sex" }, { "value_col": "SUBJID", "label": "ID" } ], "measure_values": { "ALT": "ALT (SGPT)", "AST": "AST (SGOT)", "TB": "Total Bilirubin", "ALP": "Alkaline Phosphatase" }, "baseline": { "value_col": "STUDYDAY", "values": [ 1 ] } }
[x] R ratio should be calculated based on the selected study day for the "by study day" view. Using the "R Ratio by Visit" chart as a guide, confirm that the R ratio value updates when study day changes.
[x] R ratio should be calculated using the timepoint when AST is maximized on the "max values view". This can be confirmed using id = 5090-02 in \example 2. For that participant, the summary R Ratio value (shown hovering over the point) should be 6.09 - from study day 84, when max ALT occurred. Note that this is not the maximal R Ratio, which was 9.12 from study day 14.
All regression tests passed.
Release Summary
This release refactors (and greatly simplifies) the configuration for the axis and point size controls.
Test Notes
[x] add_measures - Confirm that the
add_measures
setting adds additional options under the x-Axis and point size controls. settings ={add_measures:true}
[x] _options settings - Confirm that the new "all" option works as expected for the axes and point-size controls. By default, all options should be shown for x and point size, and the y-axis control should be hidden since TB is the only option. Check that changing settings to
{x_options:["ALT","ALP"],y_options="all", point_size_options:["TB","AST"]}
works as expected both with and withoutadd_measures:true
.[x] _default settings - Confirm that changing the
_default
settings updates the default values for the given controls on initial load, and that the controls still work as expected. settings ={x_default:"ALP",y_options="all", y_default:"ALT", point_size_default:"rRatio"}
[x] Long measure names used - Confirm that long measure names now appear in the x, y and point size controls by default (e.g. "Aminotransferase, alanine (ALT)" instead of "ALT". Confirm that this works with
add_measures:true
as well as the default view.[x] ULN Cuts - Check that updating the cuts object works as expected. With the settings below, TB should have its cut point set to 2, ALP should be 4, AST should be 5 and all other measures should be 6.
[x] ULN Cuts - Using the same settings as above, change Display Settings control to mDish and then, TB should have its cut point set to 4.8, ALP should be 4.8, AST should be 5.8 and all other measures should be 6.8.
[x] Manually add a custom measure - Confirm that a single new measure is added to the x axis and point size controls with the settings below. Adding
add_measures:true
to the settings should still add all measures. settings ={measure_values:{ige:"IgE"}}