chrishannam/hippocrates


License: Apache-2.0

Language: Python


CircleCI

Hippocrates

A Python library for giving and scoring various health based questionnaires.

Currently the following are supported:

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:

Example results

Project Statistics

Sourcerank 4
Repository Size 688 KB
Stars 3
Forks 0
Watchers 1
Open issues 4
Dependencies 15
Contributors 2
Tags 4
Created
Last updated
Last pushed

Top Contributors See all

Chris Hannam Chris

Packages Referencing this Repo

hippocrates
Mental health questionnaires.
Latest release 0.4.0 - Updated - 3 stars

Recent Tags See all

0.2.0 February 27, 2019
0.1.4 January 02, 2019
0.1.1 November 21, 2018
0.1.0 November 21, 2018

Something wrong with this page? Make a suggestion

Last synced: 2020-02-27 13:46:53 UTC

Login to resync this repository