Base classes for off study process in the Edc.
Project description
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 Distributions
Built Distribution
File details
Details for the file edc_offstudy-0.2.12-py3-none-any.whl
.
File metadata
- Download URL: edc_offstudy-0.2.12-py3-none-any.whl
- Upload date:
- Size: 35.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a58dfb79bdd216e9685581d84cff14d88c40a32f9c7e46e33c0988a7f28f3d94 |
|
MD5 | 5c1763b1c563dd2d2e9a49548d330b61 |
|
BLAKE2b-256 | 2b55d19006c126d01fca535f1042a1fed2fd60921575ffb6c6b167ca2fff068b |