@medicus.ai/medicus-report-pdf-generator 1.3.25 → 1.3.27
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/lib/template.js
CHANGED
|
@@ -905,7 +905,7 @@ function renderReportSummary(data, isIMCLab) {
|
|
|
905
905
|
content += '<div id="report-summary" class="section">';
|
|
906
906
|
if (data.reportSummary) {
|
|
907
907
|
content += `
|
|
908
|
-
<div class="resume-title report-summary-title">${localeService.t('reportSummary')}</div>
|
|
908
|
+
<div class="resume-title report-summary-title">${localeService.t('reportSummary') || 'Report Summary'}</div>
|
|
909
909
|
<div class="section-content report-summary-content">${data.reportSummary}</div>
|
|
910
910
|
`;
|
|
911
911
|
}
|
|
@@ -915,7 +915,7 @@ function renderReportSummary(data, isIMCLab) {
|
|
|
915
915
|
reportProperties += `<p>${key}: ${value}</p>`;
|
|
916
916
|
}
|
|
917
917
|
content += `
|
|
918
|
-
<div class="resume-title report-properties-title">${localeService.t('reportProperties')}</div>
|
|
918
|
+
<div class="resume-title report-properties-title">${localeService.t('reportProperties') || 'Report Properties'}</div>
|
|
919
919
|
<div class="section-content report-properties-content">${reportProperties}</div>
|
|
920
920
|
`;
|
|
921
921
|
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
+
"reportSummary": {
|
|
3
|
+
"message": "ملخص التقرير",
|
|
4
|
+
"description": "Report summary section title"
|
|
5
|
+
},
|
|
6
|
+
"reportProperties": {
|
|
7
|
+
"message": "خصائص التقرير",
|
|
8
|
+
"description": "Report properties section title"
|
|
9
|
+
},
|
|
2
10
|
"yearsOld": {
|
|
3
11
|
"message": "years old",
|
|
4
12
|
"description": "After the patient old in the header"
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
+
"reportSummary": {
|
|
3
|
+
"message": "ملخص التقرير",
|
|
4
|
+
"description": "Report summary section title"
|
|
5
|
+
},
|
|
6
|
+
"reportProperties": {
|
|
7
|
+
"message": "خصائص التقرير",
|
|
8
|
+
"description": "Report properties section title"
|
|
9
|
+
},
|
|
2
10
|
"yearsOld": {
|
|
3
11
|
"message": "سنة",
|
|
4
12
|
"description": "After the patient old in the header"
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
+
"reportSummary": {
|
|
3
|
+
"message": "Report Summary",
|
|
4
|
+
"description": "Report summary section title"
|
|
5
|
+
},
|
|
6
|
+
"reportProperties": {
|
|
7
|
+
"message": "Report Properties",
|
|
8
|
+
"description": "Report properties section title"
|
|
9
|
+
},
|
|
2
10
|
"yearsOld": {
|
|
3
11
|
"message": "years old",
|
|
4
12
|
"description": "After the patient old in the header"
|
package/package.json
CHANGED
|
@@ -80,6 +80,18 @@
|
|
|
80
80
|
margin-left: 0 !important;
|
|
81
81
|
margin-right: 14px !important;
|
|
82
82
|
}
|
|
83
|
+
|
|
84
|
+
/* Report summary (prescription table): the shared sheet makes #report-summary
|
|
85
|
+
an inline-block floated box that shrinks to roughly half the page width, so a
|
|
86
|
+
wide prescription table overflows the box. In LTR that overflow spills right
|
|
87
|
+
into the page and still reads; in RTL it spills off the LEFT page edge,
|
|
88
|
+
clipping the Instructions/Package columns. Let the box span the full content
|
|
89
|
+
width so the table sits inside it (matching the LTR copy, which already fits). */
|
|
90
|
+
.score-main #report-summary {
|
|
91
|
+
display: block !important;
|
|
92
|
+
float: none !important;
|
|
93
|
+
width: 100% !important;
|
|
94
|
+
}
|
|
83
95
|
</style>
|
|
84
96
|
<script>
|
|
85
97
|
var IS_ARABIC = true;
|