intecomm-edc


Nameintecomm-edc JSON
Version 0.2.19 PyPI version JSON
download
home_pagehttps://github.com/intecomm-trial/intecomm-edc
SummaryINTECOMM Trial EDC (http://www.isrctn.com/ISRCTN76157257)
upload_time2024-04-25 03:26:19
maintainerNone
docs_urlNone
authorErik van Widenfelt
requires_python>=3.12
licenseGPL license, see LICENSE
keywords django edc intecomm edc clinicedc clinical trials
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            |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
-------------
.. code-block:: bash

    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``;


.. |pypi| image:: https://img.shields.io/pypi/v/intecomm-edc.svg
    :target: https://pypi.python.org/pypi/intecomm-edc

.. |actions| image:: https://github.com/intecomm-trial/intecomm-edc/actions/workflows/build.yml/badge.svg
  :target: https://github.com/intecomm-trial/intecomm-edc/actions/workflows/build.yml

.. |codecov| image:: https://codecov.io/gh/intecomm-trial/intecomm-edc/branch/develop/graph/badge.svg
  :target: https://codecov.io/gh/intecomm-trial/intecomm-edc

.. |downloads| image:: https://pepy.tech/badge/intecomm-edc
   :target: https://pepy.tech/project/intecomm-edc

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/intecomm-trial/intecomm-edc",
    "name": "intecomm-edc",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "django edc INTECOMM EDC, clinicedc, clinical trials",
    "author": "Erik van Widenfelt",
    "author_email": "ew2789@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b3/e8/aa511ab2cbfb21501c02454cc3f444c0ea209286617199abf443222d49db/intecomm_edc-0.2.19.tar.gz",
    "platform": null,
    "description": "|pypi| |actions| |codecov| |downloads|\n\nintecomm-edc\n------------\nControlling 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)\n\nLiverpool School of Tropical Medicine\n\nUniversity College London (UCL)\n\nhttp://www.isrctn.com/ISRCTN15319595\n\nSee also https://github.com/clinicedc/edc\n\n* Django 4.2 / python 3.11\n* EDC (see setup.cfg for version)\n* We run live and UAT on Ubuntu with nginx/gunicorn/mysql 8.1\n\nBasic install\n-------------\n.. code-block:: bash\n\n    conda create -n edc python=3.12\n    conda activate edc\n    git clone https://github.com/intecomm-trial/intecomm-edc.git ~/apps\n    cd ~/apps\n    pip install -U .\n    python manage.py migrate --settings=intecomm_edc.settings.live  # or uat\n\nRandomization\n-------------\nGroups of patients are randomized to community integrated care (intervention) or facility integrated care (control).\n\nA patient group is represented by the ``PatientGroup`` model. A ``PatientGroup`` model instance contains patients who are represented by ``PatientLog`` model instances.\n\nBefore a group is \"ready\" to randomize:\n\n* the group membership must meet the ratio of HIV, HTN, DM or multi-morbidity patients.\n* the group must meet the minimum group size.\n* all patients must be screened as eligible and consented\n\nIf \"ready\", the patient group is randomized when the ``PatientGroup`` model instance saves succcessfully\nwith field ``randomize_now`` set to YES.\n\nRandomization occurs in the signal ``randomize_patient_group_on_post_save``. The signal\nleaves most of the work to the class ``RandomizeGroup``. ``RandomizeGroup`` calls it's ``randomize`` method does the following:\n\n* The group is randomized to intervention or control;\n* ``PatientGroup`` model instance is allocated a ``group_identifier``;\n* Each ``PatientGroup`` model instance in the group is updated with the ``group_identifier``;\n* 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);\n* Each ``RegisteredSubject`` model instance in the group is updated with the ``group_identifier``;\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/intecomm-edc.svg\n    :target: https://pypi.python.org/pypi/intecomm-edc\n\n.. |actions| image:: https://github.com/intecomm-trial/intecomm-edc/actions/workflows/build.yml/badge.svg\n  :target: https://github.com/intecomm-trial/intecomm-edc/actions/workflows/build.yml\n\n.. |codecov| image:: https://codecov.io/gh/intecomm-trial/intecomm-edc/branch/develop/graph/badge.svg\n  :target: https://codecov.io/gh/intecomm-trial/intecomm-edc\n\n.. |downloads| image:: https://pepy.tech/badge/intecomm-edc\n   :target: https://pepy.tech/project/intecomm-edc\n",
    "bugtrack_url": null,
    "license": "GPL license, see LICENSE",
    "summary": "INTECOMM Trial EDC (http://www.isrctn.com/ISRCTN76157257)",
    "version": "0.2.19",
    "project_urls": {
        "Homepage": "https://github.com/intecomm-trial/intecomm-edc"
    },
    "split_keywords": [
        "django edc intecomm edc",
        " clinicedc",
        " clinical trials"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3c4f63624bec42810ce921b0d47bda2bd1e5f37594feccc48664b0445a53b4f3",
                "md5": "75f39ea2a45657521314f2dc121da46a",
                "sha256": "698d81e01643d1448b4896d4c0b9f531d03be44ac71f8b5817a0cdb61c05acf4"
            },
            "downloads": -1,
            "filename": "intecomm_edc-0.2.19-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "75f39ea2a45657521314f2dc121da46a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 873263,
            "upload_time": "2024-04-25T03:26:15",
            "upload_time_iso_8601": "2024-04-25T03:26:15.813153Z",
            "url": "https://files.pythonhosted.org/packages/3c/4f/63624bec42810ce921b0d47bda2bd1e5f37594feccc48664b0445a53b4f3/intecomm_edc-0.2.19-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b3e8aa511ab2cbfb21501c02454cc3f444c0ea209286617199abf443222d49db",
                "md5": "87b18edce48c7be696d6412f4e1b9be1",
                "sha256": "bfba484734577c5168a9b0891f6989104121c83908344918f06fe62c36805dd4"
            },
            "downloads": -1,
            "filename": "intecomm_edc-0.2.19.tar.gz",
            "has_sig": false,
            "md5_digest": "87b18edce48c7be696d6412f4e1b9be1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 505982,
            "upload_time": "2024-04-25T03:26:19",
            "upload_time_iso_8601": "2024-04-25T03:26:19.161583Z",
            "url": "https://files.pythonhosted.org/packages/b3/e8/aa511ab2cbfb21501c02454cc3f444c0ea209286617199abf443222d49db/intecomm_edc-0.2.19.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-25 03:26:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "intecomm-trial",
    "github_project": "intecomm-edc",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "intecomm-edc"
}
        
Elapsed time: 0.25073s