@medicus.ai/medicus-report-pdf-generator 1.0.329 → 1.0.331

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.
@@ -552,22 +552,30 @@ let generateHTMLWellbeingReportWithSmartReport = async (data, isDebugging, clien
552
552
  }
553
553
 
554
554
  let depressionRiskScore = wellbeingData.calculation.depressionRiskScore?.toFixed(1)
555
- let depressionRiskAmount = ((depressionRiskScore > 40 && depressionRiskScore < 70) ? 310 : (depressionRiskScore >= 70) ? 310 : 300);
555
+ const depressionRiskAmount =
556
+ (depressionRiskScore >= 0 && depressionRiskScore <= 14.81) ? 550 :
557
+ (depressionRiskScore >= 18.52 && depressionRiskScore <= 33.33) ? 400 :
558
+ (depressionRiskScore >= 37.04 && depressionRiskScore <= 51.85) ? 380 :
559
+ (depressionRiskScore >= 55.56 && depressionRiskScore <= 70.37) ? 370 :
560
+ (depressionRiskScore >= 74.07 && depressionRiskScore <= 100) ? 330 :
561
+ 0;
556
562
  let depressionRiskColor = (depressionRiskScore > 40 && depressionRiskScore < 70) ? third_level_color : (depressionRiskScore >= 70) ? fifth_level_color : client === 'nasco' ? second_level_color : first_level_color;
557
563
 
558
564
  let rotateDepressionRiskAmount = (depressionRiskScore / 100) * depressionRiskAmount;
559
- if (rotateDepressionRiskAmount > 336) {
560
- rotateDepressionRiskAmount = 336
561
- }
565
+
562
566
 
563
567
  let anxietyRiskScore = wellbeingData.calculation.anxietyRiskScore?.toFixed(1)
564
- let anxietyRiskAmount =((anxietyRiskScore > 40 && anxietyRiskScore < 70) ? 310 : (anxietyRiskScore >= 70) ? 310 : 300);
568
+ const anxietyRiskAmount =
569
+ (anxietyRiskScore >= 0 && anxietyRiskScore <= 19.05) ? 460 :
570
+ (anxietyRiskScore >= 23.81 && anxietyRiskScore <= 42.86) ? 400 :
571
+ (anxietyRiskScore >= 47.62 && anxietyRiskScore <= 66.67) ? 360 :
572
+ (anxietyRiskScore >= 71.43 && anxietyRiskScore <= 100) ? 330 :
573
+ 0;
574
+
565
575
  let anxietyRiskColor = (anxietyRiskScore > 40 && anxietyRiskScore < 70) ? third_level_color : (anxietyRiskScore >= 70) ? fifth_level_color : client === 'nasco' ? second_level_color : first_level_color;
566
576
 
567
577
  let rotateAnxietyRiskAmount = (anxietyRiskScore / 100) * anxietyRiskAmount;
568
- if (rotateAnxietyRiskAmount > 336) {
569
- rotateAnxietyRiskAmount = 336
570
- }
578
+
571
579
  let psychologicalScore = wellbeingData.calculation.psychologicalScore?.toFixed(1)
572
580
  let psychologicalAmount = ((psychologicalScore > 40 && psychologicalScore < 70) ? 355 : (psychologicalScore >= 70) ? 360 : 214);
573
581
  let psychologicalColor = (psychologicalScore > 40 && psychologicalScore < 70) ? third_level_color : (psychologicalScore >= 70) ? fifth_level_color : client === 'nasco' ? second_level_color : first_level_color;
@@ -671,7 +679,7 @@ let generateHTMLWellbeingReportWithSmartReport = async (data, isDebugging, clien
671
679
  }
672
680
 
673
681
  let tempScore = {
674
- percentage: item['score'],
682
+ percentage: Math.round(item['score']/(item['base']/5)),
675
683
  icon: value,
676
684
  scoreText: item['scoreText']
677
685
  };
@@ -713,11 +721,11 @@ let generateHTMLWellbeingReportWithSmartReport = async (data, isDebugging, clien
713
721
  key.type = 'lifeStyleInsights'
714
722
  lifeStyleTips.push(key)
715
723
  }
