# clinicedc **Repository Path**: underdogs/clinicedc ## Basic Information - **Project Name**: clinicedc - **Description**: No description available - **Primary Language**: Python - **License**: GPL-3.0 - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-02-01 - **Last Updated**: 2026-02-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README |pypi| |actions| |uv| |ruff| |downloads| |django-packages| clinicedc - A clinical trials data management framework built on Django ======================================================================== A data management framework built on Django for multisite randomized longitudinal clinical trials. Documentation: `clinicedc.readthedocs.io `_ Source code: https://github.com/clinicedc/clinicedc `Here is a python module that extends Django `__ to empower you to build an EDC / eSource system to handle data collection and management for multi-site longitudinal clinical trials. Refer to the specific open projects listed below for example EDC systems built with these modules. The more recent the trial the better the example. The codebase continues to evolve over many years of conducting clinical trials for mostly NIH-funded clinical trials through the `Harvard T Chan School of Public Health `__, the `Botswana-Harvard AIDS Institute Partnership `__ in Gaborone, Botswana and the `London School of Hygiene and Tropical Medicine `__. Almost all trials were originally related to HIV/AIDS research. More recent work with the `RESPOND Africa Group `__ formerly at the `Liverpool School of Tropical Medicine `__ and now with the `University College London Institute for Global Health `__ has expanded into Diabetes (DM), Hypertension (HTN) and models of integrating care in Africa (https://inteafrica.org) for the three main chronic conditions -- HIV/DM/HTN. See also https://www.ucl.ac.uk/global-health/respond-africa The implementations we develop with this framework are mostly eSource systems rather than the traditional EDCs. The projects listed below consist of a subset of trial-specific modules that make heavy use of modules in this framework. Contacts -------- For further information go to https://github.com/erikvw. |jet-brains| Thanks to `JetBrains `_ for support with an opensource PyCharm IDE license. |django| Framework stack --------------- ============ ============ ========= python Django mysql ============ ============ ========= python 3.12+ Django 5.2+ mysql 8+ ============ ============ ========= How we describe the CLINICEDC projects in our protocol documents ---------------------------------------------------------------- Here is a simple example of a data management section for a study protocol document: `data_management_section`_ .. _data_management_section: https://github.com/clinicedc/edc/blob/main/docs/protocol_data_management_section.rst Projects that use ``clinicedc`` ------------------------------- Recent examples of ``clinicedc`` applications using this codebase: INTECOMM Trial ~~~~~~~~~~~~~~ Controlling chronic diseases in Africa: Development and evaluation of an integrated community-based management model for HIV, Diabetes and Hypertension in Tanzania and Uganda https://github.com/intecomm-trial/intecomm-edc (2022-2025) EFFECT Trial ~~~~~~~~~~~~ Fluconazole plus flucytosine vs. fluconazole alone for cryptococcal antigen-positive patients identified through screening: A phase III randomised controlled trial https://github.com/effect-trial/effect-edc (2021- ) http://www.isrctn.com/ISRCTN30579828 META Trial (Phase III) ~~~~~~~~~~~~~~~~~~~~~~ A randomised placebo-controlled double-blind phase III trial to determine the effects of metformin versus placebo on the incidence of diabetes in HIV-infected persons with pre-diabetes in Tanzania. https://github.com/meta-trial/meta-edc (2021- ) (The same codebase is used for META Phase 2 and META Phase 3) http://www.isrctn.com/ISRCTN77382043 Mapitio ~~~~~~~ Retrospective HIV/Diabetes/Hypertension Cohort (Tanzania) https://github.com/mapitio/mapitio-edc (2020-2022) MOCCA Trial ~~~~~~~~~~~ Integrated care for HIV and non-communicable diseases in Africa: a pilot study to inform a large-scale trial (MOCCA and MOCCA Extension Study) https://github.com/mocca-trail/mocca-edc (2020-2022) http://www.isrctn.com/ISRCTN71437522 INTE Africa Trial ~~~~~~~~~~~~~~~~~ Evaluating the integration of health services for chronic diseases in Africa (32 sites in Uganda and Tanzania) https://github.com/inte-africa-trial/inte-edc (2020-2022) https://inteafrica.org http://www.isrctn.com/ISRCTN43896688 META Trial (Phase II) ~~~~~~~~~~~~~~~~~~~~~ A randomised placebo-controlled double-blind phase II trial to determine the effects of metformin versus placebo on the incidence of diabetes in HIV-infected persons with pre-diabetes in Tanzania. (3 sites in Tanzania) https://github.com/meta-trial/meta2-edc (2019-2021) http://www.isrctn.com/ISRCTN76157257 The Ambition Trial ~~~~~~~~~~~~~~~~~~ High dose AMBISOME on a fluconazole backbone for cryptococcal meningitis induction therapy in sub-Saharan Africa (7 sites in Botswana, Malawi, South Africa, Uganda, Zimbabwe) https://github.com/ambition-trial/ambition-edc (2018-2021) http://www.isrctn.com/ISRCTN72509687 Start with main repo `ambition-edc` The Botswana Combination Prevention Project ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (30 remote offline sites in Botswana) https://github.com/botswana-combination-prevention-project (2013-2018) https://clinicaltrials.gov/ct2/show/NCT01965470 https://www.ncbi.nlm.nih.gov/pubmed/?term=NCT01965470 https://aids.harvard.edu/tag/bcpp/ Start with main repo `bcpp` Optional modules ---------------- =========================== ============================= ================================== edc-csf_ |edc-csf| |pypi-edc-csf| edc-he_ |edc-he| |pypi-edc-he| edc-microbiology_ |edc-microbiology| |pypi-edc-microbiology| edc-microscopy_ |edc-microscopy| |pypi-edc-microscopy| edc-mnsi_ |edc-mnsi| |pypi-edc-mnsi| edc-phq9_ |edc-phq9| |pypi-edc-phq9| edc-qol_ |edc-qol| |pypi-edc-qol| edc-icecap-a_ |edc-icecap-a| |pypi-edc-icecap-a| =========================== ============================= ================================== Testing modules --------------- =========================== ============================= ================================== clinicedc-tests_ |clinicedc-tests| |pypi-clinicedc-tests| edc-test-settings_ |edc-test-settings| |pypi-edc-test-settings| =========================== ============================= ================================== Env --- .. code-block:: bash uv venv source .venv/bin/activate uv sync --no-sources --upgrade Tests ----- .. code-block:: bash uv run --group test runtests.py Lint and format --------------- .. code-block:: bash uvx ruff check .. |pypi| image:: https://img.shields.io/pypi/v/clinicedc.svg :target: https://pypi.python.org/pypi/clinicedc .. |downloads| image:: https://pepy.tech/badge/clinicedc :target: https://pepy.tech/project/clinicedc .. |django| image:: https://www.djangoproject.com/m/img/badges/djangomade124x25.gif :target: http://www.djangoproject.com/ :alt: Made with Django .. _edc-csf: https://github.com/clinicedc/edc-csf .. _edc-he: https://github.com/clinicedc/edc-he .. _edc-icecap-a: https://github.com/clinicedc/edc-icecap-a .. _edc-mnsi: https://github.com/clinicedc/edc-mnsi .. _edc-microbiology: https://github.com/clinicedc/edc-microbiology .. _edc-microscopy: https://github.com/clinicedc/edc-microscopy .. _edc-phq9: https://github.com/clinicedc/edc-phq9 .. _edc-qol: https://github.com/clinicedc/edc-qol .. _edc-test-settings: https://github.com/clinicedc/edc-test-settings .. _clinicedc-tests: https://github.com/clinicedc/clinicedc-tests .. |edc-csf| image:: https://github.com/clinicedc/edc-csf/actions/workflows/build.yml/badge.svg :target: https://github.com/clinicedc/edc-csf/actions/workflows/build.yml .. |edc-he| image:: https://github.com/clinicedc/edc-he/actions/workflows/build.yml/badge.svg :target: https://github.com/clinicedc/edc-he/actions/workflows/build.yml .. |edc-icecap-a| image:: https://github.com/clinicedc/edc-icecap-a/actions/workflows/build.yml/badge.svg :target: https://github.com/clinicedc/edc-icecap-a/actions/workflows/build.yml .. |edc-mnsi| image:: https://github.com/clinicedc/edc-mnsi/actions/workflows/build.yml/badge.svg :target: https://github.com/clinicedc/edc-mnsi/actions/workflows/build.yml .. |edc-microbiology| image:: https://github.com/clinicedc/edc-microbiology/actions/workflows/build.yml/badge.svg :target: https://github.com/clinicedc/edc-microbiology/actions/workflows/build.yml .. |edc-microscopy| image:: https://github.com/clinicedc/edc-microscopy/actions/workflows/build.yml/badge.svg :target: https://github.com/clinicedc/edc-microscopy/actions/workflows/build.yml .. |edc-phq9| image:: https://github.com/clinicedc/edc-phq9/actions/workflows/build.yml/badge.svg :target: https://github.com/clinicedc/edc-phq9/actions/workflows/build.yml .. |edc-qol| image:: https://github.com/clinicedc/edc-qol/actions/workflows/build.yml/badge.svg :target: https://github.com/clinicedc/edc-qol/actions/workflows/build.yml .. |edc-rx| image:: https://github.com/clinicedc/edc-rx/actions/workflows/build.yml/badge.svg :target: https://github.com/clinicedc/edc-rx/actions/workflows/build.yml .. |edc-test-settings| image:: https://github.com/clinicedc/edc-test-settings/actions/workflows/build.yml/badge.svg :target: https://github.com/clinicedc/edc-test-settings/actions/workflows/build.yml .. |clinicedc-tests| image:: https://github.com/clinicedc/clinicedc-tests/actions/workflows/build.yml/badge.svg :target: https://github.com/clinicedc/clinicedc-tests/actions/workflows/build.yml .. |pypi-edc-csf| image:: https://img.shields.io/pypi/v/edc-csf.svg :target: https://pypi.python.org/pypi/edc-csf .. |pypi-edc-he| image:: https://img.shields.io/pypi/v/edc-he.svg :target: https://pypi.python.org/pypi/edc-he .. |pypi-edc-icecap-a| image:: https://img.shields.io/pypi/v/edc-he.svg :target: https://pypi.python.org/pypi/edc-icecap-a .. |pypi-edc-mnsi| image:: https://img.shields.io/pypi/v/edc-mnsi.svg :target: https://pypi.python.org/pypi/edc-mnsi .. |pypi-edc-microbiology| image:: https://img.shields.io/pypi/v/edc-microbiology.svg :target: https://pypi.python.org/pypi/edc-microbiology .. |pypi-edc-microscopy| image:: https://img.shields.io/pypi/v/edc-microscopy.svg :target: https://pypi.python.org/pypi/edc-microscopy .. |pypi-edc-phq9| image:: https://img.shields.io/pypi/v/edc-phq9.svg :target: https://pypi.python.org/pypi/edc-phq9 .. |pypi-edc-qol| image:: https://img.shields.io/pypi/v/edc-qol.svg :target: https://pypi.python.org/pypi/edc-qol .. |pypi-edc-rx| image:: https://img.shields.io/pypi/v/edc-rx.svg :target: https://pypi.python.org/pypi/edc-rx .. |pypi-edc-test-settings| image:: https://img.shields.io/pypi/v/edc-test-settings.svg :target: https://pypi.python.org/pypi/edc-test-settings .. |pypi-clinicedc-tests| image:: https://img.shields.io/pypi/v/clinicedc-tests.svg :target: https://pypi.python.org/pypi/clinicedc-tests .. |jet-brains| image:: https://resources.jetbrains.com/storage/products/company/brand/logos/PyCharm_icon.png :target: https://jb.gg/OpenSource :width: 25 :alt: JetBrains PyCharm .. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black .. |django-packages| image:: https://img.shields.io/badge/Published%20on-Django%20Packages-0c3c26 :target: https://djangopackages.org/packages/p/clinicedc/ .. |actions| image:: https://github.com/clinicedc/clinicedc/actions/workflows/build.yml/badge.svg :target: https://github.com/clinicedc/clinicedc/actions/workflows/build.yml .. |uv| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json :target: https://github.com/astral-sh/uv .. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json :target: https://github.com/astral-sh/ruff :alt: Ruff