Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cliVersion": "5.75.1",
"cliVersion": "5.80.4",
"generatorName": "fernapi/fern-typescript-node-sdk",
"generatorVersion": "3.54.0",
"generatorConfig": {
Expand Down Expand Up @@ -34,6 +34,6 @@
}
}
},
"originGitCommit": "94a714862b705ee097af1b7ef3c5d9affa7fc382",
"originGitCommit": "73a0e187f52febd8f350d410ef547d206be5d2c1",
"sdkVersion": "0.0.0-dev"
}
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/api/resources/codes/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class CodesClient {
}

/**
* Predict medical codes from provided context.<br/><Note>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.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
* Predict medical codes from provided context.<br/><Note>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.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
*
* @param {Corti.CodesGeneralPredictRequest} request
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
Expand Down
7 changes: 7 additions & 0 deletions src/api/types/CommonCodingSystemEnum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
2 changes: 1 addition & 1 deletion src/api/types/GuidedEphemeralDocument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, string>;
Expand Down
16 changes: 15 additions & 1 deletion src/serialization/types/CommonCodingSystemEnum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ export const CommonCodingSystemEnum: core.serialization.Schema<
"ops",
"ccam",
"snomedctint",
"snomedctde",
"snomedctfr",
"snomedctuk",
"snomedctes",
"snomedctdk",
"snomedctse",
"snomedctus",
]);

export declare namespace CommonCodingSystemEnum {
Expand All @@ -43,5 +50,12 @@ export declare namespace CommonCodingSystemEnum {
| "opcs4"
| "ops"
| "ccam"
| "snomedctint";
| "snomedctint"
| "snomedctde"
| "snomedctfr"
| "snomedctuk"
| "snomedctes"
| "snomedctdk"
| "snomedctse"
| "snomedctus";
}
4 changes: 2 additions & 2 deletions src/serialization/types/GuidedEphemeralDocument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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<string, string>;
structuredDocument?: (Record<string, unknown> | null | undefined) | null;
Expand Down
4 changes: 2 additions & 2 deletions tests/wire/documents.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ describe("DocumentsClient", () => {
name: "name",
templateId: "templateId",
templateVersionId: "templateVersionId",
language: "language",
outputLanguage: "outputLanguage",
interactionId: "interactionId",
stringDocument: { key: "value" },
structuredDocument: { key: "value" },
Expand Down Expand Up @@ -1059,7 +1059,7 @@ describe("DocumentsClient", () => {
name: "name",
templateId: "templateId",
templateVersionId: "templateVersionId",
language: "language",
outputLanguage: "outputLanguage",
interactionId: "interactionId",
stringDocument: {
key: "value",
Expand Down
Loading