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.31.tar.gz (39.7 kB view details)

Uploaded Source

Built Distribution

edc_offstudy-0.3.31-py3-none-any.whl (51.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edc-offstudy-0.3.31.tar.gz
  • Upload date:
  • Size: 39.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for edc-offstudy-0.3.31.tar.gz
Algorithm Hash digest
SHA256 7dd560a2637ab34ae2166f04c0c24687d1e5c7b263dbd0909f140bb24cfee688
MD5 58e8fcb597465a2c94ec3ab192ed0370
BLAKE2b-256 cd8e44953245ff71cbd1130f960fa57b637b147e9c3070a9d7f0da9c238ae7e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for edc_offstudy-0.3.31-py3-none-any.whl
Algorithm Hash digest
SHA256 119de0527434e760e987b3be4eb2ae003e7749ddf90d9bf919869b2f97ec1d2f
MD5 8a0f269a5dec5b7a2f5086dce39fcaad
BLAKE2b-256 6ac4c81ee8b5f9ce7a43098f6e3301d9f5f26ccb74d0c59db02389d83c9b15ff

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