cr-connect-workflow/crc/models
Dan Funk c7484267e1 For the main approval endpoints - we now group the approvals by study. So you get one record back for each study, but it may have other approvals along with it as "related_approvals".
We now cache the LDAP records - so we look in our own database for the record before calling out to ldap for the details when given a straight up computing id like dhf8r.

Added "date_approved" to the approval model.

And moved the approver and primary investigator into real associated models to make it easier to dump.

Fixed a problem with the validation that was causing it to throw incorrect errors on valid workflows. Getting it to behave a little more like the front end behaves, and respecting the read-only fields.  But it was mainly to do with always returning all the data with each form submission.
2020-06-02 18:17:00 -04:00
..
__init__.py Refactor models into seperate directories 2019-12-31 16:32:47 -05:00
api_models.py Adds approvals to study schema. Adds approvals endpoint 2020-05-31 22:46:32 -04:00
approval.py For the main approval endpoints - we now group the approvals by study. So you get one record back for each study, but it may have other approvals along with it as "related_approvals". 2020-06-02 18:17:00 -04:00
file.py This adds additional file data details to the study model as well. 2020-05-31 21:15:40 -04:00
ldap.py For the main approval endpoints - we now group the approvals by study. So you get one record back for each study, but it may have other approvals along with it as "related_approvals". 2020-06-02 18:17:00 -04:00
protocol_builder.py Updated the study status to use a different enumeration. Migration correctly handles modifying the enum. 2020-04-21 17:13:30 -04:00
stats.py Refactor the stats models, and assure they are very correct across all tests with the workflow api. 2020-05-04 10:57:09 -04:00
study.py Fixing broken test by using proper FileSchema 2020-05-31 22:00:52 -06:00
user.py Building out the boilerplate code to make pushing forward on this a little friendlier. 2020-05-22 18:25:00 -04:00
workflow.py Ludicrously stupid launch in a refactor of the way all files work in the system at a time where I crave sleep and peace above all other things. 2020-05-28 20:03:50 -04:00