Skip to main content

Base classes for off study process in the Edc.

Project description

pypi travis coverage

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

This version

0.2.4

Download files

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

Source Distribution

Built Distribution

edc_offstudy-0.2.4-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file edc-offstudy-0.2.4.macosx-10.13-x86_64.tar.gz.

File metadata

  • Download URL: edc-offstudy-0.2.4.macosx-10.13-x86_64.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for edc-offstudy-0.2.4.macosx-10.13-x86_64.tar.gz
Algorithm Hash digest
SHA256 3cfd63fff850779423f6966b07a03f41138b3b656f5c415c617ba57201633075
MD5 8918f300a8e4558127867b6a7377e3b4
BLAKE2b-256 2358a845c39a6d0302215d086909373139b50004b76b45cb6cea79532ca159d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edc_offstudy-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

File hashes

Hashes for edc_offstudy-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 30953e973a400db7934343d1eadf835b1d2c3848dcebca51dbca346f2a476a5e
MD5 18f9f741cf558cb55c2a5a9c7a2ab02c
BLAKE2b-256 eeb47b94e7d3106aaa92c52961cf688321c0d5b2351b4321d653f4fcf558568e

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