clinicedc 2.0.37__py3-none-any.whl → 2.0.38__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 clinicedc might be problematic. Click here for more details.
- {clinicedc-2.0.37.dist-info → clinicedc-2.0.38.dist-info}/METADATA +1 -1
- {clinicedc-2.0.37.dist-info → clinicedc-2.0.38.dist-info}/RECORD +7 -7
- edc_adverse_event/pdf_reports/ae_pdf_report.py +4 -3
- edc_adverse_event/pdf_reports/death_pdf_report.py +4 -3
- edc_pdf_reports/crf_pdf_report.py +9 -11
- {clinicedc-2.0.37.dist-info → clinicedc-2.0.38.dist-info}/WHEEL +0 -0
- {clinicedc-2.0.37.dist-info → clinicedc-2.0.38.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clinicedc
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.38
|
|
4
4
|
Summary: A clinical trials data management framework built on Django
|
|
5
5
|
Keywords: django,clinicedc,edc,clinical trials,research,data management,esource
|
|
6
6
|
Author: Erik van Widenfelt, Jonathan Willitts
|
|
@@ -244,8 +244,8 @@ edc_adverse_event/models/signals.py,sha256=K1N0Cn_rlrX2X3xSu-eqyDinyUtqjFeni6kTa
|
|
|
244
244
|
edc_adverse_event/navbars.py,sha256=88JxlC6a7lb_ba2Y1fPUIrfQN820SlWhi026MOm1oko,758
|
|
245
245
|
edc_adverse_event/notifications.py,sha256=6yAqd-pLTwwl43zZcDQWJEn0DCLjYBhlST4b9hPzPwM,1269
|
|
246
246
|
edc_adverse_event/pdf_reports/__init__.py,sha256=8_T_bOqSRwSBUttzTB-3qMwwKubfjTeCcXsAltBTmXg,84
|
|
247
|
-
edc_adverse_event/pdf_reports/ae_pdf_report.py,sha256=
|
|
248
|
-
edc_adverse_event/pdf_reports/death_pdf_report.py,sha256=
|
|
247
|
+
edc_adverse_event/pdf_reports/ae_pdf_report.py,sha256=kJwgkA7XN96chLs8DDhNf0S8CKXKBjiAWTT3yJNlI18,9778
|
|
248
|
+
edc_adverse_event/pdf_reports/death_pdf_report.py,sha256=J1hD2cnh6rmeP6cTRJDsENWeOZgLgIC6qJlR0ngiwc0,5094
|
|
249
249
|
edc_adverse_event/pdf_reports/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
250
250
|
edc_adverse_event/templates/edc_adverse_event/action_item_column.html,sha256=my5LmIDkfpZp8EwEY55tv0sF1F-d_Gp7-sOfa4H_rYo,376
|
|
251
251
|
edc_adverse_event/templates/edc_adverse_event/admin/app_index.html,sha256=gsIWpsWD0F4H0GMIWYGWbJ2v30ip7CvdJ4AoRY8iyqo,344
|
|
@@ -2097,7 +2097,7 @@ edc_pdf_reports/admin/__init__.py,sha256=YtpHY3BAzIO1dBr7apC73E63YRbaKS1tAWy89OK
|
|
|
2097
2097
|
edc_pdf_reports/admin/actions.py,sha256=m-n4i7RTqvOykKj3ldmcQ6B3Cna0hJXk9L8rf0zkGtw,533
|
|
2098
2098
|
edc_pdf_reports/admin/modeladmin_mixins.py,sha256=OG3GVzN_Acb86eVeMbUdAEHbJyJO5NVCijEexVj3UwE,885
|
|
2099
2099
|
edc_pdf_reports/apps.py,sha256=BHgFODyOf_RrElr2DnRQYsM1rDqtdYoQ9AQ18oD_YMM,118
|
|
2100
|
-
edc_pdf_reports/crf_pdf_report.py,sha256=
|
|
2100
|
+
edc_pdf_reports/crf_pdf_report.py,sha256=4ZoTSrdffKXdO6Y4aKLlS-xTNmdgxVpF2vhx2Tc8VMM,10884
|
|
2101
2101
|
edc_pdf_reports/flowables/__init__.py,sha256=Tbn-fvpDb0N6nhA3wxGisf5BCuZAVN4eSf152a0AKY0,117
|
|
2102
2102
|
edc_pdf_reports/flowables/checkbox.py,sha256=tFbq-qNbcvkPoCKRwXX4-nB5Ln31RmhSOsUmMo_xbCo,851
|
|
2103
2103
|
edc_pdf_reports/flowables/textbox.py,sha256=u_AgwkWDCqNsOeZo-yNToVL27SDgMkzf7BJmTB-F4KI,1502
|
|
@@ -3397,7 +3397,7 @@ edc_vitals/models/fields/waist_circumference.py,sha256=fZcHFDdEwWLjIVLktKrFCD9UU
|
|
|
3397
3397
|
edc_vitals/models/fields/weight.py,sha256=zo9_9e3Cpu0UqoRbWS-iDkcDo6fK80b1dDQy4x4MyxE,921
|
|
3398
3398
|
edc_vitals/utils.py,sha256=vXid44KUXxeaSyund_y5MNXc5DFJs052_PwUAjszE2k,1384
|
|
3399
3399
|
edc_vitals/validators.py,sha256=vNiElWMs0rRnHRNuVoPLRf0rW_C_0xcfUyep1Y_Si5s,156
|
|
3400
|
-
clinicedc-2.0.
|
|
3401
|
-
clinicedc-2.0.
|
|
3402
|
-
clinicedc-2.0.
|
|
3403
|
-
clinicedc-2.0.
|
|
3400
|
+
clinicedc-2.0.38.dist-info/licenses/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
|
|
3401
|
+
clinicedc-2.0.38.dist-info/WHEEL,sha256=n2u5OFBbdZvCiUKAmfnY1Po2j3FB_NWfuUlt5WiAjrk,79
|
|
3402
|
+
clinicedc-2.0.38.dist-info/METADATA,sha256=EBx5cUsa4zeby9k1-F14UMMermcXqLgj9dOcNBBu8A0,15786
|
|
3403
|
+
clinicedc-2.0.38.dist-info/RECORD,,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
from textwrap import fill
|
|
2
2
|
|
|
3
3
|
import inflect
|
|
4
|
+
from django.conf import settings
|
|
5
|
+
from edc_constants.constants import OTHER, YES
|
|
6
|
+
from edc_pdf_reports.crf_pdf_report import CrfPdfReport
|
|
4
7
|
from reportlab.lib import colors
|
|
5
8
|
from reportlab.lib.units import cm
|
|
6
9
|
from reportlab.platypus import Paragraph, Table
|
|
7
10
|
from reportlab.platypus.flowables import KeepTogether, Spacer
|
|
8
11
|
|
|
9
|
-
from edc_constants.constants import OTHER, YES
|
|
10
|
-
from edc_pdf_reports.crf_pdf_report import CrfPdfReport
|
|
11
|
-
|
|
12
12
|
from ..utils import get_adverse_event_app_label, get_ae_model
|
|
13
13
|
|
|
14
14
|
p = inflect.engine()
|
|
@@ -20,6 +20,7 @@ class AePdfReport(CrfPdfReport):
|
|
|
20
20
|
f"{get_adverse_event_app_label()}_admin:{get_adverse_event_app_label()}_"
|
|
21
21
|
"aeinitial_changelist"
|
|
22
22
|
)
|
|
23
|
+
draw_logo = getattr(settings, "EDC_PDF_REPORTS_DRAW_LOGO", True)
|
|
23
24
|
|
|
24
25
|
def get_report_story(self, **kwargs):
|
|
25
26
|
story = []
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
from textwrap import fill
|
|
2
2
|
|
|
3
3
|
import inflect
|
|
4
|
+
from django.conf import settings
|
|
4
5
|
from django.contrib.auth import get_user_model
|
|
6
|
+
from edc_constants.constants import OTHER
|
|
7
|
+
from edc_pdf_reports.crf_pdf_report import CrfPdfReport
|
|
5
8
|
from reportlab.lib import colors
|
|
6
9
|
from reportlab.lib.units import cm
|
|
7
10
|
from reportlab.platypus.flowables import Spacer
|
|
8
11
|
from reportlab.platypus.para import Paragraph
|
|
9
12
|
from reportlab.platypus.tables import Table
|
|
10
13
|
|
|
11
|
-
from edc_constants.constants import OTHER
|
|
12
|
-
from edc_pdf_reports.crf_pdf_report import CrfPdfReport
|
|
13
|
-
|
|
14
14
|
from ..utils import get_adverse_event_app_label, get_ae_model
|
|
15
15
|
|
|
16
16
|
User = get_user_model()
|
|
@@ -25,6 +25,7 @@ class DeathPdfReport(CrfPdfReport):
|
|
|
25
25
|
)
|
|
26
26
|
|
|
27
27
|
not_reported_text = "not reported"
|
|
28
|
+
draw_logo = getattr(settings, "EDC_PDF_REPORTS_DRAW_LOGO", True)
|
|
28
29
|
|
|
29
30
|
def get_report_story(self, **kwargs):
|
|
30
31
|
story = []
|
|
@@ -9,14 +9,6 @@ from django.apps import apps as django_apps
|
|
|
9
9
|
from django.contrib.auth import get_user_model
|
|
10
10
|
from django.core.exceptions import ObjectDoesNotExist
|
|
11
11
|
from django.utils.text import slugify
|
|
12
|
-
from reportlab.lib import colors
|
|
13
|
-
from reportlab.lib.pagesizes import A4
|
|
14
|
-
from reportlab.lib.units import cm
|
|
15
|
-
from reportlab.lib.utils import ImageReader
|
|
16
|
-
from reportlab.platypus import Paragraph, TableStyle
|
|
17
|
-
from reportlab.platypus.flowables import KeepTogether, Spacer
|
|
18
|
-
from reportlab.platypus.tables import Table
|
|
19
|
-
|
|
20
12
|
from edc_data_manager.get_longitudinal_value import (
|
|
21
13
|
DataDictionaryError,
|
|
22
14
|
get_longitudinal_value,
|
|
@@ -26,13 +18,19 @@ from edc_randomization.auth_objects import RANDO_UNBLINDED
|
|
|
26
18
|
from edc_utils.age import formatted_age
|
|
27
19
|
from edc_utils.date import to_local
|
|
28
20
|
from edc_utils.get_static_file import get_static_file
|
|
21
|
+
from reportlab.lib import colors
|
|
22
|
+
from reportlab.lib.pagesizes import A4
|
|
23
|
+
from reportlab.lib.units import cm
|
|
24
|
+
from reportlab.lib.utils import ImageReader
|
|
25
|
+
from reportlab.platypus import Paragraph, TableStyle
|
|
26
|
+
from reportlab.platypus.flowables import KeepTogether, Spacer
|
|
27
|
+
from reportlab.platypus.tables import Table
|
|
29
28
|
|
|
30
29
|
from .report import Report
|
|
31
30
|
|
|
32
31
|
if TYPE_CHECKING:
|
|
33
32
|
from django.contrib.auth.models import User
|
|
34
33
|
from django.core.handlers.wsgi import WSGIRequest
|
|
35
|
-
|
|
36
34
|
from edc_crf.model_mixins import CrfModelMixin
|
|
37
35
|
from edc_identifier.model_mixins import UniqueSubjectIdentifierModelMixin
|
|
38
36
|
|
|
@@ -50,7 +48,7 @@ class CrfPdfReport(Report):
|
|
|
50
48
|
report_url: str = None
|
|
51
49
|
changelist_url: str = None
|
|
52
50
|
|
|
53
|
-
default_page = dict(
|
|
51
|
+
default_page = dict( # noqa: RUF012
|
|
54
52
|
rightMargin=1.5 * cm,
|
|
55
53
|
leftMargin=1.5 * cm,
|
|
56
54
|
topMargin=2.0 * cm,
|
|
@@ -66,7 +64,7 @@ class CrfPdfReport(Report):
|
|
|
66
64
|
|
|
67
65
|
open_label = True
|
|
68
66
|
|
|
69
|
-
logo_data = {
|
|
67
|
+
logo_data = { # noqa: RUF012
|
|
70
68
|
"app_label": "edc_pdf_reports",
|
|
71
69
|
"filename": "clinicedc_logo.jpg",
|
|
72
70
|
"first_page": (0.83 * cm, 0.83 * cm),
|
|
File without changes
|
|
File without changes
|