Skip to main content

pypi actions codecov downloads

intecomm-edc

Controlling chronic diseases in Africa: Development and evaluation of an integrated community-based management model for HIV, Diabetes and Hypertension in Tanzania and Uganda (INTE-COMM study)

Liverpool School of Tropical Medicine

University College London (UCL)

http://www.isrctn.com/ISRCTN15319595

See also https://github.com/clinicedc/edc

  • Django 5.1 / python 3.12

  • ClinicEDC (see setup.cfg for version)

  • We run LIVE and UAT on Ubuntu with nginx/gunicorn/mysql 8.1

Basic install

conda create -n edc python=3.12
conda activate edc
git clone https://github.com/intecomm-trial/intecomm-edc.git ~/apps
cd ~/apps
pip install -U .
python manage.py migrate --settings=intecomm_edc.settings.live  # or uat

Randomization

Groups of patients are randomized to community integrated care (intervention) or facility integrated care (control).

A patient group is represented by the PatientGroup model. A PatientGroup model instance contains patients who are represented by PatientLog model instances.

Before a group is “ready” to randomize:

  • the group membership must meet the ratio of HIV, HTN, DM or multi-morbidity patients.

  • the group must meet the minimum group size.

  • all patients must be screened as eligible and consented

If “ready”, the patient group is randomized when the PatientGroup model instance saves succcessfully with field randomize_now set to YES.

Randomization occurs in the signal randomize_patient_group_on_post_save. The signal leaves most of the work to the class RandomizeGroup. RandomizeGroup calls it’s randomize method does the following:

  • The group is randomized to intervention or control;

  • PatientGroup model instance is allocated a group_identifier;

  • Each PatientGroup model instance in the group is updated with the group_identifier;

  • Each SubjectConsent model instance in the group is updated with the group_identifier (which triggers another signal associated with the subject consent. This signal puts the subject on schedule);

  • Each RegisteredSubject model instance in the group is updated with the group_identifier;

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

intecomm_edc-1.0.1.tar.gz (566.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

intecomm_edc-1.0.1-py3-none-any.whl (995.5 kB view details)

Uploaded Python 3

File details

Details for the file intecomm_edc-1.0.1.tar.gz.

File metadata

  • Download URL: intecomm_edc-1.0.1.tar.gz
  • Upload date:
  • Size: 566.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for intecomm_edc-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8fdd8bef0c446de021697f789d5168f43f521e24ea51c37dd67a0d4f9c064b13
MD5 36b4accdfcbf40b429eda6bb82fc782d
BLAKE2b-256 f35eec09274c8753e2d1d5bcb9895d5dd0a70fa3a1e80dcefe8f12f1625a86a3

See more details on using hashes here.

File details

Details for the file intecomm_edc-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: intecomm_edc-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 995.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for intecomm_edc-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 90ec550a6a6133aee128c9aed52e11adebb67b3623e958e6e201c502f10d1864
MD5 f996828596e3c6badf9acca5faba9337
BLAKE2b-256 cfeae075eb93ee359eab82e12b036a6c3f35e6064f91c61679e2170a04e23755

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page