@corti/sdk 1.0.0 → 1.1.0-coding
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/codes/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/codes/client/Client.js +1 -1
- package/dist/cjs/api/types/CommonCodingSystemEnum.d.ts +5 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.js +5 -0
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.js +5 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/codes/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/codes/client/Client.mjs +1 -1
- package/dist/esm/api/types/CommonCodingSystemEnum.d.mts +5 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.mjs +5 -0
- package/dist/esm/serialization/types/CommonCodingSystemEnum.d.mts +1 -1
- package/dist/esm/serialization/types/CommonCodingSystemEnum.mjs +5 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -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": "@corti/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "1.
|
|
47
|
-
"User-Agent": "@corti/sdk/1.
|
|
46
|
+
"X-Fern-SDK-Version": "1.1.0-coding",
|
|
47
|
+
"User-Agent": "@corti/sdk/1.1.0-coding",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
|
@@ -11,7 +11,7 @@ export declare class CodesClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<CodesClient.Options>;
|
|
12
12
|
constructor(options: CodesClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10-UK 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>
|
|
14
|
+
* 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 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>
|
|
15
15
|
*
|
|
16
16
|
* @param {Corti.CodesGeneralPredictRequest} request
|
|
17
17
|
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ class CodesClient {
|
|
|
56
56
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10-UK 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>
|
|
59
|
+
* 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 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>
|
|
60
60
|
*
|
|
61
61
|
* @param {Corti.CodesGeneralPredictRequest} request
|
|
62
62
|
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -7,5 +7,10 @@ export declare const CommonCodingSystemEnum: {
|
|
|
7
7
|
readonly Icd10IntOutpatient: "icd10int-outpatient";
|
|
8
8
|
readonly Icd10UkInpatient: "icd10uk-inpatient";
|
|
9
9
|
readonly Icd10UkOutpatient: "icd10uk-outpatient";
|
|
10
|
+
readonly Cim10FrInpatient: "cim10fr-inpatient";
|
|
11
|
+
readonly Cim10FrOutpatient: "cim10fr-outpatient";
|
|
12
|
+
readonly Icd10GmInpatient: "icd10gm-inpatient";
|
|
13
|
+
readonly Icd10GmOutpatient: "icd10gm-outpatient";
|
|
14
|
+
readonly Opcs4: "opcs4";
|
|
10
15
|
};
|
|
11
16
|
export type CommonCodingSystemEnum = (typeof CommonCodingSystemEnum)[keyof typeof CommonCodingSystemEnum];
|
|
@@ -11,4 +11,9 @@ exports.CommonCodingSystemEnum = {
|
|
|
11
11
|
Icd10IntOutpatient: "icd10int-outpatient",
|
|
12
12
|
Icd10UkInpatient: "icd10uk-inpatient",
|
|
13
13
|
Icd10UkOutpatient: "icd10uk-outpatient",
|
|
14
|
+
Cim10FrInpatient: "cim10fr-inpatient",
|
|
15
|
+
Cim10FrOutpatient: "cim10fr-outpatient",
|
|
16
|
+
Icd10GmInpatient: "icd10gm-inpatient",
|
|
17
|
+
Icd10GmOutpatient: "icd10gm-outpatient",
|
|
18
|
+
Opcs4: "opcs4",
|
|
14
19
|
};
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
export declare const CommonCodingSystemEnum: core.serialization.Schema<serializers.CommonCodingSystemEnum.Raw, Corti.CommonCodingSystemEnum>;
|
|
5
5
|
export declare namespace CommonCodingSystemEnum {
|
|
6
|
-
type Raw = "icd10cm-inpatient" | "icd10cm-outpatient" | "icd10pcs" | "cpt" | "icd10int-inpatient" | "icd10int-outpatient" | "icd10uk-inpatient" | "icd10uk-outpatient";
|
|
6
|
+
type Raw = "icd10cm-inpatient" | "icd10cm-outpatient" | "icd10pcs" | "cpt" | "icd10int-inpatient" | "icd10int-outpatient" | "icd10uk-inpatient" | "icd10uk-outpatient" | "cim10fr-inpatient" | "cim10fr-outpatient" | "icd10gm-inpatient" | "icd10gm-outpatient" | "opcs4";
|
|
7
7
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.1.0-coding";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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": "@corti/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "1.
|
|
10
|
-
"User-Agent": "@corti/sdk/1.
|
|
9
|
+
"X-Fern-SDK-Version": "1.1.0-coding",
|
|
10
|
+
"User-Agent": "@corti/sdk/1.1.0-coding",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
|
@@ -11,7 +11,7 @@ export declare class CodesClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<CodesClient.Options>;
|
|
12
12
|
constructor(options: CodesClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10-UK 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>
|
|
14
|
+
* 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 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>
|
|
15
15
|
*
|
|
16
16
|
* @param {Corti.CodesGeneralPredictRequest} request
|
|
17
17
|
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,7 +20,7 @@ export class CodesClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10-UK 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>
|
|
23
|
+
* 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 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>
|
|
24
24
|
*
|
|
25
25
|
* @param {Corti.CodesGeneralPredictRequest} request
|
|
26
26
|
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -7,5 +7,10 @@ export declare const CommonCodingSystemEnum: {
|
|
|
7
7
|
readonly Icd10IntOutpatient: "icd10int-outpatient";
|
|
8
8
|
readonly Icd10UkInpatient: "icd10uk-inpatient";
|
|
9
9
|
readonly Icd10UkOutpatient: "icd10uk-outpatient";
|
|
10
|
+
readonly Cim10FrInpatient: "cim10fr-inpatient";
|
|
11
|
+
readonly Cim10FrOutpatient: "cim10fr-outpatient";
|
|
12
|
+
readonly Icd10GmInpatient: "icd10gm-inpatient";
|
|
13
|
+
readonly Icd10GmOutpatient: "icd10gm-outpatient";
|
|
14
|
+
readonly Opcs4: "opcs4";
|
|
10
15
|
};
|
|
11
16
|
export type CommonCodingSystemEnum = (typeof CommonCodingSystemEnum)[keyof typeof CommonCodingSystemEnum];
|
|
@@ -8,4 +8,9 @@ export const CommonCodingSystemEnum = {
|
|
|
8
8
|
Icd10IntOutpatient: "icd10int-outpatient",
|
|
9
9
|
Icd10UkInpatient: "icd10uk-inpatient",
|
|
10
10
|
Icd10UkOutpatient: "icd10uk-outpatient",
|
|
11
|
+
Cim10FrInpatient: "cim10fr-inpatient",
|
|
12
|
+
Cim10FrOutpatient: "cim10fr-outpatient",
|
|
13
|
+
Icd10GmInpatient: "icd10gm-inpatient",
|
|
14
|
+
Icd10GmOutpatient: "icd10gm-outpatient",
|
|
15
|
+
Opcs4: "opcs4",
|
|
11
16
|
};
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
4
|
export declare const CommonCodingSystemEnum: core.serialization.Schema<serializers.CommonCodingSystemEnum.Raw, Corti.CommonCodingSystemEnum>;
|
|
5
5
|
export declare namespace CommonCodingSystemEnum {
|
|
6
|
-
type Raw = "icd10cm-inpatient" | "icd10cm-outpatient" | "icd10pcs" | "cpt" | "icd10int-inpatient" | "icd10int-outpatient" | "icd10uk-inpatient" | "icd10uk-outpatient";
|
|
6
|
+
type Raw = "icd10cm-inpatient" | "icd10cm-outpatient" | "icd10pcs" | "cpt" | "icd10int-inpatient" | "icd10int-outpatient" | "icd10uk-inpatient" | "icd10uk-outpatient" | "cim10fr-inpatient" | "cim10fr-outpatient" | "icd10gm-inpatient" | "icd10gm-outpatient" | "opcs4";
|
|
7
7
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.1.0-coding";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.1.0-coding";
|