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

Uploaded Source

Built Distribution

edc_offstudy-0.3.47-py3-none-any.whl (54.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edc-offstudy-0.3.47.tar.gz
  • Upload date:
  • Size: 40.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for edc-offstudy-0.3.47.tar.gz
Algorithm Hash digest
SHA256 9c18077ae095350e567da9cb2f832361ee15a3c126996677fa3030b5bab74cc1
MD5 91ba31618a04e75ff0cd608693019d04
BLAKE2b-256 6269c8e6371522775d1f4a655dbdb93b1bfa01d66a4654b178aa4e54b213605e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for edc_offstudy-0.3.47-py3-none-any.whl
Algorithm Hash digest
SHA256 d7d81d038bf0658b482283eb17a4e51556f1e8fcdc986d2635aa6ac0b38e9643
MD5 5349b836bb7f7fda6252f4758bc04a6f
BLAKE2b-256 ae22663926a5ce2cad9a4fb2c6cf590c0138f8a860040afd3a3561f765bb0f56

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