From ffb5b3890d2bcfa0138cc3eaa88744b4b824bac4 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Wed, 30 Mar 2022 10:25:57 -0400 Subject: [PATCH] Remove review types 23, 24 Add review type 21 --- pb/forms.py | 5 ++--- pb/routes.py | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/pb/forms.py b/pb/forms.py index 020ab85..db73c63 100644 --- a/pb/forms.py +++ b/pb/forms.py @@ -137,12 +137,11 @@ class StudyDetailsForm(FlaskForm): IS_REVIEW_BY_CENTRAL_IRB = IntegerField(validators=[Optional()], label='IS_REVIEW_BY_CENTRAL_IRB') IRBREVIEWERADMIN = StringField(label='IRBREVIEWERADMIN') IS_UVA_COLLABANALYSIS = IntegerField(validators=[Optional()], label='IS_UVA_COLLABANALYSIS') - REVIEW_TYPE = SelectField("REVIEW_TYPE", + REVIEW_TYPE = SelectField("REVIEW_TYPE/REVIEWTYPENAME", choices=[('1', ('1 None')), ('2', ('2 Full Committee')), ('3', ('3 Expedited')), - ('23', ('23 Non-UVA IRB Full Board')), - ('24', ('24 Non-UVA IRB Expedited'))]) + ('21', ('21 Review by Non-UVA IRB'))]) class ConfirmDeleteForm(FlaskForm): diff --git a/pb/routes.py b/pb/routes.py index 80b284d..12539a4 100644 --- a/pb/routes.py +++ b/pb/routes.py @@ -350,10 +350,8 @@ def _get_review_type_name(review_type): return 'Full Committee' elif review_type == '3': return 'Expedited' - elif review_type == '23': - return 'Non-UVA IRB Full Board' - elif review_type == '24': - return 'Non-UVA IRB Expedited' + elif review_type == '21': + return 'Review by Non-UVA IRB' @app.route('/study_details/', methods=['GET', 'POST'])