Skip to main content

Base classes for off study process in the Edc.

Project description

pypi actions codecov downloads

edc-offstudy

Base classes for off study process

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

# 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:

class SubjectOffstudy(OffstudyModelMixin, BaseUuidModel):

     pass

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

# 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.

Project details


Release history Release notifications | RSS feed

This version

0.3.7

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

edc_offstudy-0.3.7-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

Details for the file edc_offstudy-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: edc_offstudy-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 36.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for edc_offstudy-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 bd0c07ddb0a9e1809c5daebb4ecb757632023bb72f762b91f0a9b8cd42623ccc
MD5 104c7ccdd6e9b7b186d7b1731889b33e
BLAKE2b-256 6c5167b32a5a5f77e8621a3b2cc09dfd5962c16ab5a366ef4eed21b71d20e442

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