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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edc_offstudy-1.0.1-py3-none-any.whl (55.3 kB view details)

Uploaded Python 3

File details

Details for the file edc_offstudy-1.0.1.tar.gz.

File metadata

  • Download URL: edc_offstudy-1.0.1.tar.gz
  • Upload date:
  • Size: 40.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for edc_offstudy-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f2915a38d6add12668f84e88dce2823be6218c56d8bf329cd82e2379ae794150
MD5 56619242a327ba4b971f3fa8693278d6
BLAKE2b-256 cca00a0d1b6d6a508f79bc158bba4bc7ce642dadff62abdfcec7fdb04aa85936

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edc_offstudy-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 55.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for edc_offstudy-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea6154ea5b964a1821e74b5e1db0c4b0f7190ae8819c99a57bfc1ed984258e19
MD5 6970b9c713eb604e84a1fa60728da802
BLAKE2b-256 b4be6923a689368c63c473ce70040104d8bc5b4fe58aa348929039aa7c0169b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page