精神健康问卷。
hippocrates的Python项目详细描述
希波克拉底
一个python库,用于给出和评分各种基于健康的问卷。
目前支持以下功能:
- Beck Depression Inventory
- Generalized Anxiety Disorder 2
- Generalized Anxiety Disorder 7
- Patient Health Questionnaire 2
- Patient Health Questionnaire 9
- Rosenberg Self-Esteem Scale
有关上述测试的更多信息可以在questionnaires中找到。
安装
点
pip install hippocrates
来源
git clone https://github.com/chrishannam/hippocrates.git
cd hippocrates
python setup.py install
使用问卷
安装后,可以通过hippocrates
命令获得问卷:
hippocrates QUESTIONNAIRE_NAME
例如
hippocrates phq9
以下是支持的问卷列表:
beck_depression_index
gad2
gad2
phq2
phq9
rosenberg_self_esteem
选项
--隐藏
创建调查问卷后停止显示结果,默认值为off
。
--对数
将结果记录到~/.hippocrates/results.csv,默认值为off
。
问卷
选择要完成的问卷。