Skip to main content

Base classes for off study process for clinicedc/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

Download files

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

Source Distribution

edc-offstudy-0.3.23.tar.gz (39.3 kB view details)

Uploaded Source

Built Distribution

edc_offstudy-0.3.23-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

Details for the file edc-offstudy-0.3.23.tar.gz.

File metadata

  • Download URL: edc-offstudy-0.3.23.tar.gz
  • Upload date:
  • Size: 39.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.9

File hashes

Hashes for edc-offstudy-0.3.23.tar.gz
Algorithm Hash digest
SHA256 9cdebc81584b6f0de54df9ab5471eaf4f5f7fdda8db0f9d8f7f97013897780d6
MD5 4db4c87a7e825f7afacfb79b8d56416b
BLAKE2b-256 fa3268e2c35b0f28dc87db3fec8d76175cdb86000c125a48df24e4efe931266c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for edc_offstudy-0.3.23-py3-none-any.whl
Algorithm Hash digest
SHA256 cd0d1a4cc1281c92ce62b2d4769c8cf32e80e6fa087806931a86ac0c9bb14d42
MD5 a4b352d0cecb59afdee5271f8e381691
BLAKE2b-256 3c3c5a53e74c500d9fdb02650c02c3e6597eee899691164294d21460a518b0a9

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