@medicus.ai/medicus-report-pdf-generator 1.0.271 → 1.0.273
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/QR.png +0 -0
- package/assets/Webp.net-resizeimage.png +0 -0
- package/assets/data/data.json +125 -0
- package/assets/data/data2.json +676 -0
- package/assets/data/pdf_data_with_history.json +1255 -0
- package/assets/fonts/SF-Pro-Display-Light.otf +0 -0
- package/assets/fonts/SF-Pro-Display-LightItalic.otf +0 -0
- package/assets/fonts/SFProText-Regular.ttf +0 -0
- package/assets/jquery-1.4.min.js +151 -0
- package/assets/print.css +4 -0
- package/assets/range-arrow.png +0 -0
- package/assets/sanusx/css/sanusx_report.css +17 -8
- package/assets/shareBackground@2x.png +0 -0
- package/assets/sign.png +0 -0
- package/assets/signature.png +0 -0
- package/assets/sizing.js +3 -0
- package/assets/small-circle.png +0 -0
- package/assets/small-down-arrow.png +0 -0
- package/assets/sub-header.png +0 -0
- package/assets/translation.js +31 -0
- package/lib/sanusx_report_generator.js +36 -27
- package/package.json +1 -1
- package/templates/blocks/biomarker-compact-ar.html +27 -0
- package/templates/blocks/biomarker-min.html +9 -0
- package/templates/blocks/first-page-header.html +0 -0
- package/templates/blocks/section-title.html +5 -0
- package/templates/blocks/summary.html +10 -0
- package/templates/empty.html +11 -0
- package/templates/popup/popup-template.html +130 -0
- package/templates/sanusx/blocks/predictions-section.html +3 -10
- package/.dockerignore +0 -5
- package/CHANGELOG.md +0 -140
- package/Dockerfile +0 -21
- package/assets/bootstrap/css/bootstrap-grid.min.css +0 -7
- package/assets/bootstrap/css/bootstrap-grid.min.css.map +0 -1
- package/assets/bootstrap/css/bootstrap-reboot.min.css +0 -8
- package/assets/bootstrap/css/bootstrap-reboot.min.css.map +0 -1
- package/assets/bootstrap/css/bootstrap.min.css +0 -7
- package/assets/bootstrap/css/bootstrap.min.css.map +0 -1
- package/assets/bootstrap/js/bootstrap.bundle.min.js +0 -7
- package/assets/bootstrap/js/bootstrap.bundle.min.js.map +0 -1
- package/assets/bootstrap/js/bootstrap.min.js +0 -7
- package/assets/bootstrap/js/bootstrap.min.js.map +0 -1
- package/assets/corporate_report/images/cover-bg.png +0 -0
- package/assets/fonts/Adobe-Arabic-Regular-Font.otf +0 -0
- package/assets/medicus_pdf/arabic.css +0 -431
- package/assets/medicus_pdf/autocolumn.min.js +0 -37
- package/assets/medicus_pdf/chartjs-plugin-datalabels@0.7.0.min.js +0 -7
- package/assets/medicus_pdf/charts.min.js +0 -7
- package/assets/medicus_pdf/jquery-3.6.0.min.js +0 -2
- package/assets/medicus_pdf/moment.min.js +0 -2
- package/assets/medicus_pdf/print.min.css +0 -1
- package/assets/medicus_pdf/qrcode_js.min.js +0 -2
- package/assets/medicus_pdf/styles.css +0 -2403
- package/bitbucket-pipelines.yml +0 -97
- package/composer.json +0 -5
- package/composer.lock +0 -209
- package/e_invoice/generate.php +0 -34
- package/e_invoice/generate_medicus_pdf.php +0 -169
- package/e_invoice/generate_test.php +0 -9
- package/environment.php +0 -7
- package/generate/encrypt_decrypt.php +0 -24
- package/generate/functions.php +0 -704
- package/generate/generate.php +0 -59
- package/generate/generate_medicus_pdf.php +0 -307
- package/generate/generate_test.php +0 -9
- package/generate/templates.php +0 -1950
- package/index.php +0 -18
- package/init-docker-container.sh +0 -5
- package/lang/lang_ar.php +0 -77
- package/lang/lang_de.php +0 -77
- package/lang/lang_en.php +0 -77
- package/lang/lang_fr.php +0 -77
- package/lang/lang_it.php +0 -77
- package/lang/lang_nl-NL.php +0 -77
- package/lang/lang_pt.php +0 -77
- package/lang/lang_pt_BR.php +0 -77
- package/lang/lang_zh-CN.php +0 -47
- package/lang/lang_zh-HK.php +0 -77
- package/templates/e_invoice/template.html +0 -92
package/assets/QR.png
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "en",
|
|
3
|
+
"labName": "Al Borg Laboratories Jeddah 8",
|
|
4
|
+
"labAddress": "Address comes here 8",
|
|
5
|
+
"labPhoneNumber": "+971 45 7367637 8",
|
|
6
|
+
"patientId": "7436247236 8",
|
|
7
|
+
"reportDate": "5/10/2018 8",
|
|
8
|
+
"labLogo": "https://medicus.ai/wp-content/themes/medicus_theme/img/medicus-logo.png",
|
|
9
|
+
"reportTitle": "Chemistry Report",
|
|
10
|
+
"patientName": "Al borg-SBPSP 1",
|
|
11
|
+
"patientBirthDate": "4/11/1985 (Age 33)",
|
|
12
|
+
"patientGender": "Male",
|
|
13
|
+
"patientWeightHeight": "97 kg / 176 cm",
|
|
14
|
+
"moreLink": "alborglaboratories.com/report",
|
|
15
|
+
"patientPin": "4KH64Ej",
|
|
16
|
+
"DrName": "Dr. Faraj N. Rabah",
|
|
17
|
+
"DrApprovalDate": "4/10/2018",
|
|
18
|
+
"DrSignature": "https://medicus.ai/wp-content/themes/medicus_theme/img/medicus-logo.png",
|
|
19
|
+
"panels": [
|
|
20
|
+
{
|
|
21
|
+
"name": "CBC",
|
|
22
|
+
"biomarkers": [
|
|
23
|
+
{
|
|
24
|
+
"name": "Red Blood Cells",
|
|
25
|
+
"symbol": "RBC",
|
|
26
|
+
"value": "4.79",
|
|
27
|
+
"unit": "x10¹²/L",
|
|
28
|
+
"ranges": [
|
|
29
|
+
{
|
|
30
|
+
"name": "Low",
|
|
31
|
+
"color": "red",
|
|
32
|
+
"min": "1",
|
|
33
|
+
"max": "4.31"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "Normal",
|
|
37
|
+
"color": "green",
|
|
38
|
+
"min": "4.32",
|
|
39
|
+
"max": "5.72"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "High",
|
|
43
|
+
"color": "red",
|
|
44
|
+
"min": "5.73",
|
|
45
|
+
"max": "15"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"insights": [
|
|
49
|
+
{
|
|
50
|
+
"insightType": "clinical reading",
|
|
51
|
+
"text": "Your red blood cells (RBC) count is within the reference range. Red blood cells circulate in your blood and take up oxygen in the lungs ensuring its circulation throughout the body. They contain hemoglobin, an iron-rich protein that carries oxygen. Red blood cells remove the waste product carbon dioxide back from your tissues, transporting it to the lungs for you to exhale.",
|
|
52
|
+
"icon": "https://medicus.ai/wp-content/themes/medicus_theme/img/medicus-logo.png"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"insightType": "timing",
|
|
56
|
+
"text": "Your red blood cells (RBC) count is within the reference range. Red blood cells circulate in your blood and take up oxygen in the lungs ensuring its circulation throughout the body. They contain hemoglobin, an iron-rich protein that carries oxygen. Red blood cells remove the waste product carbon dioxide back from your tissues, transporting it to the lungs for you to exhale.",
|
|
57
|
+
"icon": "https://medicus.ai/wp-content/themes/medicus_theme/img/medicus-logo.png",
|
|
58
|
+
"color": "yellow"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "Red Blood Cells",
|
|
64
|
+
"symbol": "RBC",
|
|
65
|
+
"value": "4.79",
|
|
66
|
+
"unit": "x10¹²/L",
|
|
67
|
+
"ranges": [
|
|
68
|
+
{
|
|
69
|
+
"name": "Low",
|
|
70
|
+
"color": "red",
|
|
71
|
+
"min": "1",
|
|
72
|
+
"max": "4.31"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "Normal",
|
|
76
|
+
"color": "green",
|
|
77
|
+
"min": "4.32",
|
|
78
|
+
"max": "5.72"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "High",
|
|
82
|
+
"color": "red",
|
|
83
|
+
"min": "5.73",
|
|
84
|
+
"max": "15"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"insights": [
|
|
88
|
+
{
|
|
89
|
+
"insightType": "clinical reading",
|
|
90
|
+
"text": "Your red blood cells (RBC) count is within the reference range. Red blood cells circulate in your blood and take up oxygen in the lungs ensuring its circulation throughout the body. They contain hemoglobin, an iron-rich protein that carries oxygen. Red blood cells remove the waste product carbon dioxide back from your tissues, transporting it to the lungs for you to exhale.",
|
|
91
|
+
"icon": "https://medicus.ai/wp-content/themes/medicus_theme/img/medicus-logo.png"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"insightType": "timing",
|
|
95
|
+
"text": "Your red blood cells (RBC) count is within the reference range. Red blood cells circulate in your blood and take up oxygen in the lungs ensuring its circulation throughout the body. They contain hemoglobin, an iron-rich protein that carries oxygen. Red blood cells remove the waste product carbon dioxide back from your tissues, transporting it to the lungs for you to exhale.",
|
|
96
|
+
"icon": "https://medicus.ai/wp-content/themes/medicus_theme/img/medicus-logo.png",
|
|
97
|
+
"color": "yellow"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "Kidney",
|
|
105
|
+
"biomarkers": [
|
|
106
|
+
{
|
|
107
|
+
"name": "Estimated Glomerular Filtration Rate",
|
|
108
|
+
"symbol": "eGFR",
|
|
109
|
+
"value": "> 60",
|
|
110
|
+
"unit": "mL/min/1.73 m²",
|
|
111
|
+
"ranges": [],
|
|
112
|
+
"insights": [
|
|
113
|
+
{
|
|
114
|
+
"insightType": "clinical reading",
|
|
115
|
+
"title": "Your eGFR value may suggest a normal kidney function.",
|
|
116
|
+
"text": "Your estimated glomerular filtration rate (eGFR) value is within the reference range. This result may suggest that the kidneys are functioning properly. Estimated glomerular filtration rate is calculated from serum creatinine levels. It is used to estimate kidney function by determining how well the kidneys are filtering blood to remove waste products and excess water from the body. Further tests may be required for an accurate assessment of your results in the light of your clinical picture.",
|
|
117
|
+
"icon": "https://medicus.ai/wp-content/themes/medicus_theme/img/medicus-logo.png",
|
|
118
|
+
"color": "green"
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|