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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: edc-offstudy-0.3.28.tar.gz
  • Upload date:
  • Size: 39.6 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.28.tar.gz
Algorithm Hash digest
SHA256 9ecf50ff4138ae033dbb84bc8a0897f571a1b5ba82b74ba38940bd10343eafb4
MD5 1da80ae273bd5e88b7dc3910cbb29f06
BLAKE2b-256 9c2364036481b7e746e4c7a34c2e58f3b0d86ae8f5c02e424fc533c16b590c6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for edc_offstudy-0.3.28-py3-none-any.whl
Algorithm Hash digest
SHA256 a84fa811834c189cacd1b30a305fa055f483b73d9dfdc1dc3164dba949638ae1
MD5 e8d1dbbb626f050282c1556a640bc30e
BLAKE2b-256 87a7c00df1db47207d344d8e64edf1d7bf9e7932342a3b4fc68911dd54a25719

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