diff --git a/.fern/metadata.json b/.fern/metadata.json
index ebb0cb8b..d6927abd 100644
--- a/.fern/metadata.json
+++ b/.fern/metadata.json
@@ -1,5 +1,5 @@
{
- "cliVersion": "5.75.1",
+ "cliVersion": "5.80.4",
"generatorName": "fernapi/fern-typescript-node-sdk",
"generatorVersion": "3.54.0",
"generatorConfig": {
@@ -34,6 +34,6 @@
}
}
},
- "originGitCommit": "94a714862b705ee097af1b7ef3c5d9affa7fc382",
+ "originGitCommit": "73a0e187f52febd8f350d410ef547d206be5d2c1",
"sdkVersion": "0.0.0-dev"
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b947f95d..99d8961f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -10,7 +10,7 @@ importers:
dependencies:
ws:
specifier: ^8.16.0
- version: 8.21.1
+ version: 8.21.2
devDependencies:
'@biomejs/biome':
specifier: 2.4.3
@@ -1146,8 +1146,8 @@ packages:
resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
engines: {node: '>=10'}
- ws@8.21.1:
- resolution: {integrity: sha512-+0NTnW77fFN/DjQi6k/Sq/Yvk4Sgajw7urW8V+asjXnRgDs9gyGkdb7EzgfhA4goXsRIZKE28fzIXBHEzhuiWw==}
+ ws@8.21.2:
+ resolution: {integrity: sha512-54dMVAo4WIe6SKy3vBgN+9bJZqqQ8IMRevAkOLQALhi49qkkQDQfWdAZ8KQlXiEabw88ARXXdUrlvtbKQX+aKw==}
engines: {node: '>=10.0.0'}
peerDependencies:
bufferutil: ^4.0.1
@@ -2163,7 +2163,7 @@ snapshots:
string-width: 4.2.3
strip-ansi: 6.0.1
- ws@8.21.1: {}
+ ws@8.21.2: {}
y18n@5.0.8: {}
diff --git a/src/api/resources/codes/client/Client.ts b/src/api/resources/codes/client/Client.ts
index fc372036..04fb9f36 100644
--- a/src/api/resources/codes/client/Client.ts
+++ b/src/api/resources/codes/client/Client.ts
@@ -23,7 +23,7 @@ export class CodesClient {
}
/**
- * Predict medical codes from provided context.
This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10 (international), ICD-10-UK, CIM-10-FR, ICD-10-GM, OPCS-4, OPS, CCAM and CPT codes based on input text string or documentId.
More than one code system may be defined in a single request.
Code prediction requests have two possible values for context:
- `text`: One set of code prediction results will be returned based on all input text defined.
- `documentId`: Code prediction will be based on that defined document only.
The response includes two sets of results:
- `Codes`: Codes predicted by the model.
- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.
All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).
+ * Predict medical codes from provided context.
This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10 (international), ICD-10-UK, CIM-10-FR, ICD-10-GM, OPCS-4, OPS, CCAM, CPT and SNOMED CT codes based on input text string or documentId.
More than one code system may be defined in a single request.
Code prediction requests have two possible values for context:
- `text`: One set of code prediction results will be returned based on all input text defined.
- `documentId`: Code prediction will be based on that defined document only.
The response includes two sets of results:
- `Codes`: Codes predicted by the model.
- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.
All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).
*
* @param {Corti.CodesGeneralPredictRequest} request
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
diff --git a/src/api/types/CommonCodingSystemEnum.ts b/src/api/types/CommonCodingSystemEnum.ts
index 3088eee2..35b845db 100644
--- a/src/api/types/CommonCodingSystemEnum.ts
+++ b/src/api/types/CommonCodingSystemEnum.ts
@@ -17,5 +17,12 @@ export const CommonCodingSystemEnum = {
Ops: "ops",
Ccam: "ccam",
Snomedctint: "snomedctint",
+ Snomedctde: "snomedctde",
+ Snomedctfr: "snomedctfr",
+ Snomedctuk: "snomedctuk",
+ Snomedctes: "snomedctes",
+ Snomedctdk: "snomedctdk",
+ Snomedctse: "snomedctse",
+ Snomedctus: "snomedctus",
} as const;
export type CommonCodingSystemEnum = (typeof CommonCodingSystemEnum)[keyof typeof CommonCodingSystemEnum];
diff --git a/src/api/types/GuidedEphemeralDocument.ts b/src/api/types/GuidedEphemeralDocument.ts
index 5b42d461..f0a96122 100644
--- a/src/api/types/GuidedEphemeralDocument.ts
+++ b/src/api/types/GuidedEphemeralDocument.ts
@@ -10,7 +10,7 @@ export interface GuidedEphemeralDocument {
templateId: string;
templateVersionId: string;
/** The BCP 47 language tag of the generated output. */
- language: string;
+ outputLanguage: string;
/** The interaction whose context was used to generate this document, if supplied. */
interactionId?: string | null;
stringDocument: Record;
diff --git a/src/serialization/types/CommonCodingSystemEnum.ts b/src/serialization/types/CommonCodingSystemEnum.ts
index e72a9e43..898122a9 100644
--- a/src/serialization/types/CommonCodingSystemEnum.ts
+++ b/src/serialization/types/CommonCodingSystemEnum.ts
@@ -24,6 +24,13 @@ export const CommonCodingSystemEnum: core.serialization.Schema<
"ops",
"ccam",
"snomedctint",
+ "snomedctde",
+ "snomedctfr",
+ "snomedctuk",
+ "snomedctes",
+ "snomedctdk",
+ "snomedctse",
+ "snomedctus",
]);
export declare namespace CommonCodingSystemEnum {
@@ -43,5 +50,12 @@ export declare namespace CommonCodingSystemEnum {
| "opcs4"
| "ops"
| "ccam"
- | "snomedctint";
+ | "snomedctint"
+ | "snomedctde"
+ | "snomedctfr"
+ | "snomedctuk"
+ | "snomedctes"
+ | "snomedctdk"
+ | "snomedctse"
+ | "snomedctus";
}
diff --git a/src/serialization/types/GuidedEphemeralDocument.ts b/src/serialization/types/GuidedEphemeralDocument.ts
index 516b6235..98fe685f 100644
--- a/src/serialization/types/GuidedEphemeralDocument.ts
+++ b/src/serialization/types/GuidedEphemeralDocument.ts
@@ -12,7 +12,7 @@ export const GuidedEphemeralDocument: core.serialization.ObjectSchema<
name: core.serialization.string(),
templateId: core.serialization.string(),
templateVersionId: core.serialization.string(),
- language: core.serialization.string(),
+ outputLanguage: core.serialization.string(),
interactionId: core.serialization.string().optionalNullable(),
stringDocument: core.serialization.record(core.serialization.string(), core.serialization.string()),
structuredDocument: core.serialization
@@ -26,7 +26,7 @@ export declare namespace GuidedEphemeralDocument {
name: string;
templateId: string;
templateVersionId: string;
- language: string;
+ outputLanguage: string;
interactionId?: (string | null | undefined) | null;
stringDocument: Record;
structuredDocument?: (Record | null | undefined) | null;
diff --git a/tests/wire/documents.test.ts b/tests/wire/documents.test.ts
index 1f3e4b3e..70544566 100644
--- a/tests/wire/documents.test.ts
+++ b/tests/wire/documents.test.ts
@@ -1030,7 +1030,7 @@ describe("DocumentsClient", () => {
name: "name",
templateId: "templateId",
templateVersionId: "templateVersionId",
- language: "language",
+ outputLanguage: "outputLanguage",
interactionId: "interactionId",
stringDocument: { key: "value" },
structuredDocument: { key: "value" },
@@ -1059,7 +1059,7 @@ describe("DocumentsClient", () => {
name: "name",
templateId: "templateId",
templateVersionId: "templateVersionId",
- language: "language",
+ outputLanguage: "outputLanguage",
interactionId: "interactionId",
stringDocument: {
key: "value",