从命令行管理一些常见临床研究任务的程序

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

这些测试将检查用户期望的有效和无效输入

作者

seth pitts

许可证

这个项目是在麻省理工学院的许可下授权的-请参阅LICENSE.txt 有关详细信息,请存档

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java OnClick用于ListView中的特定项   java如何多次循环相同的TestNG测试。包括课前和课后   java如何在Codenameone中设置BrowserComponent浏览器窗口大小   java Socketchannel始终为空   java以编程方式向JavaFX WebEngine历史添加新条目   java Hibernate+Spring与Oracle一起使用分层查询(从+连接方式开始)   Java中的安卓 getView和Beacon(Estimote)问题   计时器如何在java中设置暂停选项   java为什么输入1000000000000的输出不正确?   java如何在程序执行期间更改log4j2中的日志记录级别   java阻止代码引发XML异常   未找到媒体类型为application/json的java JAX RS MessageBodyWriter   java如何将BuffereImage中的特定颜色(0xFF00FF)设置为透明?   java如何列出web元素,如果网页中没有特定链接的id,如何单击网页中的特定链接?   在Java中读取txt文件时获取EOFEException   java如何避免为每个视图添加inject方法?   JavaSpringController:Facebook上类似文章的永久链接   java在尝试执行脚本时遇到错误“net.serentiybdd.core.exceptions.serentitymanagedexception:No session ID”