fhir-persistence 0.7.0 → 0.8.0

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.
@@ -2970,7 +2970,7 @@ declare interface SearchStats {
2970
2970
  * Physical storage strategy for a search parameter.
2971
2971
  *
2972
2972
  * - `column` — single column in the main table
2973
- * - `token-column` — three columns (UUID[], TEXT[], TEXT) for token search
2973
+ * - `token-column` — two columns: TEXT (JSON array of "system|code"), TEXT (sort/display)
2974
2974
  * - `lookup-table` — separate lookup table; only a sort column in main table
2975
2975
  */
2976
2976
  export declare type SearchStrategy = 'column' | 'token-column' | 'lookup-table';
@@ -2970,7 +2970,7 @@ declare interface SearchStats {
2970
2970
  * Physical storage strategy for a search parameter.
2971
2971
  *
2972
2972
  * - `column` — single column in the main table
2973
- * - `token-column` — three columns (UUID[], TEXT[], TEXT) for token search
2973
+ * - `token-column` — two columns: TEXT (JSON array of "system|code"), TEXT (sort/display)
2974
2974
  * - `lookup-table` — separate lookup table; only a sort column in main table
2975
2975
  */
2976
2976
  export declare type SearchStrategy = 'column' | 'token-column' | 'lookup-table';
@@ -5207,7 +5207,7 @@ function buildUriFragmentV2(impl, param, dialect) {
5207
5207
  return buildOrFragmentV2(col, "=", param.values);
5208
5208
  }
5209
5209
  function buildTokenColumnFragmentV2(impl, param, dialect) {
5210
- const textCol = quoteColumn(`__${impl.columnName}Text`);
5210
+ const textCol = quoteColumn(`__${impl.columnName}`);
5211
5211
  const sortCol = quoteColumn(`__${impl.columnName}Sort`);
5212
5212
  if (param.modifier === "text") {
5213
5213
  return buildLikeFragmentV2(sortCol, param.values, "", "%");