Giter Club home page Giter Club logo

participant-visit-listing's People

Contributors

dependabot[bot] avatar emmorris avatar pburnsdata avatar samussiah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

participant-visit-listing's Issues

Replace >1 Overdue Visits filter with a linear filter.

related to #65; probably just a numeric input where the analysis data is filtered on participants with >n overdue visits, defaulting to 0

Test notes

  • The >1 Overdue Visits dropdown is now defunct.
  • The # of Overdue Visits dropdown replaces it, and appears before the Analysis Subsetter filters.
  • Its options represent the number of visits a participant is overdue. At the minimum 0 should be an option.

Add loading indicators.

to the left of the listing tab when rendering listing, to the right of the charts tab when rendering charts

Test notes

  • When loading the listing, three animated balls appear to the left of the Listing tab.
  • When loading the charts, three animated balls appear to the right of the Charts tab.
  • Depending on which tab the user is on, the corresponding three animated balls should appear when the user changes any controls or switches tabs.
  • The three animated balls should disappear as soon as the view is updated.

Add visit expectation setting.

with which to highlight future visits

Test notes

  • Expected (future) and overdue visits, e.g. visits with a status of Expected or Overdue, appear in charts as a hollow mark, i.e. one without any filling. A donut if you will.

Exclude unscheduled/early termination visits.

as implemented elsewhere

Test notes

  • Unscheduled/early termination visits do not appear in the listing or in the Schedule of Events by Visit chart.
  • Unscheduled/early termination vists should appear in the Schedule of Events by Study Day chart.

Add cell text toggle.

Test notes

  • The listing should have a checkbox in the upper left of the listing with label Display cell text.
  • Checking the checkbox should set the cell backgrounds to white and gray striping and display the text.
  • Un-checking the checkbox should set the cell backgrounds to the color of the associated visit status.

Adding back visit columns when changing filters while analysis subset is applied

Currently, when you select an analysis subset the visits are subset to the visits relevant to that analysis subset and other filters. However, I'm not sure you can get those visits back without deselecting the analysis subset.

E.g. Select 'Screen Failure' then add an analysis filter. Then highlight the other Participant Status options and notice how only screening visit (or less) remains available although other visits have information.

Test notes

  • Filter interactions, particularly between the analysis subsets and the other filters, should update the listing columns and charts per expectation.

Add column for subject status.

Add a column to the chart to indicate status of subject. DMEDS requested this issue.

Note from Kimm: " Until studies use CTMS status categories, do we need to set a maximum text size to protect column width (e.g. avoid long status names)?"

Test notes

  • Subject Status should be visible in its own column after Site and ID.

Do the wiki.

Test notes

  • Just, like, take a gander at the wiki for me, would ya?

Make the ordinal chart a heat map.

Test notes

  • Ordinal chart should have rectangles instead of circles for each visit and participant intersection.
  • Expected and overdue visits should be represented by a white circle in the middle of the rectangle.

Data-Driven Icon labels

Form DMEDS group. Requested data-driven legend info icon labels so that they could pass the desired text in. Would just be another column - although there will unfortunately be a lot of repetition.

Test notes

  • The visit status legend info icons (โ“˜) have tooltips that match the contents of the visit_status_description column in the data.

Add footnotes that explain visit statuses.

Might be most elegant to just add a new visit status footnote column to the data that explains the visit status in more detail, then add little info icons to the legend at the top.

Rotate tick labels in ordinal chart.

or figure out some way to dynamically abbreviate visit values.

Test notes

  • Visit values are rotated by 45ยฐ in the Schedule of Events by Visit chart both at the top of the chart and at the bottom.

Add visit dates.

to cell data, with which to sort columns, and to cell tooltips

Test notes

  • Visit dates appear in all visit cell tooltips in the listing and in all visit mark tooltips in the charts.
  • Visit columns in the listing sort by visit date.

Add each chart on its own tab.

or add a x-axis toggle

Test notes

  • Both charts appear on the Charts tab.
  • Each chart can be minimized or maximized, or split half-screen.

Consider adding individual tabs for each chart in addition to a side-by-side view.

maybe add a proceed/cancel alert when clicking on side-by-side view as it can be pretty un-performant

Test notes

  • Charts should be rendered on separate tabs when chart_layout = 'tabbed'.
    ** When the layout is tabbed, you'll also need to make sure "active_tab" setting is set to 'Visit Chart' or 'Study Day Chart' (it won't work properly otherwise)
  • Charts should be rendered on the same tab when chart_layout = 'side-by-side'.
    ** When the layout is side-by-side, you'll also need to make sure "active_tab" setting is set to 'Charts' or 'Listing'

Derive number of overdue visits within renderer and with analysis data.

as opposed to raw/filtered data; this probably requires adding a regular expression to identify overdue-esque visit statuses, and is calculated by participant

related to #66

Test notes

  • Verify that the # of Overdue Visits dropdown updates the subset of participants as expected. For example, set the dropdown to 2 and verify that those participants actually have two overdue visits (you may need to view the Study Day Chart/Schedule of Events by Study Day to confirm).

Add linear schedule of events plot on separate tab.

per @jwildfire

Test notes

  • A chart with participant on the y-axis and study day on the x-axis appears in the Charts tab on the right.
  • The chart reacts as expected when filters change.
  • The chart presents unscheduled visits in addition to scheduled visits.
  • Unscheduled visits are annotated with a single character.
  • Expected visits are hollow, i.e. they have no fill.

Annotate unscheduled visits in charts.

Test notes

  • Unscheduled visits are annotated in the Schedule of Events by Study Day chart with the first character of the visit value, e.g. U for Unscheduled Visit or E for Early Termination.

Make the listing heat-mappable.

Test notes

  • The listing should by default display as a heat map without text.
  • Checking the Display cell text checkbox in the upper left of the listing should set the cell backgrounds to white and gray striping and display the text.
  • Un-checking the Display cell text checkbox in the upper left of the listing should set the cell backgrounds to the color of the associated visit status.

Add export to PDF.

experimental feature, no testing needs, only works if the required third-party libraries are available (jsPDF and jsPDF-autotable)

Test notes

  • A PDF button appears between the XLSX and CSV buttons in the listing view. It only appears if the jsPDF library is loaded.
  • Upon clicking the button a download is initiated that produces a .pdf of the same structure as the listing. Currently the .pdf does not support cell formatting.

Change text of legend

DMEDS group would like to edit the text in the legend at the top.

For the black text: currently states "In Window", change to say "Entered".
For the blue text: currently states "Expected", change to "Future".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.