@sequoiaport/codes 0.1.0-beta.0 → 0.1.0-beta.1

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.d.ts CHANGED
@@ -32,9 +32,6 @@ declare const SnomedConceptSchema: z.ZodObject<{
32
32
  active: z.ZodOptional<z.ZodBoolean>;
33
33
  module_id: z.ZodOptional<z.ZodString>;
34
34
  similarity: z.ZodOptional<z.ZodNumber>;
35
- rrf_score: z.ZodOptional<z.ZodNumber>;
36
- text_score: z.ZodOptional<z.ZodNumber>;
37
- match_type: z.ZodOptional<z.ZodString>;
38
35
  icd10_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39
36
  }, "strip", z.ZodTypeAny, {
40
37
  concept_id: string;
@@ -46,9 +43,6 @@ declare const SnomedConceptSchema: z.ZodObject<{
46
43
  active?: boolean | undefined;
47
44
  module_id?: string | undefined;
48
45
  similarity?: number | undefined;
49
- rrf_score?: number | undefined;
50
- text_score?: number | undefined;
51
- match_type?: string | undefined;
52
46
  icd10_codes?: string[] | undefined;
53
47
  }, {
54
48
  concept_id: string;
@@ -60,9 +54,6 @@ declare const SnomedConceptSchema: z.ZodObject<{
60
54
  active?: boolean | undefined;
61
55
  module_id?: string | undefined;
62
56
  similarity?: number | undefined;
63
- rrf_score?: number | undefined;
64
- text_score?: number | undefined;
65
- match_type?: string | undefined;
66
57
  icd10_codes?: string[] | undefined;
67
58
  }>;
68
59
  /** ICD-10 mapping result */
@@ -137,9 +128,6 @@ declare const SearchHybridOutputSchema$2: z.ZodObject<{
137
128
  active: z.ZodOptional<z.ZodBoolean>;
138
129
  module_id: z.ZodOptional<z.ZodString>;
139
130
  similarity: z.ZodOptional<z.ZodNumber>;
140
- rrf_score: z.ZodOptional<z.ZodNumber>;
141
- text_score: z.ZodOptional<z.ZodNumber>;
142
- match_type: z.ZodOptional<z.ZodString>;
143
131
  icd10_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
144
132
  }, "strip", z.ZodTypeAny, {
145
133
  concept_id: string;
@@ -151,9 +139,6 @@ declare const SearchHybridOutputSchema$2: z.ZodObject<{
151
139
  active?: boolean | undefined;
152
140
  module_id?: string | undefined;
153
141
  similarity?: number | undefined;
154
- rrf_score?: number | undefined;
155
- text_score?: number | undefined;
156
- match_type?: string | undefined;
157
142
  icd10_codes?: string[] | undefined;
158
143
  }, {
159
144
  concept_id: string;
@@ -165,13 +150,8 @@ declare const SearchHybridOutputSchema$2: z.ZodObject<{
165
150
  active?: boolean | undefined;
166
151
  module_id?: string | undefined;
167
152
  similarity?: number | undefined;
168
- rrf_score?: number | undefined;
169
- text_score?: number | undefined;
170
- match_type?: string | undefined;
171
153
  icd10_codes?: string[] | undefined;
172
154
  }>, "many">;
173
- search_mode: z.ZodLiteral<"hybrid">;
174
- vector_weight: z.ZodOptional<z.ZodNumber>;
175
155
  }, "strip", z.ZodTypeAny, {
176
156
  query: string;
177
157
  count: number;
@@ -185,13 +165,8 @@ declare const SearchHybridOutputSchema$2: z.ZodObject<{
185
165
  active?: boolean | undefined;
186
166
  module_id?: string | undefined;
187
167
  similarity?: number | undefined;
188
- rrf_score?: number | undefined;
189
- text_score?: number | undefined;
190
- match_type?: string | undefined;
191
168
  icd10_codes?: string[] | undefined;
192
169
  }[];
193
- search_mode: "hybrid";
194
- vector_weight?: number | undefined;
195
170
  }, {
196
171
  query: string;
197
172
  count: number;
@@ -205,13 +180,8 @@ declare const SearchHybridOutputSchema$2: z.ZodObject<{
205
180
  active?: boolean | undefined;
206
181
  module_id?: string | undefined;
207
182
  similarity?: number | undefined;
208
- rrf_score?: number | undefined;
209
- text_score?: number | undefined;
210
- match_type?: string | undefined;
211
183
  icd10_codes?: string[] | undefined;
212
184
  }[];
213
- search_mode: "hybrid";
214
- vector_weight?: number | undefined;
215
185
  }>;
216
186
  /** lookup_code output */
217
187
  declare const LookupCodeOutputSchema$1: z.ZodObject<{
@@ -225,9 +195,6 @@ declare const LookupCodeOutputSchema$1: z.ZodObject<{
225
195
  active: z.ZodOptional<z.ZodBoolean>;
226
196
  module_id: z.ZodOptional<z.ZodString>;
227
197
  similarity: z.ZodOptional<z.ZodNumber>;
228
- rrf_score: z.ZodOptional<z.ZodNumber>;
229
- text_score: z.ZodOptional<z.ZodNumber>;
230
- match_type: z.ZodOptional<z.ZodString>;
231
198
  icd10_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
232
199
  }, "strip", z.ZodTypeAny, {
233
200
  concept_id: string;
@@ -239,9 +206,6 @@ declare const LookupCodeOutputSchema$1: z.ZodObject<{
239
206
  active?: boolean | undefined;
240
207
  module_id?: string | undefined;
241
208
  similarity?: number | undefined;
242
- rrf_score?: number | undefined;
243
- text_score?: number | undefined;
244
- match_type?: string | undefined;
245
209
  icd10_codes?: string[] | undefined;
246
210
  }, {
247
211
  concept_id: string;
@@ -253,9 +217,6 @@ declare const LookupCodeOutputSchema$1: z.ZodObject<{
253
217
  active?: boolean | undefined;
254
218
  module_id?: string | undefined;
255
219
  similarity?: number | undefined;
256
- rrf_score?: number | undefined;
257
- text_score?: number | undefined;
258
- match_type?: string | undefined;
259
220
  icd10_codes?: string[] | undefined;
260
221
  }>>;
261
222
  }, "strip", z.ZodTypeAny, {
@@ -269,9 +230,6 @@ declare const LookupCodeOutputSchema$1: z.ZodObject<{
269
230
  active?: boolean | undefined;
270
231
  module_id?: string | undefined;
271
232
  similarity?: number | undefined;
272
- rrf_score?: number | undefined;
273
- text_score?: number | undefined;
274
- match_type?: string | undefined;
275
233
  icd10_codes?: string[] | undefined;
276
234
  } | null;
277
235
  }, {
@@ -285,9 +243,6 @@ declare const LookupCodeOutputSchema$1: z.ZodObject<{
285
243
  active?: boolean | undefined;
286
244
  module_id?: string | undefined;
287
245
  similarity?: number | undefined;
288
- rrf_score?: number | undefined;
289
- text_score?: number | undefined;
290
- match_type?: string | undefined;
291
246
  icd10_codes?: string[] | undefined;
292
247
  } | null;
293
248
  }>;
@@ -311,15 +266,9 @@ declare const Icd10CodeSchema: z.ZodObject<{
311
266
  is_billable: z.ZodOptional<z.ZodBoolean>;
312
267
  valid_for_submission: z.ZodOptional<z.ZodBoolean>;
313
268
  similarity: z.ZodOptional<z.ZodNumber>;
314
- rrf_score: z.ZodOptional<z.ZodNumber>;
315
- text_score: z.ZodOptional<z.ZodNumber>;
316
- match_type: z.ZodOptional<z.ZodString>;
317
269
  }, "strip", z.ZodTypeAny, {
318
270
  code: string;
319
271
  similarity?: number | undefined;
320
- rrf_score?: number | undefined;
321
- text_score?: number | undefined;
322
- match_type?: string | undefined;
323
272
  short_description?: string | undefined;
324
273
  long_description?: string | undefined;
325
274
  chapter?: string | undefined;
@@ -333,9 +282,6 @@ declare const Icd10CodeSchema: z.ZodObject<{
333
282
  }, {
334
283
  code: string;
335
284
  similarity?: number | undefined;
336
- rrf_score?: number | undefined;
337
- text_score?: number | undefined;
338
- match_type?: string | undefined;
339
285
  short_description?: string | undefined;
340
286
  long_description?: string | undefined;
341
287
  chapter?: string | undefined;
@@ -378,15 +324,9 @@ declare const SearchHybridOutputSchema$1: z.ZodObject<{
378
324
  is_billable: z.ZodOptional<z.ZodBoolean>;
379
325
  valid_for_submission: z.ZodOptional<z.ZodBoolean>;
380
326
  similarity: z.ZodOptional<z.ZodNumber>;
381
- rrf_score: z.ZodOptional<z.ZodNumber>;
382
- text_score: z.ZodOptional<z.ZodNumber>;
383
- match_type: z.ZodOptional<z.ZodString>;
384
327
  }, "strip", z.ZodTypeAny, {
385
328
  code: string;
386
329
  similarity?: number | undefined;
387
- rrf_score?: number | undefined;
388
- text_score?: number | undefined;
389
- match_type?: string | undefined;
390
330
  short_description?: string | undefined;
391
331
  long_description?: string | undefined;
392
332
  chapter?: string | undefined;
@@ -400,9 +340,6 @@ declare const SearchHybridOutputSchema$1: z.ZodObject<{
400
340
  }, {
401
341
  code: string;
402
342
  similarity?: number | undefined;
403
- rrf_score?: number | undefined;
404
- text_score?: number | undefined;
405
- match_type?: string | undefined;
406
343
  short_description?: string | undefined;
407
344
  long_description?: string | undefined;
408
345
  chapter?: string | undefined;
@@ -414,17 +351,12 @@ declare const SearchHybridOutputSchema$1: z.ZodObject<{
414
351
  is_billable?: boolean | undefined;
415
352
  valid_for_submission?: boolean | undefined;
416
353
  }>, "many">;
417
- search_mode: z.ZodLiteral<"hybrid">;
418
- vector_weight: z.ZodOptional<z.ZodNumber>;
419
354
  }, "strip", z.ZodTypeAny, {
420
355
  query: string;
421
356
  count: number;
422
357
  results: {
423
358
  code: string;
424
359
  similarity?: number | undefined;
425
- rrf_score?: number | undefined;
426
- text_score?: number | undefined;
427
- match_type?: string | undefined;
428
360
  short_description?: string | undefined;
429
361
  long_description?: string | undefined;
430
362
  chapter?: string | undefined;
@@ -436,17 +368,12 @@ declare const SearchHybridOutputSchema$1: z.ZodObject<{
436
368
  is_billable?: boolean | undefined;
437
369
  valid_for_submission?: boolean | undefined;
438
370
  }[];
439
- search_mode: "hybrid";
440
- vector_weight?: number | undefined;
441
371
  }, {
442
372
  query: string;
443
373
  count: number;
444
374
  results: {
445
375
  code: string;
446
376
  similarity?: number | undefined;
447
- rrf_score?: number | undefined;
448
- text_score?: number | undefined;
449
- match_type?: string | undefined;
450
377
  short_description?: string | undefined;
451
378
  long_description?: string | undefined;
452
379
  chapter?: string | undefined;
@@ -458,8 +385,6 @@ declare const SearchHybridOutputSchema$1: z.ZodObject<{
458
385
  is_billable?: boolean | undefined;
459
386
  valid_for_submission?: boolean | undefined;
460
387
  }[];
461
- search_mode: "hybrid";
462
- vector_weight?: number | undefined;
463
388
  }>;
464
389
  /** lookup_code output */
465
390
  declare const LookupCodeOutputSchema: z.ZodObject<{
@@ -477,15 +402,9 @@ declare const LookupCodeOutputSchema: z.ZodObject<{
477
402
  is_billable: z.ZodOptional<z.ZodBoolean>;
478
403
  valid_for_submission: z.ZodOptional<z.ZodBoolean>;
479
404
  similarity: z.ZodOptional<z.ZodNumber>;
480
- rrf_score: z.ZodOptional<z.ZodNumber>;
481
- text_score: z.ZodOptional<z.ZodNumber>;
482
- match_type: z.ZodOptional<z.ZodString>;
483
405
  }, "strip", z.ZodTypeAny, {
484
406
  code: string;
485
407
  similarity?: number | undefined;
486
- rrf_score?: number | undefined;
487
- text_score?: number | undefined;
488
- match_type?: string | undefined;
489
408
  short_description?: string | undefined;
490
409
  long_description?: string | undefined;
491
410
  chapter?: string | undefined;
@@ -499,9 +418,6 @@ declare const LookupCodeOutputSchema: z.ZodObject<{
499
418
  }, {
500
419
  code: string;
501
420
  similarity?: number | undefined;
502
- rrf_score?: number | undefined;
503
- text_score?: number | undefined;
504
- match_type?: string | undefined;
505
421
  short_description?: string | undefined;
506
422
  long_description?: string | undefined;
507
423
  chapter?: string | undefined;
@@ -518,9 +434,6 @@ declare const LookupCodeOutputSchema: z.ZodObject<{
518
434
  result: {
519
435
  code: string;
520
436
  similarity?: number | undefined;
521
- rrf_score?: number | undefined;
522
- text_score?: number | undefined;
523
- match_type?: string | undefined;
524
437
  short_description?: string | undefined;
525
438
  long_description?: string | undefined;
526
439
  chapter?: string | undefined;
@@ -537,9 +450,6 @@ declare const LookupCodeOutputSchema: z.ZodObject<{
537
450
  result: {
538
451
  code: string;
539
452
  similarity?: number | undefined;
540
- rrf_score?: number | undefined;
541
- text_score?: number | undefined;
542
- match_type?: string | undefined;
543
453
  short_description?: string | undefined;
544
454
  long_description?: string | undefined;
545
455
  chapter?: string | undefined;
@@ -1071,13 +981,9 @@ declare const LoincCodeSchema: z.ZodObject<{
1071
981
  mapped_to: z.ZodOptional<z.ZodString>;
1072
982
  status: z.ZodOptional<z.ZodString>;
1073
983
  similarity: z.ZodOptional<z.ZodNumber>;
1074
- rrf_score: z.ZodOptional<z.ZodNumber>;
1075
- match_type: z.ZodOptional<z.ZodString>;
1076
984
  }, "strip", z.ZodTypeAny, {
1077
985
  loinc_num: string;
1078
986
  similarity?: number | undefined;
1079
- rrf_score?: number | undefined;
1080
- match_type?: string | undefined;
1081
987
  status?: string | undefined;
1082
988
  indications?: string | undefined;
1083
989
  specialty?: string | undefined;
@@ -1107,8 +1013,6 @@ declare const LoincCodeSchema: z.ZodObject<{
1107
1013
  }, {
1108
1014
  loinc_num: string;
1109
1015
  similarity?: number | undefined;
1110
- rrf_score?: number | undefined;
1111
- match_type?: string | undefined;
1112
1016
  status?: string | undefined;
1113
1017
  indications?: string | undefined;
1114
1018
  specialty?: string | undefined;
@@ -1253,13 +1157,9 @@ declare const SearchLoincHybridOutputSchema: z.ZodObject<{
1253
1157
  mapped_to: z.ZodOptional<z.ZodString>;
1254
1158
  status: z.ZodOptional<z.ZodString>;
1255
1159
  similarity: z.ZodOptional<z.ZodNumber>;
1256
- rrf_score: z.ZodOptional<z.ZodNumber>;
1257
- match_type: z.ZodOptional<z.ZodString>;
1258
1160
  }, "strip", z.ZodTypeAny, {
1259
1161
  loinc_num: string;
1260
1162
  similarity?: number | undefined;
1261
- rrf_score?: number | undefined;
1262
- match_type?: string | undefined;
1263
1163
  status?: string | undefined;
1264
1164
  indications?: string | undefined;
1265
1165
  specialty?: string | undefined;
@@ -1289,8 +1189,6 @@ declare const SearchLoincHybridOutputSchema: z.ZodObject<{
1289
1189
  }, {
1290
1190
  loinc_num: string;
1291
1191
  similarity?: number | undefined;
1292
- rrf_score?: number | undefined;
1293
- match_type?: string | undefined;
1294
1192
  status?: string | undefined;
1295
1193
  indications?: string | undefined;
1296
1194
  specialty?: string | undefined;
@@ -1325,8 +1223,6 @@ declare const SearchLoincHybridOutputSchema: z.ZodObject<{
1325
1223
  results: {
1326
1224
  loinc_num: string;
1327
1225
  similarity?: number | undefined;
1328
- rrf_score?: number | undefined;
1329
- match_type?: string | undefined;
1330
1226
  status?: string | undefined;
1331
1227
  indications?: string | undefined;
1332
1228
  specialty?: string | undefined;
@@ -1362,8 +1258,6 @@ declare const SearchLoincHybridOutputSchema: z.ZodObject<{
1362
1258
  results: {
1363
1259
  loinc_num: string;
1364
1260
  similarity?: number | undefined;
1365
- rrf_score?: number | undefined;
1366
- match_type?: string | undefined;
1367
1261
  status?: string | undefined;
1368
1262
  indications?: string | undefined;
1369
1263
  specialty?: string | undefined;
@@ -1427,13 +1321,9 @@ declare const GetLoincOutputSchema: z.ZodObject<{
1427
1321
  mapped_to: z.ZodOptional<z.ZodString>;
1428
1322
  status: z.ZodOptional<z.ZodString>;
1429
1323
  similarity: z.ZodOptional<z.ZodNumber>;
1430
- rrf_score: z.ZodOptional<z.ZodNumber>;
1431
- match_type: z.ZodOptional<z.ZodString>;
1432
1324
  }, "strip", z.ZodTypeAny, {
1433
1325
  loinc_num: string;
1434
1326
  similarity?: number | undefined;
1435
- rrf_score?: number | undefined;
1436
- match_type?: string | undefined;
1437
1327
  status?: string | undefined;
1438
1328
  indications?: string | undefined;
1439
1329
  specialty?: string | undefined;
@@ -1463,8 +1353,6 @@ declare const GetLoincOutputSchema: z.ZodObject<{
1463
1353
  }, {
1464
1354
  loinc_num: string;
1465
1355
  similarity?: number | undefined;
1466
- rrf_score?: number | undefined;
1467
- match_type?: string | undefined;
1468
1356
  status?: string | undefined;
1469
1357
  indications?: string | undefined;
1470
1358
  specialty?: string | undefined;
@@ -1498,8 +1386,6 @@ declare const GetLoincOutputSchema: z.ZodObject<{
1498
1386
  result?: {
1499
1387
  loinc_num: string;
1500
1388
  similarity?: number | undefined;
1501
- rrf_score?: number | undefined;
1502
- match_type?: string | undefined;
1503
1389
  status?: string | undefined;
1504
1390
  indications?: string | undefined;
1505
1391
  specialty?: string | undefined;
@@ -1533,8 +1419,6 @@ declare const GetLoincOutputSchema: z.ZodObject<{
1533
1419
  result?: {
1534
1420
  loinc_num: string;
1535
1421
  similarity?: number | undefined;
1536
- rrf_score?: number | undefined;
1537
- match_type?: string | undefined;
1538
1422
  status?: string | undefined;
1539
1423
  indications?: string | undefined;
1540
1424
  specialty?: string | undefined;