meta-edc 1.0.3__py3-none-any.whl → 1.0.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- meta_analytics/dataframes/get_eos_df.py +1 -1
- meta_analytics/dataframes/get_last_imp_visits_df.py +5 -2
- meta_analytics/dataframes/screening/get_screening_df.py +2 -1
- meta_edc/settings/debug.py +2 -2
- meta_edc/settings/defaults.py +1 -0
- {meta_edc-1.0.3.dist-info → meta_edc-1.0.5.dist-info}/METADATA +3 -3
- {meta_edc-1.0.3.dist-info → meta_edc-1.0.5.dist-info}/RECORD +33 -22
- {meta_edc-1.0.3.dist-info → meta_edc-1.0.5.dist-info}/WHEEL +1 -1
- meta_lists/list_data.py +4 -0
- meta_lists/migrations/0019_auto_20250128_0143.py +48 -0
- meta_pharmacy/admin/rx_admin.py +1 -0
- meta_subject/action_items.py +8 -1
- meta_subject/admin/__init__.py +1 -0
- meta_subject/admin/next_appointment_admin.py +20 -0
- meta_subject/forms/__init__.py +1 -0
- meta_subject/forms/next_appointment_form.py +37 -0
- meta_subject/metadata_rules/metadata_rules.py +14 -0
- meta_subject/metadata_rules/predicates.py +29 -3
- meta_subject/migrations/0216_historicalnextappointment_nextappointment.py +554 -0
- meta_subject/migrations/0217_alter_historicalnextappointment_appt_datetime_and_more.py +42 -0
- meta_subject/migrations/0218_alter_historicalnextappointment_appt_date_and_more.py +53 -0
- meta_subject/migrations/0219_remove_historicalnextappointment_allow_create_interim_and_more.py +92 -0
- meta_subject/migrations/0220_historicalbloodresultsgludummy_bloodresultsgludummy.py +834 -0
- meta_subject/models/__init__.py +2 -0
- meta_subject/models/blood_results/__init__.py +1 -0
- meta_subject/models/blood_results/blood_results_glu.py +29 -0
- meta_subject/models/next_appointment.py +16 -0
- meta_subject/tests/tests/test_next_appointment.py +231 -0
- meta_visit_schedule/visit_schedules/phase_three/crfs.py +20 -1
- meta_visit_schedule/visit_schedules/phase_three/schedule_pregnancy.py +1 -1
- {meta_edc-1.0.3.dist-info → meta_edc-1.0.5.dist-info}/AUTHORS +0 -0
- {meta_edc-1.0.3.dist-info → meta_edc-1.0.5.dist-info}/LICENSE +0 -0
- {meta_edc-1.0.3.dist-info → meta_edc-1.0.5.dist-info}/top_level.txt +0 -0
meta_subject/migrations/0219_remove_historicalnextappointment_allow_create_interim_and_more.py
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
# Generated by Django 6.0 on 2025-02-05 02:53
|
2
|
+
|
3
|
+
import django.db.models.deletion
|
4
|
+
from django.db import migrations, models
|
5
|
+
|
6
|
+
|
7
|
+
class Migration(migrations.Migration):
|
8
|
+
|
9
|
+
dependencies = [
|
10
|
+
("edc_appointment", "0048_alter_appointment_site_and_more"),
|
11
|
+
("edc_facility", "0014_healthfacility_title_historicalhealthfacility_title"),
|
12
|
+
("edc_visit_schedule", "0017_alter_onschedule_managers"),
|
13
|
+
("meta_subject", "0218_alter_historicalnextappointment_appt_date_and_more"),
|
14
|
+
]
|
15
|
+
|
16
|
+
operations = [
|
17
|
+
migrations.RemoveField(
|
18
|
+
model_name="historicalnextappointment",
|
19
|
+
name="allow_create_interim",
|
20
|
+
),
|
21
|
+
migrations.RemoveField(
|
22
|
+
model_name="nextappointment",
|
23
|
+
name="allow_create_interim",
|
24
|
+
),
|
25
|
+
migrations.AddField(
|
26
|
+
model_name="historicalnextappointment",
|
27
|
+
name="offschedule_today",
|
28
|
+
field=models.CharField(
|
29
|
+
choices=[("Yes", "Yes"), ("No", "No")],
|
30
|
+
default="No",
|
31
|
+
help_text="If going off schedule today, additional CRFs will be added for today.",
|
32
|
+
max_length=15,
|
33
|
+
verbose_name="Is the subject going off schedule today?",
|
34
|
+
),
|
35
|
+
),
|
36
|
+
migrations.AddField(
|
37
|
+
model_name="nextappointment",
|
38
|
+
name="offschedule_today",
|
39
|
+
field=models.CharField(
|
40
|
+
choices=[("Yes", "Yes"), ("No", "No")],
|
41
|
+
default="No",
|
42
|
+
help_text="If going off schedule today, additional CRFs will be added for today.",
|
43
|
+
max_length=15,
|
44
|
+
verbose_name="Is the subject going off schedule today?",
|
45
|
+
),
|
46
|
+
),
|
47
|
+
migrations.AlterField(
|
48
|
+
model_name="historicalnextappointment",
|
49
|
+
name="appt_datetime",
|
50
|
+
field=models.DateTimeField(editable=False, null=True),
|
51
|
+
),
|
52
|
+
migrations.AlterField(
|
53
|
+
model_name="nextappointment",
|
54
|
+
name="appt_datetime",
|
55
|
+
field=models.DateTimeField(editable=False, null=True),
|
56
|
+
),
|
57
|
+
migrations.AlterField(
|
58
|
+
model_name="nextappointment",
|
59
|
+
name="health_facility",
|
60
|
+
field=models.ForeignKey(
|
61
|
+
blank=True,
|
62
|
+
null=True,
|
63
|
+
on_delete=django.db.models.deletion.PROTECT,
|
64
|
+
to="edc_facility.healthfacility",
|
65
|
+
),
|
66
|
+
),
|
67
|
+
migrations.AlterField(
|
68
|
+
model_name="nextappointment",
|
69
|
+
name="info_source",
|
70
|
+
field=models.ForeignKey(
|
71
|
+
blank=True,
|
72
|
+
max_length=15,
|
73
|
+
null=True,
|
74
|
+
on_delete=django.db.models.deletion.PROTECT,
|
75
|
+
to="edc_appointment.infosources",
|
76
|
+
verbose_name="What is the source of this appointment date",
|
77
|
+
),
|
78
|
+
),
|
79
|
+
migrations.AlterField(
|
80
|
+
model_name="nextappointment",
|
81
|
+
name="visitschedule",
|
82
|
+
field=models.ForeignKey(
|
83
|
+
blank=True,
|
84
|
+
help_text="Click SAVE to let the EDC suggest. Once selected, interim appointments will be flagged as not required/missed.",
|
85
|
+
max_length=15,
|
86
|
+
null=True,
|
87
|
+
on_delete=django.db.models.deletion.PROTECT,
|
88
|
+
to="edc_visit_schedule.visitschedule",
|
89
|
+
verbose_name="Which study visit code is closest to this appointment date",
|
90
|
+
),
|
91
|
+
),
|
92
|
+
]
|