12 Commits

Author SHA1 Message Date
mike cullerton
51c6871d06 Update mock data to use new valid review type 2022-03-30 10:30:27 -04:00
Dan
a401c41b23 Setting a minimum date for which to import studies.
Merging in code to improve performance of calculating percent complete for a study.
Assureing we have a primary investigator for the front page (another merge)
2022-03-18 15:27:45 -04:00
Dan
ef5aca4fe4 ReviewType now comes back with the user studies, so we don't need to make an additional query to get it. 2022-03-18 09:59:10 -04:00
mike cullerton
199fe0626a Assert that if we get null for DATELASTMODIFIED, we use the value in DATECREATED 2022-03-17 15:56:44 -04:00
mike cullerton
d0ddc7a00f Updated to match new UVA API endpoint 2021-12-06 14:39:49 -05:00
mike cullerton
4e13ea6704 Fixing test mocks
- study_details returned in a list
- added `Q_COMPLETE` and `HSRNUMBER` to user_studies
- `required_docs` totally different from what we had
2021-11-08 09:55:06 -05:00
mike cullerton
ab8714c93e Remove HSRNUMBER from mock data 2021-08-16 13:01:51 -04:00
mike cullerton
c6b1fd4e52 Fix for failing tests. Q_COMPLETE is no longer a column in the PB Mock study table. 2021-04-05 13:18:56 -04:00
Dan Funk
fd0adb1d43 Updated the study status to use a different enumeration. Migration correctly handles modifying the enum.
INCOMPLETE = 'Incomplete in Protocol Builder',
  ACTIVE = 'Active / Ready to roll',
  HOLD = 'On Hold',
  OPEN = 'Open - this study is in progress',
  ABANDONED = 'Abandoned, it got deleted in Protocol Builder'
2020-04-21 17:13:30 -04:00
Aaron Louie
b965276310 Adds a mock study with same ID a one from data loader. 2020-03-02 15:01:41 -05:00
Aaron Louie
305118e90e Adds a test for get_studies endpoint 2020-03-02 14:42:30 -05:00
Dan Funk
2cc6010c8d Protocol builder connections 2020-02-20 13:30:04 -05:00