716
- if (key.partId === 2) {
724
+ if (key.partId === 3) {
717
725
  key.type = 'bodyInsights'
718
726
  bodyTips.push(key)
719
727
  }
720
- if (key.partId === 3) {
728
+ if (key.partId === 2) {
721
729
  key.type = 'mindInsights'
722
730
  mindTips.push(key)
723
731
  }
@@ -926,6 +934,31 @@ const generatePDFReport = async (data) => {
926
934
  </div>
927
935
  `;
928
936
 
937
+ const headerTemplate=`
938
+ <div style="width: 400px; height: 61.50px; position: relative">
939
+ <div style="left: 0px; top: 18px; position: absolute; color: #555555; font-size: 14px; font-family: Metropolis; font-weight: 700; text-transform: uppercase; word-wrap: break-word">Health Risk Assessment</div>
940
+ <img style="width: 97px; height: 32px; left: 450px; top: 0px; position: absolute" src="https://placehold.co/97x32" />
941
+ <div style="width: 547px; padding-left: 8px; padding-right: 8px; padding-top: 5px; padding-bottom: 5px; left: 0px; top: 43.50px; position: absolute; background: #F2F5F8; justify-content: space-between; align-items: center; display: inline-flex">
942
+ <div style="justify-content: flex-start; align-items: center; gap: 2px; display: flex">
943
+ <div style="color: #333333; font-size: 8px; font-family: Metropolis; font-weight: 500; word-wrap: break-word">LAB:</div>
944
+ <div style="justify-content: center; display: flex; flex-direction: column; color: #2F2F2F; font-size: 7.50px; font-family: Metropolis; font-weight: 400; word-wrap: break-word">Mediclinic</div>
945
+ </div>
946
+ <div style="justify-content: flex-start; align-items: center; gap: 2px; display: flex">
947
+ <div style="color: #333333; font-size: 8px; font-family: Metropolis; font-weight: 500; word-wrap: break-word">REFERENCE:</div>
948
+ <div style="color: #2F2F2F; font-size: 7.50px; font-family: Metropolis; font-weight: 400; word-wrap: break-word">MR-EAAA792</div>
949
+ </div>
950
+ <div style="justify-content: flex-start; align-items: center; gap: 2px; display: flex">
951
+ <div style="color: #333333; font-size: 8px; font-family: Metropolis; font-weight: 500; word-wrap: break-word">PATIENT:</div>
952
+ <div style="color: #2F2F2F; font-size: 7.50px; font-family: Metropolis; font-weight: 400; word-wrap: break-word">Amir - EU</div>
953
+ </div>
954
+ <div style="justify-content: flex-start; align-items: center; gap: 2px; display: flex">
955
+ <div style="color: #333333; font-size: 8px; font-family: Metropolis; font-weight: 500; word-wrap: break-word">REPORT DATE:</div>
956
+ <div style="color: #2F2F2F; font-size: 7.50px; font-family: Metropolis; font-weight: 400; word-wrap: break-word">17/10/2023</div>
957
+ </div>
958
+ </div>
959
+ </div>
960
+ `
961
+
929
962
  const OUT_FILE = data.outputFile;
930
963
  const browser = await puppeteer.launch({
931
964
  args: [
@@ -1170,6 +1203,7 @@ let renderItems = (allScores, partScores) => {
1170
1203
  };
1171
1204
 
1172
1205
  let renderInsightTips = (tips,type) => {
1206
+ console.log(tips,'tips');
1173
1207
 
1174
1208
  if (type === 'Mediclinic') {
1175
1209
  let tipsHtml = '';
@@ -1177,14 +1211,14 @@ let renderInsightTips = (tips,type) => {
1177
1211
  if (!empty(tips)) {
1178
1212
  let partImages = {
1179
1213
  1: lifestyleImage,
1180
- 2: bodyImage,
1181
- 3: mindImage
1214
+ 3: bodyImage,
1215
+ 2: mindImage
1182
1216
  };
1183
1217
 
1184
1218
  let partTitles = {
1185
1219
  1:localeService.t('lifeStyle'),
1186
- 2: localeService.t('body'),
1187
- 3: localeService.t('mind')
1220
+ 3: localeService.t('body'),
1221
+ 2: localeService.t('mind')
1188
1222
  };
1189
1223
 
1190
1224
  let tip = tips[0];
package/locales/ar.json CHANGED
@@ -1,162 +1,398 @@
1
1
  {
2
- "APPROVED BY": {
3
- "message": "تمت الموافقة",
4
- "description": "before the doctor signature in the bottom of the PDF file"
2
+ "yearsOld": {
3
+ "message": "سنة",
4
+ "description": "After the patient old in the header"
5
5
  },
6
- "PREPARED FOR": {
7
- "message": "محضّر لـِ",
8
- "description": "the label before the patient name, in the header of the pages of the PDF file"
6
+ "lifeStyle": {
7
+ "message": "نمط الحياة",
8
+ "description": "my lifestyle part header"
9
9
  },
10
- "REFERENCE": {
11
- "message": "الرقم المرجعي",
12
- "description": "the label before the reference ID number of the patient. in the header of the pages of the PDF file"
10
+ "body": {
11
+ "message": "الصحة الجسدية",
12
+ "description": "my body part header"
13
13
  },
14
- "BRANCH": {
15
- "message": "الفرع",
16
- "description": "the label before the branch name of the patient. in the header of the pages of the PDF file"
14
+ "mind": {
15
+ "message": "الصحة الذهنية",
16
+ "description": "my mind part header"
17
17
  },
18
- "REPORT DATE": {
19
- "message": "تاريخ التقرير",
20
- "description": "The label before the report date. in the header of the pages of the PDF file"
18
+ "psychological": {
19
+ "message": "معدل الصحة النفسية",
20
+ "description": "Psychological title"
21
21
  },
22
- "LAB": {
23
- "message": "المختبر",
24
- "description": "The label before the lab name, title, and number. in the header of the first page of the PDF file"
22
+ "physical": {
23
+ "message": "معدل الصحة الجسدية",
24
+ "description": "Physical title"
25
25
  },
26
- "Laboratory Report": {
27
- "message": "تقرير المختبر",
28
- "description": "The title of the report PDF file"
26
+ "weRecommend": {
27
+ "message": "توصياتنا",
28
+ "description": "tips section title"
29
29
  },
30
- "There's more...": {
31
- "message": "هنالك المزيد...",
32
- "description": "The title of a section in the PDF to show links to the lab website,the PIN, and the QR code"
30
+ "wellbeingReport": {
31
+ "message": "تقرير الصحة العامة",
32
+ "description": "Report header"
33
33
  },
34
- "Access a detailed report online or in our app.": {
35
- "message": "الوصول إلى التقرير أونلاين أو من خلال تطبيقنا",
36
- "description": "this sentence shows before the links to the lab website or app"
34
+ "scoresNote": {
35
+ "message": "كلما زاد مجموعك، كان هذا دليل على صحة أفضل",
36
+ "description": "scores note"
37
37
  },
38
- "1) Visit": {
39
- "message": "1) زيارة",
40
- "description": "A prefix before the link to the lab website"
38
+ "reportHeaderDescription": {
39
+ "message": "أنت على بعد خطوات قليلة من تحقيق نتيجة ممتازة للصحة العامة، لكن عاداتك اليومية ونمط حياتك يعيقان تقدمك. يمكننا مساعدتك في تحقيق هذا التقدم والوصول إلى نتائج أفضل.",
40
+ "description": "Text showing in the report header"
41
41
  },
42
- "2) Enter this PIN code:": {
43
- "message": "2) يرجى إدخال رمز التعريف الشخصي PIN",
44
- "description": "before the pin code which will be used to access the app"
42
+ "sincerely": {
43
+ "message": "مع خالص التقدير",
44
+ "description": "part of message showing in email template preview in general configuration page"
45
45
  },
46
- "Details": {
47
- "message": "التفاصيل",
48
- "description": "The title of the detailed report section"
49
- },
50
- "Summary": {
51
- "message": "الملخص",
52
- "description": "The title of the section which contains the summary of the report"
53
- },
54
- "Page": {
55
- "message": "صفحة",
56
- "description": "The page number in the footer of the pages in the PDf file"
57
- },
58
- "of": {
59
- "message": "من",
60
- "description": "The page number in the footer of the pages in the PDf file"
61
- },
62
- "Reference range": {
63
- "message": "المجال المرجعي",
64
- "description": "Reference range in the table biomarker header in the PDf file"
65
- },
66
- "Last reading": {
67
- "message": "آخر قراءة",
68
- "description": "Last reading in the table biomarker header in the PDf file"
69
- },
70
- "Last reading date": {
71
- "message": "تاريخ آخر قراءة",
72
- "description": "Last reading date in the table biomarker header in the PDf file"
46
+ "hospital": {
47
+ "message": "المشفى",
48
+ "description": "name of field showing at add user"
73
49
  },
74
- "dates": {
75
- "message": "تواريخ",
76
- "description": "last reading of the history dates"
50
+ "healthRisk": {
51
+ "message": "المخاطر الصحية",
52
+ "description": "part header"
77
53
  },
78
- "smartReportBy": {
79
- "message": "تقرير ذكي من",
80
- "description": "text showing at the footer of pdf"
54
+ "Disclaimer": {
55
+ "message": "توضيح:",
56
+ "description": "Label showing in the footer as disclaimer title"
81
57
  },
82
- "Log in with a myLAB account": {
83
- "message": "2) Log in with a myLAB account",
84
- "description": "text showing at the header of pdf"
58
+ "Disclaimer Text": {
59
+ "message": "يوضح هذا التقرير الذي تم إعداده من أجلك فقط مدى تقدمك من خلال مقارنة عاداتك الصحية الحالية والسابقة. ستساعدك هذه المعلومات في البقاء على الطريق نحو صحة جيدة. هذا الدليل لا يحل محل زيارة الطبيب ولا يمكنه تشخيص المرض أو المشاكل الطبية. إنه مصمم لتزويدك بمعلومات تتعلق بالمخاطر الصحية وصحتك العامة. يتم توفير هذه المعلومات لمساعدتك في وضع خطة عمل لإجراء تغييرات صحية في نمط الحياة.",
60
+ "description": "text showing in the footer as disclaimer"
85
61
  },
86
62
  "January": {
87
- "message": "يناير",
88
- "description": "Month name"
63
+ "message": "يناير",
64
+ "description": "Month name"
89
65
  },
90
66
  "February": {
91
- "message": "فبراير",
92
- "description": "Month name"
67
+ "message": "فبراير",
68
+ "description": "Month name"
93
69
  },
94
70
  "March": {
95
- "message": "مارس",
96
- "description": "Month name"
71
+ "message": "مارس",
72
+ "description": "Month name"
97
73
  },
98
74
  "April": {
99
- "message": "أبريل",
100
- "description": "Month name"
75
+ "message": "أبريل",
76
+ "description": "Month name"
101
77
  },
102
78
  "May": {
103
- "message": "مايو",
104
- "description": "Month name"
79
+ "message": "مايو",
80
+ "description": "Month name"
105
81
  },
106
82
  "June": {
107
- "message": "يونيو",
108
- "description": "Month name"
83
+ "message": "يونيو",
84
+ "description": "Month name"
109
85
  },
110
86
  "July": {
111
- "message": "يوليو",
112
- "description": "Month name"
87
+ "message": "يوليو",
88
+ "description": "Month name"
113
89
  },
114
90
  "August": {
115
- "message": "أغسطس",
116
- "description": "Month name"
91
+ "message": "أغسطس",
92
+ "description": "Month name"
117
93
  },
118
94
  "September": {
119
- "message": "سبتمبر",
120
- "description": "Month name"
95
+ "message": "سبتمبر",
96
+ "description": "Month name"
121
97
  },
122
98
  "October": {
123
- "message": "أكتوبر",
124
- "description": "Month name"
99
+ "message": "أكتوبر",
100
+ "description": "Month name"
125
101
  },
126
102
  "November": {
127
- "message": "نوفمبر",
128
- "description": "Month name"
103
+ "message": "نوفمبر",
104
+ "description": "Month name"
129
105
  },
130
106
  "December": {
131
- "message": "ديسمبر",
132
- "description": "Month name"
107
+ "message": "ديسمبر",
108
+ "description": "Month name"
133
109
  },
134
- "am": {
135
- "message": "صباحاً",
136
- "description": "AM"
110
+ "recommends...": {
111
+ "message": "نوصي......",
112
+ "description": "Title in corporate report"
137
113
  },
138
- "pm": {
139
- "message": "مساءً",
140
- "description": "PM"
114
+ "Copyright": {
115
+ "message": "© Copyright NASCO Insurance 2020",
116
+ "description": "Copyright text in corporate report"
141
117
  },
142
- "reportSummary": {
143
- "message": "ملخص التقرير",
144
- "description": "name of field showing at the bottom of report if there is a summary for report"
118
+ "Participant Analytics": {
119
+ "message": "تحليلات المشارك",
120
+ "description": "Section title in corporate report"
145
121
  },
146
- "reportProperties": {
147
- "message": "خصائص التقرير",
148
- "description": "Report Properties Label showing at add report page"
122
+ "Page": {
123
+ "message": "صفحة",
124
+ "description": "page number in the corporate report PDF"
149
125
  },
150
- "noteFromDoctor": {
151
- "message": "ملاحظة من د.",
152
- "description": "Doctor App - Insight header text showing for doctor note type"
126
+ "Sources": {
127
+ "message": "المصادر",
128
+ "descripition": "sources in the corporate report PDF"
153
129
  },
154
- "signedBy": {
155
- "message": "تم توقيعه من قِبَل",
156
- "description": "Label showing above the doctors who signed on this report"
130
+ "Hi": {
131
+ "message": "مرحباً",
132
+ "description": "Hi in the email body"
157
133
  },
158
- "hospital": {
159
- "message": "المستشفى",
160
- "description": "name of field showing at add user"
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
+ "psychologicalScore": {
155
+ "message": "درجة الصحة النفسية",
156
+ "description": "Psychological title"
157
+ },
158
+ "physicalScore": {
159
+ "message": "درجة الصحة الجسدية",
160
+ "description": "Physical title"
161
+ },
162
+ "tiger": {
163
+ "message": "Tiger",
164
+ "description": "Shows on Result page"
165
+ },
166
+ "monkey": {
167
+ "message": "Monkey",
168
+ "description": "Shows on Result page"
169
+ },
170
+ "owl": {
171
+ "message": "Owl",
172
+ "description": "Shows on Result page"
173
+ },
174
+ "YourHealthHero": {
175
+ "message": "Your health hero is",
176
+ "description": "Shows on Result page"
177
+ },
178
+ "tigerDesc": {
179
+ "message": "Your Health Hero defines in which of the three categories Lifestyle, Body and Mind you perform best.<br/>As a <b>tiger</b>, your <b>physical fitness</b> clearly stands out.",
180
+ "description": "Shows on Result page"
181
+ },
182
+ "owlDesc": {
183
+ "message": "Your Health Hero defines in which of the three categories Lifestyle, Body and Mind you perform best.<br/>As an <b>owl</b>, your <b>mental strength</b> clearly stands out.",
184
+ "description": "Shows on Result page"
185
+ },
186
+ "monkeyDesc": {
187
+ "message": "Your Health Hero defines in which of the three categories Lifestyle, Body and Mind you perform best.<br/>As a <b>monkey</b>, your <b>balanced lifestyle</b> clearly stands out.",
188
+ "description": "Shows on Result page"
189
+ },
190
+ "tigerDetails": {
191
+ "message": "The Tiger is always confident and self-assured because he can rely on his strong body. Others admire the tiger for his fitness and are inspired by his determination and dedication to physical health.",
192
+ "description": "Shows on Result page"
193
+ },
194
+ "owlDetails": {
195
+ "message": "The owl is determined, as it is aware of its sharpness and wisdom. Many have been intimidated by owl's inner balance. It's resilience serves as a source of inspiration.",
196
+ "description": "Shows on Result page"
197
+ },
198
+ "monkeyDetails": {
199
+ "message": "The Monkey is joyful and optimistic, well aware of what makes for a fulfilling and healthy life. With ease, the monkey juggles pleasure, reason and self-care, receiving much admiration for it.",
200
+ "description": "Shows on Result page"
201
+ },
202
+ "SUPERPOWER": {
203
+ "message": "SUPERPOWER",
204
+ "description": "Shows on Result page"
205
+ },
206
+ "STRENGTH": {
207
+ "message": "STRENGTH",
208
+ "description": "Shows on Result page"
209
+ },
210
+ "WEAKNESS": {
211
+ "message": "WEAKNESS",
212
+ "description": "Shows on Result page"
213
+ },
214
+ "tigerSUPERPOWER-msg": {
215
+ "message": "Physical fitness",
216
+ "description": "Shows on Result page"
217
+ },
218
+ "owlSUPERPOWER-msg": {
219
+ "message": "Mental strength",
220
+ "description": "Shows on Result page"
221
+ },
222
+ "monkeySUPERPOWER-msg": {
223
+ "message": "Balanced lifestyle",
224
+ "description": "Shows on Result page"
225
+ },
226
+ "STRENGTH-msg": {
227
+ "message": "You are invincible when it comes to: ",
228
+ "description": "Shows on Result page"
229
+ },
230
+ "WEAKNESS-msg": {
231
+ "message": "Topics you should devote more attention to: ",
232
+ "description": "Shows on Result page"
233
+ },
234
+ "predictionsTitle": {
235
+ "message": "How accurate were your predictions?",
236
+ "description": "Shows on Result page"
237
+ },
238
+ "predictionsDesc": {
239
+ "message": "Nice try, but you got {$val}/3 correct. It's high time to know your own strengths! Here are your results:",
240
+ "description": "Shows on Result page"
241
+ },
242
+ "bodyResultSanusX": {
243
+ "message": "Your result in body is",
244
+ "description": "Shows on Result page"
245
+ },
246
+ "mindResultSanusX": {
247
+ "message": "Your result in mind is",
248
+ "description": "Shows on Result page"
249
+ },
250
+ "lifeStyleResultSanusX": {
251
+ "message": "Your result in lifestyle is",
252
+ "description": "Shows on Result page"
253
+ },
254
+ "Diet": {
255
+ "message": "النظام الغذائي",
256
+ "description": "Shows on Result page"
257
+ },
258
+ "Heart": {
259
+ "message": "القلب",
260
+ "description": "Shows on Result page"
261
+ },
262
+ "lifeQuality": {
263
+ "message": "Life Quality",
264
+ "description": "Shows on Result page"
265
+ },
266
+ "youPredictedRight": {
267
+ "message": "You predicted <b>{$value}</b>, and you got it right!",
268
+ "description": "Shows on Result page"
269
+ },
270
+ "youPredictedWrong": {
271
+ "message": "You predicted <b>{$value}</b>, you missed this one!",
272
+ "description": "Shows on Result page"
273
+ },
274
+ "recommendationsTitle": {
275
+ "message": "Mavie recommendations",
276
+ "description": "Shows on Result page"
277
+ },
278
+ "yourScoreIs": {
279
+ "message": "Your score is ",
280
+ "description": "Shows on Result page"
281
+ },
282
+ "sanusXReportFooter": {
283
+ "message": "The information provided on this website is for general informational purposes only. While we strive to provide up-to-date and accurate information, we make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability, or availability with respect to the website or the information, products, services, or related graphics contained on the website for any purpose. Any reliance you place on such information is therefore strictly at your own risk.",
284
+ "description": "Shows on Result page"
285
+ },
286
+ "closerLook": {
287
+ "message": "Let’s have a closer look at the details of your personal results:",
288
+ "description": "Shows on Result page"
289
+ },
290
+ "bodyExample": {
291
+ "message": "i.e. heart, lungs, BMI",
292
+ "description": "Shows on Result page"
293
+ },
294
+ "lifestyleExample": {
295
+ "message": "i.e. Lifestyle, coffee, alcohol",
296
+ "description": "Shows on Result page"
297
+ },
298
+ "mindExample": {
299
+ "message": "i.e. Life quality, resilience, daily stress",
300
+ "description": "Shows on Result page"
301
+ },
302
+ "predictionsDesc2": {
303
+ "message": " Well done, you got {$val}/3 correct! There is probably one or the other surprise for you. Here are your results:",
304
+ "description": "Shows on Result page"
305
+ },
306
+ "predictionsDesc3": {
307
+ "message": "Wow, this is awesome - you've got {$val}/3 right! You know exactly where your strengths lie. Here are your results:",
308
+ "description": "Shows on Result page"
309
+ },
310
+ "HealthRiskAssessment": {
311
+ "message": "تقييم المخاطر الصحية",
312
+ "description": "Label showing above the doctors who signed on this report"
313
+ },
314
+ "labTitle": {
315
+ "message": "المختبر",
316
+ "description": "Label showing above the doctors who signed on this report"
317
+ },
318
+ "referenceTitle": {
319
+ "message": "الرقم المرجعي",
320
+ "description": "Label showing above the doctors who signed on this report"
321
+ },
322
+ "patientNameTitle": {
323
+ "message": "المريض",
324
+ "description": "Label showing above the doctors who signed on this report"
325
+ },
326
+ "reportDateTitle": {
327
+ "message": "تاريخ التقرير",
328
+ "description": "Label showing above the doctors who signed on this report"
329
+ },
330
+ "preparedForTitle": {
331
+ "message": "معد لـ",
332
+ "description": "Label showing above the doctors who signed on this report"
333
+ },
334
+ "dateOfBirthTitle": {
335
+ "message": "تاريخ الميلاد",
336
+ "description": "Label showing above the doctors who signed on this report"
337
+ },
338
+ "weightTitle": {
339
+ "message": "الوزن",
340
+ "description": "Label showing above the doctors who signed on this report"
341
+ },
342
+ "heightTitle": {
343
+ "message": "الطول",
344
+ "description": "Label showing above the doctors who signed on this report"
345
+ },
346
+ "genderTitle": {
347
+ "message": "الجنس",
348
+ "description": "Label showing above the doctors who signed on this report"
349
+ },
350
+ "BMITitle": {
351
+ "message": "منسب كتلة الجسم (BMI)",
352
+ "description": "Label showing above the doctors who signed on this report"
353
+ },
354
+ "bloodPressureTitle": {
355
+ "message": "ضغط الدم",
356
+ "description": "Label showing above the doctors who signed on this report"
357
+ },
358
+ "waistCircumferenceTitle": {
359
+ "message": "محيط الخصر",
360
+ "description": "Label showing above the doctors who signed on this report"
361
+ },
362
+ "depressionRisk": {
363
+ "message": "خطورة الاكتئاب",
364
+ "description": "Label showing above the doctors who signed on this report"
365
+ },
366
+ "anxietyRisk": {
367
+ "message": "خطورة القلق",
368
+ "description": "Label showing above the doctors who signed on this report"
369
+ },
370
+ "Reference range": {
371
+ "message": "المجال المرجعي",
372
+ "description": "Label showing above the doctors who signed on this report"
373
+ },
374
+ "Last reading": {
375
+ "message": "آخر قراءة",
376
+ "description": "Label showing above the doctors who signed on this report"
377
+ },
378
+ "Last reading date": {
379
+ "message": "تاريخ آخر قراءة",
380
+ "description": "Label showing above the doctors who signed on this report"
381
+ },
382
+ "Details": {
383
+ "message": "التفاصيل",
384
+ "description": "Label showing above the doctors who signed on this report"
385
+ },
386
+ "testResultTitle": {
387
+ "message": "نتائج فحوصاتك",
388
+ "description": "Label showing above the doctors who signed on this report"
389
+ },
390
+ "scoreText": {
391
+ "message": "كلما زاد مجموعك، كان هذا دليل على صحة أفضل",
392
+ "description": "Label showing above the doctors who signed on this report"
393
+ },
394
+ "notificationTitle": {
395
+ "message": "Your wellbeing score is within sight of a medal, and your lifestyle habits are holding you back. We can help you move up the rankings",
396
+ "description": "The label displayed above the doctors who signed this report."
161
397
  }
162
- }
398
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medicus.ai/medicus-report-pdf-generator",
3
- "version": "1.0.329",
3
+ "version": "1.0.331",
4
4
  "description": "Nasco corporate report - latest update in 12/10/2023 - Fix HRC for bionext",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/test.js CHANGED
@@ -23,7 +23,7 @@ const data = {
23
23
  { "title": "Blood Pressure", "value": "" },
24
24
  { "title": "Waist Circumference", "value": "" }
25
25
  ],
26
- "wellbeing":{"PartScoresHighestValues":{"body":[{"icon":"wellbeing_element_liver_health.png","isPredictiveElement":false,"name":"Liver Health","partId":3,"predictiveAnswer":null,"score":10.0,"scoreText":null}],"healthRisk":[],"lifeStyle":[{"icon":"wellbeing_element_alcohol.png","isPredictiveElement":false,"name":"Alcohol","partId":1,"predictiveAnswer":null,"score":10.0,"scoreText":null}],"mind":[{"icon":"wellbeing_element_aggressiveness.png","isPredictiveElement":false,"name":"Generalized Anxiety Disorder-7 (GAD-7)","partId":2,"predictiveAnswer":null,"score":3.8095238095238093,"scoreText":null}]},"age":"51","calculation":{"anxietyRiskScore":38.095238095238095,"anxietyRiskScoreStatement":"","depressionRiskScore":25.925925925925927,"depressionRiskScoreStatement":"","physicalScore":58.264999999999986,"physicalScoreStatement":"Your <strong>physical wellbeing score</strong> shows that your health is in a good place, and your daily practices are building a strong base for a healthy lifestyle.","psychologicalScore":75.0,"psychologicalScoreStatement":"Your depression risk score shows that you might be experiencing mild challenges, and your anxiety risk score shows that you're building a stronger base for managing stress effectively."},"email":"sara.rijjal+20@medicus.ai","gender":"Male","genderId":89,"insights":{"elementScores":[{"icon":"wellbeing_element_alcohol.png","isPredictiveElement":true,"name":"Alcohol","partId":1,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_blue_mood.png","isPredictiveElement":true,"name":"Patient Health Questionnaire-9 (PHQ-9)","partId":2,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_aggressiveness.png","isPredictiveElement":true,"name":"Generalized Anxiety Disorder-7 (GAD-7)","partId":2,"predictiveAnswer":null,"score":8.0,"scoreText":null},{"icon":"wellbeing_element_lungs_health.png","isPredictiveElement":true,"name":"Lungs Health","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_cognitive_functions.png","isPredictiveElement":true,"name":"Cognitive Functions","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_hydration_level.png","isPredictiveElement":true,"name":"Hydration Level","partId":1,"predictiveAnswer":null,"score":2.0,"scoreText":null}],"tips":[{"content":"Sobriety pays off! Seems like you might be putting yourself out of harm's way by consuming alcohol in moderation. Drinking alcohol is associated with a risk of developing health problems such as mental and behavioural disorders.","icon":"wellbeing_element_alcohol.png","id":1891,"isPositive":true,"isTip":true,"partId":1,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3120,"insightId":1891,"source":"https://www.who.int/news-room/fact-sheets/detail/alcohol","title":"WHO: Alcohol"},{"id":3121,"insightId":1891,"source":"https://www.cdc.gov/alcohol/fact-sheets/alcohol-use.htm","title":"CDC: Alcohol Use and Your Health"}]},{"content":"What do you know about the mind-body connection? Here is a piece of information. Dynamic people, like you, can have a stronger immune system.","icon":"wellbeing_element_blue_mood.png","id":2119,"isPositive":true,"isTip":true,"partId":2,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3506,"insightId":2119,"source":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2475648/","title":"NCBI: Stress, Energy, and Immunity"},{"id":3507,"insightId":2119,"source":"https://pubmed.ncbi.nlm.nih.gov/18589562/","title":"NCBI: The Mind-Body Connection: Not Just a Theory Anymore"},{"id":3508,"insightId":2119,"source":"https://www.health.harvard.edu/staying-healthy/how-to-boost-your-immune-system","title":"How to Boost Your Immune System"},{"id":3509,"insightId":2119,"source":"https://www.mayoclinichealthsystem.org/hometown-health/speaking-of-health/7-tips-to-live-a-happier-life","title":"7 Tips to Live a Happier Life"}]},{"content":"Your ability to stay composed is a skill worth maintaining. Whether it’s regular exercise, positive self-talk, or a consistent routine, continue doing what helps you feel in control.","icon":"wellbeing_element_aggressiveness.png","id":2073,"isPositive":true,"isTip":true,"partId":2,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3431,"insightId":2073,"source":"https://www.nhs.uk/every-mind-matters/mental-wellbeing-tips/self-help-cbt-techniques/tackling-your-worries/","title":"Tackling your worries"}]},{"content":"Clean hands, healthy lungs! Whether before preparing or having a meal or after coughing or sneezing, if you do not have access to soap and water, use alcohol-based hand sanitizers.","icon":"wellbeing_element_lungs_health.png","id":2029,"isPositive":true,"isTip":true,"partId":3,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3345,"insightId":2029,"source":"https://www.canada.ca/en/public-health/services/chronic-diseases/chronic-respiratory-diseases/keep-lungs-healthy.html","title":"How Can I Keep My Lungs Healthy?"},{"id":3346,"insightId":2029,"source":"https://www.health.state.mn.us/people/handhygiene/how/bestsoap.html#:~:text=Antibacterial%20soaps%20are%20no%20more,home%20or%20in%20public%20places.","title":"Which Soap Is Best?"}]},{"content":"How many neurons does your brain contain? The answer is approximately 100 billion neurons. Keep them busy with this exercise. Say the months of the year in alphabetical order and then in reverse alphabetical order.","icon":"wellbeing_element_cognitive_functions.png","id":2047,"isPositive":true,"isTip":true,"partId":3,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3372,"insightId":2047,"source":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2776484/","title":"NCBI: The Human Brain in Numbers"},{"id":3373,"insightId":2047,"source":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6646088/","title":"NCBI: Cognitive Training as a Strategy to Improve Neurocognitive Outcomes in Heart Failure"}]},{"content":"Lunchbox ready for tomorrow? What about the water bottle? Just like you get your meals ready for the next day, make sure you do not forget your water bottle. This is a handy tool that reminds you to drink water.","icon":"wellbeing_element_hydration_level.png","id":1936,"isPositive":false,"isTip":true,"partId":1,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3199,"insightId":1936,"source":"https://www.cdc.gov/healthyweight/healthy_eating/water-and-healthier-drinks.html?CDC_AA_refVal=https%3A%2F%2Fwww.cdc.gov%2Fhealthywater%2Fdrinking%2Fnutrition%2Findex.html","title":"CDC: Water and Healthier Drinks"}]}]},"lingualReading":{"color":null,"lingualReading":null,"statement":null},"lowestElementScore":{"icon":"wellbeing_element_physical_activity.png","isPredictiveElement":false,"name":"Physical Activity","partId":1,"predictiveAnswer":null,"score":1.6,"scoreText":null},"name":"Sara 20","partsScore":{"body":[{"icon":"wellbeing_element_heart_health.png","isPredictiveElement":false,"name":"Heart Health","partId":3,"predictiveAnswer":null,"score":7.2,"scoreText":null},{"icon":"wellbeing_element_kidney_health.png","isPredictiveElement":false,"name":"Kidney Health","partId":3,"predictiveAnswer":null,"score":8.0,"scoreText":null},{"icon":"wellbeing_element_liver_health.png","isPredictiveElement":false,"name":"Liver Health","partId":3,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_sugar_balance.png","isPredictiveElement":false,"name":"Sugar Balance","partId":3,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_lungs_health.png","isPredictiveElement":false,"name":"Lungs Health","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_cognitive_functions.png","isPredictiveElement":false,"name":"Cognitive Functions","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_diabetes_health_risk.png","isPredictiveElement":false,"name":"Diabetes Health Risk","partId":3,"predictiveAnswer":null,"score":4.0,"scoreText":null},{"icon":"wellbeing_element_thyroid_health.png","isPredictiveElement":false,"name":"Thyroid Health","partId":3,"predictiveAnswer":null,"score":2.0,"scoreText":null},{"icon":"wellbeing_element_vitamin_balance.png","isPredictiveElement":false,"name":"Vitamin Balance","partId":3,"predictiveAnswer":null,"score":2.0,"scoreText":null}],"healthRisk":[],"lifeStyle":[{"icon":"wellbeing_element_diet.png","isPredictiveElement":false,"name":"Diet","partId":1,"predictiveAnswer":null,"score":5.875,"scoreText":null},{"icon":"wellbeing_element_physical_activity.png","isPredictiveElement":false,"name":"Physical Activity","partId":1,"predictiveAnswer":null,"score":1.6,"scoreText":null},{"icon":"wellbeing_element_smoking.png","isPredictiveElement":false,"name":"Smoking","partId":1,"predictiveAnswer":null,"score":8.0,"scoreText":null},{"icon":"wellbeing_element_alcohol.png","isPredictiveElement":false,"name":"Alcohol","partId":1,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_sleep.png","isPredictiveElement":false,"name":"Sleep","partId":1,"predictiveAnswer":null,"score":5.0,"scoreText":null},{"icon":"wellbeing_element_social_life.png","isPredictiveElement":false,"name":"Social Life","partId":1,"predictiveAnswer":null,"score":6.0,"scoreText":null},{"icon":"wellbeing_element_hydration_level.png","isPredictiveElement":false,"name":"Hydration Level","partId":1,"predictiveAnswer":null,"score":2.0,"scoreText":null}],"mind":[{"icon":"wellbeing_element_blue_mood.png","isPredictiveElement":false,"name":"Patient Health Questionnaire-9 (PHQ-9)","partId":2,"predictiveAnswer":null,"score":2.5925925925925926,"scoreText":null},{"icon":"wellbeing_element_aggressiveness.png","isPredictiveElement":false,"name":"Generalized Anxiety Disorder-7 (GAD-7)","partId":2,"predictiveAnswer":null,"score":3.8095238095238093,"scoreText":null}]},"patientNumber":"00906231234","photo":null,"wellbeingQuizFinishDate":null}
26
+ "wellbeing":{"PartScoresHighestValues":{"body":[{"icon":"wellbeing_element_liver_health.png","isPredictiveElement":false,"name":"Liver Health","partId":3,"predictiveAnswer":null,"score":10.0,"scoreText":null}],"healthRisk":[],"lifeStyle":[{"icon":"wellbeing_element_alcohol.png","isPredictiveElement":false,"name":"Alcohol","partId":1,"predictiveAnswer":null,"score":10.0,"scoreText":null}],"mind":[{"icon":"wellbeing_element_aggressiveness.png","isPredictiveElement":false,"name":"Generalized Anxiety Disorder-7 (GAD-7)","partId":2,"predictiveAnswer":null,"score":3.8095238095238093,"scoreText":null}]},"age":"51","calculation":{"anxietyRiskScore":99,"anxietyRiskScoreStatement":"","depressionRiskScore":99,"depressionRiskScoreStatement":"","physicalScore":58.264999999999986,"physicalScoreStatement":"Your <strong>physical wellbeing score</strong> shows that your health is in a good place, and your daily practices are building a strong base for a healthy lifestyle.","psychologicalScore":75.0,"psychologicalScoreStatement":"Your depression risk score shows that you might be experiencing mild challenges, and your anxiety risk score shows that you're building a stronger base for managing stress effectively."},"email":"sara.rijjal+20@medicus.ai","gender":"Male","genderId":89,"insights":{"elementScores":[{"icon":"wellbeing_element_alcohol.png","isPredictiveElement":true,"name":"Alcohol","partId":1,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_blue_mood.png","isPredictiveElement":true,"name":"Patient Health Questionnaire-9 (PHQ-9)","partId":2,"predictiveAnswer":null,"score":16,"base":27,"scoreText":null},{"icon":"wellbeing_element_aggressiveness.png","isPredictiveElement":true,"name":"Generalized Anxiety Disorder-7 (GAD-7)","partId":2,"predictiveAnswer":null,"score":16,"base":21, "scoreText":null},{"icon":"wellbeing_element_lungs_health.png","isPredictiveElement":true,"name":"Lungs Health","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_cognitive_functions.png","isPredictiveElement":true,"name":"Cognitive Functions","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_hydration_level.png","isPredictiveElement":true,"name":"Hydration Level","partId":1,"predictiveAnswer":null,"score":2.0,"scoreText":null}],"tips":[{"content":"Sobriety pays off! Seems like you might be putting yourself out of harm's way by consuming alcohol in moderation. Drinking alcohol is associated with a risk of developing health problems such as mental and behavioural disorders.","icon":"wellbeing_element_alcohol.png","id":1891,"isPositive":true,"isTip":true,"partId":1,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3120,"insightId":1891,"source":"https://www.who.int/news-room/fact-sheets/detail/alcohol","title":"WHO: Alcohol"},{"id":3121,"insightId":1891,"source":"https://www.cdc.gov/alcohol/fact-sheets/alcohol-use.htm","title":"CDC: Alcohol Use and Your Health"}]},{"content":"What do you know about the mind-body connection? Here is a piece of information. Dynamic people, like you, can have a stronger immune system.","icon":"wellbeing_element_blue_mood.png","id":2119,"isPositive":true,"isTip":true,"partId":2,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3506,"insightId":2119,"source":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2475648/","title":"NCBI: Stress, Energy, and Immunity"},{"id":3507,"insightId":2119,"source":"https://pubmed.ncbi.nlm.nih.gov/18589562/","title":"NCBI: The Mind-Body Connection: Not Just a Theory Anymore"},{"id":3508,"insightId":2119,"source":"https://www.health.harvard.edu/staying-healthy/how-to-boost-your-immune-system","title":"How to Boost Your Immune System"},{"id":3509,"insightId":2119,"source":"https://www.mayoclinichealthsystem.org/hometown-health/speaking-of-health/7-tips-to-live-a-happier-life","title":"7 Tips to Live a Happier Life"}]},{"content":"Your ability to stay composed is a skill worth maintaining. Whether it’s regular exercise, positive self-talk, or a consistent routine, continue doing what helps you feel in control.","icon":"wellbeing_element_aggressiveness.png","id":2073,"isPositive":true,"isTip":true,"partId":2,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3431,"insightId":2073,"source":"https://www.nhs.uk/every-mind-matters/mental-wellbeing-tips/self-help-cbt-techniques/tackling-your-worries/","title":"Tackling your worries"}]},{"content":"Clean hands, healthy lungs! Whether before preparing or having a meal or after coughing or sneezing, if you do not have access to soap and water, use alcohol-based hand sanitizers.","icon":"wellbeing_element_lungs_health.png","id":2029,"isPositive":true,"isTip":true,"partId":3,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3345,"insightId":2029,"source":"https://www.canada.ca/en/public-health/services/chronic-diseases/chronic-respiratory-diseases/keep-lungs-healthy.html","title":"How Can I Keep My Lungs Healthy?"},{"id":3346,"insightId":2029,"source":"https://www.health.state.mn.us/people/handhygiene/how/bestsoap.html#:~:text=Antibacterial%20soaps%20are%20no%20more,home%20or%20in%20public%20places.","title":"Which Soap Is Best?"}]},{"content":"How many neurons does your brain contain? The answer is approximately 100 billion neurons. Keep them busy with this exercise. Say the months of the year in alphabetical order and then in reverse alphabetical order.","icon":"wellbeing_element_cognitive_functions.png","id":2047,"isPositive":true,"isTip":true,"partId":3,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3372,"insightId":2047,"source":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2776484/","title":"NCBI: The Human Brain in Numbers"},{"id":3373,"insightId":2047,"source":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6646088/","title":"NCBI: Cognitive Training as a Strategy to Improve Neurocognitive Outcomes in Heart Failure"}]},{"content":"Lunchbox ready for tomorrow? What about the water bottle? Just like you get your meals ready for the next day, make sure you do not forget your water bottle. This is a handy tool that reminds you to drink water.","icon":"wellbeing_element_hydration_level.png","id":1936,"isPositive":false,"isTip":true,"partId":1,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3199,"insightId":1936,"source":"https://www.cdc.gov/healthyweight/healthy_eating/water-and-healthier-drinks.html?CDC_AA_refVal=https%3A%2F%2Fwww.cdc.gov%2Fhealthywater%2Fdrinking%2Fnutrition%2Findex.html","title":"CDC: Water and Healthier Drinks"}]}]},"lingualReading":{"color":null,"lingualReading":null,"statement":null},"lowestElementScore":{"icon":"wellbeing_element_physical_activity.png","isPredictiveElement":false,"name":"Physical Activity","partId":1,"predictiveAnswer":null,"score":1.6,"scoreText":null},"name":"Sara 20","partsScore":{"body":[{"icon":"wellbeing_element_heart_health.png","isPredictiveElement":false,"name":"Heart Health","partId":3,"predictiveAnswer":null,"score":7.2,"scoreText":null},{"icon":"wellbeing_element_kidney_health.png","isPredictiveElement":false,"name":"Kidney Health","partId":3,"predictiveAnswer":null,"score":8.0,"scoreText":null},{"icon":"wellbeing_element_liver_health.png","isPredictiveElement":false,"name":"Liver Health","partId":3,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_sugar_balance.png","isPredictiveElement":false,"name":"Sugar Balance","partId":3,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_lungs_health.png","isPredictiveElement":false,"name":"Lungs Health","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_cognitive_functions.png","isPredictiveElement":false,"name":"Cognitive Functions","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_diabetes_health_risk.png","isPredictiveElement":false,"name":"Diabetes Health Risk","partId":3,"predictiveAnswer":null,"score":4.0,"scoreText":null},{"icon":"wellbeing_element_thyroid_health.png","isPredictiveElement":false,"name":"Thyroid Health","partId":3,"predictiveAnswer":null,"score":2.0,"scoreText":null},{"icon":"wellbeing_element_vitamin_balance.png","isPredictiveElement":false,"name":"Vitamin Balance","partId":3,"predictiveAnswer":null,"score":2.0,"scoreText":null}],"healthRisk":[],"lifeStyle":[{"icon":"wellbeing_element_diet.png","isPredictiveElement":false,"name":"Diet","partId":1,"predictiveAnswer":null,"score":5.875,"scoreText":null},{"icon":"wellbeing_element_physical_activity.png","isPredictiveElement":false,"name":"Physical Activity","partId":1,"predictiveAnswer":null,"score":1.6,"scoreText":null},{"icon":"wellbeing_element_smoking.png","isPredictiveElement":false,"name":"Smoking","partId":1,"predictiveAnswer":null,"score":8.0,"scoreText":null},{"icon":"wellbeing_element_alcohol.png","isPredictiveElement":false,"name":"Alcohol","partId":1,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_sleep.png","isPredictiveElement":false,"name":"Sleep","partId":1,"predictiveAnswer":null,"score":5.0,"scoreText":null},{"icon":"wellbeing_element_social_life.png","isPredictiveElement":false,"name":"Social Life","partId":1,"predictiveAnswer":null,"score":6.0,"scoreText":null},{"icon":"wellbeing_element_hydration_level.png","isPredictiveElement":false,"name":"Hydration Level","partId":1,"predictiveAnswer":null,"score":2.0,"scoreText":null}],"mind":[{"icon":"wellbeing_element_blue_mood.png","isPredictiveElement":false,"name":"Patient Health Questionnaire-9 (PHQ-9)","partId":2,"predictiveAnswer":null,"score":2.5925925925925926,"scoreText":null},{"icon":"wellbeing_element_aggressiveness.png","isPredictiveElement":false,"name":"Generalized Anxiety Disorder-7 (GAD-7)","partId":2,"predictiveAnswer":null,"score":3.8095238095238093,"scoreText":null}]},"patientNumber":"00906231234","photo":null,"wellbeingQuizFinishDate":null}
27
27
  }
28
28
 
29
29
  const doctorData = {
@@ -42,27 +42,10 @@ const doctorData = {
42
42
  { "title": "Blood Pressure", "value": "" },
43
43
  { "title": "Waist Circumference", "value": "" }
44
44
  ],
45
- "wellbeing":{"PartScoresHighestValues":{"body":[{"icon":"wellbeing_element_liver_health.png","isPredictiveElement":false,"name":"Liver Health","partId":3,"predictiveAnswer":null,"score":10.0,"scoreText":null}],"healthRisk":[],"lifeStyle":[{"icon":"wellbeing_element_alcohol.png","isPredictiveElement":false,"name":"Alcohol","partId":1,"predictiveAnswer":null,"score":10.0,"scoreText":null}],"mind":[{"icon":"wellbeing_element_aggressiveness.png","isPredictiveElement":false,"name":"Generalized Anxiety Disorder-7 (GAD-7)","partId":2,"predictiveAnswer":null,"score":3.8095238095238093,"scoreText":null}]},"age":"51","calculation":{"anxietyRiskScore":38.095238095238095,"anxietyRiskScoreStatement":"","depressionRiskScore":25.925925925925927,"depressionRiskScoreStatement":"","physicalScore":58.264999999999986,"physicalScoreStatement":"Your <strong>physical wellbeing score</strong> shows that your health is in a good place, and your daily practices are building a strong base for a healthy lifestyle.","psychologicalScore":75.0,"psychologicalScoreStatement":"Your depression risk score shows that you might be experiencing mild challenges, and your anxiety risk score shows that you're building a stronger base for managing stress effectively."},"email":"sara.rijjal+20@medicus.ai","gender":"Male","genderId":89,"insights":{"elementScores":[{"icon":"wellbeing_element_alcohol.png","isPredictiveElement":true,"name":"Alcohol","partId":1,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_blue_mood.png","isPredictiveElement":true,"name":"Patient Health Questionnaire-9 (PHQ-9)","partId":2,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_aggressiveness.png","isPredictiveElement":true,"name":"Generalized Anxiety Disorder-7 (GAD-7)","partId":2,"predictiveAnswer":null,"score":8.0,"scoreText":null},{"icon":"wellbeing_element_lungs_health.png","isPredictiveElement":true,"name":"Lungs Health","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_cognitive_functions.png","isPredictiveElement":true,"name":"Cognitive Functions","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_hydration_level.png","isPredictiveElement":true,"name":"Hydration Level","partId":1,"predictiveAnswer":null,"score":2.0,"scoreText":null}],"tips":[{"content":"Sobriety pays off! Seems like you might be putting yourself out of harm's way by consuming alcohol in moderation. Drinking alcohol is associated with a risk of developing health problems such as mental and behavioural disorders.","icon":"wellbeing_element_alcohol.png","id":1891,"isPositive":true,"isTip":true,"partId":1,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3120,"insightId":1891,"source":"https://www.who.int/news-room/fact-sheets/detail/alcohol","title":"WHO: Alcohol"},{"id":3121,"insightId":1891,"source":"https://www.cdc.gov/alcohol/fact-sheets/alcohol-use.htm","title":"CDC: Alcohol Use and Your Health"}]},{"content":"What do you know about the mind-body connection? Here is a piece of information. Dynamic people, like you, can have a stronger immune system.","icon":"wellbeing_element_blue_mood.png","id":2119,"isPositive":true,"isTip":true,"partId":2,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3506,"insightId":2119,"source":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2475648/","title":"NCBI: Stress, Energy, and Immunity"},{"id":3507,"insightId":2119,"source":"https://pubmed.ncbi.nlm.nih.gov/18589562/","title":"NCBI: The Mind-Body Connection: Not Just a Theory Anymore"},{"id":3508,"insightId":2119,"source":"https://www.health.harvard.edu/staying-healthy/how-to-boost-your-immune-system","title":"How to Boost Your Immune System"},{"id":3509,"insightId":2119,"source":"https://www.mayoclinichealthsystem.org/hometown-health/speaking-of-health/7-tips-to-live-a-happier-life","title":"7 Tips to Live a Happier Life"}]},{"content":"Your ability to stay composed is a skill worth maintaining. Whether it’s regular exercise, positive self-talk, or a consistent routine, continue doing what helps you feel in control.","icon":"wellbeing_element_aggressiveness.png","id":2073,"isPositive":true,"isTip":true,"partId":2,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3431,"insightId":2073,"source":"https://www.nhs.uk/every-mind-matters/mental-wellbeing-tips/self-help-cbt-techniques/tackling-your-worries/","title":"Tackling your worries"}]},{"content":"Clean hands, healthy lungs! Whether before preparing or having a meal or after coughing or sneezing, if you do not have access to soap and water, use alcohol-based hand sanitizers.","icon":"wellbeing_element_lungs_health.png","id":2029,"isPositive":true,"isTip":true,"partId":3,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3345,"insightId":2029,"source":"https://www.canada.ca/en/public-health/services/chronic-diseases/chronic-respiratory-diseases/keep-lungs-healthy.html","title":"How Can I Keep My Lungs Healthy?"},{"id":3346,"insightId":2029,"source":"https://www.health.state.mn.us/people/handhygiene/how/bestsoap.html#:~:text=Antibacterial%20soaps%20are%20no%20more,home%20or%20in%20public%20places.","title":"Which Soap Is Best?"}]},{"content":"How many neurons does your brain contain? The answer is approximately 100 billion neurons. Keep them busy with this exercise. Say the months of the year in alphabetical order and then in reverse alphabetical order.","icon":"wellbeing_element_cognitive_functions.png","id":2047,"isPositive":true,"isTip":true,"partId":3,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3372,"insightId":2047,"source":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2776484/","title":"NCBI: The Human Brain in Numbers"},{"id":3373,"insightId":2047,"source":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6646088/","title":"NCBI: Cognitive Training as a Strategy to Improve Neurocognitive Outcomes in Heart Failure"}]},{"content":"Lunchbox ready for tomorrow? What about the water bottle? Just like you get your meals ready for the next day, make sure you do not forget your water bottle. This is a handy tool that reminds you to drink water.","icon":"wellbeing_element_hydration_level.png","id":1936,"isPositive":false,"isTip":true,"partId":1,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3199,"insightId":1936,"source":"https://www.cdc.gov/healthyweight/healthy_eating/water-and-healthier-drinks.html?CDC_AA_refVal=https%3A%2F%2Fwww.cdc.gov%2Fhealthywater%2Fdrinking%2Fnutrition%2Findex.html","title":"CDC: Water and Healthier Drinks"}]}]},"lingualReading":{"color":null,"lingualReading":null,"statement":null},"lowestElementScore":{"icon":"wellbeing_element_physical_activity.png","isPredictiveElement":false,"name":"Physical Activity","partId":1,"predictiveAnswer":null,"score":1.6,"scoreText":null},"name":"Sara 20","partsScore":{"body":[{"icon":"wellbeing_element_heart_health.png","isPredictiveElement":false,"name":"Heart Health","partId":3,"predictiveAnswer":null,"score":7.2,"scoreText":null},{"icon":"wellbeing_element_kidney_health.png","isPredictiveElement":false,"name":"Kidney Health","partId":3,"predictiveAnswer":null,"score":8.0,"scoreText":null},{"icon":"wellbeing_element_liver_health.png","isPredictiveElement":false,"name":"Liver Health","partId":3,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_sugar_balance.png","isPredictiveElement":false,"name":"Sugar Balance","partId":3,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_lungs_health.png","isPredictiveElement":false,"name":"Lungs Health","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_cognitive_functions.png","isPredictiveElement":false,"name":"Cognitive Functions","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_diabetes_health_risk.png","isPredictiveElement":false,"name":"Diabetes Health Risk","partId":3,"predictiveAnswer":null,"score":4.0,"scoreText":null},{"icon":"wellbeing_element_thyroid_health.png","isPredictiveElement":false,"name":"Thyroid Health","partId":3,"predictiveAnswer":null,"score":2.0,"scoreText":null},{"icon":"wellbeing_element_vitamin_balance.png","isPredictiveElement":false,"name":"Vitamin Balance","partId":3,"predictiveAnswer":null,"score":2.0,"scoreText":null}],"healthRisk":[],"lifeStyle":[{"icon":"wellbeing_element_diet.png","isPredictiveElement":false,"name":"Diet","partId":1,"predictiveAnswer":null,"score":5.875,"scoreText":null},{"icon":"wellbeing_element_physical_activity.png","isPredictiveElement":false,"name":"Physical Activity","partId":1,"predictiveAnswer":null,"score":1.6,"scoreText":null},{"icon":"wellbeing_element_smoking.png","isPredictiveElement":false,"name":"Smoking","partId":1,"predictiveAnswer":null,"score":8.0,"scoreText":null},{"icon":"wellbeing_element_alcohol.png","isPredictiveElement":false,"name":"Alcohol","partId":1,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_sleep.png","isPredictiveElement":false,"name":"Sleep","partId":1,"predictiveAnswer":null,"score":5.0,"scoreText":null},{"icon":"wellbeing_element_social_life.png","isPredictiveElement":false,"name":"Social Life","partId":1,"predictiveAnswer":null,"score":6.0,"scoreText":null},{"icon":"wellbeing_element_hydration_level.png","isPredictiveElement":false,"name":"Hydration Level","partId":1,"predictiveAnswer":null,"score":2.0,"scoreText":null}],"mind":[{"icon":"wellbeing_element_blue_mood.png","isPredictiveElement":false,"name":"Patient Health Questionnaire-9 (PHQ-9)","partId":2,"predictiveAnswer":null,"score":2.5925925925925926,"scoreText":null},{"icon":"wellbeing_element_aggressiveness.png","isPredictiveElement":false,"name":"Generalized Anxiety Disorder-7 (GAD-7)","partId":2,"predictiveAnswer":null,"score":3.8095238095238093,"scoreText":null}]},"patientNumber":"00906231234","photo":null,"wellbeingQuizFinishDate":null}
45
+ "wellbeing":{"PartScoresHighestValues":{"body":[{"icon":"wellbeing_element_liver_health.png","isPredictiveElement":false,"name":"Liver Health","partId":3,"predictiveAnswer":null,"score":10.0,"scoreText":null}],"healthRisk":[],"lifeStyle":[{"icon":"wellbeing_element_alcohol.png","isPredictiveElement":false,"name":"Alcohol","partId":1,"predictiveAnswer":null,"score":10.0,"scoreText":null}],"mind":[{"icon":"wellbeing_element_aggressiveness.png","isPredictiveElement":false,"name":"Generalized Anxiety Disorder-7 (GAD-7)","partId":2,"predictiveAnswer":null,"score":16,"base":27,"scoreText":null}]},"age":"51","calculation":{"anxietyRiskScore":76.2,"anxietyRiskScoreStatement":"","depressionRiskScore":99,"depressionRiskScoreStatement":"","physicalScore":58.264999999999986,"physicalScoreStatement":"Your <strong>physical wellbeing score</strong> shows that your health is in a good place, and your daily practices are building a strong base for a healthy lifestyle.","psychologicalScore":75.0,"psychologicalScoreStatement":"Your depression risk score shows that you might be experiencing mild challenges, and your anxiety risk score shows that you're building a stronger base for managing stress effectively."},"email":"sara.rijjal+20@medicus.ai","gender":"Male","genderId":89,"insights":{"elementScores":[{"icon":"wellbeing_element_alcohol.png","isPredictiveElement":true,"name":"Alcohol","partId":1,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_blue_mood.png","isPredictiveElement":true,"name":"Patient Health Questionnaire-9 (PHQ-9)","partId":2,"predictiveAnswer":null,"score":16,"base":27,"scoreText":null},{"icon":"wellbeing_element_aggressiveness.png","isPredictiveElement":true,"name":"Generalized Anxiety Disorder-7 (GAD-7)","partId":2,"predictiveAnswer":null,"score":8.0,"scoreText":null},{"icon":"wellbeing_element_lungs_health.png","isPredictiveElement":true,"name":"Lungs Health","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_cognitive_functions.png","isPredictiveElement":true,"name":"Cognitive Functions","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_hydration_level.png","isPredictiveElement":true,"name":"Hydration Level","partId":1,"predictiveAnswer":null,"score":2.0,"scoreText":null}],"tips":[{"content":"Sobriety pays off! Seems like you might be putting yourself out of harm's way by consuming alcohol in moderation. Drinking alcohol is associated with a risk of developing health problems such as mental and behavioural disorders.","icon":"wellbeing_element_alcohol.png","id":1891,"isPositive":true,"isTip":true,"partId":1,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3120,"insightId":1891,"source":"https://www.who.int/news-room/fact-sheets/detail/alcohol","title":"WHO: Alcohol"},{"id":3121,"insightId":1891,"source":"https://www.cdc.gov/alcohol/fact-sheets/alcohol-use.htm","title":"CDC: Alcohol Use and Your Health"}]},{"content":"What do you know about the mind-body connection? Here is a piece of information. Dynamic people, like you, can have a stronger immune system.","icon":"wellbeing_element_blue_mood.png","id":2119,"isPositive":true,"isTip":true,"partId":2,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3506,"insightId":2119,"source":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2475648/","title":"NCBI: Stress, Energy, and Immunity"},{"id":3507,"insightId":2119,"source":"https://pubmed.ncbi.nlm.nih.gov/18589562/","title":"NCBI: The Mind-Body Connection: Not Just a Theory Anymore"},{"id":3508,"insightId":2119,"source":"https://www.health.harvard.edu/staying-healthy/how-to-boost-your-immune-system","title":"How to Boost Your Immune System"},{"id":3509,"insightId":2119,"source":"https://www.mayoclinichealthsystem.org/hometown-health/speaking-of-health/7-tips-to-live-a-happier-life","title":"7 Tips to Live a Happier Life"}]},{"content":"Your ability to stay composed is a skill worth maintaining. Whether it’s regular exercise, positive self-talk, or a consistent routine, continue doing what helps you feel in control.","icon":"wellbeing_element_aggressiveness.png","id":2073,"isPositive":true,"isTip":true,"partId":2,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3431,"insightId":2073,"source":"https://www.nhs.uk/every-mind-matters/mental-wellbeing-tips/self-help-cbt-techniques/tackling-your-worries/","title":"Tackling your worries"}]},{"content":"Clean hands, healthy lungs! Whether before preparing or having a meal or after coughing or sneezing, if you do not have access to soap and water, use alcohol-based hand sanitizers.","icon":"wellbeing_element_lungs_health.png","id":2029,"isPositive":true,"isTip":true,"partId":3,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3345,"insightId":2029,"source":"https://www.canada.ca/en/public-health/services/chronic-diseases/chronic-respiratory-diseases/keep-lungs-healthy.html","title":"How Can I Keep My Lungs Healthy?"},{"id":3346,"insightId":2029,"source":"https://www.health.state.mn.us/people/handhygiene/how/bestsoap.html#:~:text=Antibacterial%20soaps%20are%20no%20more,home%20or%20in%20public%20places.","title":"Which Soap Is Best?"}]},{"content":"How many neurons does your brain contain? The answer is approximately 100 billion neurons. Keep them busy with this exercise. Say the months of the year in alphabetical order and then in reverse alphabetical order.","icon":"wellbeing_element_cognitive_functions.png","id":2047,"isPositive":true,"isTip":true,"partId":3,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3372,"insightId":2047,"source":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2776484/","title":"NCBI: The Human Brain in Numbers"},{"id":3373,"insightId":2047,"source":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6646088/","title":"NCBI: Cognitive Training as a Strategy to Improve Neurocognitive Outcomes in Heart Failure"}]},{"content":"Lunchbox ready for tomorrow? What about the water bottle? Just like you get your meals ready for the next day, make sure you do not forget your water bottle. This is a handy tool that reminds you to drink water.","icon":"wellbeing_element_hydration_level.png","id":1936,"isPositive":false,"isTip":true,"partId":1,"ruleInsight":false,"ruleInsightType":null,"sources":[{"id":3199,"insightId":1936,"source":"https://www.cdc.gov/healthyweight/healthy_eating/water-and-healthier-drinks.html?CDC_AA_refVal=https%3A%2F%2Fwww.cdc.gov%2Fhealthywater%2Fdrinking%2Fnutrition%2Findex.html","title":"CDC: Water and Healthier Drinks"}]}]},"lingualReading":{"color":null,"lingualReading":null,"statement":null},"lowestElementScore":{"icon":"wellbeing_element_physical_activity.png","isPredictiveElement":false,"name":"Physical Activity","partId":1,"predictiveAnswer":null,"score":1.6,"scoreText":null},"name":"Sara 20","partsScore":{"body":[{"icon":"wellbeing_element_heart_health.png","isPredictiveElement":false,"name":"Heart Health","partId":3,"predictiveAnswer":null,"score":7.2,"scoreText":null},{"icon":"wellbeing_element_kidney_health.png","isPredictiveElement":false,"name":"Kidney Health","partId":3,"predictiveAnswer":null,"score":8.0,"scoreText":null},{"icon":"wellbeing_element_liver_health.png","isPredictiveElement":false,"name":"Liver Health","partId":3,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_sugar_balance.png","isPredictiveElement":false,"name":"Sugar Balance","partId":3,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_lungs_health.png","isPredictiveElement":false,"name":"Lungs Health","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_cognitive_functions.png","isPredictiveElement":false,"name":"Cognitive Functions","partId":3,"predictiveAnswer":null,"score":7.0,"scoreText":null},{"icon":"wellbeing_element_diabetes_health_risk.png","isPredictiveElement":false,"name":"Diabetes Health Risk","partId":3,"predictiveAnswer":null,"score":4.0,"scoreText":null},{"icon":"wellbeing_element_thyroid_health.png","isPredictiveElement":false,"name":"Thyroid Health","partId":3,"predictiveAnswer":null,"score":2.0,"scoreText":null},{"icon":"wellbeing_element_vitamin_balance.png","isPredictiveElement":false,"name":"Vitamin Balance","partId":3,"predictiveAnswer":null,"score":2.0,"scoreText":null}],"healthRisk":[],"lifeStyle":[{"icon":"wellbeing_element_diet.png","isPredictiveElement":false,"name":"Diet","partId":1,"predictiveAnswer":null,"score":5.875,"scoreText":null},{"icon":"wellbeing_element_physical_activity.png","isPredictiveElement":false,"name":"Physical Activity","partId":1,"predictiveAnswer":null,"score":1.6,"scoreText":null},{"icon":"wellbeing_element_smoking.png","isPredictiveElement":false,"name":"Smoking","partId":1,"predictiveAnswer":null,"score":8.0,"scoreText":null},{"icon":"wellbeing_element_alcohol.png","isPredictiveElement":false,"name":"Alcohol","partId":1,"predictiveAnswer":null,"score":10.0,"scoreText":null},{"icon":"wellbeing_element_sleep.png","isPredictiveElement":false,"name":"Sleep","partId":1,"predictiveAnswer":null,"score":5.0,"scoreText":null},{"icon":"wellbeing_element_social_life.png","isPredictiveElement":false,"name":"Social Life","partId":1,"predictiveAnswer":null,"score":6.0,"scoreText":null},{"icon":"wellbeing_element_hydration_level.png","isPredictiveElement":false,"name":"Hydration Level","partId":1,"predictiveAnswer":null,"score":2.0,"scoreText":null}],"mind":[{"icon":"wellbeing_element_blue_mood.png","isPredictiveElement":false,"name":"Patient Health Questionnaire-9 (PHQ-9)","partId":2,"predictiveAnswer":null,"score":16,"base":27,"scoreText":null},{"icon":"wellbeing_element_aggressiveness.png","isPredictiveElement":false,"name":"Generalized Anxiety Disorder-7 (GAD-7)","partId":2,"predictiveAnswer":null,"score":16,"base":27,"scoreText":null}]},"patientNumber":"00906231234","photo":null,"wellbeingQuizFinishDate":null}
46
46
  }
47
47
 
48
- // const data={
49
- // "SR": "{\"allergyClasses\":[{\"className\":\"Class 0\",\"color\":\"#41B9D6\",\"formattedMaxValue\":\"0.1\",\"formattedMinValue\":null,\"isNormal\":true,\"lingualReading\":\"Undetectable\",\"maxValue\":0.1,\"minValue\":null,\"name\":\"undetectable\"},{\"className\":\"Class 0/1\",\"color\":\"#87B7CE\",\"formattedMaxValue\":\"0.35\",\"formattedMinValue\":\"0.1\",\"isNormal\":false,\"lingualReading\":\"Very low\",\"maxValue\":0.35,\"minValue\":0.1,\"name\":\"very-low\"},{\"className\":\"Class 1\",\"color\":\"#02D9D1\",\"formattedMaxValue\":\"0.7\",\"formattedMinValue\":\"0.35\",\"isNormal\":false,\"lingualReading\":\"Low\",\"maxValue\":0.7,\"minValue\":0.35,\"name\":\"low\"},{\"className\":\"Class 2\",\"color\":\"#F7AA2E\",\"formattedMaxValue\":\"3.5\",\"formattedMinValue\":\"0.7\",\"isNormal\":false,\"lingualReading\":\"Moderate\",\"maxValue\":3.5,\"minValue\":0.7,\"name\":\"moderate\"},{\"className\":\"Class 3\",\"color\":\"#EE734E\",\"formattedMaxValue\":\"17\",\"formattedMinValue\":\"3.5\",\"isNormal\":false,\"lingualReading\":\"High\",\"maxValue\":17.0,\"minValue\":3.5,\"name\":\"high\"},{\"className\":\"Class 4\",\"color\":\"#E05A5A\",\"formattedMaxValue\":\"50\",\"formattedMinValue\":\"17\",\"isNormal\":false,\"lingualReading\":\"Very high\",\"maxValue\":50.0,\"minValue\":17.0,\"name\":\"very-high\"},{\"className\":\"Class 5\",\"color\":\"#BC2828\",\"formattedMaxValue\":\"100\",\"formattedMinValue\":\"50\",\"isNormal\":false,\"lingualReading\":\"Intense\",\"maxValue\":100.0,\"minValue\":50.0,\"name\":\"intense\"},{\"className\":\"Class 6\",\"color\":\"#0F0F0F\",\"formattedMaxValue\":null,\"formattedMinValue\":\"100\",\"isNormal\":false,\"lingualReading\":\"very-intense\",\"maxValue\":null,\"minValue\":100.0,\"name\":\"very-intense\"}],\"allergyItems\":[],\"approvalDate\":\"\",\"approvedBy\":\"\",\"atcd\":{\"biomarker\":null,\"question\":[]},\"copyright\":\"\",\"customRangeAllergyItems\":[],\"doctorNote\":[],\"forPatient\":true,\"isRectified\":false,\"items\":[{\"biomarker\":null,\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":0,\"panel\":{\"biomarkers\":[],\"doctorNotes\":[],\"icon\":\"custom_panel_icon.png\",\"insights\":[],\"name\":\"ANDROLOGY\",\"notes\":[],\"panelBiomarker\":null,\"panelDetails\":[{\"attachments\":[],\"identifier\":\"ANDROLOGY\",\"name\":\"ANDROLOGY\",\"notes\":[],\"sample\":null}],\"panelId\":56,\"sample\":null},\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":null,\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":{\"biomarkers\":[],\"doctorNotes\":[],\"icon\":\"custom_panel_icon.png\",\"insights\":[],\"name\":\"SEMEN ROUTINE ANALYSIS\",\"notes\":[],\"panelBiomarker\":null,\"panelDetails\":[{\"attachments\":[],\"identifier\":\"SEMEN ROUTINE ANALYSIS\",\"name\":\"SEMEN ROUTINE ANALYSIS\",\"notes\":[],\"sample\":null},{\"attachments\":[],\"identifier\":\"ANDROLOGY\",\"name\":\"ANDROLOGY\",\"notes\":[],\"sample\":null}],\"panelId\":57,\"sample\":null},\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"8:40 am\",\"fullName\":\"Specimen Production Time\",\"history\":[],\"id\":2,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"8:40 am\",\"methodType\":null,\"name\":\"SPT\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"Semen\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"\",\"value\":\"8:40 am\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"8:50 am\",\"fullName\":\"Specimen Recieved Time\",\"history\":[],\"id\":3,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"8:50 am\",\"methodType\":null,\"name\":\"SRT\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"Semen\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"\",\"value\":\"8:50 am\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"Masturbation\",\"fullName\":\"Specimen Production Method\",\"history\":[],\"id\":4,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"Masturbation\",\"methodType\":null,\"name\":\"SPM\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"Semen\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"\",\"value\":\"Masturbation\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"5 days\",\"fullName\":\"Duration Of Abstinence\",\"history\":[],\"id\":5,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"5 days\",\"methodType\":null,\"name\":\"DOA\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"Semen\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"\",\"value\":\"5 days\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"Within an hour\",\"fullName\":\"Ejaculation - Analysis Interval\",\"history\":[],\"id\":6,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"Within an hour\",\"methodType\":null,\"name\":\"EAI\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"Semen\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"\",\"value\":\"Within an hour\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"Creamy / Greyish\",\"fullName\":\"Macroscopic Appearance\",\"history\":[],\"id\":7,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"Creamy / Greyish\",\"methodType\":null,\"name\":\"MA\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"\",\"value\":\"Creamy / Greyish\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#02D9D1\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":\"1.4\",\"formattedValue\":\"1.4\",\"fullName\":\"Ejaculate Volume\",\"history\":[],\"id\":8,\"insightsCount\":0,\"isNormal\":false,\"isRectified\":false,\"lingualReading\":\"Low\",\"methodType\":null,\"name\":\"EV\",\"normalRangeMax\":null,\"normalRangeMin\":1.4,\"normalRangeType\":3,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[{\"color\":\"#02D9D1\",\"formattedMaxValue\":\"1.4\",\"formattedMinValue\":\"0\",\"isCurrent\":true,\"isReference\":false,\"maxValue\":1.4,\"minValue\":0.0,\"name\":\"Low\"},{\"color\":\"#EE734E\",\"formattedMaxValue\":null,\"formattedMinValue\":\"1.4\",\"isCurrent\":false,\"isReference\":true,\"maxValue\":null,\"minValue\":1.4,\"name\":\"Reference range\"}],\"relatedInsights\":[],\"sample\":\"Semen\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"mL\",\"value\":\"1.4\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"Complete Within 30 -\\\\n60\",\"fullName\":\"Liquefaction\",\"history\":[],\"id\":9,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"Complete Within 30 -\\\\n60\",\"methodType\":null,\"name\":\"LIQ\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[\"Complete-within 30\"],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"Semen\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"minutes\",\"value\":\"Complete Within 30 -\\\\n60\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"Normal\",\"fullName\":\"Ejaulate Viscosity\",\"history\":[],\"id\":10,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"Normal\",\"methodType\":null,\"name\":\"EV\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[\"Normal\"],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"Semen\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"\",\"value\":\"Normal\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#EE734E\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":\"7.2\",\"formattedValue\":\"8\",\"fullName\":\"Ejaculate pH\",\"history\":[],\"id\":11,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"Reference range\",\"methodType\":null,\"name\":\"EP\",\"normalRangeMax\":null,\"normalRangeMin\":7.2,\"normalRangeType\":3,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":1,\"ranges\":[{\"color\":\"#02D9D1\",\"formattedMaxValue\":\"7.2\",\"formattedMinValue\":\"0\",\"isCurrent\":false,\"isReference\":false,\"maxValue\":7.2,\"minValue\":0.0,\"name\":\"Low\"},{\"color\":\"#EE734E\",\"formattedMaxValue\":null,\"formattedMinValue\":\"7.2\",\"isCurrent\":true,\"isReference\":true,\"maxValue\":null,\"minValue\":7.2,\"name\":\"Reference range\"}],\"relatedInsights\":[],\"sample\":\"Semen\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":false,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"\",\"value\":\"8.0\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":false},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"None Seen\",\"fullName\":\"Non-Specific Aggregation\",\"history\":[],\"id\":12,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"None Seen\",\"methodType\":null,\"name\":\"NSA\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[\"None Seen\"],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"/hpf\",\"value\":\"None Seen\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"Moderate\",\"fullName\":\"Agglutination\",\"history\":[],\"id\":13,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"Moderate\",\"methodType\":null,\"name\":\"AGG\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[\"None Seen\"],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"/hpf\",\"value\":\"Moderate\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"None Seen\",\"fullName\":\"Epithelial Cells\",\"history\":[],\"id\":14,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"None Seen\",\"methodType\":null,\"name\":\"EC\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[\"None Seen-Isolated\"],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"/hpf\",\"value\":\"None Seen\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"2\",\"fullName\":\"Round Cells\",\"history\":[],\"id\":15,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"\",\"methodType\":null,\"name\":\"RC\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[\"None Seen-Isolated\"],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"/hpf\",\"value\":\"2\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":1,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":null,\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":{\"biomarkers\":[],\"doctorNotes\":[],\"icon\":\"custom_panel_icon.png\",\"insights\":[],\"name\":\"MOTILITY\",\"notes\":[],\"panelBiomarker\":null,\"panelDetails\":[{\"attachments\":[],\"identifier\":\"MOTILITY\",\"name\":\"MOTILITY\",\"notes\":[],\"sample\":null},{\"attachments\":[],\"identifier\":\"SEMEN ROUTINE ANALYSIS\",\"name\":\"SEMEN ROUTINE ANALYSIS\",\"notes\":[],\"sample\":null},{\"attachments\":[],\"identifier\":\"ANDROLOGY\",\"name\":\"ANDROLOGY\",\"notes\":[],\"sample\":null}],\"panelId\":58,\"sample\":null},\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"0\",\"fullName\":\"Rapidly Progressive - RP\",\"history\":[],\"id\":16,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"\",\"methodType\":null,\"name\":\"RPR\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"%\",\"value\":\"0\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#41B9D6\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":null,\"formattedValue\":\"30\",\"fullName\":\"Slowly Progressive - SP\",\"history\":[],\"id\":17,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"\",\"methodType\":null,\"name\":\"SPS\",\"normalRangeMax\":null,\"normalRangeMin\":null,\"normalRangeType\":0,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[],\"relatedInsights\":[],\"sample\":\"\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"%\",\"value\":\"30\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#02D9D1\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":\"30\",\"formattedValue\":\"30\",\"fullName\":\"Progresive Motility - PM [RP+SP]\",\"history\":[],\"id\":18,\"insightsCount\":0,\"isNormal\":false,\"isRectified\":false,\"lingualReading\":\"Low\",\"methodType\":null,\"name\":\"PMPRS\",\"normalRangeMax\":null,\"normalRangeMin\":30.0,\"normalRangeType\":3,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[{\"color\":\"#02D9D1\",\"formattedMaxValue\":\"30\",\"formattedMinValue\":\"0\",\"isCurrent\":true,\"isReference\":false,\"maxValue\":30.0,\"minValue\":0.0,\"name\":\"Low\"},{\"color\":\"#EE734E\",\"formattedMaxValue\":null,\"formattedMinValue\":\"30\",\"isCurrent\":false,\"isReference\":true,\"maxValue\":null,\"minValue\":30.0,\"name\":\"Reference range\"}],\"relatedInsights\":[],\"sample\":\"\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"%\",\"value\":\"30\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#EE734E\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":\"1\",\"formattedNormalRangeMin\":null,\"formattedValue\":\"20\",\"fullName\":\"Non Progressive - NP\",\"history\":[],\"id\":19,\"insightsCount\":0,\"isNormal\":false,\"isRectified\":false,\"lingualReading\":\"High\",\"methodType\":null,\"name\":\"NPN\",\"normalRangeMax\":1.0,\"normalRangeMin\":null,\"normalRangeType\":1,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":1,\"ranges\":[{\"color\":\"#02D9D1\",\"formattedMaxValue\":\"1\",\"formattedMinValue\":null,\"isCurrent\":false,\"isReference\":true,\"maxValue\":1.0,\"minValue\":null,\"name\":\"Reference range\"},{\"color\":\"#EE734E\",\"formattedMaxValue\":\"1,000\",\"formattedMinValue\":\"1\",\"isCurrent\":true,\"isReference\":false,\"maxValue\":1000.0,\"minValue\":1.0,\"name\":\"High\"}],\"relatedInsights\":[],\"sample\":\"\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"%\",\"value\":\"20\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#EE734E\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":\"42\",\"formattedValue\":\"50\",\"fullName\":\"Total Motility - TM [PM+NP]\",\"history\":[],\"id\":20,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"Reference range\",\"methodType\":null,\"name\":\"TMTPN\",\"normalRangeMax\":null,\"normalRangeMin\":42.0,\"normalRangeType\":3,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":1,\"ranges\":[{\"color\":\"#02D9D1\",\"formattedMaxValue\":\"42\",\"formattedMinValue\":\"0\",\"isCurrent\":false,\"isReference\":false,\"maxValue\":42.0,\"minValue\":0.0,\"name\":\"Low\"},{\"color\":\"#EE734E\",\"formattedMaxValue\":null,\"formattedMinValue\":\"42\",\"isCurrent\":true,\"isReference\":true,\"maxValue\":null,\"minValue\":42.0,\"name\":\"Reference range\"}],\"relatedInsights\":[],\"sample\":\"Semen\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":false,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"%\",\"value\":\"50\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":false},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#EE734E\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":\"20\",\"formattedNormalRangeMin\":null,\"formattedValue\":\"50\",\"fullName\":\"Immotile - IM\",\"history\":[],\"id\":21,\"insightsCount\":0,\"isNormal\":false,\"isRectified\":false,\"lingualReading\":\"High\",\"methodType\":null,\"name\":\"II\",\"normalRangeMax\":20.0,\"normalRangeMin\":null,\"normalRangeType\":1,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":1,\"ranges\":[{\"color\":\"#02D9D1\",\"formattedMaxValue\":\"20\",\"formattedMinValue\":null,\"isCurrent\":false,\"isReference\":true,\"maxValue\":20.0,\"minValue\":null,\"name\":\"Reference range\"},{\"color\":\"#EE734E\",\"formattedMaxValue\":\"1,000\",\"formattedMinValue\":\"20\",\"isCurrent\":true,\"isReference\":false,\"maxValue\":1000.0,\"minValue\":20.0,\"name\":\"High\"}],\"relatedInsights\":[],\"sample\":\"\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"%\",\"value\":\"50\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":null,\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":{\"biomarkers\":[],\"doctorNotes\":[],\"icon\":\"custom_panel_icon.png\",\"insights\":[],\"name\":\"COUNT\",\"notes\":[],\"panelBiomarker\":null,\"panelDetails\":[{\"attachments\":[],\"identifier\":\"COUNT\",\"name\":\"COUNT\",\"notes\":[],\"sample\":null},{\"attachments\":[],\"identifier\":\"SEMEN ROUTINE ANALYSIS\",\"name\":\"SEMEN ROUTINE ANALYSIS\",\"notes\":[],\"sample\":null},{\"attachments\":[],\"identifier\":\"ANDROLOGY\",\"name\":\"ANDROLOGY\",\"notes\":[],\"sample\":null}],\"panelId\":59,\"sample\":null},\"showInCompactView\":true,\"showInDetailsView\":false},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#EE734E\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":\"16\",\"formattedValue\":\"34\",\"fullName\":\"Concentration / Sperm Cells Count\",\"history\":[],\"id\":22,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"Reference range\",\"methodType\":null,\"name\":\"CSCC\",\"normalRangeMax\":null,\"normalRangeMin\":16.0,\"normalRangeType\":3,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":1,\"ranges\":[{\"color\":\"#02D9D1\",\"formattedMaxValue\":\"16\",\"formattedMinValue\":\"0\",\"isCurrent\":false,\"isReference\":false,\"maxValue\":16.0,\"minValue\":0.0,\"name\":\"Low\"},{\"color\":\"#EE734E\",\"formattedMaxValue\":null,\"formattedMinValue\":\"16\",\"isCurrent\":true,\"isReference\":true,\"maxValue\":null,\"minValue\":16.0,\"name\":\"Reference range\"}],\"relatedInsights\":[],\"sample\":\"Semen\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":false,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"\",\"value\":\"34\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":false},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#EE734E\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":\"39\",\"formattedValue\":\"48\",\"fullName\":\"Total Sperm Cells In Ejaculate\",\"history\":[],\"id\":23,\"insightsCount\":0,\"isNormal\":true,\"isRectified\":false,\"lingualReading\":\"Reference range\",\"methodType\":null,\"name\":\"TSCIE\",\"normalRangeMax\":null,\"normalRangeMin\":39.0,\"normalRangeType\":3,\"notes\":[],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":1,\"ranges\":[{\"color\":\"#02D9D1\",\"formattedMaxValue\":\"39\",\"formattedMinValue\":\"0\",\"isCurrent\":false,\"isReference\":false,\"maxValue\":39.0,\"minValue\":0.0,\"name\":\"Low\"},{\"color\":\"#EE734E\",\"formattedMaxValue\":null,\"formattedMinValue\":\"39\",\"isCurrent\":true,\"isReference\":true,\"maxValue\":null,\"minValue\":39.0,\"name\":\"Reference range\"}],\"relatedInsights\":[],\"sample\":\"\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":false,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"\",\"value\":\"48\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":false},{\"biomarker\":null,\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":{\"biomarkers\":[],\"doctorNotes\":[],\"icon\":\"custom_panel_icon.png\",\"insights\":[],\"name\":\"MORPHOLOGY\",\"notes\":[],\"panelBiomarker\":null,\"panelDetails\":[{\"attachments\":[],\"identifier\":\"MORPHOLOGY\",\"name\":\"MORPHOLOGY\",\"notes\":[],\"sample\":null},{\"attachments\":[],\"identifier\":\"SEMEN ROUTINE ANALYSIS\",\"name\":\"SEMEN ROUTINE ANALYSIS\",\"notes\":[],\"sample\":null},{\"attachments\":[],\"identifier\":\"ANDROLOGY\",\"name\":\"ANDROLOGY\",\"notes\":[],\"sample\":null}],\"panelId\":60,\"sample\":null},\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":{\"attachments\":[],\"childrenBiomarkers\":[],\"color\":\"#02D9D1\",\"components\":[],\"detailsList\":[],\"doctorNotes\":[],\"formattedNormalRangeMax\":null,\"formattedNormalRangeMin\":\"4\",\"formattedValue\":\"0\",\"fullName\":\"Normal Sperm Cells Morphology\",\"history\":[],\"id\":24,\"insightsCount\":0,\"isNormal\":false,\"isRectified\":false,\"lingualReading\":\"Low\",\"methodType\":null,\"name\":\"NSCM\",\"normalRangeMax\":null,\"normalRangeMin\":4.0,\"normalRangeType\":3,\"notes\":[\"As with all medical laboratory test[s], a definite clinical diagnosis should not completely be based on a result of a single test,\",\"but should only be made by a physicain after all presenting clinical symptoms and laboratory findings have been evaluated.\"],\"priority\":null,\"qualityOfSample\":null,\"rangeIndex\":0,\"ranges\":[{\"color\":\"#02D9D1\",\"formattedMaxValue\":\"4\",\"formattedMinValue\":\"0\",\"isCurrent\":true,\"isReference\":false,\"maxValue\":4.0,\"minValue\":0.0,\"name\":\"Low\"},{\"color\":\"#EE734E\",\"formattedMaxValue\":null,\"formattedMinValue\":\"4\",\"isCurrent\":false,\"isReference\":true,\"maxValue\":null,\"minValue\":4.0,\"name\":\"Reference range\"}],\"relatedInsights\":[],\"sample\":\"\",\"sampleType\":null,\"showInCompactView\":true,\"showInDetailsView\":true,\"showScale\":true,\"status\":1,\"type\":-1,\"unit\":\"%\",\"value\":\"0\"},\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":null,\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":null,\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":\"As with all medical laboratory test[s], a definite clinical diagnosis should not completely be based on a result of a single test,\",\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true},{\"biomarker\":null,\"biomarkerAttachment\":null,\"biomarkerDetailsList\":null,\"biomarkerNote\":\"but should only be made by a physicain after all presenting clinical symptoms and laboratory findings have been evaluated.\",\"insight\":null,\"isChildBiomarker\":false,\"nestingLevel\":2,\"panel\":null,\"showInCompactView\":true,\"showInDetailsView\":true}],\"labAddress\":\"Mariahilfer Straße 27/10, A-1060 Wien \\nUID: ATU 72096518 \\nHandelsgericht Wien, FN 458726y\",\"labEmailAddress\":\"support@medicus.ai\",\"labLogo\":\"\",\"labName\":\"Medicus\",\"labPhoneNumber\":\"\",\"labStamp\":\"\",\"labType\":23,\"language\":\"en\",\"moreLink\":\"\",\"origem\":null,\"panels\":[],\"patientBirthDate\":1168300800.0,\"patientName\":\"diab\",\"patientPin\":\"\",\"profileItems\":[{\"title\":\"Prepared for\",\"value\":\"diab\"},{\"title\":\"Patient number\",\"value\":\"Pypq3WNwrftwL\"},{\"title\":\"Email\",\"value\":\"diab2233@gmail.com\"},{\"title\":\"Date of birth\",\"value\":\"09/01/2007 (Age 18)\"},{\"title\":\"Gender\",\"value\":\"Male\"}],\"reportDate\":\"1740997371.000000\",\"reportDivision\":\"Main division\",\"reportNumber\":\"MR-EKFB92C\",\"reportProperties\":null,\"reportPurpose\":\"\",\"reportSampleType\":\"\",\"reportSummary\":\"\",\"sampleCollectionDate\":\"\",\"screeningPurpose\":\"\",\"screeningStrategy\":\"\",\"showAsTwoColumns\":false,\"showCompactView\":true,\"showDetailsView\":true,\"showPIN\":false,\"signatures\":[],\"smartAlert\":null,\"summary\":[],\"timeZoneOffset\":null}",
50
- // "profileInfo": [
51
- // { "title": "LAB", "value": "Main division" },
52
- // { "title": "Reference", "value": "MR-EKFB92C" },
53
- // { "title": "Patient", "value": "diab" },
54
- // { "title": "Report date", "value": "03/03/2025" },
55
- // { "title": "Prepared for", "value": "diab" },
56
- // { "title": "Date of birth", "value": "09/01/2007 (Age 18)" },
57
- // { "title": "Weight", "value": "" },
58
- // { "title": "Height", "value": "" },
59
- // { "title": "Gender", "value": "Male" },
60
- // { "title": "Body Mass Index (BMI)", "value": "" },
61
- // { "title": "Blood Pressure", "value": "" },
62
- // { "title": "Waist Circumference", "value": "" }
63
- // ],
64
- // "wellbeing": {}
65
- // }
48
+
66
49
 
67
50
 
68
51