@imranq2/fhirpatientsummary 1.0.10 → 1.0.11
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -564,7 +564,7 @@ var TemplateUtilities = class {
|
|
|
564
564
|
formatQuantityValue(quantity) {
|
|
565
565
|
if (!quantity) return "";
|
|
566
566
|
const parts = [];
|
|
567
|
-
if (quantity.comparator) parts.push(quantity.comparator);
|
|
567
|
+
if (quantity.comparator) parts.push(`${quantity.comparator}`.replace(/</g, "<").replace(/>/g, ">"));
|
|
568
568
|
if (quantity.value !== void 0) parts.push(quantity.value.toString());
|
|
569
569
|
if (quantity.unit) parts.push(quantity.unit);
|
|
570
570
|
return parts.join(" ").trim();
|
package/dist/index.js
CHANGED
|
@@ -536,7 +536,7 @@ var TemplateUtilities = class {
|
|
|
536
536
|
formatQuantityValue(quantity) {
|
|
537
537
|
if (!quantity) return "";
|
|
538
538
|
const parts = [];
|
|
539
|
-
if (quantity.comparator) parts.push(quantity.comparator);
|
|
539
|
+
if (quantity.comparator) parts.push(`${quantity.comparator}`.replace(/</g, "<").replace(/>/g, ">"));
|
|
540
540
|
if (quantity.value !== void 0) parts.push(quantity.value.toString());
|
|
541
541
|
if (quantity.unit) parts.push(quantity.unit);
|
|
542
542
|
return parts.join(" ").trim();
|