diff --git a/pb/api.py b/pb/api.py index ab0a2fb..adbdca3 100644 --- a/pb/api.py +++ b/pb/api.py @@ -2,7 +2,7 @@ from pb import session from pb.models import Investigator, InvestigatorSchema, IRBInfo, IRBInfoSchema, \ IRBStatus, IRBStatusSchema, RequiredDocument, RequiredDocumentSchema, \ Study, StudySchema, StudyDetails, StudyDetailsSchema, \ - StudySponsor, StudySponsorSchema, IRBInfoEvent, IRBInfoStatus + StudySponsor, StudySponsorSchema def get_user_studies(uva_id): @@ -37,15 +37,4 @@ def check_study(studyid): def current_irb_info(studyid): irb_info = session.query(IRBInfo).filter(IRBInfo.SS_STUDY_ID == studyid).first() - # new_info = IRBInfo(SS_STUDY_ID=irb_info.SS_STUDY_ID) - # new_info.UVA_STUDY_TRACKING = irb_info.UVA_STUDY_TRACKING - # new_info.DATE_MODIFIED = irb_info.DATE_MODIFIED - # new_info.IRB_ADMINISTRATIVE_REVIEWER = irb_info.IRB_ADMINISTRATIVE_REVIEWER - # new_info.AGENDA_DATE = irb_info.AGENDA_DATE - # new_info.IRB_REVIEW_TYPE = irb_info.IRB_REVIEW_TYPE - # new_info.IRB_OF_RECORD = irb_info.IRB_OF_RECORD - # new_info.UVA_IRB_HSR_IS_IRB_OF_RECORD_FOR_ALL_SITES = irb_info.UVA_IRB_HSR_IS_IRB_OF_RECORD_FOR_ALL_SITES - # new_info.STUDYIRBREVIEWERADMIN = irb_info.STUDYIRBREVIEWERADMIN - # new_info.IRBEVENT = irb_info.IRBEVENT[0] - # new_info.IRB_STATUS = irb_info.IRB_STATUS[0] return IRBInfoSchema().dump(irb_info)