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

Uploaded Source

Built Distribution

edc_offstudy-0.3.40-py3-none-any.whl (53.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for edc-offstudy-0.3.40.tar.gz
Algorithm Hash digest
SHA256 d1d007888a67e5dad812cf846b20fc6da7a75252249552a64407d4a811d3820b
MD5 4d13efa1fb6f58a52377af37829b4536
BLAKE2b-256 6db212c21a9851d1b8162d02bcfca8d7972c01a5ec84f4591c7e75debf7a3b91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for edc_offstudy-0.3.40-py3-none-any.whl
Algorithm Hash digest
SHA256 6b63b51dc9653ed13a0f0bef7df7a1782776cd78890b158aedfe267cde208beb
MD5 ac8468ee154f57ca142907ec40c58976
BLAKE2b-256 a42e816c0c49edeea7f5ac3019a732efc90a1ae3c24dbaf1fef9f4cddcc186da

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