Dan Funk
c3ca4f5c4f
Merge branch 'dev' into new-irb-info-event-727
2022-04-29 16:48:53 -04:00
mike cullerton
ac356f09c8
Add new IRB Info event
2022-04-25 16:18:09 -04:00
mike cullerton
d8a73563ee
New IRB Info status and event
2022-04-21 11:13:00 -04:00
mike cullerton
71bb50e5e1
Add IRB Info event
2022-04-20 12:41:30 -04:00
mike cullerton
59899cc4c2
Update IRBInfoSchema to include STATUS and DETAIL
...
Add IRBInfoErrorSchema
2022-04-07 17:28:07 -04:00
mike cullerton
382152e48a
Add IRB_ONLINE_STATUS column to irb_info table
2022-04-07 17:26:39 -04:00
mike cullerton
f36e487d49
Add Gene Therapy doc
2022-03-28 14:20:53 -04:00
Dan
29be81126a
Jeff made a modification to the API endpoints so we can reduce the number of calls we need to make. Just mimicing that adjustment in our mock api.
2022-03-17 19:54:49 -04:00
mike cullerton
55fd3ec59a
Schema for the new UVA StudyCreator endpoint
2021-12-06 15:49:39 -05:00
mike cullerton
1ce36e2619
Fixed bug in required_documents
2021-11-11 15:32:02 -05:00
mike cullerton
473b80a76c
Fixes for required_documents' column name changes.
...
AUXDOC -> AUXILIARY_DOC
AUXDOCID -> SS_AUXILIARY_DOC_TYPE_ID
Modified RequiredDocumentSchema to match UVA IRB.
2021-11-09 09:42:18 -05:00
mike cullerton
e4cf9b6389
Make sure we have valid IRBEVENT and IRB_STATUS objects
2021-08-17 12:28:46 -04:00
Dan Funk
c2438d4b70
Merge pull request #67 from sartography/irb-events-and-status-427
...
Irb events and status #427
2021-08-17 10:32:41 -04:00
mike cullerton
0bed15ac8a
Added 2 IRBInfoEvents, and 1 IRBInfoStatus
...
Also, we now return the IDs in the `current_irb_info` API endpoint
2021-08-16 16:36:22 -04:00
mike cullerton
ec916c274b
Remove HSRNUMBER from model and api schema
2021-08-16 10:09:18 -04:00
mike cullerton
d71360f49a
Merge branch 'dev' into post-submission-states-247
...
# Conflicts:
# pb/pb_mock.py
Conflicts were import statements
2021-06-23 11:16:09 -04:00
mike cullerton
f764c5ed79
Cleanup
2021-06-22 15:29:16 -04:00
mike cullerton
693ba256ba
Change `IRBEVENT` and `IRB_STATUS` to use `field.Method`
...
Created `get_event` and `get_status` to retrieve the specific values
2021-06-22 15:28:57 -04:00
mike cullerton
cebeac38fc
Twiddling
2021-06-22 12:03:41 -04:00
mike cullerton
d79bb3cf7b
Minor changes
2021-06-22 11:47:56 -04:00
mike cullerton
abfd127aa1
Trying marshmallow_sqlalchemy.SQLAlchemySchema instead of Marshmallow.Schema
2021-06-21 12:59:31 -04:00
mike cullerton
adc6954f9d
Modify irb_info table to use new IRBEVENT and IRB_STATUS table relationship
...
Remove IRBEVENT and IRB_STATUS from API schema. (Need to figure out how to get this to work)
2021-06-18 14:42:09 -04:00
mike cullerton
c0f2ca1d38
Adding classes to support the new IRB Post Submission States and Events
2021-06-18 14:40:11 -04:00
mike cullerton
e1abdd33d1
Form and model changes for the new column
2021-05-26 16:51:41 -04:00
mike cullerton
26365c4643
Updated required documents list
2021-05-26 14:11:12 -04:00
mike cullerton
c0593548bf
Revert changes
2021-05-26 10:49:11 -04:00
mike cullerton
fe6000f35c
Revert changes
2021-05-26 10:46:43 -04:00
mike cullerton
87e26c03d9
Trying to get QuerySelectMultipleField to work correctly using query_factory.
...
Having trouble seeding the form with previous choices
2021-05-20 11:00:05 -04:00
mike cullerton
d2c1dcd40f
Added model `RequiredDocumentList` for new required_documents_list table.
...
Added function `get_all_required_documents` to return master list of required_documents
Deleted static master list of required_documents from RequiredDocument class
Replaced static master list with call to new method
2021-05-19 10:30:06 -04:00
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