edc-offstudy


Nameedc-offstudy JSON
Version 0.3.47 PyPI version JSON
download
home_pagehttps://github.com/clinicedc/edc-offstudy
SummaryBase classes for off study process for clinicedc/edc
upload_time2024-03-26 05:06:28
maintainerNone
docs_urlNone
authorErik van Widenfelt
requires_python>=3.11
licenseGPL license, see LICENSE
keywords django edc off-study termination clinicedc clinical trials
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            |pypi| |actions| |codecov| |downloads|

edc-offstudy
------------

Base classes for off study process


The offstudy model is linked to scheduled models by the visit schedule.

.. code-block:: python

    # visit_schedule.py
    ...
    visit_schedule1 = VisitSchedule(
        name='visit_schedule1',
        offstudy_model='edc_offstudy.subjectoffstudy',
        ...)
    ...


This module includes an offstudy model ``SubjectOffstudy``.

You may also declare your own using the ``OffstudyModelMixin``:

.. code-block:: python

    class SubjectOffstudy(OffstudyModelMixin, BaseUuidModel):

         pass

If you declare your own, be sure to reference it correctly in the visit schedule:

.. code-block:: python

    # visit_schedule.py
    ...
    visit_schedule1 = VisitSchedule(
        name='visit_schedule1',
        offstudy_model='myapp.subjectoffstudy',
        ...)
    ...


When the offstudy model is saved, the data is validated relative to the consent and **visit model**. An offstudy datetime should make sense relative to these model instances for the subject.
Unused appointments in the future relative to the offstudy datetime will be removed.

 Note: There is some redundancy with this model and the offschedule model from ``edc-visit-schedule``. This needs to be resolved.


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

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

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

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/clinicedc/edc-offstudy",
    "name": "edc-offstudy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "django Edc off-study, termination, clinicedc, clinical trials",
    "author": "Erik van Widenfelt",
    "author_email": "ew2789@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/62/69/c8e6371522775d1f4a655dbdb93b1bfa01d66a4654b178aa4e54b213605e/edc-offstudy-0.3.47.tar.gz",
    "platform": null,
    "description": "|pypi| |actions| |codecov| |downloads|\n\nedc-offstudy\n------------\n\nBase classes for off study process\n\n\nThe offstudy model is linked to scheduled models by the visit schedule.\n\n.. code-block:: python\n\n    # visit_schedule.py\n    ...\n    visit_schedule1 = VisitSchedule(\n        name='visit_schedule1',\n        offstudy_model='edc_offstudy.subjectoffstudy',\n        ...)\n    ...\n\n\nThis module includes an offstudy model ``SubjectOffstudy``.\n\nYou may also declare your own using the ``OffstudyModelMixin``:\n\n.. code-block:: python\n\n    class SubjectOffstudy(OffstudyModelMixin, BaseUuidModel):\n\n         pass\n\nIf you declare your own, be sure to reference it correctly in the visit schedule:\n\n.. code-block:: python\n\n    # visit_schedule.py\n    ...\n    visit_schedule1 = VisitSchedule(\n        name='visit_schedule1',\n        offstudy_model='myapp.subjectoffstudy',\n        ...)\n    ...\n\n\nWhen the offstudy model is saved, the data is validated relative to the consent and **visit model**. An offstudy datetime should make sense relative to these model instances for the subject.\nUnused appointments in the future relative to the offstudy datetime will be removed.\n\n Note: There is some redundancy with this model and the offschedule model from ``edc-visit-schedule``. This needs to be resolved.\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/edc-offstudy.svg\n    :target: https://pypi.python.org/pypi/edc-offstudy\n\n.. |actions| image:: https://github.com/clinicedc/edc-offstudy/actions/workflows/build.yml/badge.svg\n  :target: https://github.com/clinicedc/edc-offstudy/actions/workflows/build.yml\n\n.. |codecov| image:: https://codecov.io/gh/clinicedc/edc-offstudy/branch/develop/graph/badge.svg\n  :target: https://codecov.io/gh/clinicedc/edc-offstudy\n\n.. |downloads| image:: https://pepy.tech/badge/edc-offstudy\n   :target: https://pepy.tech/project/edc-offstudy\n",
    "bugtrack_url": null,
    "license": "GPL license, see LICENSE",
    "summary": "Base classes for off study process for clinicedc/edc",
    "version": "0.3.47",
    "project_urls": {
        "Homepage": "https://github.com/clinicedc/edc-offstudy"
    },
    "split_keywords": [
        "django edc off-study",
        " termination",
        " clinicedc",
        " clinical trials"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ae22663926a5ce2cad9a4fb2c6cf590c0138f8a860040afd3a3561f765bb0f56",
                "md5": "5349b836bb7f7fda6252f4758bc04a6f",
                "sha256": "d7d81d038bf0658b482283eb17a4e51556f1e8fcdc986d2635aa6ac0b38e9643"
            },
            "downloads": -1,
            "filename": "edc_offstudy-0.3.47-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5349b836bb7f7fda6252f4758bc04a6f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 54216,
            "upload_time": "2024-03-26T05:06:26",
            "upload_time_iso_8601": "2024-03-26T05:06:26.040728Z",
            "url": "https://files.pythonhosted.org/packages/ae/22/663926a5ce2cad9a4fb2c6cf590c0138f8a860040afd3a3561f765bb0f56/edc_offstudy-0.3.47-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6269c8e6371522775d1f4a655dbdb93b1bfa01d66a4654b178aa4e54b213605e",
                "md5": "91ba31618a04e75ff0cd608693019d04",
                "sha256": "9c18077ae095350e567da9cb2f832361ee15a3c126996677fa3030b5bab74cc1"
            },
            "downloads": -1,
            "filename": "edc-offstudy-0.3.47.tar.gz",
            "has_sig": false,
            "md5_digest": "91ba31618a04e75ff0cd608693019d04",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 40523,
            "upload_time": "2024-03-26T05:06:28",
            "upload_time_iso_8601": "2024-03-26T05:06:28.477278Z",
            "url": "https://files.pythonhosted.org/packages/62/69/c8e6371522775d1f4a655dbdb93b1bfa01d66a4654b178aa4e54b213605e/edc-offstudy-0.3.47.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-26 05:06:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "clinicedc",
    "github_project": "edc-offstudy",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "edc-offstudy"
}
        
Elapsed time: 0.26557s