13 Commits

Author SHA1 Message Date
mike cullerton
688023a248 Added table selected_user for ticket 319.
We now store a user's selected_user so they see a filtered list of studies when returning to the PB Mock homepage
2021-05-11 16:33:44 -04:00
mike cullerton
650cd5c40a Changed column name in irb_info from RB_OF_RECORD to IRB_OF_RECORD 2021-04-16 16:39:36 -04:00
mike cullerton
40f45202df Ticket 275 - adding new API endpoint for IRB Study Info
models.py
 - Added new IRBInfo model
 - Added relationship to Study table

forms.py
 - Added form to edit the data
 - Added column in Study table for link to edit new info

__init__.py
 - Added route for new form page
 - Added method to update the db
2021-04-08 17:35:24 -04:00
mike cullerton
15dc53f957 Removed Q_COMPLETE from the StudySchema fields, because it is no longer a column. It is a relationship now. 2021-04-02 11:48:09 -04:00
mike cullerton
d9f46de161 The Q_COMPLETE form field on the new/edit study page is changing from boolean to option select.
Model Changes:
Delete Q_COMPLETE column from study table.
Add Q_COMPLETE to study table as relationship to new IRBStatus table
Add IRBStatus table.
Add IRBStatusSchema for API JSON
2021-04-01 12:39:09 -04:00
mike cullerton
c260e6a465 Added new fields for study_details
Changed some field types

Removed 2 unused documents from required documents list
Changed the name of required documents from Required to Documents
2021-03-30 10:56:23 -04:00
mike cullerton
9d839bb85c Changed to match real Protocol Builder
- Removed `Scientific Contact` from Investigator types
- Changed study_details SPONSORS_PROTOCOL_REVISION_DATE data type from integer to date
- Added 8 new fields to study_details
2021-03-25 13:11:27 -04:00
mike cullerton
93b87f806f Ticket 209
Alter Study table so that TITLE can be longer than 80 characters
2021-02-22 12:36:10 -05:00
Dan Funk
b2b8e278db Adding a sponsors endpoint 2020-08-25 10:26:29 -04:00
Aaron Louie
0e4cd7d130 Adds/edits sponsors for a given study. 2020-08-13 15:19:55 -04:00
Aaron Louie
be441a7c53 WIP: Adds sponsor model, mock sponsors list, and form for adding sponsors to a study. 2020-08-12 19:15:16 -04:00
Aaron Louie
2d2fad73dd Fixes WTForms deprecation warnings 2020-06-16 15:50:46 -04:00
Aaron Louie
a633cc7c09 Reorganizes files for consistency between repos. Completely refactors Dockerfile to install from wheel. 2020-05-24 18:30:57 -04:00