meta-edc 1.5.2__py3-none-any.whl → 1.5.3__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.
- {meta_edc-1.5.2.dist-info → meta_edc-1.5.3.dist-info}/METADATA +4 -4
- {meta_edc-1.5.2.dist-info → meta_edc-1.5.3.dist-info}/RECORD +5 -5
- meta_subject/forms/blood_results/blood_results_rft_form.py +2 -19
- {meta_edc-1.5.2.dist-info → meta_edc-1.5.3.dist-info}/WHEEL +0 -0
- {meta_edc-1.5.2.dist-info → meta_edc-1.5.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meta-edc
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.3
|
|
4
4
|
Summary: META Trial EDC (https://www.isrctn.com/ISRCTN76157257)
|
|
5
5
|
Keywords: django,clinicedc,META EDC,EDC,clinical trials,META Trial,ISRCTN76157257
|
|
6
6
|
Author: Erik van Widenfelt, Jonathan Willitts
|
|
@@ -89,8 +89,8 @@ Assuming you are logged into the account ``myaccount``:
|
|
|
89
89
|
mkdir ~/edc && \
|
|
90
90
|
cd ~/edc && \
|
|
91
91
|
uv venv && \
|
|
92
|
-
uv pip install -U meta-edc==1.5.
|
|
93
|
-
wget https://raw.githubusercontent.com/meta-trial/meta-edc/1.5.
|
|
92
|
+
uv pip install -U meta-edc==1.5.2 && \
|
|
93
|
+
wget https://raw.githubusercontent.com/meta-trial/meta-edc/1.5.2/manage.py && \
|
|
94
94
|
uv pip freeze | grep meta-edc
|
|
95
95
|
|
|
96
96
|
Copy your ``.env`` file to ``~/.etc``.
|
|
@@ -140,7 +140,7 @@ From the above example:
|
|
|
140
140
|
|
|
141
141
|
cd ~/edc && \
|
|
142
142
|
uv venv --clear && \
|
|
143
|
-
uv pip install -U meta-edc==1.5.
|
|
143
|
+
uv pip install -U meta-edc==1.5.2 && \
|
|
144
144
|
wget -O manage.py https://raw.githubusercontent.com/meta-trial/meta-edc/1.1.10/manage.py && \
|
|
145
145
|
uv pip freeze | grep meta-edc && \
|
|
146
146
|
python manage.py check
|
|
@@ -796,7 +796,7 @@ meta_subject/forms/blood_results/blood_results_hba1c_form.py,sha256=2eugHsvMxwD0
|
|
|
796
796
|
meta_subject/forms/blood_results/blood_results_ins_form.py,sha256=zKwobon8wRBrwpAMxonbXtR-Bg2wsJbcHraLjsqcAhY,722
|
|
797
797
|
meta_subject/forms/blood_results/blood_results_lft_form.py,sha256=WKCGZXTk9ndlASymnKKIAo0rBtE9uoE_gzKsx19p-LQ,714
|
|
798
798
|
meta_subject/forms/blood_results/blood_results_lipids_form.py,sha256=YcqETGjN1LH_kKTGVD0a-gW4z6X3PmM8z1xQmI0-Yfg,735
|
|
799
|
-
meta_subject/forms/blood_results/blood_results_rft_form.py,sha256=
|
|
799
|
+
meta_subject/forms/blood_results/blood_results_rft_form.py,sha256=HHDHbI_imJllaB1rKuVRjNxjqYjgYkYDbtWOA1I5lPw,2777
|
|
800
800
|
meta_subject/forms/complications_glycemia_form.py,sha256=yTm3qRDJ1wPuukmpf0s0lg-oXi8fZ5Y7D7T9V-CsOXk,375
|
|
801
801
|
meta_subject/forms/concomitant_medication_form.py,sha256=eznM4YOSV0eSsc-qaQgkga76T76Oz6i8svyBaleW-gQ,375
|
|
802
802
|
meta_subject/forms/delivery_form.py,sha256=L4WZqWbo9gz_BzxSdckh3e0v6DojOSoygD2xEcT4P78,484
|
|
@@ -1158,7 +1158,7 @@ meta_visit_schedule/visit_schedules/phase_three/schedule.py,sha256=LU1HRaV6o1UeK
|
|
|
1158
1158
|
meta_visit_schedule/visit_schedules/phase_three/schedule_dm_referral.py,sha256=q12p5wXc2D7lSiJVBnoSQw8Q3vL6uDx1t3PuDJO-Z-U,1735
|
|
1159
1159
|
meta_visit_schedule/visit_schedules/phase_three/schedule_pregnancy.py,sha256=bEpbpCX3vfZmnsqudr0z8PU5kiaX4ws1sO5Im98Mo28,1106
|
|
1160
1160
|
meta_visit_schedule/visit_schedules/phase_three/visit_schedule.py,sha256=ak4qazeKlpIlvpqrK9hDDO0fwWuWyvb4Ec-JU31IJxc,654
|
|
1161
|
-
meta_edc-1.5.
|
|
1162
|
-
meta_edc-1.5.
|
|
1163
|
-
meta_edc-1.5.
|
|
1164
|
-
meta_edc-1.5.
|
|
1161
|
+
meta_edc-1.5.3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
1162
|
+
meta_edc-1.5.3.dist-info/WHEEL,sha256=ZHijuPszqKbNczrBXkSuoxdxocbxgFghqnequ9ZQlVk,79
|
|
1163
|
+
meta_edc-1.5.3.dist-info/METADATA,sha256=IZondfXvx_qvpN9yGc8RSfC9a_Qrxz0vR3478rT09H4,5162
|
|
1164
|
+
meta_edc-1.5.3.dist-info/RECORD,,
|
|
@@ -11,9 +11,7 @@ from edc_utils import age
|
|
|
11
11
|
from edc_visit_schedule.utils import is_baseline
|
|
12
12
|
from edc_vitals.form_validators import BmiFormValidatorMixin
|
|
13
13
|
|
|
14
|
-
from
|
|
15
|
-
|
|
16
|
-
from ...models import BloodResultsRft, FollowupVitals, PhysicalExam, SubjectVisit
|
|
14
|
+
from ...models import BloodResultsRft, FollowupVitals, PhysicalExam
|
|
17
15
|
|
|
18
16
|
|
|
19
17
|
class BloodResultsRftFormValidator(
|
|
@@ -30,28 +28,13 @@ class BloodResultsRftFormValidator(
|
|
|
30
28
|
if self.cleaned_data.get("creatinine_value") and self.cleaned_data.get(
|
|
31
29
|
"creatinine_units"
|
|
32
30
|
):
|
|
33
|
-
if is_baseline(self.related_visit):
|
|
34
|
-
baseline_egfr_value = None
|
|
35
|
-
else:
|
|
36
|
-
baseline_visit = SubjectVisit.objects.get(
|
|
37
|
-
subject_identifier=self.related_visit.subject_identifier,
|
|
38
|
-
visit_code=DAY1,
|
|
39
|
-
visit_code_sequence=0,
|
|
40
|
-
)
|
|
41
|
-
baseline_egfr_value = BloodResultsRft.objects.get(
|
|
42
|
-
subject_visit=baseline_visit
|
|
43
|
-
).egfr_value
|
|
44
31
|
rs = RegisteredSubject.objects.get(
|
|
45
32
|
subject_identifier=self.related_visit.subject_identifier
|
|
46
33
|
)
|
|
47
34
|
age_in_years = age(rs.dob, self.report_datetime).years
|
|
48
35
|
|
|
49
36
|
self.validate_egfr(
|
|
50
|
-
gender=rs.gender,
|
|
51
|
-
age_in_years=age_in_years,
|
|
52
|
-
ethnicity=rs.ethnicity,
|
|
53
|
-
weight_in_kgs=self.get_weight_in_kgs(),
|
|
54
|
-
baseline_egfr_value=baseline_egfr_value,
|
|
37
|
+
gender=rs.gender, age_in_years=age_in_years, ethnicity=rs.ethnicity
|
|
55
38
|
)
|
|
56
39
|
|
|
57
40
|
def get_weight_in_kgs(self) -> float | None:
|
|
File without changes
|
|
File without changes
|