phenoml 1.0.0 → 1.1.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.
Files changed (90) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/construe/client/Client.d.ts +129 -0
  3. package/dist/cjs/api/resources/construe/client/Client.js +429 -0
  4. package/dist/cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.d.ts +10 -0
  5. package/dist/cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.js +3 -0
  6. package/dist/cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemRequest.d.ts +16 -0
  7. package/dist/cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemRequest.js +3 -0
  8. package/dist/cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchSemanticRequest.d.ts +16 -0
  9. package/dist/cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchSemanticRequest.js +3 -0
  10. package/dist/cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.d.ts +16 -0
  11. package/dist/cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.js +3 -0
  12. package/dist/cjs/api/resources/construe/client/requests/index.d.ts +4 -0
  13. package/dist/cjs/api/resources/construe/errors/NotFoundError.d.ts +5 -0
  14. package/dist/cjs/api/resources/construe/errors/NotFoundError.js +50 -0
  15. package/dist/cjs/api/resources/construe/errors/NotImplementedError.d.ts +5 -0
  16. package/dist/cjs/api/resources/construe/errors/NotImplementedError.js +50 -0
  17. package/dist/cjs/api/resources/construe/errors/ServiceUnavailableError.d.ts +5 -0
  18. package/dist/cjs/api/resources/construe/errors/ServiceUnavailableError.js +50 -0
  19. package/dist/cjs/api/resources/construe/errors/index.d.ts +3 -0
  20. package/dist/cjs/api/resources/construe/errors/index.js +3 -0
  21. package/dist/cjs/api/resources/construe/types/CodeResponse.d.ts +8 -0
  22. package/dist/cjs/api/resources/construe/types/CodeResponse.js +3 -0
  23. package/dist/cjs/api/resources/construe/types/CodeSystemDetails.d.ts +10 -0
  24. package/dist/cjs/api/resources/construe/types/CodeSystemDetails.js +3 -0
  25. package/dist/cjs/api/resources/construe/types/CodeSystemInfo.d.ts +6 -0
  26. package/dist/cjs/api/resources/construe/types/CodeSystemInfo.js +3 -0
  27. package/dist/cjs/api/resources/construe/types/GetCodeResponse.d.ts +10 -0
  28. package/dist/cjs/api/resources/construe/types/GetCodeResponse.js +3 -0
  29. package/dist/cjs/api/resources/construe/types/ListCodeSystemsResponse.d.ts +4 -0
  30. package/dist/cjs/api/resources/construe/types/ListCodeSystemsResponse.js +3 -0
  31. package/dist/cjs/api/resources/construe/types/ListCodesResponse.d.ts +9 -0
  32. package/dist/cjs/api/resources/construe/types/ListCodesResponse.js +3 -0
  33. package/dist/cjs/api/resources/construe/types/SemanticSearchResponse.d.ts +6 -0
  34. package/dist/cjs/api/resources/construe/types/SemanticSearchResponse.js +3 -0
  35. package/dist/cjs/api/resources/construe/types/SemanticSearchResult.d.ts +4 -0
  36. package/dist/cjs/api/resources/construe/types/SemanticSearchResult.js +3 -0
  37. package/dist/cjs/api/resources/construe/types/TextSearchResponse.d.ts +8 -0
  38. package/dist/cjs/api/resources/construe/types/TextSearchResponse.js +3 -0
  39. package/dist/cjs/api/resources/construe/types/TextSearchResult.d.ts +4 -0
  40. package/dist/cjs/api/resources/construe/types/TextSearchResult.js +3 -0
  41. package/dist/cjs/api/resources/construe/types/index.d.ts +10 -0
  42. package/dist/cjs/api/resources/construe/types/index.js +10 -0
  43. package/dist/cjs/version.d.ts +1 -1
  44. package/dist/cjs/version.js +1 -1
  45. package/dist/esm/Client.mjs +2 -2
  46. package/dist/esm/api/resources/construe/client/Client.d.mts +129 -0
  47. package/dist/esm/api/resources/construe/client/Client.mjs +429 -0
  48. package/dist/esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.d.mts +10 -0
  49. package/dist/esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.mjs +2 -0
  50. package/dist/esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemRequest.d.mts +16 -0
  51. package/dist/esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemRequest.mjs +2 -0
  52. package/dist/esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchSemanticRequest.d.mts +16 -0
  53. package/dist/esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchSemanticRequest.mjs +2 -0
  54. package/dist/esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.d.mts +16 -0
  55. package/dist/esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.mjs +2 -0
  56. package/dist/esm/api/resources/construe/client/requests/index.d.mts +4 -0
  57. package/dist/esm/api/resources/construe/errors/NotFoundError.d.mts +5 -0
  58. package/dist/esm/api/resources/construe/errors/NotFoundError.mjs +13 -0
  59. package/dist/esm/api/resources/construe/errors/NotImplementedError.d.mts +5 -0
  60. package/dist/esm/api/resources/construe/errors/NotImplementedError.mjs +13 -0
  61. package/dist/esm/api/resources/construe/errors/ServiceUnavailableError.d.mts +5 -0
  62. package/dist/esm/api/resources/construe/errors/ServiceUnavailableError.mjs +13 -0
  63. package/dist/esm/api/resources/construe/errors/index.d.mts +3 -0
  64. package/dist/esm/api/resources/construe/errors/index.mjs +3 -0
  65. package/dist/esm/api/resources/construe/types/CodeResponse.d.mts +8 -0
  66. package/dist/esm/api/resources/construe/types/CodeResponse.mjs +2 -0
  67. package/dist/esm/api/resources/construe/types/CodeSystemDetails.d.mts +10 -0
  68. package/dist/esm/api/resources/construe/types/CodeSystemDetails.mjs +2 -0
  69. package/dist/esm/api/resources/construe/types/CodeSystemInfo.d.mts +6 -0
  70. package/dist/esm/api/resources/construe/types/CodeSystemInfo.mjs +2 -0
  71. package/dist/esm/api/resources/construe/types/GetCodeResponse.d.mts +10 -0
  72. package/dist/esm/api/resources/construe/types/GetCodeResponse.mjs +2 -0
  73. package/dist/esm/api/resources/construe/types/ListCodeSystemsResponse.d.mts +4 -0
  74. package/dist/esm/api/resources/construe/types/ListCodeSystemsResponse.mjs +2 -0
  75. package/dist/esm/api/resources/construe/types/ListCodesResponse.d.mts +9 -0
  76. package/dist/esm/api/resources/construe/types/ListCodesResponse.mjs +2 -0
  77. package/dist/esm/api/resources/construe/types/SemanticSearchResponse.d.mts +6 -0
  78. package/dist/esm/api/resources/construe/types/SemanticSearchResponse.mjs +2 -0
  79. package/dist/esm/api/resources/construe/types/SemanticSearchResult.d.mts +4 -0
  80. package/dist/esm/api/resources/construe/types/SemanticSearchResult.mjs +2 -0
  81. package/dist/esm/api/resources/construe/types/TextSearchResponse.d.mts +8 -0
  82. package/dist/esm/api/resources/construe/types/TextSearchResponse.mjs +2 -0
  83. package/dist/esm/api/resources/construe/types/TextSearchResult.d.mts +4 -0
  84. package/dist/esm/api/resources/construe/types/TextSearchResult.mjs +2 -0
  85. package/dist/esm/api/resources/construe/types/index.d.mts +10 -0
  86. package/dist/esm/api/resources/construe/types/index.mjs +10 -0
  87. package/dist/esm/version.d.mts +1 -1
  88. package/dist/esm/version.mjs +1 -1
  89. package/package.json +1 -1
  90. package/reference.md +392 -0
