meta-edc 1.1.18__py3-none-any.whl → 1.1.19__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.

Potentially problematic release.


This version of meta-edc might be problematic. Click here for more details.

Files changed (30) hide show
  1. meta_consent/admin/__init__.py +1 -0
  2. meta_consent/admin/subject_consent_spfq_admin.py +58 -0
  3. meta_consent/forms/__init__.py +2 -0
  4. meta_consent/forms/subject_consent_spfq_form.py +55 -0
  5. meta_consent/migrations/0033_historicalsubjectconsentspfq_subjectconsentspfq.py +615 -0
  6. meta_consent/models/__init__.py +2 -0
  7. meta_consent/models/subject_consent_spfq.py +103 -0
  8. {meta_edc-1.1.18.dist-info → meta_edc-1.1.19.dist-info}/METADATA +5 -5
  9. {meta_edc-1.1.18.dist-info → meta_edc-1.1.19.dist-info}/RECORD +30 -15
  10. meta_labs/list_data.py +2 -2
  11. meta_rando/migrations/0007_spfqlist.py +197 -0
  12. meta_rando/models/__init__.py +2 -0
  13. meta_rando/{models.py → models/randomization_list.py} +3 -3
  14. meta_rando/models/spfq_list.py +26 -0
  15. meta_subject/admin/__init__.py +2 -0
  16. meta_subject/admin/spfg_admin.py +103 -0
  17. meta_subject/choices.py +37 -0
  18. meta_subject/constants.py +14 -0
  19. meta_subject/forms/__init__.py +2 -0
  20. meta_subject/forms/spfq_form.py +65 -0
  21. meta_subject/migrations/0228_bloodresultshba1c_hba1c_datetime_and_more.py +1 -6780
  22. meta_subject/migrations/0229_alter_glucosefbg_consent_model_and_more.py +1918 -0
  23. meta_subject/migrations/0230_alter_historicaldelivery_action_identifier_and_more.py +1733 -0
  24. meta_subject/migrations/0231_alter_historicalmedicationadherence_consent_model_and_more.py +2054 -0
  25. meta_subject/migrations/0232_alter_patienthistory_concomitant_conditions_and_more.py +1170 -0
  26. meta_subject/migrations/0233_historicalspfq_spfq.py +1066 -0
  27. meta_subject/models/__init__.py +2 -0
  28. meta_subject/models/spfq.py +190 -0
  29. {meta_edc-1.1.18.dist-info → meta_edc-1.1.19.dist-info}/WHEEL +0 -0
  30. {meta_edc-1.1.18.dist-info → meta_edc-1.1.19.dist-info}/licenses/LICENSE +0 -0
@@ -42,6 +42,7 @@ from .signals import (
42
42
  update_pregnancy_notification_on_delivery_post_save,
43
43
  update_schedule_on_delivery_post_save,
44
44
  )
45
+ from .spfq import Spfq
45
46
  from .study_medication import StudyMedication
46
47
  from .subject_requisition import SubjectRequisition
47
48
  from .subject_visit import SubjectVisit
