从命令行管理一些常见临床研究任务的程序
clinical-research-study-manager的Python项目详细描述
从指挥部管理一些常见临床研究任务的程序。很有进展 行
开始
这个程序需要python 3和一些外部包。强烈建议安装到虚拟环境中 新来的!
先决条件
需要Python及以上版本
$ python 3.5 $ pip install openpyxl $ pip install xlrd $ pip install pandas $ pip install numpy $ pip install matplotlib
安装
$ pip install clinical_research_study_manager
获取帮助
$ clinical_research_study_manager -h optional arguments: -h, --help show this help message and exit -create_project Project_Name Creates a new project titled Project_Name in the Projects directory -load_project Project_Name Loads Project Project_Name from the Projects directory for study activities -list_projects List available projects to load
创建新项目
$ clinical_reseaerch_study_manager -create_project Testing Creating new project titled Testing Created patient_data[phi] for project Testing at /home/beliefs22/Clinical_Research_Manager_Projects/Projects/Testing Created patient_data[de_identified] for project Testing at /home/beliefs22/Clinical_Research_Manager_Projects/Projects/Testing Created logs for project Testing at /home/beliefs22/Clinical_Research_Manager_Projects/Projects/Testing Created logs/logs_with_phi for project Testing at /home/beliefs22/Clinical_Research_Manager_Projects/Projects/Testing Created data_visualization for project Testing at /home/beliefs22/Clinical_Research_Manager_Projects/Projects/Testing Created log files for project Testing Created Screening_Log.xlsx log for Testing at /home/beliefs22/Clinical_Research_Manager_Projects/Projects/Testing/logs/Screening_Log.xlsx Created Master_Linking_Log.xlsx log for Testing at /home/beliefs22/Clinical_Research_Manager_Projects/Projects/Testing/logs/logs_with_phi/Master_Linking_Log.xlsx Created Follow_Up_Log.xlsx log for Testing at /home/beliefs22/Clinical_Research_Manager_Projects/Projects/Testing/logs/Follow_Up_Log.xlsx Created Enrollment_Log.xlsx log for Testing at /home/beliefs22/Clinical_Research_Manager_Projects/Projects/Testing/logs/Enrollment_Log.xl
加载特定项目
$ clinical_research_study_manager -load_project Testing Opening Testing 1. Manage Logs 2. Query Logs Please choose what actions you would like to take, q to quit.
列出可用项目
$ clinical_research_study_manager -list_projects Current Projects are: 1 : Testing
运行测试
$ clinical_research_study_manager_tests Launching unittests with arguments python -m unittest /home/beliefs22/PycharmProjects/clinical_research_study_manager/build/lib/clinical_research_study_manager/tests/testing_input_types.py in /home/beliefs22/PycharmProjects/clinical_research_study_manager/build/lib/clinical_research_study_manager/tests testing invalid age input testing invalid date input testing invalid eligibility status input testing invalid enrollment status input testing invalid sex input testing invalid time input testing valid age input testing valid date input testing valid eligibility status input testing valid enrollment status input testing valid initials input testing valid reason ineligible input testing valid reason not enrolled input testing valid sex input testing valid time input Ran 15 tests in 0.022s OK
这些测试将检查用户期望的有效和无效输入
许可证
这个项目是在麻省理工学院的许可下授权的-请参阅LICENSE.txt 有关详细信息,请存档