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.
Metadata
Release files for edc-offstudy 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| edc_offstudy-1.0.1.tar.gz | 40.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| edc_offstudy-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 96.0 kB
Release files / edc_offstudy-1.0.1.tar.gz
| Download URL | edc_offstudy-1.0.1.tar.gz |
|---|---|
| Size | 40.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2915a38d6add12668f84e88dce2823be6218c56d8bf329cd82e2379ae794150
|
|
BLAKE2b-256 checksum How to use checksums |
cca00a0d1b6d6a508f79bc158bba4bc7ce642dadff62abdfcec7fdb04aa85936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / edc_offstudy-1.0.1-py3-none-any.whl
| Download URL | edc_offstudy-1.0.1-py3-none-any.whl |
|---|---|
| Size | 55.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea6154ea5b964a1821e74b5e1db0c4b0f7190ae8819c99a57bfc1ed984258e19
|
|
BLAKE2b-256 checksum How to use checksums |
b4be6923a689368c63c473ce70040104d8bc5b4fe58aa348929039aa7c0169b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|