131 Commits

Author SHA1 Message Date
mike cullerton
2941e6540c Don't need this 2022-06-17 13:15:37 -04:00
mike cullerton
1df280c753 Add new API endpoint for pre_review info 2022-06-17 13:12:24 -04:00
mike cullerton
0fbbfcf898 Add form and route to delete pre_reviews 2022-06-17 13:11:56 -04:00
mike cullerton
adcc41de7e Add form and method to gather pre_review information
Add route to form method
2022-06-17 13:11:22 -04:00
mike cullerton
29b8eb89ff Add pre_review table to store info for new endpoint
Add schemas to return pre_review info json
2022-06-17 13:05:32 -04:00
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
Dan Funk
054dc61850
Merge pull request #77 from sartography/irb-info-updates-693
IRB Info updates #693
2022-04-12 08:13:24 -04:00
mike cullerton
a537402693 Set 'Downloaded' as default for IRB_ONLINE_STATUS in the form 2022-04-08 08:46:46 -04:00
mike cullerton
63e2cdc257 Add new IRB_ONLINE_STATUS field to the irb_info form 2022-04-07 17:30:33 -04:00
mike cullerton
0e4d496e6e If IRB_ONLINE_STATUS is 'Error' return IRBOnlineErrorSchema
Otherwise, return the normal IRBOnlineSchema (as a list)
2022-04-07 17:29:23 -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
dce208c28c IRB Info updates
Change Event and Status labels
Include IDs indropdowns
2022-03-30 11:59:09 -04:00
Mike Cullerton
454a5c3d59
Merge pull request #76 from sartography/review-type-updates-692
Update Review Types #692
2022-03-30 10:36:43 -04:00
mike cullerton
ffb5b3890d Remove review types 23, 24
Add review type 21
2022-03-30 10:25:57 -04:00
mike cullerton
19bc45a94b Add REVIEW_TYPE and REVIEWTYPENAME to Study Details schema in PB Mock API 2022-03-29 11:44:36 -04:00
mike cullerton
f36e487d49 Add Gene Therapy doc 2022-03-28 14:20:53 -04:00
mike cullerton
d3f34ab1f4 Change IRB_REVIEW_TYPE to a select field 2022-03-25 12:57:03 -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
41ffb11a5a Use the new schema 2021-12-06 15:49:56 -05: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
6de57c4e89 setting many=True didn't work here, so I wrapped the result in a list. 2021-11-09 09:31:53 -05:00
mike cullerton
f3f341a593 Be explicit about labels.
Otherwise, WTForms changes the underscores to spaces and removes the all caps.
2021-08-26 15:05:26 -04:00
mike cullerton
5369858151 Add description for UVA_STUDY_TRACKING 2021-08-26 15:03:48 -04: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
c7a0196a38 Remove HSRNUMBER from form and form processing 2021-08-16 10:08:37 -04:00
mike cullerton
19d2dd6d7c Added a new route that creates a new study for e2e tests in the frontend. 2021-08-04 12:16:49 -04:00
mike cullerton
3018b174f7 We still store both values--REVIEW_TYPE and REVIEWTYPENAME, in the database 2021-07-12 17:10:00 -04:00
mike cullerton
25e789fe91 Merge REVIEW_TYPE and REVIEWTYPENAME fields in StudyDetailsForm into one form field containing both the type and the type name.
This makes it easier for the configurator and for processing in the backend.
2021-07-12 17:09:09 -04:00
mike cullerton
5fe2151ad4 Simplified the code for maintainability.
SonarCloud didn't like the scent of my code.
2021-06-30 13:49:45 -04:00
mike cullerton
1b80f62136 Make sure our db query returned a result.
If not, don't seed data to the form.
2021-06-30 13:35:59 -04:00
mike cullerton
242668b244 We now add 2 documents for doc code 39. 2021-06-24 11:14:38 -04:00
mike cullerton
e64ad057eb Explicitly delete the IRBInfoEvent and IRBInfoStatus entries when deleting a study.
Interesting note, this was not necessary for SQLite, but failed the Travis CI build that used Postgres.
2021-06-23 12:33:04 -04:00
mike cullerton
40f5ffc24b You mock me, Travis 2021-06-23 11:49:34 -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
4f226ce12e Set api back to the way it was 2021-06-22 15:13:02 -04:00
mike cullerton
cebeac38fc Twiddling 2021-06-22 12:03:41 -04:00
mike cullerton
274e6cf5c3 Way to intercept data sent to IRBInfoSchema 2021-06-22 11:48:47 -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