Mental health questionnaires.
Project description
Hippocrates
A Python library for giving and scoring various health based questionnaires.
Currently the following are supported:
- Beck Depression Inventory
- Generalized Anxiety Disorder 2
- Generalized Anxiety Disorder 7
- Patient Health Questionnaire 2
- Patient Health Questionnaire 9
- Rosenberg Self-Esteem Scale
- Mood - Generic scoring from 1 to 10 of current mood.
More information about the above tests can be found in questionnaires.
Installing
Pip
pip install hippocrates
From Source
git clone https://github.com/chrishannam/hippocrates.git
cd hippocrates
python setup.py install
Using the Questionnaires
Once installed, the questionnaires are available via the hippocrates
command:
hippocrates QUESTIONNAIRE_NAME
e.g.
hippocrates phq9
Below is the list of the supported questionnaires:
beck_depression_index
gad2
gad7
mood
phq2
phq9
rosenberg_self_esteem
Options
--hide
Stops results from being displayed once questionnaire is created, default is off
.
--log
Logs results to ~/.hippocrates/results.csv, default is off
.
questionnaire
Selected questionnaire to complete.
Reporting
Using --log
outputs your results in a csv file stored locally in you
home directory called .hippocrates
. A sample is listed below:
2019-01-21 13:12:38,gad7,15
2019-02-21 13:17:38,phq9,14
2019-03-22 13:12:38,gad7,3
hippocrates-results
Use the command hippocrates-results
to create a local html
file
called hippocrates_results.html
.
This file will be opened in your browser to display your results as a basic graph:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for hippocrates-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3af897c9612bd60487084277b1ab401999d21275a74e24b2b703be6365b37f64 |
|
MD5 | dcdefae92768a23c613b02bb67e838ae |
|
BLAKE2b-256 | d22893ab8a6faf4ce5172c8a12cc864ffcf60ba42a818a20a3cd8ad7a618362a |