@@ -0,0 +1,10 @@
1
+ import type * as phenoml from "../../../index.mjs";
2
+ export interface GetCodeResponse {
3
+ system: phenoml.construe.CodeSystemInfo;
4
+ /** The code identifier */
5
+ code: string;
6
+ /** Short description of the code */
7
+ description: string;
8
+ /** Extended definition of the code (if available) */
9
+ definition?: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as phenoml from "../../../index.mjs";
2
+ export interface ListCodeSystemsResponse {
3
+ systems: phenoml.construe.CodeSystemDetails[];
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ import type * as phenoml from "../../../index.mjs";
2
+ export interface ListCodesResponse {
3
+ system: phenoml.construe.CodeSystemInfo;
4
+ codes: phenoml.construe.CodeResponse[];
5
+ /** Cursor for fetching the next page (null if no more results) */
6
+ next_cursor?: string;
7
+ /** Whether there are more results available */
8
+ has_more: boolean;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ import type * as phenoml from "../../../index.mjs";
2
+ export interface SemanticSearchResponse {
3
+ system: phenoml.construe.CodeSystemInfo;
4
+ /** Codes ordered by semantic similarity (most similar first) */
5
+ results: phenoml.construe.SemanticSearchResult[];
6
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface SemanticSearchResult {
2
+ code: string;
3
+ description: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,8 @@
1
+ import type * as phenoml from "../../../index.mjs";
2
+ export interface TextSearchResponse {
3
+ system: phenoml.construe.CodeSystemInfo;
4
+ /** Codes matching the search query */
5
+ results: phenoml.construe.TextSearchResult[];
6
+ /** Total number of matching results (may exceed results array due to pagination) */
7
+ found: number;
8
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface TextSearchResult {
2
+ code: string;
3
+ description: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1,5 +1,15 @@
1
+ export * from "./CodeResponse.mjs";
2
+ export * from "./CodeSystemDetails.mjs";
3
+ export * from "./CodeSystemInfo.mjs";
1
4
  export * from "./ConstrueUploadCodeSystemResponse.mjs";
2
5
  export * from "./ExtractCodesResult.mjs";
3
6
  export * from "./ExtractedCodeResult.mjs";
4
7
  export * from "./ExtractRequestConfig.mjs";
5
8
  export * from "./ExtractRequestSystem.mjs";
9
+ export * from "./GetCodeResponse.mjs";
10
+ export * from "./ListCodeSystemsResponse.mjs";
11
+ export * from "./ListCodesResponse.mjs";
12
+ export * from "./SemanticSearchResponse.mjs";
13
+ export * from "./SemanticSearchResult.mjs";
14
+ export * from "./TextSearchResponse.mjs";
15
+ export * from "./TextSearchResult.mjs";
@@ -1,5 +1,15 @@
1
+ export * from "./CodeResponse.mjs";
2
+ export * from "./CodeSystemDetails.mjs";
3
+ export * from "./CodeSystemInfo.mjs";
1
4
  export * from "./ConstrueUploadCodeSystemResponse.mjs";
2
5
  export * from "./ExtractCodesResult.mjs";
3
6
  export * from "./ExtractedCodeResult.mjs";
4
7
  export * from "./ExtractRequestConfig.mjs";
5
8
  export * from "./ExtractRequestSystem.mjs";
9
+ export * from "./GetCodeResponse.mjs";
10
+ export * from "./ListCodeSystemsResponse.mjs";
11
+ export * from "./ListCodesResponse.mjs";
12
+ export * from "./SemanticSearchResponse.mjs";
13
+ export * from "./SemanticSearchResult.mjs";
14
+ export * from "./TextSearchResponse.mjs";
15
+ export * from "./TextSearchResult.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.0";
1
+ export declare const SDK_VERSION = "1.1.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.0.0";
1
+ export const SDK_VERSION = "1.1.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phenoml",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "private": false,
5
5
  "repository": "github:PhenoML/phenoml-ts-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -1271,6 +1271,398 @@ await client.construe.extractCodes({
1271
1271
  </dl>
1272
1272
 
1273
1273
 
1274
+ </dd>
1275
+ </dl>
1276
+ </details>
1277
+
1278
+ <details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">listAvailableCodeSystems</a>() -> phenoml.ListCodeSystemsResponse</code></summary>
1279
+ <dl>
1280
+ <dd>
1281
+
1282
+ #### 📝 Description
1283
+
1284
+ <dl>
1285
+ <dd>
1286
+
1287
+ <dl>
1288
+ <dd>
1289
+
1290
+ Returns metadata about all available code systems including built-in and custom systems.
1291
+ </dd>
1292
+ </dl>
1293
+ </dd>
1294
+ </dl>
1295
+
1296
+ #### 🔌 Usage
1297
+
1298
+ <dl>
1299
+ <dd>
1300
+
1301
+ <dl>
1302
+ <dd>
1303
+
1304
+ ```typescript
1305
+ await client.construe.listAvailableCodeSystems();
1306
+
1307
+ ```
1308
+ </dd>
1309
+ </dl>
1310
+ </dd>
1311
+ </dl>
1312
+
1313
+ #### ⚙️ Parameters
1314
+
1315
+ <dl>
1316
+ <dd>
1317
+
1318
+ <dl>
1319
+ <dd>
1320
+
1321
+ **requestOptions:** `Construe.RequestOptions`
1322
+
1323
+ </dd>
1324
+ </dl>
1325
+ </dd>
1326
+ </dl>
1327
+
1328
+
1329
+ </dd>
1330
+ </dl>
1331
+ </details>
1332
+
1333
+ <details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">listCodesInACodeSystem</a>(codesystem, { ...params }) -> phenoml.ListCodesResponse</code></summary>
1334
+ <dl>
1335
+ <dd>
1336
+
1337
+ #### 📝 Description
1338
+
1339
+ <dl>
1340
+ <dd>
1341
+
1342
+ <dl>
1343
+ <dd>
1344
+
1345
+ Returns a paginated list of all codes in the specified code system.
1346
+ </dd>
1347
+ </dl>
1348
+ </dd>
1349
+ </dl>
1350
+
1351
+ #### 🔌 Usage
1352
+
1353
+ <dl>
1354
+ <dd>
1355
+
1356
+ <dl>
1357
+ <dd>
1358
+
1359
+ ```typescript
1360
+ await client.construe.listCodesInACodeSystem("ICD-10-CM", {
1361
+ version: "2025",
1362
+ cursor: "cursor",
1363
+ limit: 1
1364
+ });
1365
+
1366
+ ```
1367
+ </dd>
1368
+ </dl>
1369
+ </dd>
1370
+ </dl>
1371
+
1372
+ #### ⚙️ Parameters
1373
+
1374
+ <dl>
1375
+ <dd>
1376
+
1377
+ <dl>
1378
+ <dd>
1379
+
1380
+ **codesystem:** `string` — Code system name (e.g., "ICD-10-CM", "SNOMED_CT_US_LITE")
1381
+
1382
+ </dd>
1383
+ </dl>
1384
+
1385
+ <dl>
1386
+ <dd>
1387
+
1388
+ **request:** `phenoml.construe.GetConstrueCodesCodesystemRequest`
1389
+
1390
+ </dd>
1391
+ </dl>
1392
+
1393
+ <dl>
1394
+ <dd>
1395
+
1396
+ **requestOptions:** `Construe.RequestOptions`
1397
+
1398
+ </dd>
1399
+ </dl>
1400
+ </dd>
1401
+ </dl>
1402
+
1403
+
1404
+ </dd>
1405
+ </dl>
1406
+ </details>
1407
+
1408
+ <details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">getASpecificCode</a>(codesystem, codeId, { ...params }) -> phenoml.GetCodeResponse</code></summary>
1409
+ <dl>
1410
+ <dd>
1411
+
1412
+ #### 📝 Description
1413
+
1414
+ <dl>
1415
+ <dd>
1416
+
1417
+ <dl>
1418
+ <dd>
1419
+
1420
+ Returns details for a specific code within a code system.
1421
+ </dd>
1422
+ </dl>
1423
+ </dd>
1424
+ </dl>
1425
+
1426
+ #### 🔌 Usage
1427
+
1428
+ <dl>
1429
+ <dd>
1430
+
1431
+ <dl>
1432
+ <dd>
1433
+
1434
+ ```typescript
1435
+ await client.construe.getASpecificCode("ICD-10-CM", "E11.65", {
1436
+ version: "version"
1437
+ });
1438
+
1439
+ ```
1440
+ </dd>
1441
+ </dl>
1442
+ </dd>
1443
+ </dl>
1444
+
1445
+ #### ⚙️ Parameters
1446
+
1447
+ <dl>
1448
+ <dd>
1449
+
1450
+ <dl>
1451
+ <dd>
1452
+
1453
+ **codesystem:** `string` — Code system name
1454
+
1455
+ </dd>
1456
+ </dl>
1457
+
1458
+ <dl>
1459
+ <dd>
1460
+
1461
+ **codeId:** `string` — The code identifier
1462
+
1463
+ </dd>
1464
+ </dl>
1465
+
1466
+ <dl>
1467
+ <dd>
1468
+
1469
+ **request:** `phenoml.construe.GetConstrueCodesCodesystemCodeIdRequest`
1470
+
1471
+ </dd>
1472
+ </dl>
1473
+
1474
+ <dl>
1475
+ <dd>
1476
+
1477
+ **requestOptions:** `Construe.RequestOptions`
1478
+
1479
+ </dd>
1480
+ </dl>
1481
+ </dd>
1482
+ </dl>
1483
+
1484
+
1485
+ </dd>
1486
+ </dl>
1487
+ </details>
1488
+
1489
+ <details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">semanticSearchEmbeddingBased</a>(codesystem, { ...params }) -> phenoml.SemanticSearchResponse</code></summary>
1490
+ <dl>
1491
+ <dd>
1492
+
1493
+ #### 📝 Description
1494
+
1495
+ <dl>
1496
+ <dd>
1497
+
1498
+ <dl>
1499
+ <dd>
1500
+
1501
+ Performs semantic similarity search using vector embeddings.
1502
+
1503
+ **When to use**: Best for natural language queries where you want to find conceptually
1504
+ related codes, even when different terminology is used. The search understands meaning,
1505
+ not just keywords.
1506
+
1507
+ **Examples**:
1508
+ - Query "trouble breathing at night" finds codes like "Sleep apnea", "Orthopnea",
1509
+ "Nocturnal dyspnea" — semantically related but no exact keyword matches
1510
+ - Query "heart problems" finds "Myocardial infarction", "Cardiac arrest", "Arrhythmia"
1511
+
1512
+ **Trade-offs**: Slower than text search (requires embedding generation), but finds
1513
+ conceptually similar results that keyword search would miss.
1514
+
1515
+ See also: `/search/text` for faster keyword-based lookup with typo tolerance.
1516
+ </dd>
1517
+ </dl>
1518
+ </dd>
1519
+ </dl>
1520
+
1521
+ #### 🔌 Usage
1522
+
1523
+ <dl>
1524
+ <dd>
1525
+
1526
+ <dl>
1527
+ <dd>
1528
+
1529
+ ```typescript
1530
+ await client.construe.semanticSearchEmbeddingBased("ICD-10-CM", {
1531
+ text: "patient has trouble breathing at night and wakes up gasping",
1532
+ version: "version",
1533
+ limit: 1
1534
+ });
1535
+
1536
+ ```
1537
+ </dd>
1538
+ </dl>
1539
+ </dd>
1540
+ </dl>
1541
+
1542
+ #### ⚙️ Parameters
1543
+
1544
+ <dl>
1545
+ <dd>
1546
+
1547
+ <dl>
1548
+ <dd>
1549
+
1550
+ **codesystem:** `string` — Code system name
1551
+
1552
+ </dd>
1553
+ </dl>
1554
+
1555
+ <dl>
1556
+ <dd>
1557
+
1558
+ **request:** `phenoml.construe.GetConstrueCodesCodesystemSearchSemanticRequest`
1559
+
1560
+ </dd>
1561
+ </dl>
1562
+
1563
+ <dl>
1564
+ <dd>
1565
+
1566
+ **requestOptions:** `Construe.RequestOptions`
1567
+
1568
+ </dd>
1569
+ </dl>
1570
+ </dd>
1571
+ </dl>
1572
+
1573
+
1574
+ </dd>
1575
+ </dl>
1576
+ </details>
1577
+
1578
+ <details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">textSearchKeywordBased</a>(codesystem, { ...params }) -> phenoml.TextSearchResponse</code></summary>
1579
+ <dl>
1580
+ <dd>
1581
+
1582
+ #### 📝 Description
1583
+
1584
+ <dl>
1585
+ <dd>
1586
+
1587
+ <dl>
1588
+ <dd>
1589
+
1590
+ Performs fast full-text search over code IDs and descriptions.
1591
+
1592
+ **When to use**: Best for autocomplete UIs, code lookup, or when users know part of
1593
+ the code ID or specific keywords. Fast response times suitable for typeahead interfaces.
1594
+
1595
+ **Features**:
1596
+ - Substring matching on code IDs (e.g., "11.65" finds "E11.65")
1597
+ - Typo tolerance on descriptions (not on code IDs)
1598
+ - Fast response times (~10-50ms)
1599
+
1600
+ **Examples**:
1601
+ - Query "E11" finds all codes starting with E11 (diabetes codes)
1602
+ - Query "diabtes" (typo) still finds "diabetes" codes
1603
+
1604
+ **Trade-offs**: Faster than semantic search, but only matches keywords/substrings.
1605
+ Won't find conceptually related codes with different terminology.
1606
+
1607
+ See also: `/search/semantic` for finding conceptually similar codes.
1608
+ </dd>
1609
+ </dl>
1610
+ </dd>
1611
+ </dl>
1612
+
1613
+ #### 🔌 Usage
1614
+
1615
+ <dl>
1616
+ <dd>
1617
+
1618
+ <dl>
1619
+ <dd>
1620
+
1621
+ ```typescript
1622
+ await client.construe.textSearchKeywordBased("ICD-10-CM", {
1623
+ q: "E11.65",
1624
+ version: "version",
1625
+ limit: 1
1626
+ });
1627
+
1628
+ ```
1629
+ </dd>
1630
+ </dl>
1631
+ </dd>
1632
+ </dl>
1633
+
1634
+ #### ⚙️ Parameters
1635
+
1636
+ <dl>
1637
+ <dd>
1638
+
1639
+ <dl>
1640
+ <dd>
1641
+
1642
+ **codesystem:** `string` — Code system name
1643
+
1644
+ </dd>
1645
+ </dl>
1646
+
1647
+ <dl>
1648
+ <dd>
1649
+
1650
+ **request:** `phenoml.construe.GetConstrueCodesCodesystemSearchTextRequest`
1651
+
1652
+ </dd>
1653
+ </dl>
1654
+
1655
+ <dl>
1656
+ <dd>
1657
+
1658
+ **requestOptions:** `Construe.RequestOptions`
1659
+
1660
+ </dd>
1661
+ </dl>
1662
+ </dd>
1663
+ </dl>
1664
+
1665
+
1274
1666
  </dd>
1275
1667
  </dl>
1276
1668
  </details>