Skip to main content

INTECOMM Trial EDC (http://www.isrctn.com/ISRCTN76157257)

Project description

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 4.2 / python 3.11

  • EDC (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;

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

intecomm_edc-0.2.17.tar.gz (505.9 kB view details)

Uploaded Source

Built Distribution

intecomm_edc-0.2.17-py3-none-any.whl (873.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: intecomm_edc-0.2.17.tar.gz
  • Upload date:
  • Size: 505.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for intecomm_edc-0.2.17.tar.gz
Algorithm Hash digest
SHA256 ae3cafecd9f34a8a6a6bbbb11043aad9f3dc9a0f8633393628eaccb8a614192a
MD5 9f8eca590ce275c28b1e52b5de21282b
BLAKE2b-256 3c48a7761c670e9d74e85eb87f62eaacacac845fb046878de9a92d698ba4d79f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for intecomm_edc-0.2.17-py3-none-any.whl
Algorithm Hash digest
SHA256 fe23994057ee1859f57172a886a3763255f772a934184b7406c952a989a56227
MD5 ce5a072c7a13da6cb4bedd38a376b24f
BLAKE2b-256 1bb296606a6f7e97e46de7fe2a2ae9dd08a2f9a2497c043cd633056ca33af837

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page