|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
.. |pypi| image:: https://img.shields.io/pypi/v/intecomm-rando.svg
:target: https://pypi.python.org/pypi/intecomm-rando
.. |actions| image:: https://github.com/intecomm-trial/intecomm-rando/workflows/build/badge.svg?branch=develop
:target: https://github.com/intecomm-trial/intecomm-rando/actions?query=workflow:build
.. |codecov| image:: https://codecov.io/gh/intecomm-trial/intecomm-rando/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/intecomm-trial/intecomm-rando
.. |downloads| image:: https://pepy.tech/badge/intecomm-rando
:target: https://pepy.tech/project/intecomm-rando
.. _INTECOMM: https://github.com/intecomm-trial/intecomm-edc
Raw data
{
"_id": null,
"home_page": "https://github.com/intecomm-trial/intecomm-rando",
"name": "intecomm-rando",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": "",
"keywords": "django edc INTECOMM EDC randomization,clinicedc,clinical trials",
"author": "Erik van Widenfelt",
"author_email": "ew2789@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/aa/e9/2575ab3076655ce627733d151c0fd9208060cb69c3a5c1aba25914b137dc/intecomm-rando-0.1.24.tar.gz",
"platform": null,
"description": "|pypi| |actions| |codecov| |downloads|\n\n\nintecomm-rando\n--------------------\nRandomization for INTECOMM_ trial\n\nA dependency of the INTECOMM_ trial EDC.\n\nThe INTECOMM_ trial is a cluster randomized trial where the unit of randomization is the patient group.\n\nAt screening, data for individual potential participants are stored in the ``intecomm_screening.PatientLog`` model.\nEligible individual potential participants (model ``PatientLog``) are added to a patient group (model ``intecomm_group.PatientGroup``).\n\nThe data flow is PatientLog -> SubjectScreening -> if eligible -> SubjectConsent\n\nIdeally, for a patient group to be considered for randomization, the group must contain\nbetween 9-14 screened and consented members where a count of chronic conditions of those in the group meets an\napproximate ratio of 2 : 1; that is, 2(DM/HTN) : 1(HIV). The site coordinators may override these values.\n\nOnce a PatientGroup is ready to randomize, the site staff open the ``PatientGroup`` form and click \"randomize\".\n\nIn the background, the ``Randomizer`` class calls its method ``randomize_group``. ``randomize_group`` picks the next\navailable record from the randomization_list (''intecomm_rando.RandomizationList``) and inserts a unique ``group_identifier`` value.\nA records is available if ``group_identifier`` has not been set. Ordering is ascending by ``sid``.\n\nThe PatientGroup is given its newly allocated ``group_identifier``. The subjects in this group may now be\nfollowed longitudinally starting with visit 1000.\n\nThe ``group_identifier``, for subjects in a PatientGroup, is updated on the PatientLog record as well.\n\n* The ``RegisteredGroup`` model holds the ``sid`` to ``group_identifier`` relationship\n* The ``RandomizationList`` model holds the ``sid`` to ``assignment`` to ``group_identifier`` relationship\n* ``PatientLog`` links group_identifier and subject_identifier\n\nSee also tables:\n\u2022\tIntecomm_rando_registeredgroup\n\u2022\tIntecomm_rando_randomizationlist\n\u2022\tintecomm_screening_patientlog\n\u2022\tintecomm_group_patientlog\n\n\n\n\n\n\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/intecomm-rando.svg\n :target: https://pypi.python.org/pypi/intecomm-rando\n\n.. |actions| image:: https://github.com/intecomm-trial/intecomm-rando/workflows/build/badge.svg?branch=develop\n :target: https://github.com/intecomm-trial/intecomm-rando/actions?query=workflow:build\n\n.. |codecov| image:: https://codecov.io/gh/intecomm-trial/intecomm-rando/branch/develop/graph/badge.svg\n :target: https://codecov.io/gh/intecomm-trial/intecomm-rando\n\n.. |downloads| image:: https://pepy.tech/badge/intecomm-rando\n :target: https://pepy.tech/project/intecomm-rando\n\n.. _INTECOMM: https://github.com/intecomm-trial/intecomm-edc\n",
"bugtrack_url": null,
"license": "GPL license, see LICENSE",
"summary": "INTECOMM EDC randomization",
"version": "0.1.24",
"project_urls": {
"Homepage": "https://github.com/intecomm-trial/intecomm-rando"
},
"split_keywords": [
"django edc intecomm edc randomization",
"clinicedc",
"clinical trials"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a0af32b50820baa3d15d2a78ef35bcc3ead3c9724f0df9f6b3c31dab8252cadb",
"md5": "b2fca623aa4c59955834ef1c4a58f8d0",
"sha256": "eebc15efea50eff0f5df8580f242dc55a422e9414a26ddec68565b80ae163aee"
},
"downloads": -1,
"filename": "intecomm_rando-0.1.24-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b2fca623aa4c59955834ef1c4a58f8d0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 39474,
"upload_time": "2024-01-29T06:40:08",
"upload_time_iso_8601": "2024-01-29T06:40:08.597466Z",
"url": "https://files.pythonhosted.org/packages/a0/af/32b50820baa3d15d2a78ef35bcc3ead3c9724f0df9f6b3c31dab8252cadb/intecomm_rando-0.1.24-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "aae92575ab3076655ce627733d151c0fd9208060cb69c3a5c1aba25914b137dc",
"md5": "98589da8a982d1401ff5be7ff04e076e",
"sha256": "ecf1fb3cf29ce62654087d5cc196d58fe4644db8a31e74f689c76e92e4515bf1"
},
"downloads": -1,
"filename": "intecomm-rando-0.1.24.tar.gz",
"has_sig": false,
"md5_digest": "98589da8a982d1401ff5be7ff04e076e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 37122,
"upload_time": "2024-01-29T06:40:11",
"upload_time_iso_8601": "2024-01-29T06:40:11.059046Z",
"url": "https://files.pythonhosted.org/packages/aa/e9/2575ab3076655ce627733d151c0fd9208060cb69c3a5c1aba25914b137dc/intecomm-rando-0.1.24.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-29 06:40:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "intecomm-trial",
"github_project": "intecomm-rando",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "intecomm-rando"
}