We no longer use HSRNUMBER to automatically set Study Status to `Open for Enrollment`

This commit is contained in:
mike cullerton 2021-08-13 12:06:27 -04:00
parent 000de03733
commit bd4a9cced3
1 changed files with 0 additions and 5 deletions

View File

@ -398,11 +398,6 @@ class StudyService(object):
session.add(db_study)
db_studies.append(db_study)
if pb_study.HSRNUMBER:
db_study.irb_status = IrbStatus.hsr_assigned
if db_study.status != StudyStatus.open_for_enrollment:
new_status = StudyStatus.open_for_enrollment
db_study.update_from_protocol_builder(pb_study)
StudyService._add_all_workflow_specs_to_study(db_study)