phenoml 12.2.0 → 12.4.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 (28) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/construe/types/CodeCategory.d.ts +9 -0
  3. package/dist/cjs/api/resources/construe/types/CodeCategory.js +3 -0
  4. package/dist/cjs/api/resources/construe/types/ExtractRequestConfig.d.ts +35 -5
  5. package/dist/cjs/api/resources/construe/types/ExtractRequestConfig.js +16 -1
  6. package/dist/cjs/api/resources/construe/types/ExtractedCodeResult.d.ts +5 -0
  7. package/dist/cjs/api/resources/construe/types/index.d.ts +1 -0
  8. package/dist/cjs/api/resources/construe/types/index.js +1 -0
  9. package/dist/cjs/api/resources/lang2Fhir/client/Client.d.ts +1 -1
  10. package/dist/cjs/api/resources/lang2Fhir/client/Client.js +1 -1
  11. package/dist/cjs/api/resources/lang2Fhir/client/requests/CreateMultiRequest.d.ts +1 -1
  12. package/dist/cjs/version.d.ts +1 -1
  13. package/dist/cjs/version.js +1 -1
  14. package/dist/esm/BaseClient.mjs +2 -2
  15. package/dist/esm/api/resources/construe/types/CodeCategory.d.mts +9 -0
  16. package/dist/esm/api/resources/construe/types/CodeCategory.mjs +2 -0
  17. package/dist/esm/api/resources/construe/types/ExtractRequestConfig.d.mts +35 -5
  18. package/dist/esm/api/resources/construe/types/ExtractRequestConfig.mjs +16 -1
  19. package/dist/esm/api/resources/construe/types/ExtractedCodeResult.d.mts +5 -0
  20. package/dist/esm/api/resources/construe/types/index.d.mts +1 -0
  21. package/dist/esm/api/resources/construe/types/index.mjs +1 -0
  22. package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +1 -1
  23. package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +1 -1
  24. package/dist/esm/api/resources/lang2Fhir/client/requests/CreateMultiRequest.d.mts +1 -1
  25. package/dist/esm/version.d.mts +1 -1
  26. package/dist/esm/version.mjs +1 -1
  27. package/package.json +1 -1
  28. package/reference.md +1 -1
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "phenoml",
46
- "X-Fern-SDK-Version": "12.2.0",
47
- "User-Agent": "phenoml/12.2.0",
46
+ "X-Fern-SDK-Version": "12.4.0",
47
+ "User-Agent": "phenoml/12.4.0",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -0,0 +1,9 @@
1
+ /**
2
+ * A higher-level grouping (e.g. HPO category) for an extracted code.
3
+ */
4
+ export interface CodeCategory {
5
+ /** Identifier for the category term (e.g. an HPO URI). */
6
+ uri: string;
7
+ /** Human-readable label for the category term. */
8
+ label: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,16 @@
1
1
  export interface ExtractRequestConfig {
2
- /** Method for splitting input text into chunks before code extraction */
2
+ /**
3
+ * Method for splitting input text into chunks before code extraction.
4
+ * * none - Treat the full input as a single chunk.
5
+ * * sentences - Split on sentence boundaries (supports citations).
6
+ * * paragraphs / topics / soap_note - LLM-based chunking.
7
+ * * clinical_ner_extract - Extract clinical concepts (problems, tests,
8
+ * treatments) and use each as a chunk (supports citations).
9
+ * * fasthpocr - Extract HPO concepts directly with category
10
+ * annotations (supports citations). Requires `system: HPO`;
11
+ * other systems are rejected. Causes most other config options
12
+ * to be ignored.
13
+ */
3
14
  chunking_method?: ExtractRequestConfig.ChunkingMethod | undefined;
4
15
  /**
5
16
  * Maximum number of codes to extract per chunk. If not specified, uses system-specific defaults:
@@ -15,8 +26,14 @@ export interface ExtractRequestConfig {
15
26
  * * none - No validation, returns all candidate codes
16
27
  * * simple - LLM-based validation
17
28
  * * medication_search - LLM-based validation tailored for medication concepts
29
+ * * chunk_code_jaccard_similarity - Token-level Jaccard similarity between source text chunk and code description
18
30
  */
19
31
  validation_method?: ExtractRequestConfig.ValidationMethod | undefined;
32
+ /**
33
+ * Minimum Jaccard similarity (0.0-1.0) for a code to be considered valid
34
+ * when using the "chunk_code_jaccard_similarity" validation method. Ignored by other methods.
35
+ */
36
+ chunk_code_jaccard_similarity_filtering_threshold?: number | undefined;
20
37
  /** Whether to include explanations for why each code was extracted */
21
38
  include_rationale?: boolean | undefined;
22
39
  /** Whether to include ancestor/parent codes in the results */
@@ -26,9 +43,7 @@ export interface ExtractRequestConfig {
26
43
  /**
27
44
  * Whether to include source text citations for each extracted code.
28
45
  * Citations show the exact text spans (with character offsets) that led to each code.
29
- * Only available when using chunking_method: "sentences".
30
- * The "none" method returns full text as one chunk (not useful for citations).
31
- * LLM-based chunking (paragraphs, topics, soap_note) does not support citations.
46
+ * Supported when chunking_method is "sentences", "clinical_ner_extract", or "fasthpocr".
32
47
  */
33
48
  include_citations?: boolean | undefined;
34
49
  /**
@@ -60,13 +75,26 @@ export interface ExtractRequestConfig {
60
75
  consistency_effort?: ExtractRequestConfig.ConsistencyEffort | undefined;
61
76
  }
62
77
  export declare namespace ExtractRequestConfig {
63
- /** Method for splitting input text into chunks before code extraction */
78
+ /**
79
+ * Method for splitting input text into chunks before code extraction.
80
+ * * none - Treat the full input as a single chunk.
81
+ * * sentences - Split on sentence boundaries (supports citations).
82
+ * * paragraphs / topics / soap_note - LLM-based chunking.
83
+ * * clinical_ner_extract - Extract clinical concepts (problems, tests,
84
+ * treatments) and use each as a chunk (supports citations).
85
+ * * fasthpocr - Extract HPO concepts directly with category
86
+ * annotations (supports citations). Requires `system: HPO`;
87
+ * other systems are rejected. Causes most other config options
88
+ * to be ignored.
89
+ */
64
90
  const ChunkingMethod: {
65
91
  readonly None: "none";
66
92
  readonly Sentences: "sentences";
67
93
  readonly Paragraphs: "paragraphs";
68
94
  readonly Topics: "topics";
69
95
  readonly SoapNote: "soap_note";
96
+ readonly ClinicalNerExtract: "clinical_ner_extract";
97
+ readonly Fasthpocr: "fasthpocr";
70
98
  };
71
99
  type ChunkingMethod = (typeof ChunkingMethod)[keyof typeof ChunkingMethod];
72
100
  /**
@@ -74,11 +102,13 @@ export declare namespace ExtractRequestConfig {
74
102
  * * none - No validation, returns all candidate codes
75
103
  * * simple - LLM-based validation
76
104
  * * medication_search - LLM-based validation tailored for medication concepts
105
+ * * chunk_code_jaccard_similarity - Token-level Jaccard similarity between source text chunk and code description
77
106
  */
78
107
  const ValidationMethod: {
79
108
  readonly None: "none";
80
109
  readonly Simple: "simple";
81
110
  readonly MedicationSearch: "medication_search";
111
+ readonly ChunkCodeJaccardSimilarity: "chunk_code_jaccard_similarity";
82
112
  };
83
113
  type ValidationMethod = (typeof ValidationMethod)[keyof typeof ValidationMethod];
84
114
  /**
@@ -4,24 +4,39 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ExtractRequestConfig = void 0;
5
5
  var ExtractRequestConfig;
6
6
  (function (ExtractRequestConfig) {
7
- /** Method for splitting input text into chunks before code extraction */
7
+ /**
8
+ * Method for splitting input text into chunks before code extraction.
9
+ * * none - Treat the full input as a single chunk.
10
+ * * sentences - Split on sentence boundaries (supports citations).
11
+ * * paragraphs / topics / soap_note - LLM-based chunking.
12
+ * * clinical_ner_extract - Extract clinical concepts (problems, tests,
13
+ * treatments) and use each as a chunk (supports citations).
14
+ * * fasthpocr - Extract HPO concepts directly with category
15
+ * annotations (supports citations). Requires `system: HPO`;
16
+ * other systems are rejected. Causes most other config options
17
+ * to be ignored.
18
+ */
8
19
  ExtractRequestConfig.ChunkingMethod = {
9
20
  None: "none",
10
21
  Sentences: "sentences",
11
22
  Paragraphs: "paragraphs",
12
23
  Topics: "topics",
13
24
  SoapNote: "soap_note",
25
+ ClinicalNerExtract: "clinical_ner_extract",
26
+ Fasthpocr: "fasthpocr",
14
27
  };
15
28
  /**
16
29
  * Method for validating extracted codes:
17
30
  * * none - No validation, returns all candidate codes
18
31
  * * simple - LLM-based validation
19
32
  * * medication_search - LLM-based validation tailored for medication concepts
33
+ * * chunk_code_jaccard_similarity - Token-level Jaccard similarity between source text chunk and code description
20
34
  */
21
35
  ExtractRequestConfig.ValidationMethod = {
22
36
  None: "none",
23
37
  Simple: "simple",
24
38
  MedicationSearch: "medication_search",
39
+ ChunkCodeJaccardSimilarity: "chunk_code_jaccard_similarity",
25
40
  };
26
41
  /**
27
42
  * How much effort to spend ensuring consistent results across repeated requests.
@@ -19,4 +19,9 @@ export interface ExtractedCodeResult {
19
19
  * Ancestor codes do not receive citations.
20
20
  */
21
21
  citations?: phenoml.construe.Citation[] | undefined;
22
+ /**
23
+ * Higher-level groupings the extracted code belongs to (e.g. HPO category terms).
24
+ * Only populated by full-extraction chunking methods such as "fasthpocr".
25
+ */
26
+ categories?: phenoml.construe.CodeCategory[] | undefined;
22
27
  }
@@ -1,4 +1,5 @@
1
1
  export * from "./Citation.js";
2
+ export * from "./CodeCategory.js";
2
3
  export * from "./CodeResponse.js";
3
4
  export * from "./CodeSystemDetails.js";
4
5
  export * from "./CodeSystemInfo.js";
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Citation.js"), exports);
18
+ __exportStar(require("./CodeCategory.js"), exports);
18
19
  __exportStar(require("./CodeResponse.js"), exports);
19
20
  __exportStar(require("./CodeSystemDetails.js"), exports);
20
21
  __exportStar(require("./CodeSystemInfo.js"), exports);
@@ -43,7 +43,7 @@ export declare class Lang2FhirClient {
43
43
  *
44
44
  * @example
45
45
  * await client.lang2Fhir.createMulti({
46
- * text: "John Smith, 45-year-old male, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
46
+ * text: "John Smith, male born on 1980-03-12, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
47
47
  * })
48
48
  */
49
49
  createMulti(request: phenoml.lang2Fhir.CreateMultiRequest, requestOptions?: Lang2FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.lang2Fhir.CreateMultiResponse>;
@@ -130,7 +130,7 @@ class Lang2FhirClient {
130
130
  *
131
131
  * @example
132
132
  * await client.lang2Fhir.createMulti({
133
- * text: "John Smith, 45-year-old male, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
133
+ * text: "John Smith, male born on 1980-03-12, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
134
134
  * })
135
135
  */
136
136
  createMulti(request, requestOptions) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * text: "John Smith, 45-year-old male, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
4
+ * text: "John Smith, male born on 1980-03-12, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
5
5
  * }
6
6
  */
7
7
  export interface CreateMultiRequest {
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "12.2.0";
1
+ export declare const SDK_VERSION = "12.4.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "12.2.0";
4
+ exports.SDK_VERSION = "12.4.0";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "phenoml",
9
- "X-Fern-SDK-Version": "12.2.0",
10
- "User-Agent": "phenoml/12.2.0",
9
+ "X-Fern-SDK-Version": "12.4.0",
10
+ "User-Agent": "phenoml/12.4.0",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -0,0 +1,9 @@
1
+ /**
2
+ * A higher-level grouping (e.g. HPO category) for an extracted code.
3
+ */
4
+ export interface CodeCategory {
5
+ /** Identifier for the category term (e.g. an HPO URI). */
6
+ uri: string;
7
+ /** Human-readable label for the category term. */
8
+ label: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1,5 +1,16 @@
1
1
  export interface ExtractRequestConfig {
2
- /** Method for splitting input text into chunks before code extraction */
2
+ /**
3
+ * Method for splitting input text into chunks before code extraction.
4
+ * * none - Treat the full input as a single chunk.
5
+ * * sentences - Split on sentence boundaries (supports citations).
6
+ * * paragraphs / topics / soap_note - LLM-based chunking.
7
+ * * clinical_ner_extract - Extract clinical concepts (problems, tests,
8
+ * treatments) and use each as a chunk (supports citations).
9
+ * * fasthpocr - Extract HPO concepts directly with category
10
+ * annotations (supports citations). Requires `system: HPO`;
11
+ * other systems are rejected. Causes most other config options
12
+ * to be ignored.
13
+ */
3
14
  chunking_method?: ExtractRequestConfig.ChunkingMethod | undefined;
4
15
  /**
5
16
  * Maximum number of codes to extract per chunk. If not specified, uses system-specific defaults:
@@ -15,8 +26,14 @@ export interface ExtractRequestConfig {
15
26
  * * none - No validation, returns all candidate codes
16
27
  * * simple - LLM-based validation
17
28
  * * medication_search - LLM-based validation tailored for medication concepts
29
+ * * chunk_code_jaccard_similarity - Token-level Jaccard similarity between source text chunk and code description
18
30
  */
19
31
  validation_method?: ExtractRequestConfig.ValidationMethod | undefined;
32
+ /**
33
+ * Minimum Jaccard similarity (0.0-1.0) for a code to be considered valid
34
+ * when using the "chunk_code_jaccard_similarity" validation method. Ignored by other methods.
35
+ */
36
+ chunk_code_jaccard_similarity_filtering_threshold?: number | undefined;
20
37
  /** Whether to include explanations for why each code was extracted */
21
38
  include_rationale?: boolean | undefined;
22
39
  /** Whether to include ancestor/parent codes in the results */
@@ -26,9 +43,7 @@ export interface ExtractRequestConfig {
26
43
  /**
27
44
  * Whether to include source text citations for each extracted code.
28
45
  * Citations show the exact text spans (with character offsets) that led to each code.
29
- * Only available when using chunking_method: "sentences".
30
- * The "none" method returns full text as one chunk (not useful for citations).
31
- * LLM-based chunking (paragraphs, topics, soap_note) does not support citations.
46
+ * Supported when chunking_method is "sentences", "clinical_ner_extract", or "fasthpocr".
32
47
  */
33
48
  include_citations?: boolean | undefined;
34
49
  /**
@@ -60,13 +75,26 @@ export interface ExtractRequestConfig {
60
75
  consistency_effort?: ExtractRequestConfig.ConsistencyEffort | undefined;
61
76
  }
62
77
  export declare namespace ExtractRequestConfig {
63
- /** Method for splitting input text into chunks before code extraction */
78
+ /**
79
+ * Method for splitting input text into chunks before code extraction.
80
+ * * none - Treat the full input as a single chunk.
81
+ * * sentences - Split on sentence boundaries (supports citations).
82
+ * * paragraphs / topics / soap_note - LLM-based chunking.
83
+ * * clinical_ner_extract - Extract clinical concepts (problems, tests,
84
+ * treatments) and use each as a chunk (supports citations).
85
+ * * fasthpocr - Extract HPO concepts directly with category
86
+ * annotations (supports citations). Requires `system: HPO`;
87
+ * other systems are rejected. Causes most other config options
88
+ * to be ignored.
89
+ */
64
90
  const ChunkingMethod: {
65
91
  readonly None: "none";
66
92
  readonly Sentences: "sentences";
67
93
  readonly Paragraphs: "paragraphs";
68
94
  readonly Topics: "topics";
69
95
  readonly SoapNote: "soap_note";
96
+ readonly ClinicalNerExtract: "clinical_ner_extract";
97
+ readonly Fasthpocr: "fasthpocr";
70
98
  };
71
99
  type ChunkingMethod = (typeof ChunkingMethod)[keyof typeof ChunkingMethod];
72
100
  /**
@@ -74,11 +102,13 @@ export declare namespace ExtractRequestConfig {
74
102
  * * none - No validation, returns all candidate codes
75
103
  * * simple - LLM-based validation
76
104
  * * medication_search - LLM-based validation tailored for medication concepts
105
+ * * chunk_code_jaccard_similarity - Token-level Jaccard similarity between source text chunk and code description
77
106
  */
78
107
  const ValidationMethod: {
79
108
  readonly None: "none";
80
109
  readonly Simple: "simple";
81
110
  readonly MedicationSearch: "medication_search";
111
+ readonly ChunkCodeJaccardSimilarity: "chunk_code_jaccard_similarity";
82
112
  };
83
113
  type ValidationMethod = (typeof ValidationMethod)[keyof typeof ValidationMethod];
84
114
  /**
@@ -1,24 +1,39 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  export var ExtractRequestConfig;
3
3
  (function (ExtractRequestConfig) {
4
- /** Method for splitting input text into chunks before code extraction */
4
+ /**
5
+ * Method for splitting input text into chunks before code extraction.
6
+ * * none - Treat the full input as a single chunk.
7
+ * * sentences - Split on sentence boundaries (supports citations).
8
+ * * paragraphs / topics / soap_note - LLM-based chunking.
9
+ * * clinical_ner_extract - Extract clinical concepts (problems, tests,
10
+ * treatments) and use each as a chunk (supports citations).
11
+ * * fasthpocr - Extract HPO concepts directly with category
12
+ * annotations (supports citations). Requires `system: HPO`;
13
+ * other systems are rejected. Causes most other config options
14
+ * to be ignored.
15
+ */
5
16
  ExtractRequestConfig.ChunkingMethod = {
6
17
  None: "none",
7
18
  Sentences: "sentences",
8
19
  Paragraphs: "paragraphs",
9
20
  Topics: "topics",
10
21
  SoapNote: "soap_note",
22
+ ClinicalNerExtract: "clinical_ner_extract",
23
+ Fasthpocr: "fasthpocr",
11
24
  };
12
25
  /**
13
26
  * Method for validating extracted codes:
14
27
  * * none - No validation, returns all candidate codes
15
28
  * * simple - LLM-based validation
16
29
  * * medication_search - LLM-based validation tailored for medication concepts
30
+ * * chunk_code_jaccard_similarity - Token-level Jaccard similarity between source text chunk and code description
17
31
  */
18
32
  ExtractRequestConfig.ValidationMethod = {
19
33
  None: "none",
20
34
  Simple: "simple",
21
35
  MedicationSearch: "medication_search",
36
+ ChunkCodeJaccardSimilarity: "chunk_code_jaccard_similarity",
22
37
  };
23
38
  /**
24
39
  * How much effort to spend ensuring consistent results across repeated requests.
@@ -19,4 +19,9 @@ export interface ExtractedCodeResult {
19
19
  * Ancestor codes do not receive citations.
20
20
  */
21
21
  citations?: phenoml.construe.Citation[] | undefined;
22
+ /**
23
+ * Higher-level groupings the extracted code belongs to (e.g. HPO category terms).
24
+ * Only populated by full-extraction chunking methods such as "fasthpocr".
25
+ */
26
+ categories?: phenoml.construe.CodeCategory[] | undefined;
22
27
  }
@@ -1,4 +1,5 @@
1
1
  export * from "./Citation.mjs";
2
+ export * from "./CodeCategory.mjs";
2
3
  export * from "./CodeResponse.mjs";
3
4
  export * from "./CodeSystemDetails.mjs";
4
5
  export * from "./CodeSystemInfo.mjs";
@@ -1,4 +1,5 @@
1
1
  export * from "./Citation.mjs";
2
+ export * from "./CodeCategory.mjs";
2
3
  export * from "./CodeResponse.mjs";
3
4
  export * from "./CodeSystemDetails.mjs";
4
5
  export * from "./CodeSystemInfo.mjs";
@@ -43,7 +43,7 @@ export declare class Lang2FhirClient {
43
43
  *
44
44
  * @example
45
45
  * await client.lang2Fhir.createMulti({
46
- * text: "John Smith, 45-year-old male, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
46
+ * text: "John Smith, male born on 1980-03-12, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
47
47
  * })
48
48
  */
49
49
  createMulti(request: phenoml.lang2Fhir.CreateMultiRequest, requestOptions?: Lang2FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.lang2Fhir.CreateMultiResponse>;
@@ -94,7 +94,7 @@ export class Lang2FhirClient {
94
94
  *
95
95
  * @example
96
96
  * await client.lang2Fhir.createMulti({
97
- * text: "John Smith, 45-year-old male, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
97
+ * text: "John Smith, male born on 1980-03-12, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
98
98
  * })
99
99
  */
100
100
  createMulti(request, requestOptions) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * text: "John Smith, 45-year-old male, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
4
+ * text: "John Smith, male born on 1980-03-12, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
5
5
  * }
6
6
  */
7
7
  export interface CreateMultiRequest {
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "12.2.0";
1
+ export declare const SDK_VERSION = "12.4.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "12.2.0";
1
+ export const SDK_VERSION = "12.4.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phenoml",
3
- "version": "12.2.0",
3
+ "version": "12.4.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -3256,7 +3256,7 @@ Resources are linked with proper references (e.g., Conditions reference the Pati
3256
3256
 
3257
3257
  ```typescript
3258
3258
  await client.lang2Fhir.createMulti({
3259
- text: "John Smith, 45-year-old male, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
3259
+ text: "John Smith, male born on 1980-03-12, diagnosed with Type 2 Diabetes. Prescribed Metformin 500mg twice daily."
3260
3260
  });
3261
3261
 
3262
3262
  ```