diff --git a/crc/services/document_service.py b/crc/services/document_service.py index 3ac82c79..1626cc59 100644 --- a/crc/services/document_service.py +++ b/crc/services/document_service.py @@ -5,6 +5,12 @@ from crc.services.lookup_service import LookupService class DocumentService(object): + """The document service provides details about the types of documents that can be uploaded to a workflow. + This metadata about different document types is managed in an Excel spreadsheet, which can be uploaded at any + time to change which documents are accepted, and it allows us to categorize these documents. At a minimum, + the spreadsheet should contain the columns 'code', 'category1', 'category2', 'category3', 'description' and 'id', + code is required for all rows in the table, the other fields are optional. """ + DOCUMENT_LIST = "irb_documents.xlsx" @staticmethod diff --git a/crc/services/study_service.py b/crc/services/study_service.py index 6b986db4..5d36884f 100644 --- a/crc/services/study_service.py +++ b/crc/services/study_service.py @@ -31,8 +31,7 @@ from crc.services.workflow_processor import WorkflowProcessor class StudyService(object): """Provides common tools for working with a Study""" - """Provides consistent management and rules for storing, retrieving and processing files.""" - INVESTIGATOR_LIST = "investigators.xlsx" + INVESTIGATOR_LIST = "investigators.xlsx" # A reference document containing details about what investigators to show, and when. @staticmethod def get_studies_for_user(user):