This is the open source configuration of the Community Health Toolkit (CHT) application deployed by Partners in Health (PIH) in Malawi for the community health program.
Use this guide if you need a development CHT instance.
Use git clone
to get a local copy of the repository:
git clone https://github.com/medic/cht-pih-malawi-app.git
Change to the project directory and install npm dependencies using
npm install
Use the CHT app configurer to upload the configuration to a CHT instance running CHT core. To set up CHT app configurer, the following steps are required:
npm install -g cht-conf
pyxform
is a python package used for creating XForms. Installation is operating system specific as detailed below:
sudo python -m pip install git+https://github.com/medic/pyxform.git@medic-conf-1.17#egg=pyxform-medic
python -m pip install git+https://github.com/medic/pyxform.git@medic-conf-1.17#egg=pyxform-medic --upgrade
pip install git+https://github.com/medic/pyxform.git@medic-conf-1.17#egg=pyxform-medic
Use this command if the instance URL is defined in the COUCH_URL environment variable.
cht --local
cht --url=https://username:password@example.com:12345
Supported use-cases:
- Maternal and Child Health
- Non-communicable diseases
- Family Planning
- Integrated Management of Childhood illnesses (IMCi)
- Malnutrition
- Human Immunodeficiency Virus (HIV)
- Tuberculosis
Contributions are welcome! Read about how to contribute on the documentation site.
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.