phenoml 6.3.0 → 6.3.1
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/Client.js +2 -2
- package/dist/cjs/api/resources/agent/client/requests/AgentChatRequest.d.ts +2 -0
- package/dist/cjs/api/resources/construe/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/construe/client/Client.js +6 -6
- package/dist/cjs/api/resources/fhir/client/Client.d.ts +49 -49
- package/dist/cjs/api/resources/fhir/client/Client.js +69 -69
- package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +10 -10
- package/dist/cjs/api/resources/fhirProvider/client/Client.js +25 -25
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.js +10 -10
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.js +20 -20
- package/dist/cjs/core/fetcher/Fetcher.js +13 -7
- package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/agent/client/requests/AgentChatRequest.d.mts +2 -0
- package/dist/esm/api/resources/construe/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/construe/client/Client.mjs +6 -6
- package/dist/esm/api/resources/fhir/client/Client.d.mts +49 -49
- package/dist/esm/api/resources/fhir/client/Client.mjs +69 -69
- package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +10 -10
- package/dist/esm/api/resources/fhirProvider/client/Client.mjs +25 -25
- package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.mjs +10 -10
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.mjs +20 -20
- package/dist/esm/core/fetcher/Fetcher.mjs +13 -7
- package/dist/esm/core/fetcher/makeRequest.d.mts +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +41 -41
package/dist/cjs/Client.js
CHANGED
|
@@ -52,8 +52,8 @@ class phenomlClient {
|
|
|
52
52
|
this._options = Object.assign(Object.assign({}, _options), { logging: core.logging.createLogger(_options === null || _options === void 0 ? void 0 : _options.logging), headers: (0, headers_js_1.mergeHeaders)({
|
|
53
53
|
"X-Fern-Language": "JavaScript",
|
|
54
54
|
"X-Fern-SDK-Name": "phenoml",
|
|
55
|
-
"X-Fern-SDK-Version": "6.3.
|
|
56
|
-
"User-Agent": "phenoml/
|
|
55
|
+
"X-Fern-SDK-Version": "6.3.1",
|
|
56
|
+
"User-Agent": "phenoml/6.3.1",
|
|
57
57
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
58
58
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
59
59
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -26,4 +26,6 @@ export interface AgentChatRequest {
|
|
|
26
26
|
session_id?: string;
|
|
27
27
|
/** The ID of the agent to chat with */
|
|
28
28
|
agent_id: string;
|
|
29
|
+
/** Enable enhanced reasoning capabilities, will increase latency but will also improve response quality and reliability. */
|
|
30
|
+
enhanced_reasoning?: boolean;
|
|
29
31
|
}
|
|
@@ -163,7 +163,7 @@ export declare class Construe {
|
|
|
163
163
|
* Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
|
|
164
164
|
*
|
|
165
165
|
* @param {string} codesystem - Code system name
|
|
166
|
-
* @param {string}
|
|
166
|
+
* @param {string} codeID - The code identifier
|
|
167
167
|
* @param {phenoml.construe.GetConstrueCodesCodesystemCodeIdRequest} request
|
|
168
168
|
* @param {Construe.RequestOptions} requestOptions - Request-specific configuration.
|
|
169
169
|
*
|
|
@@ -177,7 +177,7 @@ export declare class Construe {
|
|
|
177
177
|
* version: "version"
|
|
178
178
|
* })
|
|
179
179
|
*/
|
|
180
|
-
getASpecificCode(codesystem: string,
|
|
180
|
+
getASpecificCode(codesystem: string, codeID: string, request?: phenoml.construe.GetConstrueCodesCodesystemCodeIdRequest, requestOptions?: Construe.RequestOptions): core.HttpResponsePromise<phenoml.construe.GetCodeResponse>;
|
|
181
181
|
private __getASpecificCode;
|
|
182
182
|
/**
|
|
183
183
|
* Performs semantic similarity search using vector embeddings.
|
|
@@ -643,7 +643,7 @@ class Construe {
|
|
|
643
643
|
* Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
|
|
644
644
|
*
|
|
645
645
|
* @param {string} codesystem - Code system name
|
|
646
|
-
* @param {string}
|
|
646
|
+
* @param {string} codeID - The code identifier
|
|
647
647
|
* @param {phenoml.construe.GetConstrueCodesCodesystemCodeIdRequest} request
|
|
648
648
|
* @param {Construe.RequestOptions} requestOptions - Request-specific configuration.
|
|
649
649
|
*
|
|
@@ -657,11 +657,11 @@ class Construe {
|
|
|
657
657
|
* version: "version"
|
|
658
658
|
* })
|
|
659
659
|
*/
|
|
660
|
-
getASpecificCode(codesystem,
|
|
661
|
-
return core.HttpResponsePromise.fromPromise(this.__getASpecificCode(codesystem,
|
|
660
|
+
getASpecificCode(codesystem, codeID, request = {}, requestOptions) {
|
|
661
|
+
return core.HttpResponsePromise.fromPromise(this.__getASpecificCode(codesystem, codeID, request, requestOptions));
|
|
662
662
|
}
|
|
663
|
-
__getASpecificCode(codesystem_1,
|
|
664
|
-
return __awaiter(this, arguments, void 0, function* (codesystem,
|
|
663
|
+
__getASpecificCode(codesystem_1, codeID_1) {
|
|
664
|
+
return __awaiter(this, arguments, void 0, function* (codesystem, codeID, request = {}, requestOptions) {
|
|
665
665
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
666
666
|
const { version } = request;
|
|
667
667
|
const _queryParams = {};
|
|
@@ -670,7 +670,7 @@ class Construe {
|
|
|
670
670
|
}
|
|
671
671
|
const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
672
672
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
673
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `construe/codes/${core.url.encodePathParam(codesystem)}/${core.url.encodePathParam(
|
|
673
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `construe/codes/${core.url.encodePathParam(codesystem)}/${core.url.encodePathParam(codeID)}`),
|
|
674
674
|
method: "GET",
|
|
675
675
|
headers: _headers,
|
|
676
676
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
@@ -15,14 +15,14 @@ export declare class Fhir {
|
|
|
15
15
|
*
|
|
16
16
|
* The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
17
17
|
*
|
|
18
|
-
* @param {string}
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* @param {string}
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
18
|
+
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
19
|
+
* - A UUID representing the provider ID
|
|
20
|
+
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
21
|
+
* @param {string} fhir_path - The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
22
|
+
* Examples:
|
|
23
|
+
* - "Patient" (for resource type operations)
|
|
24
|
+
* - "Patient/123" (for specific resource operations)
|
|
25
|
+
* - "Patient/123/_history" (for history operations)
|
|
26
26
|
* @param {phenoml.fhir.FhirSearchRequest} request
|
|
27
27
|
* @param {Fhir.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
28
|
*
|
|
@@ -38,21 +38,21 @@ export declare class Fhir {
|
|
|
38
38
|
* "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
|
|
39
39
|
* })
|
|
40
40
|
*/
|
|
41
|
-
search(
|
|
41
|
+
search(fhir_provider_id: string, fhir_path: string, request?: phenoml.fhir.FhirSearchRequest, requestOptions?: Fhir.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirSearchResponse>;
|
|
42
42
|
private __search;
|
|
43
43
|
/**
|
|
44
44
|
* Creates a new FHIR resource on the specified provider. The request body should contain a valid FHIR resource in JSON format.
|
|
45
45
|
*
|
|
46
46
|
* The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
47
47
|
*
|
|
48
|
-
* @param {string}
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* @param {string}
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
48
|
+
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
49
|
+
* - A UUID representing the provider ID
|
|
50
|
+
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
51
|
+
* @param {string} fhir_path - The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
52
|
+
* Examples:
|
|
53
|
+
* - "Patient" (for resource type operations)
|
|
54
|
+
* - "Patient/123" (for specific resource operations)
|
|
55
|
+
* - "Patient/123/_history" (for history operations)
|
|
56
56
|
* @param {phenoml.fhir.FhirCreateRequest} request
|
|
57
57
|
* @param {Fhir.RequestOptions} requestOptions - Request-specific configuration.
|
|
58
58
|
*
|
|
@@ -80,21 +80,21 @@ export declare class Fhir {
|
|
|
80
80
|
* }
|
|
81
81
|
* })
|
|
82
82
|
*/
|
|
83
|
-
create(
|
|
83
|
+
create(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.FhirCreateRequest, requestOptions?: Fhir.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirResource>;
|
|
84
84
|
private __create;
|
|
85
85
|
/**
|
|
86
86
|
* Creates or updates a FHIR resource on the specified provider. If the resource exists, it will be updated; otherwise, it will be created.
|
|
87
87
|
*
|
|
88
88
|
* The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
89
89
|
*
|
|
90
|
-
* @param {string}
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
* @param {string}
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
90
|
+
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
91
|
+
* - A UUID representing the provider ID
|
|
92
|
+
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
93
|
+
* @param {string} fhir_path - The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
94
|
+
* Examples:
|
|
95
|
+
* - "Patient" (for resource type operations)
|
|
96
|
+
* - "Patient/123" (for specific resource operations)
|
|
97
|
+
* - "Patient/123/_history" (for history operations)
|
|
98
98
|
* @param {phenoml.fhir.FhirUpsertRequest} request
|
|
99
99
|
* @param {Fhir.RequestOptions} requestOptions - Request-specific configuration.
|
|
100
100
|
*
|
|
@@ -124,21 +124,21 @@ export declare class Fhir {
|
|
|
124
124
|
* }
|
|
125
125
|
* })
|
|
126
126
|
*/
|
|
127
|
-
upsert(
|
|
127
|
+
upsert(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.FhirUpsertRequest, requestOptions?: Fhir.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirResource>;
|
|
128
128
|
private __upsert;
|
|
129
129
|
/**
|
|
130
130
|
* Deletes a FHIR resource from the specified provider.
|
|
131
131
|
*
|
|
132
132
|
* The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
133
133
|
*
|
|
134
|
-
* @param {string}
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
* @param {string}
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
134
|
+
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
135
|
+
* - A UUID representing the provider ID
|
|
136
|
+
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
137
|
+
* @param {string} fhir_path - The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
138
|
+
* Examples:
|
|
139
|
+
* - "Patient" (for resource type operations)
|
|
140
|
+
* - "Patient/123" (for specific resource operations)
|
|
141
|
+
* - "Patient/123/_history" (for history operations)
|
|
142
142
|
* @param {phenoml.fhir.FhirDeleteRequest} request
|
|
143
143
|
* @param {Fhir.RequestOptions} requestOptions - Request-specific configuration.
|
|
144
144
|
*
|
|
@@ -154,7 +154,7 @@ export declare class Fhir {
|
|
|
154
154
|
* "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
|
|
155
155
|
* })
|
|
156
156
|
*/
|
|
157
|
-
delete(
|
|
157
|
+
delete(fhir_provider_id: string, fhir_path: string, request?: phenoml.fhir.FhirDeleteRequest, requestOptions?: Fhir.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
|
|
158
158
|
private __delete;
|
|
159
159
|
/**
|
|
160
160
|
* Partially updates a FHIR resource on the specified provider using JSON Patch operations as defined in RFC 6902.
|
|
@@ -166,14 +166,14 @@ export declare class Fhir {
|
|
|
166
166
|
*
|
|
167
167
|
* The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
168
168
|
*
|
|
169
|
-
* @param {string}
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* @param {string}
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
169
|
+
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
170
|
+
* - A UUID representing the provider ID
|
|
171
|
+
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
172
|
+
* @param {string} fhir_path - The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
173
|
+
* Examples:
|
|
174
|
+
* - "Patient" (for resource type operations)
|
|
175
|
+
* - "Patient/123" (for specific resource operations)
|
|
176
|
+
* - "Patient/123/_history" (for history operations)
|
|
177
177
|
* @param {phenoml.fhir.FhirPatchRequest} request
|
|
178
178
|
* @param {Fhir.RequestOptions} requestOptions - Request-specific configuration.
|
|
179
179
|
*
|
|
@@ -245,7 +245,7 @@ export declare class Fhir {
|
|
|
245
245
|
* }]
|
|
246
246
|
* })
|
|
247
247
|
*/
|
|
248
|
-
patch(
|
|
248
|
+
patch(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.FhirPatchRequest, requestOptions?: Fhir.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirResource>;
|
|
249
249
|
private __patch;
|
|
250
250
|
/**
|
|
251
251
|
* Executes a FHIR Bundle transaction or batch operation on the specified provider. This allows multiple FHIR resources to be processed in a single request.
|
|
@@ -254,9 +254,9 @@ export declare class Fhir {
|
|
|
254
254
|
*
|
|
255
255
|
* The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
256
256
|
*
|
|
257
|
-
* @param {string}
|
|
258
|
-
*
|
|
259
|
-
*
|
|
257
|
+
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
258
|
+
* - A UUID representing the provider ID
|
|
259
|
+
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
260
260
|
* @param {phenoml.fhir.FhirExecuteBundleRequest} request
|
|
261
261
|
* @param {Fhir.RequestOptions} requestOptions - Request-specific configuration.
|
|
262
262
|
*
|
|
@@ -303,7 +303,7 @@ export declare class Fhir {
|
|
|
303
303
|
* }
|
|
304
304
|
* })
|
|
305
305
|
*/
|
|
306
|
-
executeBundle(
|
|
306
|
+
executeBundle(fhir_provider_id: string, request: phenoml.fhir.FhirExecuteBundleRequest, requestOptions?: Fhir.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirBundle>;
|
|
307
307
|
private __executeBundle;
|
|
308
308
|
protected _getAuthorizationHeader(): Promise<string>;
|
|
309
309
|
}
|
|
@@ -59,14 +59,14 @@ class Fhir {
|
|
|
59
59
|
*
|
|
60
60
|
* The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
61
61
|
*
|
|
62
|
-
* @param {string}
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
* @param {string}
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
62
|
+
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
63
|
+
* - A UUID representing the provider ID
|
|
64
|
+
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
65
|
+
* @param {string} fhir_path - The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
66
|
+
* Examples:
|
|
67
|
+
* - "Patient" (for resource type operations)
|
|
68
|
+
* - "Patient/123" (for specific resource operations)
|
|
69
|
+
* - "Patient/123/_history" (for history operations)
|
|
70
70
|
* @param {phenoml.fhir.FhirSearchRequest} request
|
|
71
71
|
* @param {Fhir.RequestOptions} requestOptions - Request-specific configuration.
|
|
72
72
|
*
|
|
@@ -82,11 +82,11 @@ class Fhir {
|
|
|
82
82
|
* "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
|
|
83
83
|
* })
|
|
84
84
|
*/
|
|
85
|
-
search(
|
|
86
|
-
return core.HttpResponsePromise.fromPromise(this.__search(
|
|
85
|
+
search(fhir_provider_id, fhir_path, request = {}, requestOptions) {
|
|
86
|
+
return core.HttpResponsePromise.fromPromise(this.__search(fhir_provider_id, fhir_path, request, requestOptions));
|
|
87
87
|
}
|
|
88
|
-
__search(
|
|
89
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
88
|
+
__search(fhir_provider_id_1, fhir_path_1) {
|
|
89
|
+
return __awaiter(this, arguments, void 0, function* (fhir_provider_id, fhir_path, request = {}, requestOptions) {
|
|
90
90
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
91
91
|
const { query_parameters: queryParameters, "X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf, "X-Phenoml-Fhir-Provider": phenomlFhirProvider, } = request;
|
|
92
92
|
const _queryParams = {};
|
|
@@ -99,7 +99,7 @@ class Fhir {
|
|
|
99
99
|
"X-Phenoml-Fhir-Provider": phenomlFhirProvider != null ? phenomlFhirProvider : undefined,
|
|
100
100
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
101
101
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
102
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(
|
|
102
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhir_provider_id)}/fhir/${core.url.encodePathParam(fhir_path)}`),
|
|
103
103
|
method: "GET",
|
|
104
104
|
headers: _headers,
|
|
105
105
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
@@ -154,14 +154,14 @@ class Fhir {
|
|
|
154
154
|
*
|
|
155
155
|
* The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
156
156
|
*
|
|
157
|
-
* @param {string}
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* @param {string}
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
157
|
+
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
158
|
+
* - A UUID representing the provider ID
|
|
159
|
+
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
160
|
+
* @param {string} fhir_path - The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
161
|
+
* Examples:
|
|
162
|
+
* - "Patient" (for resource type operations)
|
|
163
|
+
* - "Patient/123" (for specific resource operations)
|
|
164
|
+
* - "Patient/123/_history" (for history operations)
|
|
165
165
|
* @param {phenoml.fhir.FhirCreateRequest} request
|
|
166
166
|
* @param {Fhir.RequestOptions} requestOptions - Request-specific configuration.
|
|
167
167
|
*
|
|
@@ -189,10 +189,10 @@ class Fhir {
|
|
|
189
189
|
* }
|
|
190
190
|
* })
|
|
191
191
|
*/
|
|
192
|
-
create(
|
|
193
|
-
return core.HttpResponsePromise.fromPromise(this.__create(
|
|
192
|
+
create(fhir_provider_id, fhir_path, request, requestOptions) {
|
|
193
|
+
return core.HttpResponsePromise.fromPromise(this.__create(fhir_provider_id, fhir_path, request, requestOptions));
|
|
194
194
|
}
|
|
195
|
-
__create(
|
|
195
|
+
__create(fhir_provider_id, fhir_path, request, requestOptions) {
|
|
196
196
|
return __awaiter(this, void 0, void 0, function* () {
|
|
197
197
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
198
198
|
const { "X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf, "X-Phenoml-Fhir-Provider": phenomlFhirProvider, body: _body, } = request;
|
|
@@ -202,7 +202,7 @@ class Fhir {
|
|
|
202
202
|
"X-Phenoml-Fhir-Provider": phenomlFhirProvider != null ? phenomlFhirProvider : undefined,
|
|
203
203
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
204
204
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
205
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(
|
|
205
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhir_provider_id)}/fhir/${core.url.encodePathParam(fhir_path)}`),
|
|
206
206
|
method: "POST",
|
|
207
207
|
headers: _headers,
|
|
208
208
|
contentType: "application/fhir+json",
|
|
@@ -258,14 +258,14 @@ class Fhir {
|
|
|
258
258
|
*
|
|
259
259
|
* The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
260
260
|
*
|
|
261
|
-
* @param {string}
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
* @param {string}
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
261
|
+
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
262
|
+
* - A UUID representing the provider ID
|
|
263
|
+
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
264
|
+
* @param {string} fhir_path - The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
265
|
+
* Examples:
|
|
266
|
+
* - "Patient" (for resource type operations)
|
|
267
|
+
* - "Patient/123" (for specific resource operations)
|
|
268
|
+
* - "Patient/123/_history" (for history operations)
|
|
269
269
|
* @param {phenoml.fhir.FhirUpsertRequest} request
|
|
270
270
|
* @param {Fhir.RequestOptions} requestOptions - Request-specific configuration.
|
|
271
271
|
*
|
|
@@ -295,10 +295,10 @@ class Fhir {
|
|
|
295
295
|
* }
|
|
296
296
|
* })
|
|
297
297
|
*/
|
|
298
|
-
upsert(
|
|
299
|
-
return core.HttpResponsePromise.fromPromise(this.__upsert(
|
|
298
|
+
upsert(fhir_provider_id, fhir_path, request, requestOptions) {
|
|
299
|
+
return core.HttpResponsePromise.fromPromise(this.__upsert(fhir_provider_id, fhir_path, request, requestOptions));
|
|
300
300
|
}
|
|
301
|
-
__upsert(
|
|
301
|
+
__upsert(fhir_provider_id, fhir_path, request, requestOptions) {
|
|
302
302
|
return __awaiter(this, void 0, void 0, function* () {
|
|
303
303
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
304
304
|
const { "X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf, "X-Phenoml-Fhir-Provider": phenomlFhirProvider, body: _body, } = request;
|
|
@@ -308,7 +308,7 @@ class Fhir {
|
|
|
308
308
|
"X-Phenoml-Fhir-Provider": phenomlFhirProvider != null ? phenomlFhirProvider : undefined,
|
|
309
309
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
310
310
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
311
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(
|
|
311
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhir_provider_id)}/fhir/${core.url.encodePathParam(fhir_path)}`),
|
|
312
312
|
method: "PUT",
|
|
313
313
|
headers: _headers,
|
|
314
314
|
contentType: "application/fhir+json",
|
|
@@ -364,14 +364,14 @@ class Fhir {
|
|
|
364
364
|
*
|
|
365
365
|
* The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
366
366
|
*
|
|
367
|
-
* @param {string}
|
|
368
|
-
*
|
|
369
|
-
*
|
|
370
|
-
* @param {string}
|
|
371
|
-
*
|
|
372
|
-
*
|
|
373
|
-
*
|
|
374
|
-
*
|
|
367
|
+
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
368
|
+
* - A UUID representing the provider ID
|
|
369
|
+
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
370
|
+
* @param {string} fhir_path - The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
371
|
+
* Examples:
|
|
372
|
+
* - "Patient" (for resource type operations)
|
|
373
|
+
* - "Patient/123" (for specific resource operations)
|
|
374
|
+
* - "Patient/123/_history" (for history operations)
|
|
375
375
|
* @param {phenoml.fhir.FhirDeleteRequest} request
|
|
376
376
|
* @param {Fhir.RequestOptions} requestOptions - Request-specific configuration.
|
|
377
377
|
*
|
|
@@ -387,11 +387,11 @@ class Fhir {
|
|
|
387
387
|
* "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
|
|
388
388
|
* })
|
|
389
389
|
*/
|
|
390
|
-
delete(
|
|
391
|
-
return core.HttpResponsePromise.fromPromise(this.__delete(
|
|
390
|
+
delete(fhir_provider_id, fhir_path, request = {}, requestOptions) {
|
|
391
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(fhir_provider_id, fhir_path, request, requestOptions));
|
|
392
392
|
}
|
|
393
|
-
__delete(
|
|
394
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
393
|
+
__delete(fhir_provider_id_1, fhir_path_1) {
|
|
394
|
+
return __awaiter(this, arguments, void 0, function* (fhir_provider_id, fhir_path, request = {}, requestOptions) {
|
|
395
395
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
396
396
|
const { "X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf, "X-Phenoml-Fhir-Provider": phenomlFhirProvider } = request;
|
|
397
397
|
const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
|
|
@@ -400,7 +400,7 @@ class Fhir {
|
|
|
400
400
|
"X-Phenoml-Fhir-Provider": phenomlFhirProvider != null ? phenomlFhirProvider : undefined,
|
|
401
401
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
402
402
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
403
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(
|
|
403
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhir_provider_id)}/fhir/${core.url.encodePathParam(fhir_path)}`),
|
|
404
404
|
method: "DELETE",
|
|
405
405
|
headers: _headers,
|
|
406
406
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -460,14 +460,14 @@ class Fhir {
|
|
|
460
460
|
*
|
|
461
461
|
* The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
462
462
|
*
|
|
463
|
-
* @param {string}
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
* @param {string}
|
|
467
|
-
*
|
|
468
|
-
*
|
|
469
|
-
*
|
|
470
|
-
*
|
|
463
|
+
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
464
|
+
* - A UUID representing the provider ID
|
|
465
|
+
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
466
|
+
* @param {string} fhir_path - The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
467
|
+
* Examples:
|
|
468
|
+
* - "Patient" (for resource type operations)
|
|
469
|
+
* - "Patient/123" (for specific resource operations)
|
|
470
|
+
* - "Patient/123/_history" (for history operations)
|
|
471
471
|
* @param {phenoml.fhir.FhirPatchRequest} request
|
|
472
472
|
* @param {Fhir.RequestOptions} requestOptions - Request-specific configuration.
|
|
473
473
|
*
|
|
@@ -539,10 +539,10 @@ class Fhir {
|
|
|
539
539
|
* }]
|
|
540
540
|
* })
|
|
541
541
|
*/
|
|
542
|
-
patch(
|
|
543
|
-
return core.HttpResponsePromise.fromPromise(this.__patch(
|
|
542
|
+
patch(fhir_provider_id, fhir_path, request, requestOptions) {
|
|
543
|
+
return core.HttpResponsePromise.fromPromise(this.__patch(fhir_provider_id, fhir_path, request, requestOptions));
|
|
544
544
|
}
|
|
545
|
-
__patch(
|
|
545
|
+
__patch(fhir_provider_id, fhir_path, request, requestOptions) {
|
|
546
546
|
return __awaiter(this, void 0, void 0, function* () {
|
|
547
547
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
548
548
|
const { "X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf, "X-Phenoml-Fhir-Provider": phenomlFhirProvider, body: _body, } = request;
|
|
@@ -552,7 +552,7 @@ class Fhir {
|
|
|
552
552
|
"X-Phenoml-Fhir-Provider": phenomlFhirProvider != null ? phenomlFhirProvider : undefined,
|
|
553
553
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
554
554
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
555
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(
|
|
555
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhir_provider_id)}/fhir/${core.url.encodePathParam(fhir_path)}`),
|
|
556
556
|
method: "PATCH",
|
|
557
557
|
headers: _headers,
|
|
558
558
|
contentType: "application/json-patch+json",
|
|
@@ -612,9 +612,9 @@ class Fhir {
|
|
|
612
612
|
*
|
|
613
613
|
* The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
614
614
|
*
|
|
615
|
-
* @param {string}
|
|
616
|
-
*
|
|
617
|
-
*
|
|
615
|
+
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
616
|
+
* - A UUID representing the provider ID
|
|
617
|
+
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
618
618
|
* @param {phenoml.fhir.FhirExecuteBundleRequest} request
|
|
619
619
|
* @param {Fhir.RequestOptions} requestOptions - Request-specific configuration.
|
|
620
620
|
*
|
|
@@ -661,10 +661,10 @@ class Fhir {
|
|
|
661
661
|
* }
|
|
662
662
|
* })
|
|
663
663
|
*/
|
|
664
|
-
executeBundle(
|
|
665
|
-
return core.HttpResponsePromise.fromPromise(this.__executeBundle(
|
|
664
|
+
executeBundle(fhir_provider_id, request, requestOptions) {
|
|
665
|
+
return core.HttpResponsePromise.fromPromise(this.__executeBundle(fhir_provider_id, request, requestOptions));
|
|
666
666
|
}
|
|
667
|
-
__executeBundle(
|
|
667
|
+
__executeBundle(fhir_provider_id, request, requestOptions) {
|
|
668
668
|
return __awaiter(this, void 0, void 0, function* () {
|
|
669
669
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
670
670
|
const { "X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf, "X-Phenoml-Fhir-Provider": phenomlFhirProvider, body: _body, } = request;
|
|
@@ -674,7 +674,7 @@ class Fhir {
|
|
|
674
674
|
"X-Phenoml-Fhir-Provider": phenomlFhirProvider != null ? phenomlFhirProvider : undefined,
|
|
675
675
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
676
676
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
677
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(
|
|
677
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhir_provider_id)}/fhir`),
|
|
678
678
|
method: "POST",
|
|
679
679
|
headers: _headers,
|
|
680
680
|
contentType: "application/fhir+json",
|
|
@@ -55,7 +55,7 @@ export declare class FhirProvider {
|
|
|
55
55
|
* Sandbox providers return FhirProviderSandboxInfo.
|
|
56
56
|
* On shared instances, only sandbox providers can be accessed.
|
|
57
57
|
*
|
|
58
|
-
* @param {string}
|
|
58
|
+
* @param {string} fhir_provider_id - ID of the FHIR provider to retrieve
|
|
59
59
|
* @param {FhirProvider.RequestOptions} requestOptions - Request-specific configuration.
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link phenoml.fhirProvider.UnauthorizedError}
|
|
@@ -65,14 +65,14 @@ export declare class FhirProvider {
|
|
|
65
65
|
* @example
|
|
66
66
|
* await client.fhirProvider.get("fhir_provider_id")
|
|
67
67
|
*/
|
|
68
|
-
get(
|
|
68
|
+
get(fhir_provider_id: string, requestOptions?: FhirProvider.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.FhirProviderResponse>;
|
|
69
69
|
private __get;
|
|
70
70
|
/**
|
|
71
71
|
* Soft deletes a FHIR provider by setting is_active to false.
|
|
72
72
|
*
|
|
73
73
|
* Note: Sandbox providers cannot be deleted.
|
|
74
74
|
*
|
|
75
|
-
* @param {string}
|
|
75
|
+
* @param {string} fhir_provider_id - ID of the FHIR provider to delete
|
|
76
76
|
* @param {FhirProvider.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link phenoml.fhirProvider.UnauthorizedError}
|
|
@@ -83,7 +83,7 @@ export declare class FhirProvider {
|
|
|
83
83
|
* @example
|
|
84
84
|
* await client.fhirProvider.delete("fhir_provider_id")
|
|
85
85
|
*/
|
|
86
|
-
delete(
|
|
86
|
+
delete(fhir_provider_id: string, requestOptions?: FhirProvider.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.FhirProviderDeleteResponse>;
|
|
87
87
|
private __delete;
|
|
88
88
|
/**
|
|
89
89
|
* Adds a new authentication configuration to an existing FHIR provider.
|
|
@@ -91,7 +91,7 @@ export declare class FhirProvider {
|
|
|
91
91
|
*
|
|
92
92
|
* Note: Sandbox providers cannot be modified.
|
|
93
93
|
*
|
|
94
|
-
* @param {string}
|
|
94
|
+
* @param {string} fhir_provider_id - ID of the FHIR provider to add auth config to
|
|
95
95
|
* @param {phenoml.fhirProvider.FhirProviderAddAuthConfigRequest} request
|
|
96
96
|
* @param {FhirProvider.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
97
|
*
|
|
@@ -106,7 +106,7 @@ export declare class FhirProvider {
|
|
|
106
106
|
* auth_method: "client_secret"
|
|
107
107
|
* })
|
|
108
108
|
*/
|
|
109
|
-
addAuthConfig(
|
|
109
|
+
addAuthConfig(fhir_provider_id: string, request: phenoml.fhirProvider.FhirProviderAddAuthConfigRequest, requestOptions?: FhirProvider.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.FhirProviderResponse>;
|
|
110
110
|
private __addAuthConfig;
|
|
111
111
|
/**
|
|
112
112
|
* Sets which authentication configuration should be active for a FHIR provider.
|
|
@@ -117,7 +117,7 @@ export declare class FhirProvider {
|
|
|
117
117
|
*
|
|
118
118
|
* Note: Sandbox providers cannot be modified.
|
|
119
119
|
*
|
|
120
|
-
* @param {string}
|
|
120
|
+
* @param {string} fhir_provider_id - ID of the FHIR provider
|
|
121
121
|
* @param {phenoml.fhirProvider.FhirProviderSetActiveAuthConfigRequest} request
|
|
122
122
|
* @param {FhirProvider.RequestOptions} requestOptions - Request-specific configuration.
|
|
123
123
|
*
|
|
@@ -132,7 +132,7 @@ export declare class FhirProvider {
|
|
|
132
132
|
* auth_config_id: "auth-config-123"
|
|
133
133
|
* })
|
|
134
134
|
*/
|
|
135
|
-
setActiveAuthConfig(
|
|
135
|
+
setActiveAuthConfig(fhir_provider_id: string, request: phenoml.fhirProvider.FhirProviderSetActiveAuthConfigRequest, requestOptions?: FhirProvider.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.FhirProviderResponse>;
|
|
136
136
|
private __setActiveAuthConfig;
|
|
137
137
|
/**
|
|
138
138
|
* Removes an authentication configuration from a FHIR provider.
|
|
@@ -140,7 +140,7 @@ export declare class FhirProvider {
|
|
|
140
140
|
*
|
|
141
141
|
* Note: Sandbox providers cannot be modified.
|
|
142
142
|
*
|
|
143
|
-
* @param {string}
|
|
143
|
+
* @param {string} fhir_provider_id - ID of the FHIR provider
|
|
144
144
|
* @param {phenoml.fhirProvider.FhirProviderRemoveAuthConfigRequest} request
|
|
145
145
|
* @param {FhirProvider.RequestOptions} requestOptions - Request-specific configuration.
|
|
146
146
|
*
|
|
@@ -155,7 +155,7 @@ export declare class FhirProvider {
|
|
|
155
155
|
* auth_config_id: "auth-config-123"
|
|
156
156
|
* })
|
|
157
157
|
*/
|
|
158
|
-
removeAuthConfig(
|
|
158
|
+
removeAuthConfig(fhir_provider_id: string, request: phenoml.fhirProvider.FhirProviderRemoveAuthConfigRequest, requestOptions?: FhirProvider.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.FhirProviderRemoveAuthConfigResponse>;
|
|
159
159
|
private __removeAuthConfig;
|
|
160
160
|
protected _getAuthorizationHeader(): Promise<string>;
|
|
161
161
|
}
|