@@ -85,6 +86,7 @@ __all__ = [
85
86
  "PhysicalExam",
86
87
  "PregnancyUpdate",
87
88
  "Sf12",
89
+ "Spfq",
88
90
  "StudyMedication",
89
91
  "SubjectRequisition",
90
92
  "SubjectVisit",
@@ -0,0 +1,190 @@
1
+ from django.db import models
2
+ from edc_constants.choices import DIFFICULT_TO_EASY_CHOICE, DISAGREE_TO_AGREE_CHOICE, YES_NO
3
+ from edc_model.models import BaseUuidModel
4
+
5
+ from ..choices import (
6
+ LESS_EXPECTED_TO_MORE_EXPECTED_CHOICE,
7
+ NOT_AT_ALL_TO_HIGHLY_CHOICE,
8
+ NOT_AT_ALL_TO_SEVERE_CHOICE,
9
+ )
10
+ from ..model_mixins import CrfModelMixin
11
+
12
+
13
+ class Spfq(CrfModelMixin, BaseUuidModel):
14
+ a01 = models.CharField(
15
+ verbose_name="I understood the treatment process in this trial",
16
+ max_length=25,
17
+ choices=DISAGREE_TO_AGREE_CHOICE,
18
+ help_text="for example: when and how to take or use a treatment",
19
+ )
20
+ a02 = models.CharField(
21
+ verbose_name=(
22
+ "The information given to me before "
23
+ "I joined the trial was everything I wanted to know"
24
+ ),
25
+ max_length=25,
26
+ choices=DISAGREE_TO_AGREE_CHOICE,
27
+ help_text=(
28
+ "for example: visits and procedures, "
29
+ "time commitment, who to contact with questions"
30
+ ),
31
+ )
32
+ a03 = models.CharField(
33
+ verbose_name=(
34
+ "The information given to me before I "
35
+ "joined the trial was easy for me to understand"
36
+ ),
37
+ max_length=25,
38
+ choices=DISAGREE_TO_AGREE_CHOICE,
39
+ help_text=(
40
+ "for example: visits and procedures, "
41
+ "time commitment, who to contact with questions"
42
+ ),
43
+ )
44
+ a04 = models.CharField(
45
+ verbose_name=(
46
+ "I felt comfortable that I could ask any questions before I joined the trial"
47
+ ),
48
+ max_length=25,
49
+ choices=DISAGREE_TO_AGREE_CHOICE,
50
+ )
51
+ b01 = models.CharField(
52
+ verbose_name="Overall I was satisfied with the trial site",
53
+ max_length=25,
54
+ choices=DISAGREE_TO_AGREE_CHOICE,
55
+ help_text=(
56
+ "for example: comfort and privacy of treatment area, "
57
+ "waiting area, parking, ease of access to the site"
58
+ ),
59
+ )
60
+ b02 = models.CharField(
61
+ verbose_name="My trial visits were well organized",
62
+ max_length=25,
63
+ choices=DISAGREE_TO_AGREE_CHOICE,
64
+ )
65
+ b03 = models.CharField(
66
+ verbose_name="My trial visits were scheduled at a convenient time for me",
67
+ max_length=25,
68
+ choices=DISAGREE_TO_AGREE_CHOICE,
69
+ )
70
+ b04 = models.CharField(
71
+ verbose_name="The staff treated me with respect",
72
+ max_length=25,
73
+ choices=DISAGREE_TO_AGREE_CHOICE,
74
+ )
75
+ b05 = models.CharField(
76
+ verbose_name="I felt comfortable that I could ask questions during the trial",
77
+ max_length=25,
78
+ choices=DISAGREE_TO_AGREE_CHOICE,
79
+ )
80
+ b06 = models.CharField(
81
+ verbose_name=(
82
+ "I was satisfied with the answers I have received to my questions during the trial"
83
+ ),
84
+ max_length=25,
85
+ choices=DISAGREE_TO_AGREE_CHOICE,
86
+ )
87
+ b07 = models.CharField(
88
+ verbose_name="The time taken to collect data was acceptable to me",
89
+ max_length=25,
90
+ choices=YES_NO,
91
+ help_text="for example: in person visits, questionnaires, forms",
92
+ )
93
+ b08 = models.CharField(
94
+ verbose_name="The impact the trial has had on my daily activities is acceptable",
95
+ max_length=25,
96
+ choices=YES_NO,
97
+ help_text="for example: household chores, work commitments, eating",
98
+ )
99
+ b09 = models.CharField(
100
+ verbose_name="The way in which trial data is being collected is acceptable to me",
101
+ max_length=25,
102
+ choices=YES_NO,
103
+ help_text=(
104
+ "for example: in person, online questionnaire, "
105
+ "diary, wearable sensors, monitoring machines, technology"
106
+ ),
107
+ )
108
+ b10 = models.CharField(
109
+ verbose_name=(
110
+ "Optional: I am being kept informed of the results of "
111
+ "my medical tests done during the trial, including during screening"
112
+ ),
113
+ max_length=25,
114
+ choices=DISAGREE_TO_AGREE_CHOICE,
115
+ help_text="for example: blood tests, scans etc.",
116
+ )
117
+
118
+ c01 = models.CharField(
119
+ verbose_name="I was informed when I had completed the trial",
120
+ max_length=25,
121
+ choices=YES_NO,
122
+ )
123
+
124
+ c02 = models.CharField(
125
+ verbose_name=(
126
+ "I was informed of any future opportunities to "
127
+ "access the overall trial results if I wanted to"
128
+ ),
129
+ max_length=25,
130
+ choices=YES_NO,
131
+ )
132
+
133
+ c03 = models.CharField(
134
+ verbose_name="How easy was it to take the medication?",
135
+ max_length=25,
136
+ choices=DIFFICULT_TO_EASY_CHOICE,
137
+ )
138
+
139
+ c04 = models.CharField(
140
+ verbose_name="Did you experience any burden or side effects?",
141
+ max_length=25,
142
+ choices=NOT_AT_ALL_TO_SEVERE_CHOICE,
143
+ )
144
+
145
+ c05 = models.CharField(
146
+ verbose_name="How acceptable was it to take the drug?",
147
+ max_length=25,
148
+ choices=NOT_AT_ALL_TO_HIGHLY_CHOICE,
149
+ )
150
+
151
+ c06 = models.CharField(
152
+ verbose_name="How easy was it to fit the medication into your routine?",
153
+ max_length=25,
154
+ choices=DIFFICULT_TO_EASY_CHOICE,
155
+ )
156
+
157
+ c07 = models.CharField(
158
+ verbose_name="How burdensome was taking part in the trial?",
159
+ max_length=25,
160
+ choices=NOT_AT_ALL_TO_SEVERE_CHOICE,
161
+ )
162
+
163
+ c08 = models.CharField(
164
+ verbose_name=(
165
+ "Overall, I was satisfied with the information "
166
+ "I received about future support after the trial"
167
+ ),
168
+ max_length=25,
169
+ choices=DISAGREE_TO_AGREE_CHOICE,
170
+ help_text="for example: future treatment, follow-up contact details",
171
+ )
172
+
173
+ c09 = models.CharField(
174
+ verbose_name="Overall, I was satisfied with my trial experience",
175
+ max_length=25,
176
+ choices=DISAGREE_TO_AGREE_CHOICE,
177
+ )
178
+
179
+ c10 = models.CharField(
180
+ verbose_name=(
181
+ "Compared to when the trial started, the overall "
182
+ "commitment required was similar to what I expected"
183
+ ),
184
+ max_length=25,
185
+ choices=LESS_EXPECTED_TO_MORE_EXPECTED_CHOICE,
186
+ )
187
+
188
+ class Meta(CrfModelMixin.Meta, BaseUuidModel.Meta):
189
+ verbose_name = "Feedback Questionnaire (SPFQ)"
190
+ verbose_name_plural = "Feedback Questionnaires (SPFQ)"