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.11
conda activate edc
git clone https://github.com/intecomm-trial/intecomm-edc.git ~/apps
cd ~/apps
pip install -U .
python manage.py migrate
# run migrate a second time for post-migrate signals
python manage.py migrate

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

This version

0.2.3

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.3.tar.gz (639.0 kB view details)

Uploaded Source

Built Distribution

intecomm_edc-0.2.3-py3-none-any.whl (792.9 kB view details)

Uploaded Python 3

File details

Details for the file intecomm-edc-0.2.3.tar.gz.

File metadata

  • Download URL: intecomm-edc-0.2.3.tar.gz
  • Upload date:
  • Size: 639.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for intecomm-edc-0.2.3.tar.gz
Algorithm Hash digest
SHA256 c1027cdaff91feedaf566a35c7499831eca6f16c14bc8990e48a9ab8d04f0ad3
MD5 95809aa8c25aad59395f6cc1788d0f1f
BLAKE2b-256 6e51927bab51bfa8a94b774d7296fae2480dcc0dc76b5eadd9d160d419934922

See more details on using hashes here.

File details

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

File metadata

  • Download URL: intecomm_edc-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 792.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for intecomm_edc-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4f95120fb7f08d905d93eb4b2192314f4b99afe437c494f2c3e3fec74a727661
MD5 f145354525b23e2a7abf4d6a71e13df3
BLAKE2b-256 cf85811d30044d50c2430c8b428c6a2f060cbe62a575ab6955d141a77c1bbdb1

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