@medplum/core 5.2.8 → 5.2.9

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.
@@ -1633,6 +1633,18 @@ export { ErrorEvent_2 as ErrorEvent }
1633
1633
  */
1634
1634
  export declare function escapeHtml(unsafe: string): string;
1635
1635
 
1636
+ /**
1637
+ * Escapes a literal string for use as a single FHIR search value.
1638
+ * Backslash-escapes commas and backslashes, so that the value is not split into multiple "or" values.
1639
+ * This is the inverse of `splitSearchOnComma`.
1640
+ *
1641
+ * See: https://hl7.org/fhir/r4/search.html#escaping
1642
+ *
1643
+ * @param input - The literal string to search for.
1644
+ * @returns The escaped FHIR search value.
1645
+ */
1646
+ export declare function escapeSearchValue(input: string): string;
1647
+
1636
1648
  /**
1637
1649
  * Escape token part of a JSON Pointer string
1638
1650
  *
@@ -1633,6 +1633,18 @@ export { ErrorEvent_2 as ErrorEvent }
1633
1633
  */
1634
1634
  export declare function escapeHtml(unsafe: string): string;
1635
1635
 
1636
+ /**
1637
+ * Escapes a literal string for use as a single FHIR search value.
1638
+ * Backslash-escapes commas and backslashes, so that the value is not split into multiple "or" values.
1639
+ * This is the inverse of `splitSearchOnComma`.
1640
+ *
1641
+ * See: https://hl7.org/fhir/r4/search.html#escaping
1642
+ *
1643
+ * @param input - The literal string to search for.
1644
+ * @returns The escaped FHIR search value.
1645
+ */
1646
+ export declare function escapeSearchValue(input: string): string;
1647
+
1636
1648
  /**
1637
1649
  * Escape token part of a JSON Pointer string
1638
1650
  *