Skip to main content

INTECOMM EDC randomization

Project description

pypi actions codecov downloads

intecomm-rando

Randomization for INTECOMM trial

A dependency of the INTECOMM trial EDC.

The INTECOMM trial is a cluster randomized trial where the unit of randomization is the patient group.

At screening, data for individual potential participants are stored in the intecomm_screening.PatientLog model. Eligible individual potential participants (model PatientLog) are added to a patient group (model intecomm_group.PatientGroup).

The data flow is PatientLog -> SubjectScreening -> if eligible -> SubjectConsent

Ideally, for a patient group to be considered for randomization, the group must contain between 9-14 screened and consented members where a count of chronic conditions of those in the group meets an approximate ratio of 2 : 1; that is, 2(DM/HTN) : 1(HIV). The site coordinators may override these values.

Once a PatientGroup is ready to randomize, the site staff open the PatientGroup form and click “randomize”.

In the background, the Randomizer class calls its method randomize_group. randomize_group picks the next available record from the randomization_list (‘’intecomm_rando.RandomizationList``) and inserts a unique group_identifier value. A records is available if group_identifier has not been set. Ordering is ascending by sid.

The PatientGroup is given its newly allocated group_identifier. The subjects in this group may now be followed longitudinally starting with visit 1000.

The group_identifier, for subjects in a PatientGroup, is updated on the PatientLog record as well.

  • The RegisteredGroup model holds the sid to group_identifier relationship

  • The RandomizationList model holds the sid to assignment to group_identifier relationship

  • PatientLog links group_identifier and subject_identifier

See also tables: • Intecomm_rando_registeredgroup • Intecomm_rando_randomizationlist • intecomm_screening_patientlog • intecomm_group_patientlog

Project details


Download files

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

Source Distribution

intecomm-rando-0.1.25.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

intecomm_rando-0.1.25-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

File details

Details for the file intecomm-rando-0.1.25.tar.gz.

File metadata

  • Download URL: intecomm-rando-0.1.25.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for intecomm-rando-0.1.25.tar.gz
Algorithm Hash digest
SHA256 f62f2963a24aad897328a9d4d7c5446c919a3049aa1132991a7bdee203703e1a
MD5 ad10bf48d180267d578eb5941dc6f869
BLAKE2b-256 e09fca90a5d18d37a243c3fb32ebc29795b3766c18331e1d6192b78078e46665

See more details on using hashes here.

File details

Details for the file intecomm_rando-0.1.25-py3-none-any.whl.

File metadata

File hashes

Hashes for intecomm_rando-0.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 0bc7d1a2fee3040b27f3f554ac3f4e0d9941842413cdfc73a9f0bebf49851382
MD5 8ee2799e3aea5651aed5ddfea458dc52
BLAKE2b-256 83b71aacf6e5e63ded2aaf0fa0bd9e0c05186805a871c4cccc3fcf153fad1e52

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