@medicus.ai/medicus-report-pdf-generator 1.0.352 → 1.0.353

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.
@@ -6,7 +6,7 @@ body {
6
6
  /*background-size: 211mm;*/
7
7
  /*background-position: center top;*/
8
8
  box-sizing: border-box;
9
- width: 230mm;
9
+ width: 210mm;
10
10
  height: 297mm;
11
11
  margin: AUTO;
12
12
  font-family: "Open Sans", sans-serif;
@@ -3802,7 +3802,7 @@ div[key="mind"] .score-details-title {
3802
3802
  }
3803
3803
 
3804
3804
  .insight-content {
3805
- margin-top: 5%;
3805
+ margin-top: 5px;
3806
3806
  color: #124374;
3807
3807
  font-size: 11.5px;
3808
3808
  font-family: "Open Sans", sans-serif;
@@ -5062,8 +5062,8 @@ div#summary,
5062
5062
  .bio-without-container,
5063
5063
  .panel-bio-container,
5064
5064
  .all-details-section,
5065
- .doctor-details,
5066
5065
  .compact-view-content
5066
+ .resume-title
5067
5067
  {
5068
5068
  page-break-inside: avoid !important;
5069
5069
  page-break-after: avoid;
@@ -5074,6 +5074,10 @@ div#summary,
5074
5074
  box-sizing: border-box;
5075
5075
  }
5076
5076
 
5077
+ .compact-view-content{
5078
+ display: block !important;
5079
+ }
5080
+
5077
5081
  .detailed-list-card-wrapper,
5078
5082
  .detailed-list-wrapper,
5079
5083
  .detailed-list-title-wrapper {
@@ -936,8 +936,8 @@ const generatePDFReport = async (data) => {
936
936
  </div>
937
937
  <div style="width: 1px; height: 16px; background: #9DA9B4; margin: 0 8px;"></div>
938
938
  <div style="display: flex; flex-direction: column; align-items: flex-end;">
939
- <div>Telephone: 800 20 22</div>
940
- <div>Email: HRA@mediclinic.ae</div>
939
+ <div>Telephone: 800 20 33</div>
940
+ <div>Email: info@mediclinic.ae</div>
941
941
  </div>
942
942
  </div>
943
943
  `;
@@ -1,247 +1,247 @@
1
- {
2
- "yearsOld": {
3
- "message": "سنة",
4
- "description": "After the patient old in the header"
5
- },
6
- "lifeStyle": {
7
- "message": "نمط الحياة",
8
- "description": "my lifestyle part header"
9
- },
10
- "body": {
11
- "message": "الصحة الجسدية",
12
- "description": "my body part header"
13
- },
14
- "mind": {
15
- "message": "الصحة الذهنية",
16
- "description": "my mind part header"
17
- },
18
- "psychological": {
19
- "message": "معدل الصحة النفسية",
20
- "description": "Psychological title"
21
- },
22
- "physical": {
23
- "message": "معدل الصحة الجسدية",
24
- "description": "Physical title"
25
- },
26
- "weRecommend": {
27
- "message": "توصياتنا",
28
- "description": "tips section title"
29
- },
30
- "wellbeingReport": {
31
- "message": "تقرير الصحة العامة",
32
- "description": "Report header"
33
- },
34
- "scoresNote": {
35
- "message": "كلما زاد مجموع النقاط، كان هذا دليل على صحة أفضل",
36
- "description": "scores note"
37
- },
38
- "reportHeaderDescription": {
39
- "message": "أنت على بعد خطوات قليلة من تحقيق نتيجة ممتازة للصحة العامة، لكن عاداتك اليومية ونمط حياتك يعيقان تقدمك. يمكننا مساعدتك في تحقيق هذا التقدم والوصول إلى نتائج أفضل.",
40
- "description": "Text showing in the report header"
41
- },
42
- "sincerely": {
43
- "message": "مع خالص التقدير",
44
- "description": "part of message showing in email template preview in general configuration page"
45
- },
46
- "hospital": {
47
- "message": "المشفى",
48
- "description": "name of field showing at add user"
49
- },
50
- "healthRisk": {
51
- "message": "المخاطر الصحية",
52
- "description": "part header"
53
- },
54
- "Disclaimer": {
55
- "message": "توضيح:",
56
- "description": "Label showing in the footer as disclaimer title"
57
- },
58
- "Disclaimer Text": {
59
- "message": "يوضح هذا التقرير الذي تم إعداده من أجلك فقط مدى تقدمك من خلال مقارنة عاداتك الصحية الحالية والسابقة. ستساعدك هذه المعلومات في البقاء على الطريق نحو صحة جيدة. هذا الدليل لا يحل محل زيارة الطبيب ولا يمكنه تشخيص المرض أو المشاكل الطبية. إنه مصمم لتزويدك بمعلومات تتعلق بالمخاطر الصحية وصحتك العامة. يتم توفير هذه المعلومات لمساعدتك في وضع خطة عمل لإجراء تغييرات صحية في نمط الحياة.",
60
- "description": "text showing in the footer as disclaimer"
61
- },
62
- "January": {
63
- "message": "يناير",
64
- "description": "Month name"
65
- },
66
- "February": {
67
- "message": "فبراير",
68
- "description": "Month name"
69
- },
70
- "March": {
71
- "message": "مارس",
72
- "description": "Month name"
73
- },
74
- "April": {
75
- "message": "أبريل",
76
- "description": "Month name"
77
- },
78
- "May": {
79
- "message": "مايو",
80
- "description": "Month name"
81
- },
82
- "June": {
83
- "message": "يونيو",
84
- "description": "Month name"
85
- },
86
- "July": {
87
- "message": "يوليو",
88
- "description": "Month name"
89
- },
90
- "August": {
91
- "message": "أغسطس",
92
- "description": "Month name"
93
- },
94
- "September": {
95
- "message": "سبتمبر",
96
- "description": "Month name"
97
- },
98
- "October": {
99
- "message": "أكتوبر",
100
- "description": "Month name"
101
- },
102
- "November": {
103
- "message": "نوفمبر",
104
- "description": "Month name"
105
- },
106
- "December": {
107
- "message": "ديسمبر",
108
- "description": "Month name"
109
- },
110
- "recommends...": {
111
- "message": "توصيات",
112
- "description": "Title in corporate report"
113
- },
114
- "Copyright": {
115
- "message": "© Copyright NASCO Insurance 2020",
116
- "description": "Copyright text in corporate report"
117
- },
118
- "Participant Analytics": {
119
- "message": "تحليلات المشارك",
120
- "description": "Section title in corporate report"
121
- },
122
- "Page": {
123
- "message": "صفحة",
124
- "description": "page number in the corporate report PDF"
125
- },
126
- "Sources": {
127
- "message": "المصادر",
128
- "descripition": "sources in the corporate report PDF"
129
- },
130
- "Hi": {
131
- "message": "Hi",
132
- "description": "مرحباً"
133
- },
134
- "Your Wellbeing Report": {
135
- "message": "تقرير الصحة العامة الخاص بك",
136
- "description": "first sentence in the email body"
137
- },
138
- "Your detailed Wellbeing Report is ready!": {
139
- "message": "التقرير المفصل لصحتك العامة أصبح جاهزاً!",
140
- "description": "second sentence in the email body"
141
- },
142
- "Download the attached PDF to view your report.": {
143
- "message": "حمل ملف PDF المرفق لعرض تقريرك.",
144
- "description": "third sentence in the email body"
145
- },
146
- "Learn more about what your physical and psychological scores mean and get recommendations on how you can start improving your health and wellbeing today.": {
147
- "message": "تعرف على المزيد حول نتيجة صحتك الجسدية والنفسية واحصل على توصيات حول كيفية البدء بتحسين صحتك العامة اليوم.",
148
- "description": "fourth sentence in the email body"
149
- },
150
- "Congratulations, you’ve taken the first step towards better health. Keep going!": {
151
- "message": "لقد اتخذت الخطوة الأولى نحو صحة أفضل. واصل التقدم!",
152
- "description": "fifth sentence in the email body"
153
- },
154
- "HealthRiskAssessment": {
155
- "message": "تقييم المخاطر الصحية",
156
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
157
- },
158
- "labTitle": {
159
- "message": "المختبر",
160
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
161
- },
162
- "referenceTitle": {
163
- "message": "المرجع",
164
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
165
- },
166
- "patientNameTitle": {
167
- "message": "المريض",
168
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
169
- },
170
- "reportDateTitle": {
171
- "message": "تاريخ التقرير",
172
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
173
- },
174
- "preparedForTitle": {
175
- "message": "تم الإعداد لـ",
176
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
177
- },
178
- "dateOfBirthTitle": {
179
- "message": "تاريخ الميلاد",
180
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
181
- },
182
- "weightTitle": {
183
- "message": "الوزن",
184
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
185
- },
186
- "heightTitle": {
187
- "message": "الطول",
188
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
189
- },
190
- "genderTitle": {
191
- "message": "الجنس",
192
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
193
- },
194
- "BMITitle": {
195
- "message": "مؤشر كتلة الجسم (BMI)",
196
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
197
- },
198
- "bloodPressureTitle": {
199
- "message": "ضغط الدم",
200
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
201
- },
202
- "waistCircumferenceTitle": {
203
- "message": "محيط الخصر",
204
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
205
- },
206
- "depressionRisk": {
207
- "message": "مخاطر الاكتئاب",
208
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
209
- },
210
- "anxietyRisk": {
211
- "message": "مخاطر القلق",
212
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
213
- },
214
- "Reference range": {
215
- "message": "النطاق المرجعي",
216
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
217
- },
218
- "Last reading": {
219
- "message": "آخر قراءة",
220
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
221
- },
222
- "Last reading date": {
223
- "message": "تاريخ آخر قراءة",
224
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
225
- },
226
- "Details": {
227
- "message": "التفاصيل",
228
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
229
- },
230
- "testResultTitle": {
231
- "message": "نتائج اختبارك",
232
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
233
- },
234
- "physicalScore": {
235
- "message": "الدرجة البدنية",
236
- "description": "العنوان البدني"
237
- },
238
- "notificationTitle": {
239
- "message": "نتيجة رفاهيتك قريبة من تحقيق ميدالية، ولكن عاداتك الحياتية تعيق تقدمك. يمكننا مساعدتك على تحسين ترتيبك.",
240
- "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
241
- },
242
- "scoreText": {
243
- "message": "كلما كان المستوى أعلى، كنت أكثر صحة!",
244
- "description": "تسمية تظهر فوق الأطباء الذين وقعوا على هذا التقرير"
245
- }
246
-
1
+ {
2
+ "yearsOld": {
3
+ "message": "سنة",
4
+ "description": "After the patient old in the header"
5
+ },
6
+ "lifeStyle": {
7
+ "message": "نمط الحياة",
8
+ "description": "my lifestyle part header"
9
+ },
10
+ "body": {
11
+ "message": "الصحة الجسدية",
12
+ "description": "my body part header"
13
+ },
14
+ "mind": {
15
+ "message": "الصحة الذهنية",
16
+ "description": "my mind part header"
17
+ },
18
+ "psychological": {
19
+ "message": "معدل الصحة النفسية",
20
+ "description": "Psychological title"
21
+ },
22
+ "physical": {
23
+ "message": "معدل الصحة الجسدية",
24
+ "description": "Physical title"
25
+ },
26
+ "weRecommend": {
27
+ "message": "توصياتنا",
28
+ "description": "tips section title"
29
+ },
30
+ "wellbeingReport": {
31
+ "message": "تقرير الصحة العامة",
32
+ "description": "Report header"
33
+ },
34
+ "scoresNote": {
35
+ "message": "كلما زاد مجموع النقاط، كان هذا دليل على صحة أفضل",
36
+ "description": "scores note"
37
+ },
38
+ "reportHeaderDescription": {
39
+ "message": "أنت على بعد خطوات قليلة من تحقيق نتيجة ممتازة للصحة العامة، لكن عاداتك اليومية ونمط حياتك يعيقان تقدمك. يمكننا مساعدتك في تحقيق هذا التقدم والوصول إلى نتائج أفضل.",
40
+ "description": "Text showing in the report header"
41
+ },
42
+ "sincerely": {
43
+ "message": "مع خالص التقدير",
44
+ "description": "part of message showing in email template preview in general configuration page"
45
+ },
46
+ "hospital": {
47
+ "message": "المشفى",
48
+ "description": "name of field showing at add user"
49
+ },
50
+ "healthRisk": {
51
+ "message": "المخاطر الصحية",
52
+ "description": "part header"
53
+ },
54
+ "Disclaimer": {
55
+ "message": "توضيح:",
56
+ "description": "Label showing in the footer as disclaimer title"
57
+ },
58
+ "Disclaimer Text": {
59
+ "message": "يوضح هذا التقرير الذي تم إعداده من أجلك فقط مدى تقدمك من خلال مقارنة عاداتك الصحية الحالية والسابقة. ستساعدك هذه المعلومات في البقاء على الطريق نحو صحة جيدة. هذا الدليل لا يحل محل زيارة الطبيب ولا يمكنه تشخيص المرض أو المشاكل الطبية. إنه مصمم لتزويدك بمعلومات تتعلق بالمخاطر الصحية وصحتك العامة. يتم توفير هذه المعلومات لمساعدتك في وضع خطة عمل لإجراء تغييرات صحية في نمط الحياة.",
60
+ "description": "text showing in the footer as disclaimer"
61
+ },
62
+ "January": {
63
+ "message": "يناير",
64
+ "description": "Month name"
65
+ },
66
+ "February": {
67
+ "message": "فبراير",
68
+ "description": "Month name"
69
+ },
70
+ "March": {
71
+ "message": "مارس",
72
+ "description": "Month name"
73
+ },
74
+ "April": {
75
+ "message": "أبريل",
76
+ "description": "Month name"
77
+ },
78
+ "May": {
79
+ "message": "مايو",
80
+ "description": "Month name"
81
+ },
82
+ "June": {
83
+ "message": "يونيو",
84
+ "description": "Month name"
85
+ },
86
+ "July": {
87
+ "message": "يوليو",
88
+ "description": "Month name"
89
+ },
90
+ "August": {
91
+ "message": "أغسطس",
92
+ "description": "Month name"
93
+ },
94
+ "September": {
95
+ "message": "سبتمبر",
96
+ "description": "Month name"
97
+ },
98
+ "October": {
99
+ "message": "أكتوبر",
100
+ "description": "Month name"
101
+ },
102
+ "November": {
103
+ "message": "نوفمبر",
104
+ "description": "Month name"
105
+ },
106
+ "December": {
107
+ "message": "ديسمبر",
108
+ "description": "Month name"
109
+ },
110
+ "recommends...": {
111
+ "message": "توصيات",
112
+ "description": "Title in corporate report"
113
+ },
114
+ "Copyright": {
115
+ "message": "© Copyright NASCO Insurance 2020",
116
+ "description": "Copyright text in corporate report"
117
+ },
118
+ "Participant Analytics": {
119
+ "message": "تحليلات المشارك",
120
+ "description": "Section title in corporate report"
121
+ },
122
+ "Page": {
123
+ "message": "صفحة",
124
+ "description": "page number in the corporate report PDF"
125
+ },
126
+ "Sources": {
127
+ "message": "المصادر",
128
+ "descripition": "sources in the corporate report PDF"
129
+ },
130
+ "Hi": {
131
+ "message": "Hi",
132
+ "description": "مرحباً"
133
+ },
134
+ "Your Wellbeing Report": {
135
+ "message": "تقرير الصحة العامة الخاص بك",
136
+ "description": "first sentence in the email body"
137
+ },
138
+ "Your detailed Wellbeing Report is ready!": {
139
+ "message": "التقرير المفصل لصحتك العامة أصبح جاهزاً!",
140
+ "description": "second sentence in the email body"
141
+ },
142
+ "Download the attached PDF to view your report.": {
143
+ "message": "حمل ملف PDF المرفق لعرض تقريرك.",
144
+ "description": "third sentence in the email body"
145
+ },
146
+ "Learn more about what your physical and psychological scores mean and get recommendations on how you can start improving your health and wellbeing today.": {
147
+ "message": "تعرف على المزيد حول نتيجة صحتك الجسدية والنفسية واحصل على توصيات حول كيفية البدء بتحسين صحتك العامة اليوم.",
148
+ "description": "fourth sentence in the email body"
149
+ },
150
+ "Congratulations, you’ve taken the first step towards better health. Keep going!": {
151
+ "message": "لقد اتخذت الخطوة الأولى نحو صحة أفضل. واصل التقدم!",
152
+ "description": "fifth sentence in the email body"
153
+ },
154
+ "HealthRiskAssessment": {
155
+ "message": "تقييم المخاطر الصحية",
156
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
157
+ },
158
+ "labTitle": {
159
+ "message": "المختبر",
160
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
161
+ },
162
+ "referenceTitle": {
163
+ "message": "المرجع",
164
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
165
+ },
166
+ "patientNameTitle": {
167
+ "message": "المريض",
168
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
169
+ },
170
+ "reportDateTitle": {
171
+ "message": "تاريخ التقرير",
172
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
173
+ },
174
+ "preparedForTitle": {
175
+ "message": "تم الإعداد لـ",
176
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
177
+ },
178
+ "dateOfBirthTitle": {
179
+ "message": "تاريخ الميلاد",
180
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
181
+ },
182
+ "weightTitle": {
183
+ "message": "الوزن",
184
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
185
+ },
186
+ "heightTitle": {
187
+ "message": "الطول",
188
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
189
+ },
190
+ "genderTitle": {
191
+ "message": "الجنس",
192
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
193
+ },
194
+ "BMITitle": {
195
+ "message": "مؤشر كتلة الجسم (BMI)",
196
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
197
+ },
198
+ "bloodPressureTitle": {
199
+ "message": "ضغط الدم",
200
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
201
+ },
202
+ "waistCircumferenceTitle": {
203
+ "message": "محيط الخصر",
204
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
205
+ },
206
+ "depressionRisk": {
207
+ "message": "مخاطر الاكتئاب",
208
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
209
+ },
210
+ "anxietyRisk": {
211
+ "message": "مخاطر القلق",
212
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
213
+ },
214
+ "Reference range": {
215
+ "message": "النطاق المرجعي",
216
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
217
+ },
218
+ "Last reading": {
219
+ "message": "آخر قراءة",
220
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
221
+ },
222
+ "Last reading date": {
223
+ "message": "تاريخ آخر قراءة",
224
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
225
+ },
226
+ "Details": {
227
+ "message": "التفاصيل",
228
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
229
+ },
230
+ "testResultTitle": {
231
+ "message": "نتائج اختبارك",
232
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
233
+ },
234
+ "physicalScore": {
235
+ "message": "الدرجة البدنية",
236
+ "description": "العنوان البدني"
237
+ },
238
+ "notificationTitle": {
239
+ "message": "نتيجة رفاهيتك قريبة من تحقيق ميدالية، ولكن عاداتك الحياتية تعيق تقدمك. يمكننا مساعدتك على تحسين ترتيبك.",
240
+ "description": "التسمية الظاهرة فوق الأطباء الذين وقعوا على هذا التقرير"
241
+ },
242
+ "scoreText": {
243
+ "message": "كلما كان المستوى أعلى، كنت أكثر صحة!",
244
+ "description": "تسمية تظهر فوق الأطباء الذين وقعوا على هذا التقرير"
245
+ }
246
+
247
247
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medicus.ai/medicus-report-pdf-generator",
3
- "version": "1.0.352",
3
+ "version": "1.0.353",
4
4
  "description": "Nasco corporate report - latest update in 12/10/2023 - Fix HRC for bionext",
5
5
  "main": "index.js",
6
6
  "scripts": {