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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for edc-offstudy-0.3.29.tar.gz
Algorithm Hash digest
SHA256 78de4221ff04d5b75c4af5ad7b23b2306163ebbdde241eb836476c1b3b240e54
MD5 73087af2634bb9355b11bde0a60f9966
BLAKE2b-256 b99e5c40a4c3d1de95a16445ce4b0cafcb36cbf4e2d3644400135226f6578e31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for edc_offstudy-0.3.29-py3-none-any.whl
Algorithm Hash digest
SHA256 c31d7dde93292e0204aaec29d8ab3d1e6d5c09e2c1dab33dfc70e382c0e76158
MD5 ee36a2ef32c84a28bf234960da0d1ba7
BLAKE2b-256 961a97a4091fa459e40befc4b7004802e5d5f8e0b17d5dd3b515a76a972cd2e4

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