@medicus.ai/medicus-report-pdf-generator 1.0.402 → 1.0.404
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.
- package/.vscode/settings.json +4 -0
- package/assets/jquery-2.1.0.min.js +3 -3
- package/assets/pha/labcrop-logo.png +0 -0
- package/assets/raphael-min.js +10 -10
- package/assets/wellbeing/css/nasco_report.css +32 -0
- package/assets/wellbeing/css/nasco_report_rtl.css +5 -0
- package/config/Pha.json +48 -0
- package/config/test.txt +5 -0
- package/index.js +27 -11
- package/lib/wellbeing_report_generator.js +1350 -963
- package/locales/ar-AE.json +168 -168
- package/locales/ar.json +199 -199
- package/locales/fr.json +166 -167
- package/package.json +1 -1
- package/templates/Mediclinic/blocks/first-section.html +162 -219
- package/templates/Mediclinic/blocks/header-template.html +4 -4
- package/templates/Mediclinic/blocks/header.html +6 -6
- package/templates/Mediclinic/blocks/pdf-header.html +2 -2
- package/templates/Mediclinic/rtl_no_pages.html +3 -3
- package/templates/Pha/blocks/first-section.html +208 -0
- package/templates/Pha/blocks/footer.html +8 -0
- package/templates/Pha/blocks/header-template.html +6 -0
- package/templates/Pha/blocks/header.html +20 -0
- package/templates/Pha/blocks/patient-table.html +38 -0
- package/templates/Pha/blocks/pdf-header.html +8 -0
- package/templates/Pha/blocks/tips.html +9 -0
- package/templates/Pha/ltr_no_pages.html +37 -0
- package/templates/Pha/rtl_no_pages.html +42 -0
- package/templates/Pha/wellbeing_template.html +42 -0
- package/templates/blocks/ar-first-page-header.html +3 -6
- package/templates/blocks/ar-header.html +1 -1
- package/templates/blocks/biomarker-compact-ar.html +2 -0
- package/templates/blocks/biomarker-compact.html +2 -0
- package/templates/blocks/biomarker-details.html +1 -1
- package/templates/blocks/biomarker-insight.html +14 -14
- package/templates/blocks/header-first-page.html +3 -6
- package/templates/blocks/header.html +1 -1
- package/templates/blocks/signature.html +1 -1
- package/templates/blocks/summary-insight.html +6 -6
- package/templates/corporate_report/ltr_no_pages.html +1 -2
- package/templates/corporate_report/rtl_no_pages.html +1 -2
- package/templates/first_page_head.html +3 -1
- package/templates/ltr.html +31 -79
- package/templates/no_pages.html +48 -85
- package/templates/popup/popup-template.html +15 -18
- package/templates/sanusx/blocks/personal-details.html +54 -78
- package/templates/sanusx/blocks/predictions-section.html +3 -3
- package/templates/sanusx/blocks/super-power-section.html +2 -1
- package/templates/sanusx/ltr_no_pages.html +1 -2
- package/templates/sanusx/rtl_no_pages.html +2 -3
- package/templates/template.html +1373 -1421
- package/templates/wellbeing/blocks/first-section.html +14 -46
- package/templates/wellbeing/blocks/header.html +4 -5
- package/templates/wellbeing/ltr_no_pages.html +1 -2
- package/templates/wellbeing/rtl_no_pages.html +2 -3
- package/test.js +18 -9
package/locales/fr.json
CHANGED
|
@@ -1,170 +1,169 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
2
|
+
"APPROVED BY": {
|
|
3
|
+
"message": "Approuvé",
|
|
4
|
+
"description": "before the doctor signature in the bottom of the PDF file"
|
|
5
|
+
},
|
|
6
|
+
"PREPARED FOR": {
|
|
7
|
+
"message": "PRÉPARÉ POUR",
|
|
8
|
+
"description": "the label before the patient name, in the header of the pages of the PDF file"
|
|
9
|
+
},
|
|
10
|
+
"REFERENCE": {
|
|
11
|
+
"message": "RÉFÉRENCE",
|
|
12
|
+
"description": "the label before the reference ID number of the patient. in the header of the pages of the PDF file"
|
|
13
|
+
},
|
|
14
|
+
"BRANCH": {
|
|
15
|
+
"message": "SITE",
|
|
16
|
+
"description": "the label before the branch name of the patient. in the header of the pages of the PDF file"
|
|
17
|
+
},
|
|
18
|
+
"REPORT DATE": {
|
|
19
|
+
"message": "DATE",
|
|
20
|
+
"description": "The label before the report date. in the header of the pages of the PDF file"
|
|
21
|
+
},
|
|
22
|
+
"LAB": {
|
|
23
|
+
"message": "LABORATOIRE",
|
|
24
|
+
"description": "The label before the lab name, title, and number. in the header of the first page of the PDF file"
|
|
25
|
+
},
|
|
26
|
+
"Laboratory Report": {
|
|
27
|
+
"message": "Résultats de Biologie Médicale",
|
|
28
|
+
"description": "The title of the report PDF file"
|
|
29
|
+
},
|
|
30
|
+
"There's more...": {
|
|
31
|
+
"message": "En savoir plus…",
|
|
32
|
+
"description": "The title of a section in the PDF to show links to the lab website,the PIN, and the QR code"
|
|
33
|
+
},
|
|
34
|
+
"Access a detailed report online or in our app.": {
|
|
35
|
+
"message": "Accédez à un compte rendu détaillé en ligne ou dans notre application.",
|
|
36
|
+
"description": "this sentence shows before the links to the lab website or app"
|
|
37
|
+
},
|
|
38
|
+
"1) Visit": {
|
|
39
|
+
"message": "1) Visitez",
|
|
40
|
+
"description": "A prefix before the link to the lab website"
|
|
41
|
+
},
|
|
42
|
+
"2) Enter this PIN code:": {
|
|
43
|
+
"message": "2) Saisissez ce code PIN :",
|
|
44
|
+
"description": "before the pin code which will be used to access the app"
|
|
45
|
+
},
|
|
46
|
+
"Details": {
|
|
47
|
+
"message": "Détails",
|
|
48
|
+
"description": "The title of the detailed report section"
|
|
49
|
+
},
|
|
50
|
+
"Summary": {
|
|
51
|
+
"message": "Récapitulatif",
|
|
52
|
+
"description": "The title of the section which contains the summary of the report"
|
|
53
|
+
},
|
|
54
|
+
"Page": {
|
|
55
|
+
"message": "Page",
|
|
56
|
+
"description": "The page number in the footer of the pages in the PDf file"
|
|
57
|
+
},
|
|
58
|
+
"of": {
|
|
59
|
+
"message": "sur",
|
|
60
|
+
"description": "The page number in the footer of the pages in the PDf file"
|
|
61
|
+
},
|
|
62
|
+
"Reference range": {
|
|
63
|
+
"message": "Plage de référence",
|
|
64
|
+
"description": "Reference range in the table biomarker header in the PDf file"
|
|
65
|
+
},
|
|
66
|
+
"Last reading": {
|
|
67
|
+
"message": "Dernier résultat",
|
|
68
|
+
"description": "Last reading in the table biomarker header in the PDf file"
|
|
69
|
+
},
|
|
70
|
+
"Last reading date": {
|
|
71
|
+
"message": "Date du dernier résultat",
|
|
72
|
+
"description": "Last reading date in the table biomarker header in the PDf file"
|
|
73
|
+
},
|
|
74
|
+
"dates": {
|
|
75
|
+
"message": "Dates",
|
|
76
|
+
"description": "last reading of the history dates"
|
|
77
|
+
},
|
|
78
|
+
"smartReportBy":{
|
|
79
79
|
"message": "Compte rendu intelligent par",
|
|
80
|
-
"description":
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
80
|
+
"description":"text showing at the footer of pdf"
|
|
81
|
+
},
|
|
82
|
+
"Log in with a myLAB account":{
|
|
83
|
+
"message":"2) Connectez-vous avec un compte myLAB",
|
|
84
|
+
"description":"text showing at the header of pdf"
|
|
85
|
+
},
|
|
86
|
+
"doctorContent":{
|
|
87
|
+
"message":"Contenu réservé aux médecins",
|
|
88
|
+
"description":"text showing above the detailed list section (CR) as header"
|
|
89
|
+
},
|
|
90
|
+
"mostCommonCausesOfTheObservedValue": {
|
|
91
|
+
"message": "Causes les plus courantes de la valeur ou des valeurs observée (s) :",
|
|
92
|
+
"description": "text showing above the detailed list section (CR) as a subheader"
|
|
93
|
+
}, "January": {
|
|
94
|
+
"message": "Janvier",
|
|
95
|
+
"description": "Month name"
|
|
96
|
+
},
|
|
97
|
+
"February": {
|
|
98
|
+
"message": "Février",
|
|
99
|
+
"description": "Month name"
|
|
100
|
+
},
|
|
101
|
+
"March": {
|
|
102
|
+
"message": "Mars",
|
|
103
|
+
"description": "Month name"
|
|
104
|
+
},
|
|
105
|
+
"April": {
|
|
106
|
+
"message": "Avril",
|
|
107
|
+
"description": "Month name"
|
|
108
|
+
},
|
|
109
|
+
"May": {
|
|
110
|
+
"message": "Mai",
|
|
111
|
+
"description": "Month name"
|
|
112
|
+
},
|
|
113
|
+
"June": {
|
|
114
|
+
"message": "Juin",
|
|
115
|
+
"description": "Month name"
|
|
116
|
+
},
|
|
117
|
+
"July": {
|
|
118
|
+
"message": "Juillet",
|
|
119
|
+
"description": "Month name"
|
|
120
|
+
},
|
|
121
|
+
"August": {
|
|
122
|
+
"message": "Août",
|
|
123
|
+
"description": "Month name"
|
|
124
|
+
},
|
|
125
|
+
"September": {
|
|
126
|
+
"message": "Septembre",
|
|
127
|
+
"description": "Month name"
|
|
128
|
+
},
|
|
129
|
+
"October": {
|
|
130
|
+
"message": "Octobre",
|
|
131
|
+
"description": "Month name"
|
|
132
|
+
},
|
|
133
|
+
"November": {
|
|
134
|
+
"message": "Novembre",
|
|
135
|
+
"description": "Month name"
|
|
136
|
+
},
|
|
137
|
+
"December": {
|
|
138
|
+
"message": "Décembre",
|
|
139
|
+
"description": "Month name"
|
|
140
|
+
},
|
|
141
|
+
"am": {
|
|
142
|
+
"message": "AM",
|
|
143
|
+
"description": "AM"
|
|
144
|
+
},
|
|
145
|
+
"pm": {
|
|
146
|
+
"message": "PM",
|
|
147
|
+
"description": "PM"
|
|
148
|
+
},
|
|
149
|
+
"reportSummary": {
|
|
150
|
+
"message": "Récapitulatif du compte rendu",
|
|
151
|
+
"description": "name of field showing at the bottom of report if there is a summary for report"
|
|
152
|
+
},
|
|
153
|
+
"reportProperties": {
|
|
154
|
+
"message": "Propriétés du compte rendu",
|
|
155
|
+
"description": "Report Properties Label showing at add report page"
|
|
156
|
+
},
|
|
157
|
+
"noteFromDoctor": {
|
|
158
|
+
"message": "Observation du Dr",
|
|
159
|
+
"description": "Doctor App - Insight header text showing for doctor note type"
|
|
160
|
+
},
|
|
161
|
+
"signedBy": {
|
|
162
|
+
"message": "Signé par",
|
|
163
|
+
"description": "Label showing above the doctors who signed on this report"
|
|
164
|
+
},
|
|
165
|
+
"hospital": {
|
|
166
|
+
"message": "HÔPITAL",
|
|
167
|
+
"description": "name of field showing at add user"
|
|
168
|
+
}
|
|
170
169
|
}
|