@aws-sdk/client-comprehendmedical 3.899.0 → 3.906.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.
- package/dist-cjs/index.js +2052 -2153
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -1,2214 +1,2113 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
DetectEntitiesCommand: () => DetectEntitiesCommand,
|
|
34
|
-
DetectEntitiesV2Command: () => DetectEntitiesV2Command,
|
|
35
|
-
DetectPHICommand: () => DetectPHICommand,
|
|
36
|
-
EntitySubType: () => EntitySubType,
|
|
37
|
-
EntityType: () => EntityType,
|
|
38
|
-
ICD10CMAttributeType: () => ICD10CMAttributeType,
|
|
39
|
-
ICD10CMEntityCategory: () => ICD10CMEntityCategory,
|
|
40
|
-
ICD10CMEntityType: () => ICD10CMEntityType,
|
|
41
|
-
ICD10CMRelationshipType: () => ICD10CMRelationshipType,
|
|
42
|
-
ICD10CMTraitName: () => ICD10CMTraitName,
|
|
43
|
-
InferICD10CMCommand: () => InferICD10CMCommand,
|
|
44
|
-
InferRxNormCommand: () => InferRxNormCommand,
|
|
45
|
-
InferSNOMEDCTCommand: () => InferSNOMEDCTCommand,
|
|
46
|
-
InternalServerException: () => InternalServerException,
|
|
47
|
-
InvalidEncodingException: () => InvalidEncodingException,
|
|
48
|
-
InvalidRequestException: () => InvalidRequestException,
|
|
49
|
-
JobStatus: () => JobStatus,
|
|
50
|
-
LanguageCode: () => LanguageCode,
|
|
51
|
-
ListEntitiesDetectionV2JobsCommand: () => ListEntitiesDetectionV2JobsCommand,
|
|
52
|
-
ListICD10CMInferenceJobsCommand: () => ListICD10CMInferenceJobsCommand,
|
|
53
|
-
ListPHIDetectionJobsCommand: () => ListPHIDetectionJobsCommand,
|
|
54
|
-
ListRxNormInferenceJobsCommand: () => ListRxNormInferenceJobsCommand,
|
|
55
|
-
ListSNOMEDCTInferenceJobsCommand: () => ListSNOMEDCTInferenceJobsCommand,
|
|
56
|
-
RelationshipType: () => RelationshipType,
|
|
57
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
58
|
-
RxNormAttributeType: () => RxNormAttributeType,
|
|
59
|
-
RxNormEntityCategory: () => RxNormEntityCategory,
|
|
60
|
-
RxNormEntityType: () => RxNormEntityType,
|
|
61
|
-
RxNormTraitName: () => RxNormTraitName,
|
|
62
|
-
SNOMEDCTAttributeType: () => SNOMEDCTAttributeType,
|
|
63
|
-
SNOMEDCTEntityCategory: () => SNOMEDCTEntityCategory,
|
|
64
|
-
SNOMEDCTEntityType: () => SNOMEDCTEntityType,
|
|
65
|
-
SNOMEDCTRelationshipType: () => SNOMEDCTRelationshipType,
|
|
66
|
-
SNOMEDCTTraitName: () => SNOMEDCTTraitName,
|
|
67
|
-
ServiceUnavailableException: () => ServiceUnavailableException,
|
|
68
|
-
StartEntitiesDetectionV2JobCommand: () => StartEntitiesDetectionV2JobCommand,
|
|
69
|
-
StartICD10CMInferenceJobCommand: () => StartICD10CMInferenceJobCommand,
|
|
70
|
-
StartPHIDetectionJobCommand: () => StartPHIDetectionJobCommand,
|
|
71
|
-
StartRxNormInferenceJobCommand: () => StartRxNormInferenceJobCommand,
|
|
72
|
-
StartSNOMEDCTInferenceJobCommand: () => StartSNOMEDCTInferenceJobCommand,
|
|
73
|
-
StopEntitiesDetectionV2JobCommand: () => StopEntitiesDetectionV2JobCommand,
|
|
74
|
-
StopICD10CMInferenceJobCommand: () => StopICD10CMInferenceJobCommand,
|
|
75
|
-
StopPHIDetectionJobCommand: () => StopPHIDetectionJobCommand,
|
|
76
|
-
StopRxNormInferenceJobCommand: () => StopRxNormInferenceJobCommand,
|
|
77
|
-
StopSNOMEDCTInferenceJobCommand: () => StopSNOMEDCTInferenceJobCommand,
|
|
78
|
-
TextSizeLimitExceededException: () => TextSizeLimitExceededException,
|
|
79
|
-
TooManyRequestsException: () => TooManyRequestsException,
|
|
80
|
-
ValidationException: () => ValidationException,
|
|
81
|
-
__Client: () => import_smithy_client.Client
|
|
82
|
-
});
|
|
83
|
-
module.exports = __toCommonJS(index_exports);
|
|
84
|
-
|
|
85
|
-
// src/ComprehendMedicalClient.ts
|
|
86
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
87
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
88
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
89
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
90
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
91
|
-
var import_core = require("@smithy/core");
|
|
92
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
93
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
94
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
95
|
-
|
|
96
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
97
|
-
|
|
98
|
-
// src/endpoint/EndpointParameters.ts
|
|
99
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
100
|
-
return Object.assign(options, {
|
|
101
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
102
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
103
|
-
defaultSigningName: "comprehendmedical"
|
|
104
|
-
});
|
|
105
|
-
}, "resolveClientEndpointParameters");
|
|
106
|
-
var commonParams = {
|
|
107
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
108
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
109
|
-
Region: { type: "builtInParams", name: "region" },
|
|
110
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
var uuid = require('@smithy/uuid');
|
|
20
|
+
|
|
21
|
+
const resolveClientEndpointParameters = (options) => {
|
|
22
|
+
return Object.assign(options, {
|
|
23
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
24
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
25
|
+
defaultSigningName: "comprehendmedical",
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
const commonParams = {
|
|
29
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
30
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
31
|
+
Region: { type: "builtInParams", name: "region" },
|
|
32
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
111
33
|
};
|
|
112
34
|
|
|
113
|
-
|
|
114
|
-
|
|
35
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
36
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
37
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
38
|
+
let _credentials = runtimeConfig.credentials;
|
|
39
|
+
return {
|
|
40
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
41
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
42
|
+
if (index === -1) {
|
|
43
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
httpAuthSchemes() {
|
|
50
|
+
return _httpAuthSchemes;
|
|
51
|
+
},
|
|
52
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
53
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
54
|
+
},
|
|
55
|
+
httpAuthSchemeProvider() {
|
|
56
|
+
return _httpAuthSchemeProvider;
|
|
57
|
+
},
|
|
58
|
+
setCredentials(credentials) {
|
|
59
|
+
_credentials = credentials;
|
|
60
|
+
},
|
|
61
|
+
credentials() {
|
|
62
|
+
return _credentials;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
67
|
+
return {
|
|
68
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
69
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
70
|
+
credentials: config.credentials(),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
115
73
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
74
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
|
+
};
|
|
120
79
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
80
|
+
class ComprehendMedicalClient extends smithyClient.Client {
|
|
81
|
+
config;
|
|
82
|
+
constructor(...[configuration]) {
|
|
83
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
84
|
+
super(_config_0);
|
|
85
|
+
this.initConfig = _config_0;
|
|
86
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
88
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
90
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
91
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
92
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
|
+
this.config = _config_8;
|
|
95
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultComprehendMedicalHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
104
|
+
"aws.auth#sigv4": config.credentials,
|
|
105
|
+
}),
|
|
106
|
+
}));
|
|
107
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
108
|
+
}
|
|
109
|
+
destroy() {
|
|
110
|
+
super.destroy();
|
|
149
111
|
}
|
|
150
|
-
|
|
151
|
-
}, "getHttpAuthExtensionConfiguration");
|
|
152
|
-
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
153
|
-
return {
|
|
154
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
155
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
156
|
-
credentials: config.credentials()
|
|
157
|
-
};
|
|
158
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
112
|
+
}
|
|
159
113
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
167
|
-
);
|
|
168
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
169
|
-
return Object.assign(
|
|
170
|
-
runtimeConfig,
|
|
171
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
172
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
173
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
174
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
175
|
-
);
|
|
176
|
-
}, "resolveRuntimeExtensions");
|
|
114
|
+
class ComprehendMedicalServiceException extends smithyClient.ServiceException {
|
|
115
|
+
constructor(options) {
|
|
116
|
+
super(options);
|
|
117
|
+
Object.setPrototypeOf(this, ComprehendMedicalServiceException.prototype);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
177
120
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
config;
|
|
187
|
-
constructor(...[configuration]) {
|
|
188
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
189
|
-
super(_config_0);
|
|
190
|
-
this.initConfig = _config_0;
|
|
191
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
192
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
193
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
194
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
195
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
196
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
197
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
198
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
199
|
-
this.config = _config_8;
|
|
200
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
201
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
202
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
203
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
204
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
205
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
206
|
-
this.middlewareStack.use(
|
|
207
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
208
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultComprehendMedicalHttpAuthSchemeParametersProvider,
|
|
209
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
210
|
-
"aws.auth#sigv4": config.credentials
|
|
211
|
-
}), "identityProviderConfigProvider")
|
|
212
|
-
})
|
|
213
|
-
);
|
|
214
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
218
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
219
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
220
|
-
*/
|
|
221
|
-
destroy() {
|
|
222
|
-
super.destroy();
|
|
223
|
-
}
|
|
121
|
+
const EntityType = {
|
|
122
|
+
ANATOMY: "ANATOMY",
|
|
123
|
+
BEHAVIORAL_ENVIRONMENTAL_SOCIAL: "BEHAVIORAL_ENVIRONMENTAL_SOCIAL",
|
|
124
|
+
MEDICAL_CONDITION: "MEDICAL_CONDITION",
|
|
125
|
+
MEDICATION: "MEDICATION",
|
|
126
|
+
PROTECTED_HEALTH_INFORMATION: "PROTECTED_HEALTH_INFORMATION",
|
|
127
|
+
TEST_TREATMENT_PROCEDURE: "TEST_TREATMENT_PROCEDURE",
|
|
128
|
+
TIME_EXPRESSION: "TIME_EXPRESSION",
|
|
224
129
|
};
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
*/
|
|
249
|
-
constructor(options) {
|
|
250
|
-
super(options);
|
|
251
|
-
Object.setPrototypeOf(this, _ComprehendMedicalServiceException.prototype);
|
|
252
|
-
}
|
|
130
|
+
const RelationshipType = {
|
|
131
|
+
ACUITY: "ACUITY",
|
|
132
|
+
ADMINISTERED_VIA: "ADMINISTERED_VIA",
|
|
133
|
+
AMOUNT: "AMOUNT",
|
|
134
|
+
DIRECTION: "DIRECTION",
|
|
135
|
+
DOSAGE: "DOSAGE",
|
|
136
|
+
DURATION: "DURATION",
|
|
137
|
+
EVERY: "EVERY",
|
|
138
|
+
FOR: "FOR",
|
|
139
|
+
FORM: "FORM",
|
|
140
|
+
FREQUENCY: "FREQUENCY",
|
|
141
|
+
NEGATIVE: "NEGATIVE",
|
|
142
|
+
OVERLAP: "OVERLAP",
|
|
143
|
+
QUALITY: "QUALITY",
|
|
144
|
+
RATE: "RATE",
|
|
145
|
+
ROUTE_OR_MODE: "ROUTE_OR_MODE",
|
|
146
|
+
STRENGTH: "STRENGTH",
|
|
147
|
+
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
148
|
+
TEST_UNIT: "TEST_UNIT",
|
|
149
|
+
TEST_UNITS: "TEST_UNITS",
|
|
150
|
+
TEST_VALUE: "TEST_VALUE",
|
|
151
|
+
USAGE: "USAGE",
|
|
152
|
+
WITH_DOSAGE: "WITH_DOSAGE",
|
|
253
153
|
};
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
};
|
|
265
|
-
var RelationshipType = {
|
|
266
|
-
ACUITY: "ACUITY",
|
|
267
|
-
ADMINISTERED_VIA: "ADMINISTERED_VIA",
|
|
268
|
-
AMOUNT: "AMOUNT",
|
|
269
|
-
DIRECTION: "DIRECTION",
|
|
270
|
-
DOSAGE: "DOSAGE",
|
|
271
|
-
DURATION: "DURATION",
|
|
272
|
-
EVERY: "EVERY",
|
|
273
|
-
FOR: "FOR",
|
|
274
|
-
FORM: "FORM",
|
|
275
|
-
FREQUENCY: "FREQUENCY",
|
|
276
|
-
NEGATIVE: "NEGATIVE",
|
|
277
|
-
OVERLAP: "OVERLAP",
|
|
278
|
-
QUALITY: "QUALITY",
|
|
279
|
-
RATE: "RATE",
|
|
280
|
-
ROUTE_OR_MODE: "ROUTE_OR_MODE",
|
|
281
|
-
STRENGTH: "STRENGTH",
|
|
282
|
-
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
283
|
-
TEST_UNIT: "TEST_UNIT",
|
|
284
|
-
TEST_UNITS: "TEST_UNITS",
|
|
285
|
-
TEST_VALUE: "TEST_VALUE",
|
|
286
|
-
USAGE: "USAGE",
|
|
287
|
-
WITH_DOSAGE: "WITH_DOSAGE"
|
|
288
|
-
};
|
|
289
|
-
var AttributeName = {
|
|
290
|
-
DIAGNOSIS: "DIAGNOSIS",
|
|
291
|
-
FUTURE: "FUTURE",
|
|
292
|
-
HYPOTHETICAL: "HYPOTHETICAL",
|
|
293
|
-
LOW_CONFIDENCE: "LOW_CONFIDENCE",
|
|
294
|
-
NEGATION: "NEGATION",
|
|
295
|
-
PAST_HISTORY: "PAST_HISTORY",
|
|
296
|
-
PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY",
|
|
297
|
-
SIGN: "SIGN",
|
|
298
|
-
SYMPTOM: "SYMPTOM"
|
|
299
|
-
};
|
|
300
|
-
var EntitySubType = {
|
|
301
|
-
ACUITY: "ACUITY",
|
|
302
|
-
ADDRESS: "ADDRESS",
|
|
303
|
-
AGE: "AGE",
|
|
304
|
-
ALCOHOL_CONSUMPTION: "ALCOHOL_CONSUMPTION",
|
|
305
|
-
ALLERGIES: "ALLERGIES",
|
|
306
|
-
AMOUNT: "AMOUNT",
|
|
307
|
-
BRAND_NAME: "BRAND_NAME",
|
|
308
|
-
CONTACT_POINT: "CONTACT_POINT",
|
|
309
|
-
DATE: "DATE",
|
|
310
|
-
DIRECTION: "DIRECTION",
|
|
311
|
-
DOSAGE: "DOSAGE",
|
|
312
|
-
DURATION: "DURATION",
|
|
313
|
-
DX_NAME: "DX_NAME",
|
|
314
|
-
EMAIL: "EMAIL",
|
|
315
|
-
FORM: "FORM",
|
|
316
|
-
FREQUENCY: "FREQUENCY",
|
|
317
|
-
GENDER: "GENDER",
|
|
318
|
-
GENERIC_NAME: "GENERIC_NAME",
|
|
319
|
-
ID: "ID",
|
|
320
|
-
IDENTIFIER: "IDENTIFIER",
|
|
321
|
-
NAME: "NAME",
|
|
322
|
-
PHONE_OR_FAX: "PHONE_OR_FAX",
|
|
323
|
-
PROCEDURE_NAME: "PROCEDURE_NAME",
|
|
324
|
-
PROFESSION: "PROFESSION",
|
|
325
|
-
QUALITY: "QUALITY",
|
|
326
|
-
QUANTITY: "QUANTITY",
|
|
327
|
-
RACE_ETHNICITY: "RACE_ETHNICITY",
|
|
328
|
-
RATE: "RATE",
|
|
329
|
-
REC_DRUG_USE: "REC_DRUG_USE",
|
|
330
|
-
ROUTE_OR_MODE: "ROUTE_OR_MODE",
|
|
331
|
-
STRENGTH: "STRENGTH",
|
|
332
|
-
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
333
|
-
TEST_NAME: "TEST_NAME",
|
|
334
|
-
TEST_UNIT: "TEST_UNIT",
|
|
335
|
-
TEST_UNITS: "TEST_UNITS",
|
|
336
|
-
TEST_VALUE: "TEST_VALUE",
|
|
337
|
-
TIME_EXPRESSION: "TIME_EXPRESSION",
|
|
338
|
-
TIME_TO_DX_NAME: "TIME_TO_DX_NAME",
|
|
339
|
-
TIME_TO_MEDICATION_NAME: "TIME_TO_MEDICATION_NAME",
|
|
340
|
-
TIME_TO_PROCEDURE_NAME: "TIME_TO_PROCEDURE_NAME",
|
|
341
|
-
TIME_TO_TEST_NAME: "TIME_TO_TEST_NAME",
|
|
342
|
-
TIME_TO_TREATMENT_NAME: "TIME_TO_TREATMENT_NAME",
|
|
343
|
-
TOBACCO_USE: "TOBACCO_USE",
|
|
344
|
-
TREATMENT_NAME: "TREATMENT_NAME",
|
|
345
|
-
URL: "URL"
|
|
346
|
-
};
|
|
347
|
-
var JobStatus = {
|
|
348
|
-
COMPLETED: "COMPLETED",
|
|
349
|
-
FAILED: "FAILED",
|
|
350
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
351
|
-
PARTIAL_SUCCESS: "PARTIAL_SUCCESS",
|
|
352
|
-
STOPPED: "STOPPED",
|
|
353
|
-
STOP_REQUESTED: "STOP_REQUESTED",
|
|
354
|
-
SUBMITTED: "SUBMITTED"
|
|
355
|
-
};
|
|
356
|
-
var LanguageCode = {
|
|
357
|
-
EN: "en"
|
|
358
|
-
};
|
|
359
|
-
var InternalServerException = class _InternalServerException extends ComprehendMedicalServiceException {
|
|
360
|
-
static {
|
|
361
|
-
__name(this, "InternalServerException");
|
|
362
|
-
}
|
|
363
|
-
name = "InternalServerException";
|
|
364
|
-
$fault = "server";
|
|
365
|
-
Message;
|
|
366
|
-
/**
|
|
367
|
-
* @internal
|
|
368
|
-
*/
|
|
369
|
-
constructor(opts) {
|
|
370
|
-
super({
|
|
371
|
-
name: "InternalServerException",
|
|
372
|
-
$fault: "server",
|
|
373
|
-
...opts
|
|
374
|
-
});
|
|
375
|
-
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
376
|
-
this.Message = opts.Message;
|
|
377
|
-
}
|
|
378
|
-
};
|
|
379
|
-
var InvalidRequestException = class _InvalidRequestException extends ComprehendMedicalServiceException {
|
|
380
|
-
static {
|
|
381
|
-
__name(this, "InvalidRequestException");
|
|
382
|
-
}
|
|
383
|
-
name = "InvalidRequestException";
|
|
384
|
-
$fault = "client";
|
|
385
|
-
Message;
|
|
386
|
-
/**
|
|
387
|
-
* @internal
|
|
388
|
-
*/
|
|
389
|
-
constructor(opts) {
|
|
390
|
-
super({
|
|
391
|
-
name: "InvalidRequestException",
|
|
392
|
-
$fault: "client",
|
|
393
|
-
...opts
|
|
394
|
-
});
|
|
395
|
-
Object.setPrototypeOf(this, _InvalidRequestException.prototype);
|
|
396
|
-
this.Message = opts.Message;
|
|
397
|
-
}
|
|
398
|
-
};
|
|
399
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends ComprehendMedicalServiceException {
|
|
400
|
-
static {
|
|
401
|
-
__name(this, "ResourceNotFoundException");
|
|
402
|
-
}
|
|
403
|
-
name = "ResourceNotFoundException";
|
|
404
|
-
$fault = "client";
|
|
405
|
-
Message;
|
|
406
|
-
/**
|
|
407
|
-
* @internal
|
|
408
|
-
*/
|
|
409
|
-
constructor(opts) {
|
|
410
|
-
super({
|
|
411
|
-
name: "ResourceNotFoundException",
|
|
412
|
-
$fault: "client",
|
|
413
|
-
...opts
|
|
414
|
-
});
|
|
415
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
416
|
-
this.Message = opts.Message;
|
|
417
|
-
}
|
|
418
|
-
};
|
|
419
|
-
var TooManyRequestsException = class _TooManyRequestsException extends ComprehendMedicalServiceException {
|
|
420
|
-
static {
|
|
421
|
-
__name(this, "TooManyRequestsException");
|
|
422
|
-
}
|
|
423
|
-
name = "TooManyRequestsException";
|
|
424
|
-
$fault = "client";
|
|
425
|
-
Message;
|
|
426
|
-
/**
|
|
427
|
-
* @internal
|
|
428
|
-
*/
|
|
429
|
-
constructor(opts) {
|
|
430
|
-
super({
|
|
431
|
-
name: "TooManyRequestsException",
|
|
432
|
-
$fault: "client",
|
|
433
|
-
...opts
|
|
434
|
-
});
|
|
435
|
-
Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
|
|
436
|
-
this.Message = opts.Message;
|
|
437
|
-
}
|
|
438
|
-
};
|
|
439
|
-
var InvalidEncodingException = class _InvalidEncodingException extends ComprehendMedicalServiceException {
|
|
440
|
-
static {
|
|
441
|
-
__name(this, "InvalidEncodingException");
|
|
442
|
-
}
|
|
443
|
-
name = "InvalidEncodingException";
|
|
444
|
-
$fault = "client";
|
|
445
|
-
Message;
|
|
446
|
-
/**
|
|
447
|
-
* @internal
|
|
448
|
-
*/
|
|
449
|
-
constructor(opts) {
|
|
450
|
-
super({
|
|
451
|
-
name: "InvalidEncodingException",
|
|
452
|
-
$fault: "client",
|
|
453
|
-
...opts
|
|
454
|
-
});
|
|
455
|
-
Object.setPrototypeOf(this, _InvalidEncodingException.prototype);
|
|
456
|
-
this.Message = opts.Message;
|
|
457
|
-
}
|
|
458
|
-
};
|
|
459
|
-
var ServiceUnavailableException = class _ServiceUnavailableException extends ComprehendMedicalServiceException {
|
|
460
|
-
static {
|
|
461
|
-
__name(this, "ServiceUnavailableException");
|
|
462
|
-
}
|
|
463
|
-
name = "ServiceUnavailableException";
|
|
464
|
-
$fault = "server";
|
|
465
|
-
Message;
|
|
466
|
-
/**
|
|
467
|
-
* @internal
|
|
468
|
-
*/
|
|
469
|
-
constructor(opts) {
|
|
470
|
-
super({
|
|
471
|
-
name: "ServiceUnavailableException",
|
|
472
|
-
$fault: "server",
|
|
473
|
-
...opts
|
|
474
|
-
});
|
|
475
|
-
Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
|
|
476
|
-
this.Message = opts.Message;
|
|
477
|
-
}
|
|
478
|
-
};
|
|
479
|
-
var TextSizeLimitExceededException = class _TextSizeLimitExceededException extends ComprehendMedicalServiceException {
|
|
480
|
-
static {
|
|
481
|
-
__name(this, "TextSizeLimitExceededException");
|
|
482
|
-
}
|
|
483
|
-
name = "TextSizeLimitExceededException";
|
|
484
|
-
$fault = "client";
|
|
485
|
-
Message;
|
|
486
|
-
/**
|
|
487
|
-
* @internal
|
|
488
|
-
*/
|
|
489
|
-
constructor(opts) {
|
|
490
|
-
super({
|
|
491
|
-
name: "TextSizeLimitExceededException",
|
|
492
|
-
$fault: "client",
|
|
493
|
-
...opts
|
|
494
|
-
});
|
|
495
|
-
Object.setPrototypeOf(this, _TextSizeLimitExceededException.prototype);
|
|
496
|
-
this.Message = opts.Message;
|
|
497
|
-
}
|
|
498
|
-
};
|
|
499
|
-
var ICD10CMEntityType = {
|
|
500
|
-
DX_NAME: "DX_NAME",
|
|
501
|
-
TIME_EXPRESSION: "TIME_EXPRESSION"
|
|
502
|
-
};
|
|
503
|
-
var ICD10CMRelationshipType = {
|
|
504
|
-
OVERLAP: "OVERLAP",
|
|
505
|
-
QUALITY: "QUALITY",
|
|
506
|
-
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE"
|
|
507
|
-
};
|
|
508
|
-
var ICD10CMTraitName = {
|
|
509
|
-
DIAGNOSIS: "DIAGNOSIS",
|
|
510
|
-
HYPOTHETICAL: "HYPOTHETICAL",
|
|
511
|
-
LOW_CONFIDENCE: "LOW_CONFIDENCE",
|
|
512
|
-
NEGATION: "NEGATION",
|
|
513
|
-
PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY",
|
|
514
|
-
SIGN: "SIGN",
|
|
515
|
-
SYMPTOM: "SYMPTOM"
|
|
516
|
-
};
|
|
517
|
-
var ICD10CMAttributeType = {
|
|
518
|
-
ACUITY: "ACUITY",
|
|
519
|
-
DIRECTION: "DIRECTION",
|
|
520
|
-
QUALITY: "QUALITY",
|
|
521
|
-
QUANTITY: "QUANTITY",
|
|
522
|
-
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
523
|
-
TIME_EXPRESSION: "TIME_EXPRESSION",
|
|
524
|
-
TIME_TO_DX_NAME: "TIME_TO_DX_NAME"
|
|
525
|
-
};
|
|
526
|
-
var ICD10CMEntityCategory = {
|
|
527
|
-
MEDICAL_CONDITION: "MEDICAL_CONDITION"
|
|
528
|
-
};
|
|
529
|
-
var RxNormTraitName = {
|
|
530
|
-
NEGATION: "NEGATION",
|
|
531
|
-
PAST_HISTORY: "PAST_HISTORY"
|
|
532
|
-
};
|
|
533
|
-
var RxNormAttributeType = {
|
|
534
|
-
DOSAGE: "DOSAGE",
|
|
535
|
-
DURATION: "DURATION",
|
|
536
|
-
FORM: "FORM",
|
|
537
|
-
FREQUENCY: "FREQUENCY",
|
|
538
|
-
RATE: "RATE",
|
|
539
|
-
ROUTE_OR_MODE: "ROUTE_OR_MODE",
|
|
540
|
-
STRENGTH: "STRENGTH"
|
|
541
|
-
};
|
|
542
|
-
var RxNormEntityCategory = {
|
|
543
|
-
MEDICATION: "MEDICATION"
|
|
544
|
-
};
|
|
545
|
-
var RxNormEntityType = {
|
|
546
|
-
BRAND_NAME: "BRAND_NAME",
|
|
547
|
-
GENERIC_NAME: "GENERIC_NAME"
|
|
548
|
-
};
|
|
549
|
-
var SNOMEDCTEntityCategory = {
|
|
550
|
-
ANATOMY: "ANATOMY",
|
|
551
|
-
MEDICAL_CONDITION: "MEDICAL_CONDITION",
|
|
552
|
-
TEST_TREATMENT_PROCEDURE: "TEST_TREATMENT_PROCEDURE"
|
|
553
|
-
};
|
|
554
|
-
var SNOMEDCTRelationshipType = {
|
|
555
|
-
ACUITY: "ACUITY",
|
|
556
|
-
DIRECTION: "DIRECTION",
|
|
557
|
-
QUALITY: "QUALITY",
|
|
558
|
-
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
559
|
-
TEST_UNIT: "TEST_UNIT",
|
|
560
|
-
TEST_UNITS: "TEST_UNITS",
|
|
561
|
-
TEST_VALUE: "TEST_VALUE"
|
|
562
|
-
};
|
|
563
|
-
var SNOMEDCTTraitName = {
|
|
564
|
-
DIAGNOSIS: "DIAGNOSIS",
|
|
565
|
-
FUTURE: "FUTURE",
|
|
566
|
-
HYPOTHETICAL: "HYPOTHETICAL",
|
|
567
|
-
LOW_CONFIDENCE: "LOW_CONFIDENCE",
|
|
568
|
-
NEGATION: "NEGATION",
|
|
569
|
-
PAST_HISTORY: "PAST_HISTORY",
|
|
570
|
-
PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY",
|
|
571
|
-
SIGN: "SIGN",
|
|
572
|
-
SYMPTOM: "SYMPTOM"
|
|
573
|
-
};
|
|
574
|
-
var SNOMEDCTAttributeType = {
|
|
575
|
-
ACUITY: "ACUITY",
|
|
576
|
-
DIRECTION: "DIRECTION",
|
|
577
|
-
QUALITY: "QUALITY",
|
|
578
|
-
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
579
|
-
TEST_UNIT: "TEST_UNIT",
|
|
580
|
-
TEST_VALUE: "TEST_VALUE"
|
|
581
|
-
};
|
|
582
|
-
var SNOMEDCTEntityType = {
|
|
583
|
-
DX_NAME: "DX_NAME",
|
|
584
|
-
PROCEDURE_NAME: "PROCEDURE_NAME",
|
|
585
|
-
TEST_NAME: "TEST_NAME",
|
|
586
|
-
TREATMENT_NAME: "TREATMENT_NAME"
|
|
587
|
-
};
|
|
588
|
-
var ValidationException = class _ValidationException extends ComprehendMedicalServiceException {
|
|
589
|
-
static {
|
|
590
|
-
__name(this, "ValidationException");
|
|
591
|
-
}
|
|
592
|
-
name = "ValidationException";
|
|
593
|
-
$fault = "client";
|
|
594
|
-
Message;
|
|
595
|
-
/**
|
|
596
|
-
* @internal
|
|
597
|
-
*/
|
|
598
|
-
constructor(opts) {
|
|
599
|
-
super({
|
|
600
|
-
name: "ValidationException",
|
|
601
|
-
$fault: "client",
|
|
602
|
-
...opts
|
|
603
|
-
});
|
|
604
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
605
|
-
this.Message = opts.Message;
|
|
606
|
-
}
|
|
154
|
+
const AttributeName = {
|
|
155
|
+
DIAGNOSIS: "DIAGNOSIS",
|
|
156
|
+
FUTURE: "FUTURE",
|
|
157
|
+
HYPOTHETICAL: "HYPOTHETICAL",
|
|
158
|
+
LOW_CONFIDENCE: "LOW_CONFIDENCE",
|
|
159
|
+
NEGATION: "NEGATION",
|
|
160
|
+
PAST_HISTORY: "PAST_HISTORY",
|
|
161
|
+
PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY",
|
|
162
|
+
SIGN: "SIGN",
|
|
163
|
+
SYMPTOM: "SYMPTOM",
|
|
607
164
|
};
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
681
|
-
}, "se_ListEntitiesDetectionV2JobsCommand");
|
|
682
|
-
var se_ListICD10CMInferenceJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
683
|
-
const headers = sharedHeaders("ListICD10CMInferenceJobs");
|
|
684
|
-
let body;
|
|
685
|
-
body = JSON.stringify(se_ListICD10CMInferenceJobsRequest(input, context));
|
|
686
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
687
|
-
}, "se_ListICD10CMInferenceJobsCommand");
|
|
688
|
-
var se_ListPHIDetectionJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
689
|
-
const headers = sharedHeaders("ListPHIDetectionJobs");
|
|
690
|
-
let body;
|
|
691
|
-
body = JSON.stringify(se_ListPHIDetectionJobsRequest(input, context));
|
|
692
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
693
|
-
}, "se_ListPHIDetectionJobsCommand");
|
|
694
|
-
var se_ListRxNormInferenceJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
695
|
-
const headers = sharedHeaders("ListRxNormInferenceJobs");
|
|
696
|
-
let body;
|
|
697
|
-
body = JSON.stringify(se_ListRxNormInferenceJobsRequest(input, context));
|
|
698
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
699
|
-
}, "se_ListRxNormInferenceJobsCommand");
|
|
700
|
-
var se_ListSNOMEDCTInferenceJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
701
|
-
const headers = sharedHeaders("ListSNOMEDCTInferenceJobs");
|
|
702
|
-
let body;
|
|
703
|
-
body = JSON.stringify(se_ListSNOMEDCTInferenceJobsRequest(input, context));
|
|
704
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
705
|
-
}, "se_ListSNOMEDCTInferenceJobsCommand");
|
|
706
|
-
var se_StartEntitiesDetectionV2JobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
707
|
-
const headers = sharedHeaders("StartEntitiesDetectionV2Job");
|
|
708
|
-
let body;
|
|
709
|
-
body = JSON.stringify(se_StartEntitiesDetectionV2JobRequest(input, context));
|
|
710
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
711
|
-
}, "se_StartEntitiesDetectionV2JobCommand");
|
|
712
|
-
var se_StartICD10CMInferenceJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
713
|
-
const headers = sharedHeaders("StartICD10CMInferenceJob");
|
|
714
|
-
let body;
|
|
715
|
-
body = JSON.stringify(se_StartICD10CMInferenceJobRequest(input, context));
|
|
716
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
717
|
-
}, "se_StartICD10CMInferenceJobCommand");
|
|
718
|
-
var se_StartPHIDetectionJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
719
|
-
const headers = sharedHeaders("StartPHIDetectionJob");
|
|
720
|
-
let body;
|
|
721
|
-
body = JSON.stringify(se_StartPHIDetectionJobRequest(input, context));
|
|
722
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
723
|
-
}, "se_StartPHIDetectionJobCommand");
|
|
724
|
-
var se_StartRxNormInferenceJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
725
|
-
const headers = sharedHeaders("StartRxNormInferenceJob");
|
|
726
|
-
let body;
|
|
727
|
-
body = JSON.stringify(se_StartRxNormInferenceJobRequest(input, context));
|
|
728
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
729
|
-
}, "se_StartRxNormInferenceJobCommand");
|
|
730
|
-
var se_StartSNOMEDCTInferenceJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
731
|
-
const headers = sharedHeaders("StartSNOMEDCTInferenceJob");
|
|
732
|
-
let body;
|
|
733
|
-
body = JSON.stringify(se_StartSNOMEDCTInferenceJobRequest(input, context));
|
|
734
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
735
|
-
}, "se_StartSNOMEDCTInferenceJobCommand");
|
|
736
|
-
var se_StopEntitiesDetectionV2JobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
737
|
-
const headers = sharedHeaders("StopEntitiesDetectionV2Job");
|
|
738
|
-
let body;
|
|
739
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
740
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
741
|
-
}, "se_StopEntitiesDetectionV2JobCommand");
|
|
742
|
-
var se_StopICD10CMInferenceJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
743
|
-
const headers = sharedHeaders("StopICD10CMInferenceJob");
|
|
744
|
-
let body;
|
|
745
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
746
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
747
|
-
}, "se_StopICD10CMInferenceJobCommand");
|
|
748
|
-
var se_StopPHIDetectionJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
749
|
-
const headers = sharedHeaders("StopPHIDetectionJob");
|
|
750
|
-
let body;
|
|
751
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
752
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
753
|
-
}, "se_StopPHIDetectionJobCommand");
|
|
754
|
-
var se_StopRxNormInferenceJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
755
|
-
const headers = sharedHeaders("StopRxNormInferenceJob");
|
|
756
|
-
let body;
|
|
757
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
758
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
759
|
-
}, "se_StopRxNormInferenceJobCommand");
|
|
760
|
-
var se_StopSNOMEDCTInferenceJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
761
|
-
const headers = sharedHeaders("StopSNOMEDCTInferenceJob");
|
|
762
|
-
let body;
|
|
763
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
764
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
765
|
-
}, "se_StopSNOMEDCTInferenceJobCommand");
|
|
766
|
-
var de_DescribeEntitiesDetectionV2JobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
767
|
-
if (output.statusCode >= 300) {
|
|
768
|
-
return de_CommandError(output, context);
|
|
769
|
-
}
|
|
770
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
771
|
-
let contents = {};
|
|
772
|
-
contents = de_DescribeEntitiesDetectionV2JobResponse(data, context);
|
|
773
|
-
const response = {
|
|
774
|
-
$metadata: deserializeMetadata(output),
|
|
775
|
-
...contents
|
|
776
|
-
};
|
|
777
|
-
return response;
|
|
778
|
-
}, "de_DescribeEntitiesDetectionV2JobCommand");
|
|
779
|
-
var de_DescribeICD10CMInferenceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
780
|
-
if (output.statusCode >= 300) {
|
|
781
|
-
return de_CommandError(output, context);
|
|
782
|
-
}
|
|
783
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
784
|
-
let contents = {};
|
|
785
|
-
contents = de_DescribeICD10CMInferenceJobResponse(data, context);
|
|
786
|
-
const response = {
|
|
787
|
-
$metadata: deserializeMetadata(output),
|
|
788
|
-
...contents
|
|
789
|
-
};
|
|
790
|
-
return response;
|
|
791
|
-
}, "de_DescribeICD10CMInferenceJobCommand");
|
|
792
|
-
var de_DescribePHIDetectionJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
793
|
-
if (output.statusCode >= 300) {
|
|
794
|
-
return de_CommandError(output, context);
|
|
795
|
-
}
|
|
796
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
797
|
-
let contents = {};
|
|
798
|
-
contents = de_DescribePHIDetectionJobResponse(data, context);
|
|
799
|
-
const response = {
|
|
800
|
-
$metadata: deserializeMetadata(output),
|
|
801
|
-
...contents
|
|
802
|
-
};
|
|
803
|
-
return response;
|
|
804
|
-
}, "de_DescribePHIDetectionJobCommand");
|
|
805
|
-
var de_DescribeRxNormInferenceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
806
|
-
if (output.statusCode >= 300) {
|
|
807
|
-
return de_CommandError(output, context);
|
|
808
|
-
}
|
|
809
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
810
|
-
let contents = {};
|
|
811
|
-
contents = de_DescribeRxNormInferenceJobResponse(data, context);
|
|
812
|
-
const response = {
|
|
813
|
-
$metadata: deserializeMetadata(output),
|
|
814
|
-
...contents
|
|
815
|
-
};
|
|
816
|
-
return response;
|
|
817
|
-
}, "de_DescribeRxNormInferenceJobCommand");
|
|
818
|
-
var de_DescribeSNOMEDCTInferenceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
819
|
-
if (output.statusCode >= 300) {
|
|
820
|
-
return de_CommandError(output, context);
|
|
821
|
-
}
|
|
822
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
823
|
-
let contents = {};
|
|
824
|
-
contents = de_DescribeSNOMEDCTInferenceJobResponse(data, context);
|
|
825
|
-
const response = {
|
|
826
|
-
$metadata: deserializeMetadata(output),
|
|
827
|
-
...contents
|
|
828
|
-
};
|
|
829
|
-
return response;
|
|
830
|
-
}, "de_DescribeSNOMEDCTInferenceJobCommand");
|
|
831
|
-
var de_DetectEntitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
832
|
-
if (output.statusCode >= 300) {
|
|
833
|
-
return de_CommandError(output, context);
|
|
834
|
-
}
|
|
835
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
836
|
-
let contents = {};
|
|
837
|
-
contents = de_DetectEntitiesResponse(data, context);
|
|
838
|
-
const response = {
|
|
839
|
-
$metadata: deserializeMetadata(output),
|
|
840
|
-
...contents
|
|
841
|
-
};
|
|
842
|
-
return response;
|
|
843
|
-
}, "de_DetectEntitiesCommand");
|
|
844
|
-
var de_DetectEntitiesV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
845
|
-
if (output.statusCode >= 300) {
|
|
846
|
-
return de_CommandError(output, context);
|
|
847
|
-
}
|
|
848
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
849
|
-
let contents = {};
|
|
850
|
-
contents = de_DetectEntitiesV2Response(data, context);
|
|
851
|
-
const response = {
|
|
852
|
-
$metadata: deserializeMetadata(output),
|
|
853
|
-
...contents
|
|
854
|
-
};
|
|
855
|
-
return response;
|
|
856
|
-
}, "de_DetectEntitiesV2Command");
|
|
857
|
-
var de_DetectPHICommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
858
|
-
if (output.statusCode >= 300) {
|
|
859
|
-
return de_CommandError(output, context);
|
|
860
|
-
}
|
|
861
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
862
|
-
let contents = {};
|
|
863
|
-
contents = de_DetectPHIResponse(data, context);
|
|
864
|
-
const response = {
|
|
865
|
-
$metadata: deserializeMetadata(output),
|
|
866
|
-
...contents
|
|
867
|
-
};
|
|
868
|
-
return response;
|
|
869
|
-
}, "de_DetectPHICommand");
|
|
870
|
-
var de_InferICD10CMCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
871
|
-
if (output.statusCode >= 300) {
|
|
872
|
-
return de_CommandError(output, context);
|
|
873
|
-
}
|
|
874
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
875
|
-
let contents = {};
|
|
876
|
-
contents = de_InferICD10CMResponse(data, context);
|
|
877
|
-
const response = {
|
|
878
|
-
$metadata: deserializeMetadata(output),
|
|
879
|
-
...contents
|
|
880
|
-
};
|
|
881
|
-
return response;
|
|
882
|
-
}, "de_InferICD10CMCommand");
|
|
883
|
-
var de_InferRxNormCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
884
|
-
if (output.statusCode >= 300) {
|
|
885
|
-
return de_CommandError(output, context);
|
|
886
|
-
}
|
|
887
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
888
|
-
let contents = {};
|
|
889
|
-
contents = de_InferRxNormResponse(data, context);
|
|
890
|
-
const response = {
|
|
891
|
-
$metadata: deserializeMetadata(output),
|
|
892
|
-
...contents
|
|
893
|
-
};
|
|
894
|
-
return response;
|
|
895
|
-
}, "de_InferRxNormCommand");
|
|
896
|
-
var de_InferSNOMEDCTCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
897
|
-
if (output.statusCode >= 300) {
|
|
898
|
-
return de_CommandError(output, context);
|
|
899
|
-
}
|
|
900
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
901
|
-
let contents = {};
|
|
902
|
-
contents = de_InferSNOMEDCTResponse(data, context);
|
|
903
|
-
const response = {
|
|
904
|
-
$metadata: deserializeMetadata(output),
|
|
905
|
-
...contents
|
|
906
|
-
};
|
|
907
|
-
return response;
|
|
908
|
-
}, "de_InferSNOMEDCTCommand");
|
|
909
|
-
var de_ListEntitiesDetectionV2JobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
910
|
-
if (output.statusCode >= 300) {
|
|
911
|
-
return de_CommandError(output, context);
|
|
912
|
-
}
|
|
913
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
914
|
-
let contents = {};
|
|
915
|
-
contents = de_ListEntitiesDetectionV2JobsResponse(data, context);
|
|
916
|
-
const response = {
|
|
917
|
-
$metadata: deserializeMetadata(output),
|
|
918
|
-
...contents
|
|
919
|
-
};
|
|
920
|
-
return response;
|
|
921
|
-
}, "de_ListEntitiesDetectionV2JobsCommand");
|
|
922
|
-
var de_ListICD10CMInferenceJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
923
|
-
if (output.statusCode >= 300) {
|
|
924
|
-
return de_CommandError(output, context);
|
|
925
|
-
}
|
|
926
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
927
|
-
let contents = {};
|
|
928
|
-
contents = de_ListICD10CMInferenceJobsResponse(data, context);
|
|
929
|
-
const response = {
|
|
930
|
-
$metadata: deserializeMetadata(output),
|
|
931
|
-
...contents
|
|
932
|
-
};
|
|
933
|
-
return response;
|
|
934
|
-
}, "de_ListICD10CMInferenceJobsCommand");
|
|
935
|
-
var de_ListPHIDetectionJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
936
|
-
if (output.statusCode >= 300) {
|
|
937
|
-
return de_CommandError(output, context);
|
|
938
|
-
}
|
|
939
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
940
|
-
let contents = {};
|
|
941
|
-
contents = de_ListPHIDetectionJobsResponse(data, context);
|
|
942
|
-
const response = {
|
|
943
|
-
$metadata: deserializeMetadata(output),
|
|
944
|
-
...contents
|
|
945
|
-
};
|
|
946
|
-
return response;
|
|
947
|
-
}, "de_ListPHIDetectionJobsCommand");
|
|
948
|
-
var de_ListRxNormInferenceJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
949
|
-
if (output.statusCode >= 300) {
|
|
950
|
-
return de_CommandError(output, context);
|
|
951
|
-
}
|
|
952
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
953
|
-
let contents = {};
|
|
954
|
-
contents = de_ListRxNormInferenceJobsResponse(data, context);
|
|
955
|
-
const response = {
|
|
956
|
-
$metadata: deserializeMetadata(output),
|
|
957
|
-
...contents
|
|
958
|
-
};
|
|
959
|
-
return response;
|
|
960
|
-
}, "de_ListRxNormInferenceJobsCommand");
|
|
961
|
-
var de_ListSNOMEDCTInferenceJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
962
|
-
if (output.statusCode >= 300) {
|
|
963
|
-
return de_CommandError(output, context);
|
|
964
|
-
}
|
|
965
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
966
|
-
let contents = {};
|
|
967
|
-
contents = de_ListSNOMEDCTInferenceJobsResponse(data, context);
|
|
968
|
-
const response = {
|
|
969
|
-
$metadata: deserializeMetadata(output),
|
|
970
|
-
...contents
|
|
971
|
-
};
|
|
972
|
-
return response;
|
|
973
|
-
}, "de_ListSNOMEDCTInferenceJobsCommand");
|
|
974
|
-
var de_StartEntitiesDetectionV2JobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
975
|
-
if (output.statusCode >= 300) {
|
|
976
|
-
return de_CommandError(output, context);
|
|
977
|
-
}
|
|
978
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
979
|
-
let contents = {};
|
|
980
|
-
contents = (0, import_smithy_client._json)(data);
|
|
981
|
-
const response = {
|
|
982
|
-
$metadata: deserializeMetadata(output),
|
|
983
|
-
...contents
|
|
984
|
-
};
|
|
985
|
-
return response;
|
|
986
|
-
}, "de_StartEntitiesDetectionV2JobCommand");
|
|
987
|
-
var de_StartICD10CMInferenceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
988
|
-
if (output.statusCode >= 300) {
|
|
989
|
-
return de_CommandError(output, context);
|
|
990
|
-
}
|
|
991
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
992
|
-
let contents = {};
|
|
993
|
-
contents = (0, import_smithy_client._json)(data);
|
|
994
|
-
const response = {
|
|
995
|
-
$metadata: deserializeMetadata(output),
|
|
996
|
-
...contents
|
|
997
|
-
};
|
|
998
|
-
return response;
|
|
999
|
-
}, "de_StartICD10CMInferenceJobCommand");
|
|
1000
|
-
var de_StartPHIDetectionJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1001
|
-
if (output.statusCode >= 300) {
|
|
1002
|
-
return de_CommandError(output, context);
|
|
1003
|
-
}
|
|
1004
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1005
|
-
let contents = {};
|
|
1006
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1007
|
-
const response = {
|
|
1008
|
-
$metadata: deserializeMetadata(output),
|
|
1009
|
-
...contents
|
|
1010
|
-
};
|
|
1011
|
-
return response;
|
|
1012
|
-
}, "de_StartPHIDetectionJobCommand");
|
|
1013
|
-
var de_StartRxNormInferenceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1014
|
-
if (output.statusCode >= 300) {
|
|
1015
|
-
return de_CommandError(output, context);
|
|
1016
|
-
}
|
|
1017
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1018
|
-
let contents = {};
|
|
1019
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1020
|
-
const response = {
|
|
1021
|
-
$metadata: deserializeMetadata(output),
|
|
1022
|
-
...contents
|
|
1023
|
-
};
|
|
1024
|
-
return response;
|
|
1025
|
-
}, "de_StartRxNormInferenceJobCommand");
|
|
1026
|
-
var de_StartSNOMEDCTInferenceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1027
|
-
if (output.statusCode >= 300) {
|
|
1028
|
-
return de_CommandError(output, context);
|
|
1029
|
-
}
|
|
1030
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1031
|
-
let contents = {};
|
|
1032
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1033
|
-
const response = {
|
|
1034
|
-
$metadata: deserializeMetadata(output),
|
|
1035
|
-
...contents
|
|
1036
|
-
};
|
|
1037
|
-
return response;
|
|
1038
|
-
}, "de_StartSNOMEDCTInferenceJobCommand");
|
|
1039
|
-
var de_StopEntitiesDetectionV2JobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1040
|
-
if (output.statusCode >= 300) {
|
|
1041
|
-
return de_CommandError(output, context);
|
|
1042
|
-
}
|
|
1043
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1044
|
-
let contents = {};
|
|
1045
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1046
|
-
const response = {
|
|
1047
|
-
$metadata: deserializeMetadata(output),
|
|
1048
|
-
...contents
|
|
1049
|
-
};
|
|
1050
|
-
return response;
|
|
1051
|
-
}, "de_StopEntitiesDetectionV2JobCommand");
|
|
1052
|
-
var de_StopICD10CMInferenceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1053
|
-
if (output.statusCode >= 300) {
|
|
1054
|
-
return de_CommandError(output, context);
|
|
1055
|
-
}
|
|
1056
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1057
|
-
let contents = {};
|
|
1058
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1059
|
-
const response = {
|
|
1060
|
-
$metadata: deserializeMetadata(output),
|
|
1061
|
-
...contents
|
|
1062
|
-
};
|
|
1063
|
-
return response;
|
|
1064
|
-
}, "de_StopICD10CMInferenceJobCommand");
|
|
1065
|
-
var de_StopPHIDetectionJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1066
|
-
if (output.statusCode >= 300) {
|
|
1067
|
-
return de_CommandError(output, context);
|
|
1068
|
-
}
|
|
1069
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1070
|
-
let contents = {};
|
|
1071
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1072
|
-
const response = {
|
|
1073
|
-
$metadata: deserializeMetadata(output),
|
|
1074
|
-
...contents
|
|
1075
|
-
};
|
|
1076
|
-
return response;
|
|
1077
|
-
}, "de_StopPHIDetectionJobCommand");
|
|
1078
|
-
var de_StopRxNormInferenceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1079
|
-
if (output.statusCode >= 300) {
|
|
1080
|
-
return de_CommandError(output, context);
|
|
1081
|
-
}
|
|
1082
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1083
|
-
let contents = {};
|
|
1084
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1085
|
-
const response = {
|
|
1086
|
-
$metadata: deserializeMetadata(output),
|
|
1087
|
-
...contents
|
|
1088
|
-
};
|
|
1089
|
-
return response;
|
|
1090
|
-
}, "de_StopRxNormInferenceJobCommand");
|
|
1091
|
-
var de_StopSNOMEDCTInferenceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1092
|
-
if (output.statusCode >= 300) {
|
|
1093
|
-
return de_CommandError(output, context);
|
|
1094
|
-
}
|
|
1095
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1096
|
-
let contents = {};
|
|
1097
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1098
|
-
const response = {
|
|
1099
|
-
$metadata: deserializeMetadata(output),
|
|
1100
|
-
...contents
|
|
1101
|
-
};
|
|
1102
|
-
return response;
|
|
1103
|
-
}, "de_StopSNOMEDCTInferenceJobCommand");
|
|
1104
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1105
|
-
const parsedOutput = {
|
|
1106
|
-
...output,
|
|
1107
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1108
|
-
};
|
|
1109
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1110
|
-
switch (errorCode) {
|
|
1111
|
-
case "InternalServerException":
|
|
1112
|
-
case "com.amazonaws.comprehendmedical#InternalServerException":
|
|
1113
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1114
|
-
case "InvalidRequestException":
|
|
1115
|
-
case "com.amazonaws.comprehendmedical#InvalidRequestException":
|
|
1116
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1117
|
-
case "ResourceNotFoundException":
|
|
1118
|
-
case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
|
|
1119
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1120
|
-
case "TooManyRequestsException":
|
|
1121
|
-
case "com.amazonaws.comprehendmedical#TooManyRequestsException":
|
|
1122
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1123
|
-
case "InvalidEncodingException":
|
|
1124
|
-
case "com.amazonaws.comprehendmedical#InvalidEncodingException":
|
|
1125
|
-
throw await de_InvalidEncodingExceptionRes(parsedOutput, context);
|
|
1126
|
-
case "ServiceUnavailableException":
|
|
1127
|
-
case "com.amazonaws.comprehendmedical#ServiceUnavailableException":
|
|
1128
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1129
|
-
case "TextSizeLimitExceededException":
|
|
1130
|
-
case "com.amazonaws.comprehendmedical#TextSizeLimitExceededException":
|
|
1131
|
-
throw await de_TextSizeLimitExceededExceptionRes(parsedOutput, context);
|
|
1132
|
-
case "ValidationException":
|
|
1133
|
-
case "com.amazonaws.comprehendmedical#ValidationException":
|
|
1134
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1135
|
-
default:
|
|
1136
|
-
const parsedBody = parsedOutput.body;
|
|
1137
|
-
return throwDefaultError({
|
|
1138
|
-
output,
|
|
1139
|
-
parsedBody,
|
|
1140
|
-
errorCode
|
|
1141
|
-
});
|
|
1142
|
-
}
|
|
1143
|
-
}, "de_CommandError");
|
|
1144
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1145
|
-
const body = parsedOutput.body;
|
|
1146
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1147
|
-
const exception = new InternalServerException({
|
|
1148
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1149
|
-
...deserialized
|
|
1150
|
-
});
|
|
1151
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1152
|
-
}, "de_InternalServerExceptionRes");
|
|
1153
|
-
var de_InvalidEncodingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1154
|
-
const body = parsedOutput.body;
|
|
1155
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1156
|
-
const exception = new InvalidEncodingException({
|
|
1157
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1158
|
-
...deserialized
|
|
1159
|
-
});
|
|
1160
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1161
|
-
}, "de_InvalidEncodingExceptionRes");
|
|
1162
|
-
var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1163
|
-
const body = parsedOutput.body;
|
|
1164
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1165
|
-
const exception = new InvalidRequestException({
|
|
1166
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1167
|
-
...deserialized
|
|
1168
|
-
});
|
|
1169
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1170
|
-
}, "de_InvalidRequestExceptionRes");
|
|
1171
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1172
|
-
const body = parsedOutput.body;
|
|
1173
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1174
|
-
const exception = new ResourceNotFoundException({
|
|
1175
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1176
|
-
...deserialized
|
|
1177
|
-
});
|
|
1178
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1179
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1180
|
-
var de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1181
|
-
const body = parsedOutput.body;
|
|
1182
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1183
|
-
const exception = new ServiceUnavailableException({
|
|
1184
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1185
|
-
...deserialized
|
|
1186
|
-
});
|
|
1187
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1188
|
-
}, "de_ServiceUnavailableExceptionRes");
|
|
1189
|
-
var de_TextSizeLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1190
|
-
const body = parsedOutput.body;
|
|
1191
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1192
|
-
const exception = new TextSizeLimitExceededException({
|
|
1193
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1194
|
-
...deserialized
|
|
1195
|
-
});
|
|
1196
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1197
|
-
}, "de_TextSizeLimitExceededExceptionRes");
|
|
1198
|
-
var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1199
|
-
const body = parsedOutput.body;
|
|
1200
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1201
|
-
const exception = new TooManyRequestsException({
|
|
1202
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1203
|
-
...deserialized
|
|
1204
|
-
});
|
|
1205
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1206
|
-
}, "de_TooManyRequestsExceptionRes");
|
|
1207
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1208
|
-
const body = parsedOutput.body;
|
|
1209
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1210
|
-
const exception = new ValidationException({
|
|
1211
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1212
|
-
...deserialized
|
|
1213
|
-
});
|
|
1214
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1215
|
-
}, "de_ValidationExceptionRes");
|
|
1216
|
-
var se_ComprehendMedicalAsyncJobFilter = /* @__PURE__ */ __name((input, context) => {
|
|
1217
|
-
return (0, import_smithy_client.take)(input, {
|
|
1218
|
-
JobName: [],
|
|
1219
|
-
JobStatus: [],
|
|
1220
|
-
SubmitTimeAfter: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "SubmitTimeAfter"),
|
|
1221
|
-
SubmitTimeBefore: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "SubmitTimeBefore")
|
|
1222
|
-
});
|
|
1223
|
-
}, "se_ComprehendMedicalAsyncJobFilter");
|
|
1224
|
-
var se_ListEntitiesDetectionV2JobsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1225
|
-
return (0, import_smithy_client.take)(input, {
|
|
1226
|
-
Filter: /* @__PURE__ */ __name((_) => se_ComprehendMedicalAsyncJobFilter(_, context), "Filter"),
|
|
1227
|
-
MaxResults: [],
|
|
1228
|
-
NextToken: []
|
|
1229
|
-
});
|
|
1230
|
-
}, "se_ListEntitiesDetectionV2JobsRequest");
|
|
1231
|
-
var se_ListICD10CMInferenceJobsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1232
|
-
return (0, import_smithy_client.take)(input, {
|
|
1233
|
-
Filter: /* @__PURE__ */ __name((_) => se_ComprehendMedicalAsyncJobFilter(_, context), "Filter"),
|
|
1234
|
-
MaxResults: [],
|
|
1235
|
-
NextToken: []
|
|
1236
|
-
});
|
|
1237
|
-
}, "se_ListICD10CMInferenceJobsRequest");
|
|
1238
|
-
var se_ListPHIDetectionJobsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1239
|
-
return (0, import_smithy_client.take)(input, {
|
|
1240
|
-
Filter: /* @__PURE__ */ __name((_) => se_ComprehendMedicalAsyncJobFilter(_, context), "Filter"),
|
|
1241
|
-
MaxResults: [],
|
|
1242
|
-
NextToken: []
|
|
1243
|
-
});
|
|
1244
|
-
}, "se_ListPHIDetectionJobsRequest");
|
|
1245
|
-
var se_ListRxNormInferenceJobsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1246
|
-
return (0, import_smithy_client.take)(input, {
|
|
1247
|
-
Filter: /* @__PURE__ */ __name((_) => se_ComprehendMedicalAsyncJobFilter(_, context), "Filter"),
|
|
1248
|
-
MaxResults: [],
|
|
1249
|
-
NextToken: []
|
|
1250
|
-
});
|
|
1251
|
-
}, "se_ListRxNormInferenceJobsRequest");
|
|
1252
|
-
var se_ListSNOMEDCTInferenceJobsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1253
|
-
return (0, import_smithy_client.take)(input, {
|
|
1254
|
-
Filter: /* @__PURE__ */ __name((_) => se_ComprehendMedicalAsyncJobFilter(_, context), "Filter"),
|
|
1255
|
-
MaxResults: [],
|
|
1256
|
-
NextToken: []
|
|
1257
|
-
});
|
|
1258
|
-
}, "se_ListSNOMEDCTInferenceJobsRequest");
|
|
1259
|
-
var se_StartEntitiesDetectionV2JobRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1260
|
-
return (0, import_smithy_client.take)(input, {
|
|
1261
|
-
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1262
|
-
DataAccessRoleArn: [],
|
|
1263
|
-
InputDataConfig: import_smithy_client._json,
|
|
1264
|
-
JobName: [],
|
|
1265
|
-
KMSKey: [],
|
|
1266
|
-
LanguageCode: [],
|
|
1267
|
-
OutputDataConfig: import_smithy_client._json
|
|
1268
|
-
});
|
|
1269
|
-
}, "se_StartEntitiesDetectionV2JobRequest");
|
|
1270
|
-
var se_StartICD10CMInferenceJobRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1271
|
-
return (0, import_smithy_client.take)(input, {
|
|
1272
|
-
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1273
|
-
DataAccessRoleArn: [],
|
|
1274
|
-
InputDataConfig: import_smithy_client._json,
|
|
1275
|
-
JobName: [],
|
|
1276
|
-
KMSKey: [],
|
|
1277
|
-
LanguageCode: [],
|
|
1278
|
-
OutputDataConfig: import_smithy_client._json
|
|
1279
|
-
});
|
|
1280
|
-
}, "se_StartICD10CMInferenceJobRequest");
|
|
1281
|
-
var se_StartPHIDetectionJobRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1282
|
-
return (0, import_smithy_client.take)(input, {
|
|
1283
|
-
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1284
|
-
DataAccessRoleArn: [],
|
|
1285
|
-
InputDataConfig: import_smithy_client._json,
|
|
1286
|
-
JobName: [],
|
|
1287
|
-
KMSKey: [],
|
|
1288
|
-
LanguageCode: [],
|
|
1289
|
-
OutputDataConfig: import_smithy_client._json
|
|
1290
|
-
});
|
|
1291
|
-
}, "se_StartPHIDetectionJobRequest");
|
|
1292
|
-
var se_StartRxNormInferenceJobRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1293
|
-
return (0, import_smithy_client.take)(input, {
|
|
1294
|
-
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1295
|
-
DataAccessRoleArn: [],
|
|
1296
|
-
InputDataConfig: import_smithy_client._json,
|
|
1297
|
-
JobName: [],
|
|
1298
|
-
KMSKey: [],
|
|
1299
|
-
LanguageCode: [],
|
|
1300
|
-
OutputDataConfig: import_smithy_client._json
|
|
1301
|
-
});
|
|
1302
|
-
}, "se_StartRxNormInferenceJobRequest");
|
|
1303
|
-
var se_StartSNOMEDCTInferenceJobRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1304
|
-
return (0, import_smithy_client.take)(input, {
|
|
1305
|
-
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1306
|
-
DataAccessRoleArn: [],
|
|
1307
|
-
InputDataConfig: import_smithy_client._json,
|
|
1308
|
-
JobName: [],
|
|
1309
|
-
KMSKey: [],
|
|
1310
|
-
LanguageCode: [],
|
|
1311
|
-
OutputDataConfig: import_smithy_client._json
|
|
1312
|
-
});
|
|
1313
|
-
}, "se_StartSNOMEDCTInferenceJobRequest");
|
|
1314
|
-
var de_Attribute = /* @__PURE__ */ __name((output, context) => {
|
|
1315
|
-
return (0, import_smithy_client.take)(output, {
|
|
1316
|
-
BeginOffset: import_smithy_client.expectInt32,
|
|
1317
|
-
Category: import_smithy_client.expectString,
|
|
1318
|
-
EndOffset: import_smithy_client.expectInt32,
|
|
1319
|
-
Id: import_smithy_client.expectInt32,
|
|
1320
|
-
RelationshipScore: import_smithy_client.limitedParseFloat32,
|
|
1321
|
-
RelationshipType: import_smithy_client.expectString,
|
|
1322
|
-
Score: import_smithy_client.limitedParseFloat32,
|
|
1323
|
-
Text: import_smithy_client.expectString,
|
|
1324
|
-
Traits: /* @__PURE__ */ __name((_) => de_TraitList(_, context), "Traits"),
|
|
1325
|
-
Type: import_smithy_client.expectString
|
|
1326
|
-
});
|
|
1327
|
-
}, "de_Attribute");
|
|
1328
|
-
var de_AttributeList = /* @__PURE__ */ __name((output, context) => {
|
|
1329
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1330
|
-
return de_Attribute(entry, context);
|
|
1331
|
-
});
|
|
1332
|
-
return retVal;
|
|
1333
|
-
}, "de_AttributeList");
|
|
1334
|
-
var de_ComprehendMedicalAsyncJobProperties = /* @__PURE__ */ __name((output, context) => {
|
|
1335
|
-
return (0, import_smithy_client.take)(output, {
|
|
1336
|
-
DataAccessRoleArn: import_smithy_client.expectString,
|
|
1337
|
-
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
1338
|
-
ExpirationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ExpirationTime"),
|
|
1339
|
-
InputDataConfig: import_smithy_client._json,
|
|
1340
|
-
JobId: import_smithy_client.expectString,
|
|
1341
|
-
JobName: import_smithy_client.expectString,
|
|
1342
|
-
JobStatus: import_smithy_client.expectString,
|
|
1343
|
-
KMSKey: import_smithy_client.expectString,
|
|
1344
|
-
LanguageCode: import_smithy_client.expectString,
|
|
1345
|
-
ManifestFilePath: import_smithy_client.expectString,
|
|
1346
|
-
Message: import_smithy_client.expectString,
|
|
1347
|
-
ModelVersion: import_smithy_client.expectString,
|
|
1348
|
-
OutputDataConfig: import_smithy_client._json,
|
|
1349
|
-
SubmitTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "SubmitTime")
|
|
1350
|
-
});
|
|
1351
|
-
}, "de_ComprehendMedicalAsyncJobProperties");
|
|
1352
|
-
var de_ComprehendMedicalAsyncJobPropertiesList = /* @__PURE__ */ __name((output, context) => {
|
|
1353
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1354
|
-
return de_ComprehendMedicalAsyncJobProperties(entry, context);
|
|
1355
|
-
});
|
|
1356
|
-
return retVal;
|
|
1357
|
-
}, "de_ComprehendMedicalAsyncJobPropertiesList");
|
|
1358
|
-
var de_DescribeEntitiesDetectionV2JobResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1359
|
-
return (0, import_smithy_client.take)(output, {
|
|
1360
|
-
ComprehendMedicalAsyncJobProperties: /* @__PURE__ */ __name((_) => de_ComprehendMedicalAsyncJobProperties(_, context), "ComprehendMedicalAsyncJobProperties")
|
|
1361
|
-
});
|
|
1362
|
-
}, "de_DescribeEntitiesDetectionV2JobResponse");
|
|
1363
|
-
var de_DescribeICD10CMInferenceJobResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1364
|
-
return (0, import_smithy_client.take)(output, {
|
|
1365
|
-
ComprehendMedicalAsyncJobProperties: /* @__PURE__ */ __name((_) => de_ComprehendMedicalAsyncJobProperties(_, context), "ComprehendMedicalAsyncJobProperties")
|
|
1366
|
-
});
|
|
1367
|
-
}, "de_DescribeICD10CMInferenceJobResponse");
|
|
1368
|
-
var de_DescribePHIDetectionJobResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1369
|
-
return (0, import_smithy_client.take)(output, {
|
|
1370
|
-
ComprehendMedicalAsyncJobProperties: /* @__PURE__ */ __name((_) => de_ComprehendMedicalAsyncJobProperties(_, context), "ComprehendMedicalAsyncJobProperties")
|
|
1371
|
-
});
|
|
1372
|
-
}, "de_DescribePHIDetectionJobResponse");
|
|
1373
|
-
var de_DescribeRxNormInferenceJobResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1374
|
-
return (0, import_smithy_client.take)(output, {
|
|
1375
|
-
ComprehendMedicalAsyncJobProperties: /* @__PURE__ */ __name((_) => de_ComprehendMedicalAsyncJobProperties(_, context), "ComprehendMedicalAsyncJobProperties")
|
|
1376
|
-
});
|
|
1377
|
-
}, "de_DescribeRxNormInferenceJobResponse");
|
|
1378
|
-
var de_DescribeSNOMEDCTInferenceJobResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1379
|
-
return (0, import_smithy_client.take)(output, {
|
|
1380
|
-
ComprehendMedicalAsyncJobProperties: /* @__PURE__ */ __name((_) => de_ComprehendMedicalAsyncJobProperties(_, context), "ComprehendMedicalAsyncJobProperties")
|
|
1381
|
-
});
|
|
1382
|
-
}, "de_DescribeSNOMEDCTInferenceJobResponse");
|
|
1383
|
-
var de_DetectEntitiesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1384
|
-
return (0, import_smithy_client.take)(output, {
|
|
1385
|
-
Entities: /* @__PURE__ */ __name((_) => de_EntityList(_, context), "Entities"),
|
|
1386
|
-
ModelVersion: import_smithy_client.expectString,
|
|
1387
|
-
PaginationToken: import_smithy_client.expectString,
|
|
1388
|
-
UnmappedAttributes: /* @__PURE__ */ __name((_) => de_UnmappedAttributeList(_, context), "UnmappedAttributes")
|
|
1389
|
-
});
|
|
1390
|
-
}, "de_DetectEntitiesResponse");
|
|
1391
|
-
var de_DetectEntitiesV2Response = /* @__PURE__ */ __name((output, context) => {
|
|
1392
|
-
return (0, import_smithy_client.take)(output, {
|
|
1393
|
-
Entities: /* @__PURE__ */ __name((_) => de_EntityList(_, context), "Entities"),
|
|
1394
|
-
ModelVersion: import_smithy_client.expectString,
|
|
1395
|
-
PaginationToken: import_smithy_client.expectString,
|
|
1396
|
-
UnmappedAttributes: /* @__PURE__ */ __name((_) => de_UnmappedAttributeList(_, context), "UnmappedAttributes")
|
|
1397
|
-
});
|
|
1398
|
-
}, "de_DetectEntitiesV2Response");
|
|
1399
|
-
var de_DetectPHIResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1400
|
-
return (0, import_smithy_client.take)(output, {
|
|
1401
|
-
Entities: /* @__PURE__ */ __name((_) => de_EntityList(_, context), "Entities"),
|
|
1402
|
-
ModelVersion: import_smithy_client.expectString,
|
|
1403
|
-
PaginationToken: import_smithy_client.expectString
|
|
1404
|
-
});
|
|
1405
|
-
}, "de_DetectPHIResponse");
|
|
1406
|
-
var de_Entity = /* @__PURE__ */ __name((output, context) => {
|
|
1407
|
-
return (0, import_smithy_client.take)(output, {
|
|
1408
|
-
Attributes: /* @__PURE__ */ __name((_) => de_AttributeList(_, context), "Attributes"),
|
|
1409
|
-
BeginOffset: import_smithy_client.expectInt32,
|
|
1410
|
-
Category: import_smithy_client.expectString,
|
|
1411
|
-
EndOffset: import_smithy_client.expectInt32,
|
|
1412
|
-
Id: import_smithy_client.expectInt32,
|
|
1413
|
-
Score: import_smithy_client.limitedParseFloat32,
|
|
1414
|
-
Text: import_smithy_client.expectString,
|
|
1415
|
-
Traits: /* @__PURE__ */ __name((_) => de_TraitList(_, context), "Traits"),
|
|
1416
|
-
Type: import_smithy_client.expectString
|
|
1417
|
-
});
|
|
1418
|
-
}, "de_Entity");
|
|
1419
|
-
var de_EntityList = /* @__PURE__ */ __name((output, context) => {
|
|
1420
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1421
|
-
return de_Entity(entry, context);
|
|
1422
|
-
});
|
|
1423
|
-
return retVal;
|
|
1424
|
-
}, "de_EntityList");
|
|
1425
|
-
var de_ICD10CMAttribute = /* @__PURE__ */ __name((output, context) => {
|
|
1426
|
-
return (0, import_smithy_client.take)(output, {
|
|
1427
|
-
BeginOffset: import_smithy_client.expectInt32,
|
|
1428
|
-
Category: import_smithy_client.expectString,
|
|
1429
|
-
EndOffset: import_smithy_client.expectInt32,
|
|
1430
|
-
Id: import_smithy_client.expectInt32,
|
|
1431
|
-
RelationshipScore: import_smithy_client.limitedParseFloat32,
|
|
1432
|
-
RelationshipType: import_smithy_client.expectString,
|
|
1433
|
-
Score: import_smithy_client.limitedParseFloat32,
|
|
1434
|
-
Text: import_smithy_client.expectString,
|
|
1435
|
-
Traits: /* @__PURE__ */ __name((_) => de_ICD10CMTraitList(_, context), "Traits"),
|
|
1436
|
-
Type: import_smithy_client.expectString
|
|
1437
|
-
});
|
|
1438
|
-
}, "de_ICD10CMAttribute");
|
|
1439
|
-
var de_ICD10CMAttributeList = /* @__PURE__ */ __name((output, context) => {
|
|
1440
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1441
|
-
return de_ICD10CMAttribute(entry, context);
|
|
1442
|
-
});
|
|
1443
|
-
return retVal;
|
|
1444
|
-
}, "de_ICD10CMAttributeList");
|
|
1445
|
-
var de_ICD10CMConcept = /* @__PURE__ */ __name((output, context) => {
|
|
1446
|
-
return (0, import_smithy_client.take)(output, {
|
|
1447
|
-
Code: import_smithy_client.expectString,
|
|
1448
|
-
Description: import_smithy_client.expectString,
|
|
1449
|
-
Score: import_smithy_client.limitedParseFloat32
|
|
1450
|
-
});
|
|
1451
|
-
}, "de_ICD10CMConcept");
|
|
1452
|
-
var de_ICD10CMConceptList = /* @__PURE__ */ __name((output, context) => {
|
|
1453
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1454
|
-
return de_ICD10CMConcept(entry, context);
|
|
1455
|
-
});
|
|
1456
|
-
return retVal;
|
|
1457
|
-
}, "de_ICD10CMConceptList");
|
|
1458
|
-
var de_ICD10CMEntity = /* @__PURE__ */ __name((output, context) => {
|
|
1459
|
-
return (0, import_smithy_client.take)(output, {
|
|
1460
|
-
Attributes: /* @__PURE__ */ __name((_) => de_ICD10CMAttributeList(_, context), "Attributes"),
|
|
1461
|
-
BeginOffset: import_smithy_client.expectInt32,
|
|
1462
|
-
Category: import_smithy_client.expectString,
|
|
1463
|
-
EndOffset: import_smithy_client.expectInt32,
|
|
1464
|
-
ICD10CMConcepts: /* @__PURE__ */ __name((_) => de_ICD10CMConceptList(_, context), "ICD10CMConcepts"),
|
|
1465
|
-
Id: import_smithy_client.expectInt32,
|
|
1466
|
-
Score: import_smithy_client.limitedParseFloat32,
|
|
1467
|
-
Text: import_smithy_client.expectString,
|
|
1468
|
-
Traits: /* @__PURE__ */ __name((_) => de_ICD10CMTraitList(_, context), "Traits"),
|
|
1469
|
-
Type: import_smithy_client.expectString
|
|
1470
|
-
});
|
|
1471
|
-
}, "de_ICD10CMEntity");
|
|
1472
|
-
var de_ICD10CMEntityList = /* @__PURE__ */ __name((output, context) => {
|
|
1473
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1474
|
-
return de_ICD10CMEntity(entry, context);
|
|
1475
|
-
});
|
|
1476
|
-
return retVal;
|
|
1477
|
-
}, "de_ICD10CMEntityList");
|
|
1478
|
-
var de_ICD10CMTrait = /* @__PURE__ */ __name((output, context) => {
|
|
1479
|
-
return (0, import_smithy_client.take)(output, {
|
|
1480
|
-
Name: import_smithy_client.expectString,
|
|
1481
|
-
Score: import_smithy_client.limitedParseFloat32
|
|
1482
|
-
});
|
|
1483
|
-
}, "de_ICD10CMTrait");
|
|
1484
|
-
var de_ICD10CMTraitList = /* @__PURE__ */ __name((output, context) => {
|
|
1485
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1486
|
-
return de_ICD10CMTrait(entry, context);
|
|
1487
|
-
});
|
|
1488
|
-
return retVal;
|
|
1489
|
-
}, "de_ICD10CMTraitList");
|
|
1490
|
-
var de_InferICD10CMResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1491
|
-
return (0, import_smithy_client.take)(output, {
|
|
1492
|
-
Entities: /* @__PURE__ */ __name((_) => de_ICD10CMEntityList(_, context), "Entities"),
|
|
1493
|
-
ModelVersion: import_smithy_client.expectString,
|
|
1494
|
-
PaginationToken: import_smithy_client.expectString
|
|
1495
|
-
});
|
|
1496
|
-
}, "de_InferICD10CMResponse");
|
|
1497
|
-
var de_InferRxNormResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1498
|
-
return (0, import_smithy_client.take)(output, {
|
|
1499
|
-
Entities: /* @__PURE__ */ __name((_) => de_RxNormEntityList(_, context), "Entities"),
|
|
1500
|
-
ModelVersion: import_smithy_client.expectString,
|
|
1501
|
-
PaginationToken: import_smithy_client.expectString
|
|
1502
|
-
});
|
|
1503
|
-
}, "de_InferRxNormResponse");
|
|
1504
|
-
var de_InferSNOMEDCTResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1505
|
-
return (0, import_smithy_client.take)(output, {
|
|
1506
|
-
Characters: import_smithy_client._json,
|
|
1507
|
-
Entities: /* @__PURE__ */ __name((_) => de_SNOMEDCTEntityList(_, context), "Entities"),
|
|
1508
|
-
ModelVersion: import_smithy_client.expectString,
|
|
1509
|
-
PaginationToken: import_smithy_client.expectString,
|
|
1510
|
-
SNOMEDCTDetails: import_smithy_client._json
|
|
1511
|
-
});
|
|
1512
|
-
}, "de_InferSNOMEDCTResponse");
|
|
1513
|
-
var de_ListEntitiesDetectionV2JobsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1514
|
-
return (0, import_smithy_client.take)(output, {
|
|
1515
|
-
ComprehendMedicalAsyncJobPropertiesList: /* @__PURE__ */ __name((_) => de_ComprehendMedicalAsyncJobPropertiesList(_, context), "ComprehendMedicalAsyncJobPropertiesList"),
|
|
1516
|
-
NextToken: import_smithy_client.expectString
|
|
1517
|
-
});
|
|
1518
|
-
}, "de_ListEntitiesDetectionV2JobsResponse");
|
|
1519
|
-
var de_ListICD10CMInferenceJobsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1520
|
-
return (0, import_smithy_client.take)(output, {
|
|
1521
|
-
ComprehendMedicalAsyncJobPropertiesList: /* @__PURE__ */ __name((_) => de_ComprehendMedicalAsyncJobPropertiesList(_, context), "ComprehendMedicalAsyncJobPropertiesList"),
|
|
1522
|
-
NextToken: import_smithy_client.expectString
|
|
1523
|
-
});
|
|
1524
|
-
}, "de_ListICD10CMInferenceJobsResponse");
|
|
1525
|
-
var de_ListPHIDetectionJobsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1526
|
-
return (0, import_smithy_client.take)(output, {
|
|
1527
|
-
ComprehendMedicalAsyncJobPropertiesList: /* @__PURE__ */ __name((_) => de_ComprehendMedicalAsyncJobPropertiesList(_, context), "ComprehendMedicalAsyncJobPropertiesList"),
|
|
1528
|
-
NextToken: import_smithy_client.expectString
|
|
1529
|
-
});
|
|
1530
|
-
}, "de_ListPHIDetectionJobsResponse");
|
|
1531
|
-
var de_ListRxNormInferenceJobsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1532
|
-
return (0, import_smithy_client.take)(output, {
|
|
1533
|
-
ComprehendMedicalAsyncJobPropertiesList: /* @__PURE__ */ __name((_) => de_ComprehendMedicalAsyncJobPropertiesList(_, context), "ComprehendMedicalAsyncJobPropertiesList"),
|
|
1534
|
-
NextToken: import_smithy_client.expectString
|
|
1535
|
-
});
|
|
1536
|
-
}, "de_ListRxNormInferenceJobsResponse");
|
|
1537
|
-
var de_ListSNOMEDCTInferenceJobsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1538
|
-
return (0, import_smithy_client.take)(output, {
|
|
1539
|
-
ComprehendMedicalAsyncJobPropertiesList: /* @__PURE__ */ __name((_) => de_ComprehendMedicalAsyncJobPropertiesList(_, context), "ComprehendMedicalAsyncJobPropertiesList"),
|
|
1540
|
-
NextToken: import_smithy_client.expectString
|
|
1541
|
-
});
|
|
1542
|
-
}, "de_ListSNOMEDCTInferenceJobsResponse");
|
|
1543
|
-
var de_RxNormAttribute = /* @__PURE__ */ __name((output, context) => {
|
|
1544
|
-
return (0, import_smithy_client.take)(output, {
|
|
1545
|
-
BeginOffset: import_smithy_client.expectInt32,
|
|
1546
|
-
EndOffset: import_smithy_client.expectInt32,
|
|
1547
|
-
Id: import_smithy_client.expectInt32,
|
|
1548
|
-
RelationshipScore: import_smithy_client.limitedParseFloat32,
|
|
1549
|
-
Score: import_smithy_client.limitedParseFloat32,
|
|
1550
|
-
Text: import_smithy_client.expectString,
|
|
1551
|
-
Traits: /* @__PURE__ */ __name((_) => de_RxNormTraitList(_, context), "Traits"),
|
|
1552
|
-
Type: import_smithy_client.expectString
|
|
1553
|
-
});
|
|
1554
|
-
}, "de_RxNormAttribute");
|
|
1555
|
-
var de_RxNormAttributeList = /* @__PURE__ */ __name((output, context) => {
|
|
1556
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1557
|
-
return de_RxNormAttribute(entry, context);
|
|
1558
|
-
});
|
|
1559
|
-
return retVal;
|
|
1560
|
-
}, "de_RxNormAttributeList");
|
|
1561
|
-
var de_RxNormConcept = /* @__PURE__ */ __name((output, context) => {
|
|
1562
|
-
return (0, import_smithy_client.take)(output, {
|
|
1563
|
-
Code: import_smithy_client.expectString,
|
|
1564
|
-
Description: import_smithy_client.expectString,
|
|
1565
|
-
Score: import_smithy_client.limitedParseFloat32
|
|
1566
|
-
});
|
|
1567
|
-
}, "de_RxNormConcept");
|
|
1568
|
-
var de_RxNormConceptList = /* @__PURE__ */ __name((output, context) => {
|
|
1569
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1570
|
-
return de_RxNormConcept(entry, context);
|
|
1571
|
-
});
|
|
1572
|
-
return retVal;
|
|
1573
|
-
}, "de_RxNormConceptList");
|
|
1574
|
-
var de_RxNormEntity = /* @__PURE__ */ __name((output, context) => {
|
|
1575
|
-
return (0, import_smithy_client.take)(output, {
|
|
1576
|
-
Attributes: /* @__PURE__ */ __name((_) => de_RxNormAttributeList(_, context), "Attributes"),
|
|
1577
|
-
BeginOffset: import_smithy_client.expectInt32,
|
|
1578
|
-
Category: import_smithy_client.expectString,
|
|
1579
|
-
EndOffset: import_smithy_client.expectInt32,
|
|
1580
|
-
Id: import_smithy_client.expectInt32,
|
|
1581
|
-
RxNormConcepts: /* @__PURE__ */ __name((_) => de_RxNormConceptList(_, context), "RxNormConcepts"),
|
|
1582
|
-
Score: import_smithy_client.limitedParseFloat32,
|
|
1583
|
-
Text: import_smithy_client.expectString,
|
|
1584
|
-
Traits: /* @__PURE__ */ __name((_) => de_RxNormTraitList(_, context), "Traits"),
|
|
1585
|
-
Type: import_smithy_client.expectString
|
|
1586
|
-
});
|
|
1587
|
-
}, "de_RxNormEntity");
|
|
1588
|
-
var de_RxNormEntityList = /* @__PURE__ */ __name((output, context) => {
|
|
1589
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1590
|
-
return de_RxNormEntity(entry, context);
|
|
1591
|
-
});
|
|
1592
|
-
return retVal;
|
|
1593
|
-
}, "de_RxNormEntityList");
|
|
1594
|
-
var de_RxNormTrait = /* @__PURE__ */ __name((output, context) => {
|
|
1595
|
-
return (0, import_smithy_client.take)(output, {
|
|
1596
|
-
Name: import_smithy_client.expectString,
|
|
1597
|
-
Score: import_smithy_client.limitedParseFloat32
|
|
1598
|
-
});
|
|
1599
|
-
}, "de_RxNormTrait");
|
|
1600
|
-
var de_RxNormTraitList = /* @__PURE__ */ __name((output, context) => {
|
|
1601
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1602
|
-
return de_RxNormTrait(entry, context);
|
|
1603
|
-
});
|
|
1604
|
-
return retVal;
|
|
1605
|
-
}, "de_RxNormTraitList");
|
|
1606
|
-
var de_SNOMEDCTAttribute = /* @__PURE__ */ __name((output, context) => {
|
|
1607
|
-
return (0, import_smithy_client.take)(output, {
|
|
1608
|
-
BeginOffset: import_smithy_client.expectInt32,
|
|
1609
|
-
Category: import_smithy_client.expectString,
|
|
1610
|
-
EndOffset: import_smithy_client.expectInt32,
|
|
1611
|
-
Id: import_smithy_client.expectInt32,
|
|
1612
|
-
RelationshipScore: import_smithy_client.limitedParseFloat32,
|
|
1613
|
-
RelationshipType: import_smithy_client.expectString,
|
|
1614
|
-
SNOMEDCTConcepts: /* @__PURE__ */ __name((_) => de_SNOMEDCTConceptList(_, context), "SNOMEDCTConcepts"),
|
|
1615
|
-
Score: import_smithy_client.limitedParseFloat32,
|
|
1616
|
-
Text: import_smithy_client.expectString,
|
|
1617
|
-
Traits: /* @__PURE__ */ __name((_) => de_SNOMEDCTTraitList(_, context), "Traits"),
|
|
1618
|
-
Type: import_smithy_client.expectString
|
|
1619
|
-
});
|
|
1620
|
-
}, "de_SNOMEDCTAttribute");
|
|
1621
|
-
var de_SNOMEDCTAttributeList = /* @__PURE__ */ __name((output, context) => {
|
|
1622
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1623
|
-
return de_SNOMEDCTAttribute(entry, context);
|
|
1624
|
-
});
|
|
1625
|
-
return retVal;
|
|
1626
|
-
}, "de_SNOMEDCTAttributeList");
|
|
1627
|
-
var de_SNOMEDCTConcept = /* @__PURE__ */ __name((output, context) => {
|
|
1628
|
-
return (0, import_smithy_client.take)(output, {
|
|
1629
|
-
Code: import_smithy_client.expectString,
|
|
1630
|
-
Description: import_smithy_client.expectString,
|
|
1631
|
-
Score: import_smithy_client.limitedParseFloat32
|
|
1632
|
-
});
|
|
1633
|
-
}, "de_SNOMEDCTConcept");
|
|
1634
|
-
var de_SNOMEDCTConceptList = /* @__PURE__ */ __name((output, context) => {
|
|
1635
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1636
|
-
return de_SNOMEDCTConcept(entry, context);
|
|
1637
|
-
});
|
|
1638
|
-
return retVal;
|
|
1639
|
-
}, "de_SNOMEDCTConceptList");
|
|
1640
|
-
var de_SNOMEDCTEntity = /* @__PURE__ */ __name((output, context) => {
|
|
1641
|
-
return (0, import_smithy_client.take)(output, {
|
|
1642
|
-
Attributes: /* @__PURE__ */ __name((_) => de_SNOMEDCTAttributeList(_, context), "Attributes"),
|
|
1643
|
-
BeginOffset: import_smithy_client.expectInt32,
|
|
1644
|
-
Category: import_smithy_client.expectString,
|
|
1645
|
-
EndOffset: import_smithy_client.expectInt32,
|
|
1646
|
-
Id: import_smithy_client.expectInt32,
|
|
1647
|
-
SNOMEDCTConcepts: /* @__PURE__ */ __name((_) => de_SNOMEDCTConceptList(_, context), "SNOMEDCTConcepts"),
|
|
1648
|
-
Score: import_smithy_client.limitedParseFloat32,
|
|
1649
|
-
Text: import_smithy_client.expectString,
|
|
1650
|
-
Traits: /* @__PURE__ */ __name((_) => de_SNOMEDCTTraitList(_, context), "Traits"),
|
|
1651
|
-
Type: import_smithy_client.expectString
|
|
1652
|
-
});
|
|
1653
|
-
}, "de_SNOMEDCTEntity");
|
|
1654
|
-
var de_SNOMEDCTEntityList = /* @__PURE__ */ __name((output, context) => {
|
|
1655
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1656
|
-
return de_SNOMEDCTEntity(entry, context);
|
|
1657
|
-
});
|
|
1658
|
-
return retVal;
|
|
1659
|
-
}, "de_SNOMEDCTEntityList");
|
|
1660
|
-
var de_SNOMEDCTTrait = /* @__PURE__ */ __name((output, context) => {
|
|
1661
|
-
return (0, import_smithy_client.take)(output, {
|
|
1662
|
-
Name: import_smithy_client.expectString,
|
|
1663
|
-
Score: import_smithy_client.limitedParseFloat32
|
|
1664
|
-
});
|
|
1665
|
-
}, "de_SNOMEDCTTrait");
|
|
1666
|
-
var de_SNOMEDCTTraitList = /* @__PURE__ */ __name((output, context) => {
|
|
1667
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1668
|
-
return de_SNOMEDCTTrait(entry, context);
|
|
1669
|
-
});
|
|
1670
|
-
return retVal;
|
|
1671
|
-
}, "de_SNOMEDCTTraitList");
|
|
1672
|
-
var de_Trait = /* @__PURE__ */ __name((output, context) => {
|
|
1673
|
-
return (0, import_smithy_client.take)(output, {
|
|
1674
|
-
Name: import_smithy_client.expectString,
|
|
1675
|
-
Score: import_smithy_client.limitedParseFloat32
|
|
1676
|
-
});
|
|
1677
|
-
}, "de_Trait");
|
|
1678
|
-
var de_TraitList = /* @__PURE__ */ __name((output, context) => {
|
|
1679
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1680
|
-
return de_Trait(entry, context);
|
|
1681
|
-
});
|
|
1682
|
-
return retVal;
|
|
1683
|
-
}, "de_TraitList");
|
|
1684
|
-
var de_UnmappedAttribute = /* @__PURE__ */ __name((output, context) => {
|
|
1685
|
-
return (0, import_smithy_client.take)(output, {
|
|
1686
|
-
Attribute: /* @__PURE__ */ __name((_) => de_Attribute(_, context), "Attribute"),
|
|
1687
|
-
Type: import_smithy_client.expectString
|
|
1688
|
-
});
|
|
1689
|
-
}, "de_UnmappedAttribute");
|
|
1690
|
-
var de_UnmappedAttributeList = /* @__PURE__ */ __name((output, context) => {
|
|
1691
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1692
|
-
return de_UnmappedAttribute(entry, context);
|
|
1693
|
-
});
|
|
1694
|
-
return retVal;
|
|
1695
|
-
}, "de_UnmappedAttributeList");
|
|
1696
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1697
|
-
httpStatusCode: output.statusCode,
|
|
1698
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1699
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1700
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1701
|
-
}), "deserializeMetadata");
|
|
1702
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(ComprehendMedicalServiceException);
|
|
1703
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1704
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1705
|
-
const contents = {
|
|
1706
|
-
protocol,
|
|
1707
|
-
hostname,
|
|
1708
|
-
port,
|
|
1709
|
-
method: "POST",
|
|
1710
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1711
|
-
headers
|
|
1712
|
-
};
|
|
1713
|
-
if (resolvedHostname !== void 0) {
|
|
1714
|
-
contents.hostname = resolvedHostname;
|
|
1715
|
-
}
|
|
1716
|
-
if (body !== void 0) {
|
|
1717
|
-
contents.body = body;
|
|
1718
|
-
}
|
|
1719
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
1720
|
-
}, "buildHttpRpcRequest");
|
|
1721
|
-
function sharedHeaders(operation) {
|
|
1722
|
-
return {
|
|
1723
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1724
|
-
"x-amz-target": `ComprehendMedical_20181030.${operation}`
|
|
1725
|
-
};
|
|
165
|
+
const EntitySubType = {
|
|
166
|
+
ACUITY: "ACUITY",
|
|
167
|
+
ADDRESS: "ADDRESS",
|
|
168
|
+
AGE: "AGE",
|
|
169
|
+
ALCOHOL_CONSUMPTION: "ALCOHOL_CONSUMPTION",
|
|
170
|
+
ALLERGIES: "ALLERGIES",
|
|
171
|
+
AMOUNT: "AMOUNT",
|
|
172
|
+
BRAND_NAME: "BRAND_NAME",
|
|
173
|
+
CONTACT_POINT: "CONTACT_POINT",
|
|
174
|
+
DATE: "DATE",
|
|
175
|
+
DIRECTION: "DIRECTION",
|
|
176
|
+
DOSAGE: "DOSAGE",
|
|
177
|
+
DURATION: "DURATION",
|
|
178
|
+
DX_NAME: "DX_NAME",
|
|
179
|
+
EMAIL: "EMAIL",
|
|
180
|
+
FORM: "FORM",
|
|
181
|
+
FREQUENCY: "FREQUENCY",
|
|
182
|
+
GENDER: "GENDER",
|
|
183
|
+
GENERIC_NAME: "GENERIC_NAME",
|
|
184
|
+
ID: "ID",
|
|
185
|
+
IDENTIFIER: "IDENTIFIER",
|
|
186
|
+
NAME: "NAME",
|
|
187
|
+
PHONE_OR_FAX: "PHONE_OR_FAX",
|
|
188
|
+
PROCEDURE_NAME: "PROCEDURE_NAME",
|
|
189
|
+
PROFESSION: "PROFESSION",
|
|
190
|
+
QUALITY: "QUALITY",
|
|
191
|
+
QUANTITY: "QUANTITY",
|
|
192
|
+
RACE_ETHNICITY: "RACE_ETHNICITY",
|
|
193
|
+
RATE: "RATE",
|
|
194
|
+
REC_DRUG_USE: "REC_DRUG_USE",
|
|
195
|
+
ROUTE_OR_MODE: "ROUTE_OR_MODE",
|
|
196
|
+
STRENGTH: "STRENGTH",
|
|
197
|
+
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
198
|
+
TEST_NAME: "TEST_NAME",
|
|
199
|
+
TEST_UNIT: "TEST_UNIT",
|
|
200
|
+
TEST_UNITS: "TEST_UNITS",
|
|
201
|
+
TEST_VALUE: "TEST_VALUE",
|
|
202
|
+
TIME_EXPRESSION: "TIME_EXPRESSION",
|
|
203
|
+
TIME_TO_DX_NAME: "TIME_TO_DX_NAME",
|
|
204
|
+
TIME_TO_MEDICATION_NAME: "TIME_TO_MEDICATION_NAME",
|
|
205
|
+
TIME_TO_PROCEDURE_NAME: "TIME_TO_PROCEDURE_NAME",
|
|
206
|
+
TIME_TO_TEST_NAME: "TIME_TO_TEST_NAME",
|
|
207
|
+
TIME_TO_TREATMENT_NAME: "TIME_TO_TREATMENT_NAME",
|
|
208
|
+
TOBACCO_USE: "TOBACCO_USE",
|
|
209
|
+
TREATMENT_NAME: "TREATMENT_NAME",
|
|
210
|
+
URL: "URL",
|
|
211
|
+
};
|
|
212
|
+
const JobStatus = {
|
|
213
|
+
COMPLETED: "COMPLETED",
|
|
214
|
+
FAILED: "FAILED",
|
|
215
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
216
|
+
PARTIAL_SUCCESS: "PARTIAL_SUCCESS",
|
|
217
|
+
STOPPED: "STOPPED",
|
|
218
|
+
STOP_REQUESTED: "STOP_REQUESTED",
|
|
219
|
+
SUBMITTED: "SUBMITTED",
|
|
220
|
+
};
|
|
221
|
+
const LanguageCode = {
|
|
222
|
+
EN: "en",
|
|
223
|
+
};
|
|
224
|
+
class InternalServerException extends ComprehendMedicalServiceException {
|
|
225
|
+
name = "InternalServerException";
|
|
226
|
+
$fault = "server";
|
|
227
|
+
Message;
|
|
228
|
+
constructor(opts) {
|
|
229
|
+
super({
|
|
230
|
+
name: "InternalServerException",
|
|
231
|
+
$fault: "server",
|
|
232
|
+
...opts,
|
|
233
|
+
});
|
|
234
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
235
|
+
this.Message = opts.Message;
|
|
236
|
+
}
|
|
1726
237
|
}
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
238
|
+
class InvalidRequestException extends ComprehendMedicalServiceException {
|
|
239
|
+
name = "InvalidRequestException";
|
|
240
|
+
$fault = "client";
|
|
241
|
+
Message;
|
|
242
|
+
constructor(opts) {
|
|
243
|
+
super({
|
|
244
|
+
name: "InvalidRequestException",
|
|
245
|
+
$fault: "client",
|
|
246
|
+
...opts,
|
|
247
|
+
});
|
|
248
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
249
|
+
this.Message = opts.Message;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
class ResourceNotFoundException extends ComprehendMedicalServiceException {
|
|
253
|
+
name = "ResourceNotFoundException";
|
|
254
|
+
$fault = "client";
|
|
255
|
+
Message;
|
|
256
|
+
constructor(opts) {
|
|
257
|
+
super({
|
|
258
|
+
name: "ResourceNotFoundException",
|
|
259
|
+
$fault: "client",
|
|
260
|
+
...opts,
|
|
261
|
+
});
|
|
262
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
263
|
+
this.Message = opts.Message;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
class TooManyRequestsException extends ComprehendMedicalServiceException {
|
|
267
|
+
name = "TooManyRequestsException";
|
|
268
|
+
$fault = "client";
|
|
269
|
+
Message;
|
|
270
|
+
constructor(opts) {
|
|
271
|
+
super({
|
|
272
|
+
name: "TooManyRequestsException",
|
|
273
|
+
$fault: "client",
|
|
274
|
+
...opts,
|
|
275
|
+
});
|
|
276
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
277
|
+
this.Message = opts.Message;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
class InvalidEncodingException extends ComprehendMedicalServiceException {
|
|
281
|
+
name = "InvalidEncodingException";
|
|
282
|
+
$fault = "client";
|
|
283
|
+
Message;
|
|
284
|
+
constructor(opts) {
|
|
285
|
+
super({
|
|
286
|
+
name: "InvalidEncodingException",
|
|
287
|
+
$fault: "client",
|
|
288
|
+
...opts,
|
|
289
|
+
});
|
|
290
|
+
Object.setPrototypeOf(this, InvalidEncodingException.prototype);
|
|
291
|
+
this.Message = opts.Message;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
class ServiceUnavailableException extends ComprehendMedicalServiceException {
|
|
295
|
+
name = "ServiceUnavailableException";
|
|
296
|
+
$fault = "server";
|
|
297
|
+
Message;
|
|
298
|
+
constructor(opts) {
|
|
299
|
+
super({
|
|
300
|
+
name: "ServiceUnavailableException",
|
|
301
|
+
$fault: "server",
|
|
302
|
+
...opts,
|
|
303
|
+
});
|
|
304
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
305
|
+
this.Message = opts.Message;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
class TextSizeLimitExceededException extends ComprehendMedicalServiceException {
|
|
309
|
+
name = "TextSizeLimitExceededException";
|
|
310
|
+
$fault = "client";
|
|
311
|
+
Message;
|
|
312
|
+
constructor(opts) {
|
|
313
|
+
super({
|
|
314
|
+
name: "TextSizeLimitExceededException",
|
|
315
|
+
$fault: "client",
|
|
316
|
+
...opts,
|
|
317
|
+
});
|
|
318
|
+
Object.setPrototypeOf(this, TextSizeLimitExceededException.prototype);
|
|
319
|
+
this.Message = opts.Message;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
const ICD10CMEntityType = {
|
|
323
|
+
DX_NAME: "DX_NAME",
|
|
324
|
+
TIME_EXPRESSION: "TIME_EXPRESSION",
|
|
1739
325
|
};
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
var DescribeICD10CMInferenceJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1746
|
-
return [
|
|
1747
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1748
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1749
|
-
];
|
|
1750
|
-
}).s("ComprehendMedical_20181030", "DescribeICD10CMInferenceJob", {}).n("ComprehendMedicalClient", "DescribeICD10CMInferenceJobCommand").f(void 0, void 0).ser(se_DescribeICD10CMInferenceJobCommand).de(de_DescribeICD10CMInferenceJobCommand).build() {
|
|
1751
|
-
static {
|
|
1752
|
-
__name(this, "DescribeICD10CMInferenceJobCommand");
|
|
1753
|
-
}
|
|
326
|
+
const ICD10CMRelationshipType = {
|
|
327
|
+
OVERLAP: "OVERLAP",
|
|
328
|
+
QUALITY: "QUALITY",
|
|
329
|
+
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
1754
330
|
};
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1764
|
-
];
|
|
1765
|
-
}).s("ComprehendMedical_20181030", "DescribePHIDetectionJob", {}).n("ComprehendMedicalClient", "DescribePHIDetectionJobCommand").f(void 0, void 0).ser(se_DescribePHIDetectionJobCommand).de(de_DescribePHIDetectionJobCommand).build() {
|
|
1766
|
-
static {
|
|
1767
|
-
__name(this, "DescribePHIDetectionJobCommand");
|
|
1768
|
-
}
|
|
331
|
+
const ICD10CMTraitName = {
|
|
332
|
+
DIAGNOSIS: "DIAGNOSIS",
|
|
333
|
+
HYPOTHETICAL: "HYPOTHETICAL",
|
|
334
|
+
LOW_CONFIDENCE: "LOW_CONFIDENCE",
|
|
335
|
+
NEGATION: "NEGATION",
|
|
336
|
+
PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY",
|
|
337
|
+
SIGN: "SIGN",
|
|
338
|
+
SYMPTOM: "SYMPTOM",
|
|
1769
339
|
};
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1779
|
-
];
|
|
1780
|
-
}).s("ComprehendMedical_20181030", "DescribeRxNormInferenceJob", {}).n("ComprehendMedicalClient", "DescribeRxNormInferenceJobCommand").f(void 0, void 0).ser(se_DescribeRxNormInferenceJobCommand).de(de_DescribeRxNormInferenceJobCommand).build() {
|
|
1781
|
-
static {
|
|
1782
|
-
__name(this, "DescribeRxNormInferenceJobCommand");
|
|
1783
|
-
}
|
|
340
|
+
const ICD10CMAttributeType = {
|
|
341
|
+
ACUITY: "ACUITY",
|
|
342
|
+
DIRECTION: "DIRECTION",
|
|
343
|
+
QUALITY: "QUALITY",
|
|
344
|
+
QUANTITY: "QUANTITY",
|
|
345
|
+
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
346
|
+
TIME_EXPRESSION: "TIME_EXPRESSION",
|
|
347
|
+
TIME_TO_DX_NAME: "TIME_TO_DX_NAME",
|
|
1784
348
|
};
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
var DescribeSNOMEDCTInferenceJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1791
|
-
return [
|
|
1792
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1793
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1794
|
-
];
|
|
1795
|
-
}).s("ComprehendMedical_20181030", "DescribeSNOMEDCTInferenceJob", {}).n("ComprehendMedicalClient", "DescribeSNOMEDCTInferenceJobCommand").f(void 0, void 0).ser(se_DescribeSNOMEDCTInferenceJobCommand).de(de_DescribeSNOMEDCTInferenceJobCommand).build() {
|
|
1796
|
-
static {
|
|
1797
|
-
__name(this, "DescribeSNOMEDCTInferenceJobCommand");
|
|
1798
|
-
}
|
|
349
|
+
const ICD10CMEntityCategory = {
|
|
350
|
+
MEDICAL_CONDITION: "MEDICAL_CONDITION",
|
|
1799
351
|
};
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
var DetectEntitiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1806
|
-
return [
|
|
1807
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1808
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1809
|
-
];
|
|
1810
|
-
}).s("ComprehendMedical_20181030", "DetectEntities", {}).n("ComprehendMedicalClient", "DetectEntitiesCommand").f(void 0, void 0).ser(se_DetectEntitiesCommand).de(de_DetectEntitiesCommand).build() {
|
|
1811
|
-
static {
|
|
1812
|
-
__name(this, "DetectEntitiesCommand");
|
|
1813
|
-
}
|
|
352
|
+
const RxNormTraitName = {
|
|
353
|
+
NEGATION: "NEGATION",
|
|
354
|
+
PAST_HISTORY: "PAST_HISTORY",
|
|
1814
355
|
};
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1824
|
-
];
|
|
1825
|
-
}).s("ComprehendMedical_20181030", "DetectEntitiesV2", {}).n("ComprehendMedicalClient", "DetectEntitiesV2Command").f(void 0, void 0).ser(se_DetectEntitiesV2Command).de(de_DetectEntitiesV2Command).build() {
|
|
1826
|
-
static {
|
|
1827
|
-
__name(this, "DetectEntitiesV2Command");
|
|
1828
|
-
}
|
|
356
|
+
const RxNormAttributeType = {
|
|
357
|
+
DOSAGE: "DOSAGE",
|
|
358
|
+
DURATION: "DURATION",
|
|
359
|
+
FORM: "FORM",
|
|
360
|
+
FREQUENCY: "FREQUENCY",
|
|
361
|
+
RATE: "RATE",
|
|
362
|
+
ROUTE_OR_MODE: "ROUTE_OR_MODE",
|
|
363
|
+
STRENGTH: "STRENGTH",
|
|
1829
364
|
};
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
var DetectPHICommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1836
|
-
return [
|
|
1837
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1838
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1839
|
-
];
|
|
1840
|
-
}).s("ComprehendMedical_20181030", "DetectPHI", {}).n("ComprehendMedicalClient", "DetectPHICommand").f(void 0, void 0).ser(se_DetectPHICommand).de(de_DetectPHICommand).build() {
|
|
1841
|
-
static {
|
|
1842
|
-
__name(this, "DetectPHICommand");
|
|
1843
|
-
}
|
|
365
|
+
const RxNormEntityCategory = {
|
|
366
|
+
MEDICATION: "MEDICATION",
|
|
1844
367
|
};
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
var InferICD10CMCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1851
|
-
return [
|
|
1852
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1853
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1854
|
-
];
|
|
1855
|
-
}).s("ComprehendMedical_20181030", "InferICD10CM", {}).n("ComprehendMedicalClient", "InferICD10CMCommand").f(void 0, void 0).ser(se_InferICD10CMCommand).de(de_InferICD10CMCommand).build() {
|
|
1856
|
-
static {
|
|
1857
|
-
__name(this, "InferICD10CMCommand");
|
|
1858
|
-
}
|
|
368
|
+
const RxNormEntityType = {
|
|
369
|
+
BRAND_NAME: "BRAND_NAME",
|
|
370
|
+
GENERIC_NAME: "GENERIC_NAME",
|
|
1859
371
|
};
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
var InferRxNormCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1866
|
-
return [
|
|
1867
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1868
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1869
|
-
];
|
|
1870
|
-
}).s("ComprehendMedical_20181030", "InferRxNorm", {}).n("ComprehendMedicalClient", "InferRxNormCommand").f(void 0, void 0).ser(se_InferRxNormCommand).de(de_InferRxNormCommand).build() {
|
|
1871
|
-
static {
|
|
1872
|
-
__name(this, "InferRxNormCommand");
|
|
1873
|
-
}
|
|
372
|
+
const SNOMEDCTEntityCategory = {
|
|
373
|
+
ANATOMY: "ANATOMY",
|
|
374
|
+
MEDICAL_CONDITION: "MEDICAL_CONDITION",
|
|
375
|
+
TEST_TREATMENT_PROCEDURE: "TEST_TREATMENT_PROCEDURE",
|
|
1874
376
|
};
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1884
|
-
];
|
|
1885
|
-
}).s("ComprehendMedical_20181030", "InferSNOMEDCT", {}).n("ComprehendMedicalClient", "InferSNOMEDCTCommand").f(void 0, void 0).ser(se_InferSNOMEDCTCommand).de(de_InferSNOMEDCTCommand).build() {
|
|
1886
|
-
static {
|
|
1887
|
-
__name(this, "InferSNOMEDCTCommand");
|
|
1888
|
-
}
|
|
377
|
+
const SNOMEDCTRelationshipType = {
|
|
378
|
+
ACUITY: "ACUITY",
|
|
379
|
+
DIRECTION: "DIRECTION",
|
|
380
|
+
QUALITY: "QUALITY",
|
|
381
|
+
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
382
|
+
TEST_UNIT: "TEST_UNIT",
|
|
383
|
+
TEST_UNITS: "TEST_UNITS",
|
|
384
|
+
TEST_VALUE: "TEST_VALUE",
|
|
1889
385
|
};
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
}).s("ComprehendMedical_20181030", "ListEntitiesDetectionV2Jobs", {}).n("ComprehendMedicalClient", "ListEntitiesDetectionV2JobsCommand").f(void 0, void 0).ser(se_ListEntitiesDetectionV2JobsCommand).de(de_ListEntitiesDetectionV2JobsCommand).build() {
|
|
1901
|
-
static {
|
|
1902
|
-
__name(this, "ListEntitiesDetectionV2JobsCommand");
|
|
1903
|
-
}
|
|
386
|
+
const SNOMEDCTTraitName = {
|
|
387
|
+
DIAGNOSIS: "DIAGNOSIS",
|
|
388
|
+
FUTURE: "FUTURE",
|
|
389
|
+
HYPOTHETICAL: "HYPOTHETICAL",
|
|
390
|
+
LOW_CONFIDENCE: "LOW_CONFIDENCE",
|
|
391
|
+
NEGATION: "NEGATION",
|
|
392
|
+
PAST_HISTORY: "PAST_HISTORY",
|
|
393
|
+
PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY",
|
|
394
|
+
SIGN: "SIGN",
|
|
395
|
+
SYMPTOM: "SYMPTOM",
|
|
1904
396
|
};
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1913
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1914
|
-
];
|
|
1915
|
-
}).s("ComprehendMedical_20181030", "ListICD10CMInferenceJobs", {}).n("ComprehendMedicalClient", "ListICD10CMInferenceJobsCommand").f(void 0, void 0).ser(se_ListICD10CMInferenceJobsCommand).de(de_ListICD10CMInferenceJobsCommand).build() {
|
|
1916
|
-
static {
|
|
1917
|
-
__name(this, "ListICD10CMInferenceJobsCommand");
|
|
1918
|
-
}
|
|
397
|
+
const SNOMEDCTAttributeType = {
|
|
398
|
+
ACUITY: "ACUITY",
|
|
399
|
+
DIRECTION: "DIRECTION",
|
|
400
|
+
QUALITY: "QUALITY",
|
|
401
|
+
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
402
|
+
TEST_UNIT: "TEST_UNIT",
|
|
403
|
+
TEST_VALUE: "TEST_VALUE",
|
|
1919
404
|
};
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
var ListPHIDetectionJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1926
|
-
return [
|
|
1927
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1928
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1929
|
-
];
|
|
1930
|
-
}).s("ComprehendMedical_20181030", "ListPHIDetectionJobs", {}).n("ComprehendMedicalClient", "ListPHIDetectionJobsCommand").f(void 0, void 0).ser(se_ListPHIDetectionJobsCommand).de(de_ListPHIDetectionJobsCommand).build() {
|
|
1931
|
-
static {
|
|
1932
|
-
__name(this, "ListPHIDetectionJobsCommand");
|
|
1933
|
-
}
|
|
405
|
+
const SNOMEDCTEntityType = {
|
|
406
|
+
DX_NAME: "DX_NAME",
|
|
407
|
+
PROCEDURE_NAME: "PROCEDURE_NAME",
|
|
408
|
+
TEST_NAME: "TEST_NAME",
|
|
409
|
+
TREATMENT_NAME: "TREATMENT_NAME",
|
|
1934
410
|
};
|
|
411
|
+
class ValidationException extends ComprehendMedicalServiceException {
|
|
412
|
+
name = "ValidationException";
|
|
413
|
+
$fault = "client";
|
|
414
|
+
Message;
|
|
415
|
+
constructor(opts) {
|
|
416
|
+
super({
|
|
417
|
+
name: "ValidationException",
|
|
418
|
+
$fault: "client",
|
|
419
|
+
...opts,
|
|
420
|
+
});
|
|
421
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
422
|
+
this.Message = opts.Message;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
1935
425
|
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
return [
|
|
1942
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1943
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1944
|
-
];
|
|
1945
|
-
}).s("ComprehendMedical_20181030", "ListRxNormInferenceJobs", {}).n("ComprehendMedicalClient", "ListRxNormInferenceJobsCommand").f(void 0, void 0).ser(se_ListRxNormInferenceJobsCommand).de(de_ListRxNormInferenceJobsCommand).build() {
|
|
1946
|
-
static {
|
|
1947
|
-
__name(this, "ListRxNormInferenceJobsCommand");
|
|
1948
|
-
}
|
|
426
|
+
const se_DescribeEntitiesDetectionV2JobCommand = async (input, context) => {
|
|
427
|
+
const headers = sharedHeaders("DescribeEntitiesDetectionV2Job");
|
|
428
|
+
let body;
|
|
429
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
430
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1949
431
|
};
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
var ListSNOMEDCTInferenceJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1956
|
-
return [
|
|
1957
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1958
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1959
|
-
];
|
|
1960
|
-
}).s("ComprehendMedical_20181030", "ListSNOMEDCTInferenceJobs", {}).n("ComprehendMedicalClient", "ListSNOMEDCTInferenceJobsCommand").f(void 0, void 0).ser(se_ListSNOMEDCTInferenceJobsCommand).de(de_ListSNOMEDCTInferenceJobsCommand).build() {
|
|
1961
|
-
static {
|
|
1962
|
-
__name(this, "ListSNOMEDCTInferenceJobsCommand");
|
|
1963
|
-
}
|
|
432
|
+
const se_DescribeICD10CMInferenceJobCommand = async (input, context) => {
|
|
433
|
+
const headers = sharedHeaders("DescribeICD10CMInferenceJob");
|
|
434
|
+
let body;
|
|
435
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
436
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1964
437
|
};
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
var StartEntitiesDetectionV2JobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1971
|
-
return [
|
|
1972
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1973
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1974
|
-
];
|
|
1975
|
-
}).s("ComprehendMedical_20181030", "StartEntitiesDetectionV2Job", {}).n("ComprehendMedicalClient", "StartEntitiesDetectionV2JobCommand").f(void 0, void 0).ser(se_StartEntitiesDetectionV2JobCommand).de(de_StartEntitiesDetectionV2JobCommand).build() {
|
|
1976
|
-
static {
|
|
1977
|
-
__name(this, "StartEntitiesDetectionV2JobCommand");
|
|
1978
|
-
}
|
|
438
|
+
const se_DescribePHIDetectionJobCommand = async (input, context) => {
|
|
439
|
+
const headers = sharedHeaders("DescribePHIDetectionJob");
|
|
440
|
+
let body;
|
|
441
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
442
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1979
443
|
};
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
var StartICD10CMInferenceJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1986
|
-
return [
|
|
1987
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1988
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1989
|
-
];
|
|
1990
|
-
}).s("ComprehendMedical_20181030", "StartICD10CMInferenceJob", {}).n("ComprehendMedicalClient", "StartICD10CMInferenceJobCommand").f(void 0, void 0).ser(se_StartICD10CMInferenceJobCommand).de(de_StartICD10CMInferenceJobCommand).build() {
|
|
1991
|
-
static {
|
|
1992
|
-
__name(this, "StartICD10CMInferenceJobCommand");
|
|
1993
|
-
}
|
|
444
|
+
const se_DescribeRxNormInferenceJobCommand = async (input, context) => {
|
|
445
|
+
const headers = sharedHeaders("DescribeRxNormInferenceJob");
|
|
446
|
+
let body;
|
|
447
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
448
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1994
449
|
};
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
var StartPHIDetectionJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2001
|
-
return [
|
|
2002
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2003
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2004
|
-
];
|
|
2005
|
-
}).s("ComprehendMedical_20181030", "StartPHIDetectionJob", {}).n("ComprehendMedicalClient", "StartPHIDetectionJobCommand").f(void 0, void 0).ser(se_StartPHIDetectionJobCommand).de(de_StartPHIDetectionJobCommand).build() {
|
|
2006
|
-
static {
|
|
2007
|
-
__name(this, "StartPHIDetectionJobCommand");
|
|
2008
|
-
}
|
|
450
|
+
const se_DescribeSNOMEDCTInferenceJobCommand = async (input, context) => {
|
|
451
|
+
const headers = sharedHeaders("DescribeSNOMEDCTInferenceJob");
|
|
452
|
+
let body;
|
|
453
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
454
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2009
455
|
};
|
|
456
|
+
const se_DetectEntitiesCommand = async (input, context) => {
|
|
457
|
+
const headers = sharedHeaders("DetectEntities");
|
|
458
|
+
let body;
|
|
459
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
460
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
461
|
+
};
|
|
462
|
+
const se_DetectEntitiesV2Command = async (input, context) => {
|
|
463
|
+
const headers = sharedHeaders("DetectEntitiesV2");
|
|
464
|
+
let body;
|
|
465
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
466
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
467
|
+
};
|
|
468
|
+
const se_DetectPHICommand = async (input, context) => {
|
|
469
|
+
const headers = sharedHeaders("DetectPHI");
|
|
470
|
+
let body;
|
|
471
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
472
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
473
|
+
};
|
|
474
|
+
const se_InferICD10CMCommand = async (input, context) => {
|
|
475
|
+
const headers = sharedHeaders("InferICD10CM");
|
|
476
|
+
let body;
|
|
477
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
478
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
479
|
+
};
|
|
480
|
+
const se_InferRxNormCommand = async (input, context) => {
|
|
481
|
+
const headers = sharedHeaders("InferRxNorm");
|
|
482
|
+
let body;
|
|
483
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
484
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
485
|
+
};
|
|
486
|
+
const se_InferSNOMEDCTCommand = async (input, context) => {
|
|
487
|
+
const headers = sharedHeaders("InferSNOMEDCT");
|
|
488
|
+
let body;
|
|
489
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
490
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
491
|
+
};
|
|
492
|
+
const se_ListEntitiesDetectionV2JobsCommand = async (input, context) => {
|
|
493
|
+
const headers = sharedHeaders("ListEntitiesDetectionV2Jobs");
|
|
494
|
+
let body;
|
|
495
|
+
body = JSON.stringify(se_ListEntitiesDetectionV2JobsRequest(input));
|
|
496
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
497
|
+
};
|
|
498
|
+
const se_ListICD10CMInferenceJobsCommand = async (input, context) => {
|
|
499
|
+
const headers = sharedHeaders("ListICD10CMInferenceJobs");
|
|
500
|
+
let body;
|
|
501
|
+
body = JSON.stringify(se_ListICD10CMInferenceJobsRequest(input));
|
|
502
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
503
|
+
};
|
|
504
|
+
const se_ListPHIDetectionJobsCommand = async (input, context) => {
|
|
505
|
+
const headers = sharedHeaders("ListPHIDetectionJobs");
|
|
506
|
+
let body;
|
|
507
|
+
body = JSON.stringify(se_ListPHIDetectionJobsRequest(input));
|
|
508
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
509
|
+
};
|
|
510
|
+
const se_ListRxNormInferenceJobsCommand = async (input, context) => {
|
|
511
|
+
const headers = sharedHeaders("ListRxNormInferenceJobs");
|
|
512
|
+
let body;
|
|
513
|
+
body = JSON.stringify(se_ListRxNormInferenceJobsRequest(input));
|
|
514
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
515
|
+
};
|
|
516
|
+
const se_ListSNOMEDCTInferenceJobsCommand = async (input, context) => {
|
|
517
|
+
const headers = sharedHeaders("ListSNOMEDCTInferenceJobs");
|
|
518
|
+
let body;
|
|
519
|
+
body = JSON.stringify(se_ListSNOMEDCTInferenceJobsRequest(input));
|
|
520
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
521
|
+
};
|
|
522
|
+
const se_StartEntitiesDetectionV2JobCommand = async (input, context) => {
|
|
523
|
+
const headers = sharedHeaders("StartEntitiesDetectionV2Job");
|
|
524
|
+
let body;
|
|
525
|
+
body = JSON.stringify(se_StartEntitiesDetectionV2JobRequest(input));
|
|
526
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
527
|
+
};
|
|
528
|
+
const se_StartICD10CMInferenceJobCommand = async (input, context) => {
|
|
529
|
+
const headers = sharedHeaders("StartICD10CMInferenceJob");
|
|
530
|
+
let body;
|
|
531
|
+
body = JSON.stringify(se_StartICD10CMInferenceJobRequest(input));
|
|
532
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
533
|
+
};
|
|
534
|
+
const se_StartPHIDetectionJobCommand = async (input, context) => {
|
|
535
|
+
const headers = sharedHeaders("StartPHIDetectionJob");
|
|
536
|
+
let body;
|
|
537
|
+
body = JSON.stringify(se_StartPHIDetectionJobRequest(input));
|
|
538
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
539
|
+
};
|
|
540
|
+
const se_StartRxNormInferenceJobCommand = async (input, context) => {
|
|
541
|
+
const headers = sharedHeaders("StartRxNormInferenceJob");
|
|
542
|
+
let body;
|
|
543
|
+
body = JSON.stringify(se_StartRxNormInferenceJobRequest(input));
|
|
544
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
545
|
+
};
|
|
546
|
+
const se_StartSNOMEDCTInferenceJobCommand = async (input, context) => {
|
|
547
|
+
const headers = sharedHeaders("StartSNOMEDCTInferenceJob");
|
|
548
|
+
let body;
|
|
549
|
+
body = JSON.stringify(se_StartSNOMEDCTInferenceJobRequest(input));
|
|
550
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
551
|
+
};
|
|
552
|
+
const se_StopEntitiesDetectionV2JobCommand = async (input, context) => {
|
|
553
|
+
const headers = sharedHeaders("StopEntitiesDetectionV2Job");
|
|
554
|
+
let body;
|
|
555
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
556
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
557
|
+
};
|
|
558
|
+
const se_StopICD10CMInferenceJobCommand = async (input, context) => {
|
|
559
|
+
const headers = sharedHeaders("StopICD10CMInferenceJob");
|
|
560
|
+
let body;
|
|
561
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
562
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
563
|
+
};
|
|
564
|
+
const se_StopPHIDetectionJobCommand = async (input, context) => {
|
|
565
|
+
const headers = sharedHeaders("StopPHIDetectionJob");
|
|
566
|
+
let body;
|
|
567
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
568
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
569
|
+
};
|
|
570
|
+
const se_StopRxNormInferenceJobCommand = async (input, context) => {
|
|
571
|
+
const headers = sharedHeaders("StopRxNormInferenceJob");
|
|
572
|
+
let body;
|
|
573
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
574
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
575
|
+
};
|
|
576
|
+
const se_StopSNOMEDCTInferenceJobCommand = async (input, context) => {
|
|
577
|
+
const headers = sharedHeaders("StopSNOMEDCTInferenceJob");
|
|
578
|
+
let body;
|
|
579
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
580
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
581
|
+
};
|
|
582
|
+
const de_DescribeEntitiesDetectionV2JobCommand = async (output, context) => {
|
|
583
|
+
if (output.statusCode >= 300) {
|
|
584
|
+
return de_CommandError(output, context);
|
|
585
|
+
}
|
|
586
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
587
|
+
let contents = {};
|
|
588
|
+
contents = de_DescribeEntitiesDetectionV2JobResponse(data);
|
|
589
|
+
const response = {
|
|
590
|
+
$metadata: deserializeMetadata(output),
|
|
591
|
+
...contents,
|
|
592
|
+
};
|
|
593
|
+
return response;
|
|
594
|
+
};
|
|
595
|
+
const de_DescribeICD10CMInferenceJobCommand = async (output, context) => {
|
|
596
|
+
if (output.statusCode >= 300) {
|
|
597
|
+
return de_CommandError(output, context);
|
|
598
|
+
}
|
|
599
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
600
|
+
let contents = {};
|
|
601
|
+
contents = de_DescribeICD10CMInferenceJobResponse(data);
|
|
602
|
+
const response = {
|
|
603
|
+
$metadata: deserializeMetadata(output),
|
|
604
|
+
...contents,
|
|
605
|
+
};
|
|
606
|
+
return response;
|
|
607
|
+
};
|
|
608
|
+
const de_DescribePHIDetectionJobCommand = async (output, context) => {
|
|
609
|
+
if (output.statusCode >= 300) {
|
|
610
|
+
return de_CommandError(output, context);
|
|
611
|
+
}
|
|
612
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
613
|
+
let contents = {};
|
|
614
|
+
contents = de_DescribePHIDetectionJobResponse(data);
|
|
615
|
+
const response = {
|
|
616
|
+
$metadata: deserializeMetadata(output),
|
|
617
|
+
...contents,
|
|
618
|
+
};
|
|
619
|
+
return response;
|
|
620
|
+
};
|
|
621
|
+
const de_DescribeRxNormInferenceJobCommand = async (output, context) => {
|
|
622
|
+
if (output.statusCode >= 300) {
|
|
623
|
+
return de_CommandError(output, context);
|
|
624
|
+
}
|
|
625
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
626
|
+
let contents = {};
|
|
627
|
+
contents = de_DescribeRxNormInferenceJobResponse(data);
|
|
628
|
+
const response = {
|
|
629
|
+
$metadata: deserializeMetadata(output),
|
|
630
|
+
...contents,
|
|
631
|
+
};
|
|
632
|
+
return response;
|
|
633
|
+
};
|
|
634
|
+
const de_DescribeSNOMEDCTInferenceJobCommand = async (output, context) => {
|
|
635
|
+
if (output.statusCode >= 300) {
|
|
636
|
+
return de_CommandError(output, context);
|
|
637
|
+
}
|
|
638
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
639
|
+
let contents = {};
|
|
640
|
+
contents = de_DescribeSNOMEDCTInferenceJobResponse(data);
|
|
641
|
+
const response = {
|
|
642
|
+
$metadata: deserializeMetadata(output),
|
|
643
|
+
...contents,
|
|
644
|
+
};
|
|
645
|
+
return response;
|
|
646
|
+
};
|
|
647
|
+
const de_DetectEntitiesCommand = async (output, context) => {
|
|
648
|
+
if (output.statusCode >= 300) {
|
|
649
|
+
return de_CommandError(output, context);
|
|
650
|
+
}
|
|
651
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
652
|
+
let contents = {};
|
|
653
|
+
contents = de_DetectEntitiesResponse(data);
|
|
654
|
+
const response = {
|
|
655
|
+
$metadata: deserializeMetadata(output),
|
|
656
|
+
...contents,
|
|
657
|
+
};
|
|
658
|
+
return response;
|
|
659
|
+
};
|
|
660
|
+
const de_DetectEntitiesV2Command = async (output, context) => {
|
|
661
|
+
if (output.statusCode >= 300) {
|
|
662
|
+
return de_CommandError(output, context);
|
|
663
|
+
}
|
|
664
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
665
|
+
let contents = {};
|
|
666
|
+
contents = de_DetectEntitiesV2Response(data);
|
|
667
|
+
const response = {
|
|
668
|
+
$metadata: deserializeMetadata(output),
|
|
669
|
+
...contents,
|
|
670
|
+
};
|
|
671
|
+
return response;
|
|
672
|
+
};
|
|
673
|
+
const de_DetectPHICommand = async (output, context) => {
|
|
674
|
+
if (output.statusCode >= 300) {
|
|
675
|
+
return de_CommandError(output, context);
|
|
676
|
+
}
|
|
677
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
678
|
+
let contents = {};
|
|
679
|
+
contents = de_DetectPHIResponse(data);
|
|
680
|
+
const response = {
|
|
681
|
+
$metadata: deserializeMetadata(output),
|
|
682
|
+
...contents,
|
|
683
|
+
};
|
|
684
|
+
return response;
|
|
685
|
+
};
|
|
686
|
+
const de_InferICD10CMCommand = async (output, context) => {
|
|
687
|
+
if (output.statusCode >= 300) {
|
|
688
|
+
return de_CommandError(output, context);
|
|
689
|
+
}
|
|
690
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
691
|
+
let contents = {};
|
|
692
|
+
contents = de_InferICD10CMResponse(data);
|
|
693
|
+
const response = {
|
|
694
|
+
$metadata: deserializeMetadata(output),
|
|
695
|
+
...contents,
|
|
696
|
+
};
|
|
697
|
+
return response;
|
|
698
|
+
};
|
|
699
|
+
const de_InferRxNormCommand = async (output, context) => {
|
|
700
|
+
if (output.statusCode >= 300) {
|
|
701
|
+
return de_CommandError(output, context);
|
|
702
|
+
}
|
|
703
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
704
|
+
let contents = {};
|
|
705
|
+
contents = de_InferRxNormResponse(data);
|
|
706
|
+
const response = {
|
|
707
|
+
$metadata: deserializeMetadata(output),
|
|
708
|
+
...contents,
|
|
709
|
+
};
|
|
710
|
+
return response;
|
|
711
|
+
};
|
|
712
|
+
const de_InferSNOMEDCTCommand = async (output, context) => {
|
|
713
|
+
if (output.statusCode >= 300) {
|
|
714
|
+
return de_CommandError(output, context);
|
|
715
|
+
}
|
|
716
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
717
|
+
let contents = {};
|
|
718
|
+
contents = de_InferSNOMEDCTResponse(data);
|
|
719
|
+
const response = {
|
|
720
|
+
$metadata: deserializeMetadata(output),
|
|
721
|
+
...contents,
|
|
722
|
+
};
|
|
723
|
+
return response;
|
|
724
|
+
};
|
|
725
|
+
const de_ListEntitiesDetectionV2JobsCommand = async (output, context) => {
|
|
726
|
+
if (output.statusCode >= 300) {
|
|
727
|
+
return de_CommandError(output, context);
|
|
728
|
+
}
|
|
729
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
730
|
+
let contents = {};
|
|
731
|
+
contents = de_ListEntitiesDetectionV2JobsResponse(data);
|
|
732
|
+
const response = {
|
|
733
|
+
$metadata: deserializeMetadata(output),
|
|
734
|
+
...contents,
|
|
735
|
+
};
|
|
736
|
+
return response;
|
|
737
|
+
};
|
|
738
|
+
const de_ListICD10CMInferenceJobsCommand = async (output, context) => {
|
|
739
|
+
if (output.statusCode >= 300) {
|
|
740
|
+
return de_CommandError(output, context);
|
|
741
|
+
}
|
|
742
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
743
|
+
let contents = {};
|
|
744
|
+
contents = de_ListICD10CMInferenceJobsResponse(data);
|
|
745
|
+
const response = {
|
|
746
|
+
$metadata: deserializeMetadata(output),
|
|
747
|
+
...contents,
|
|
748
|
+
};
|
|
749
|
+
return response;
|
|
750
|
+
};
|
|
751
|
+
const de_ListPHIDetectionJobsCommand = async (output, context) => {
|
|
752
|
+
if (output.statusCode >= 300) {
|
|
753
|
+
return de_CommandError(output, context);
|
|
754
|
+
}
|
|
755
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
756
|
+
let contents = {};
|
|
757
|
+
contents = de_ListPHIDetectionJobsResponse(data);
|
|
758
|
+
const response = {
|
|
759
|
+
$metadata: deserializeMetadata(output),
|
|
760
|
+
...contents,
|
|
761
|
+
};
|
|
762
|
+
return response;
|
|
763
|
+
};
|
|
764
|
+
const de_ListRxNormInferenceJobsCommand = async (output, context) => {
|
|
765
|
+
if (output.statusCode >= 300) {
|
|
766
|
+
return de_CommandError(output, context);
|
|
767
|
+
}
|
|
768
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
769
|
+
let contents = {};
|
|
770
|
+
contents = de_ListRxNormInferenceJobsResponse(data);
|
|
771
|
+
const response = {
|
|
772
|
+
$metadata: deserializeMetadata(output),
|
|
773
|
+
...contents,
|
|
774
|
+
};
|
|
775
|
+
return response;
|
|
776
|
+
};
|
|
777
|
+
const de_ListSNOMEDCTInferenceJobsCommand = async (output, context) => {
|
|
778
|
+
if (output.statusCode >= 300) {
|
|
779
|
+
return de_CommandError(output, context);
|
|
780
|
+
}
|
|
781
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
782
|
+
let contents = {};
|
|
783
|
+
contents = de_ListSNOMEDCTInferenceJobsResponse(data);
|
|
784
|
+
const response = {
|
|
785
|
+
$metadata: deserializeMetadata(output),
|
|
786
|
+
...contents,
|
|
787
|
+
};
|
|
788
|
+
return response;
|
|
789
|
+
};
|
|
790
|
+
const de_StartEntitiesDetectionV2JobCommand = async (output, context) => {
|
|
791
|
+
if (output.statusCode >= 300) {
|
|
792
|
+
return de_CommandError(output, context);
|
|
793
|
+
}
|
|
794
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
795
|
+
let contents = {};
|
|
796
|
+
contents = smithyClient._json(data);
|
|
797
|
+
const response = {
|
|
798
|
+
$metadata: deserializeMetadata(output),
|
|
799
|
+
...contents,
|
|
800
|
+
};
|
|
801
|
+
return response;
|
|
802
|
+
};
|
|
803
|
+
const de_StartICD10CMInferenceJobCommand = async (output, context) => {
|
|
804
|
+
if (output.statusCode >= 300) {
|
|
805
|
+
return de_CommandError(output, context);
|
|
806
|
+
}
|
|
807
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
808
|
+
let contents = {};
|
|
809
|
+
contents = smithyClient._json(data);
|
|
810
|
+
const response = {
|
|
811
|
+
$metadata: deserializeMetadata(output),
|
|
812
|
+
...contents,
|
|
813
|
+
};
|
|
814
|
+
return response;
|
|
815
|
+
};
|
|
816
|
+
const de_StartPHIDetectionJobCommand = async (output, context) => {
|
|
817
|
+
if (output.statusCode >= 300) {
|
|
818
|
+
return de_CommandError(output, context);
|
|
819
|
+
}
|
|
820
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
821
|
+
let contents = {};
|
|
822
|
+
contents = smithyClient._json(data);
|
|
823
|
+
const response = {
|
|
824
|
+
$metadata: deserializeMetadata(output),
|
|
825
|
+
...contents,
|
|
826
|
+
};
|
|
827
|
+
return response;
|
|
828
|
+
};
|
|
829
|
+
const de_StartRxNormInferenceJobCommand = async (output, context) => {
|
|
830
|
+
if (output.statusCode >= 300) {
|
|
831
|
+
return de_CommandError(output, context);
|
|
832
|
+
}
|
|
833
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
834
|
+
let contents = {};
|
|
835
|
+
contents = smithyClient._json(data);
|
|
836
|
+
const response = {
|
|
837
|
+
$metadata: deserializeMetadata(output),
|
|
838
|
+
...contents,
|
|
839
|
+
};
|
|
840
|
+
return response;
|
|
841
|
+
};
|
|
842
|
+
const de_StartSNOMEDCTInferenceJobCommand = async (output, context) => {
|
|
843
|
+
if (output.statusCode >= 300) {
|
|
844
|
+
return de_CommandError(output, context);
|
|
845
|
+
}
|
|
846
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
847
|
+
let contents = {};
|
|
848
|
+
contents = smithyClient._json(data);
|
|
849
|
+
const response = {
|
|
850
|
+
$metadata: deserializeMetadata(output),
|
|
851
|
+
...contents,
|
|
852
|
+
};
|
|
853
|
+
return response;
|
|
854
|
+
};
|
|
855
|
+
const de_StopEntitiesDetectionV2JobCommand = async (output, context) => {
|
|
856
|
+
if (output.statusCode >= 300) {
|
|
857
|
+
return de_CommandError(output, context);
|
|
858
|
+
}
|
|
859
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
860
|
+
let contents = {};
|
|
861
|
+
contents = smithyClient._json(data);
|
|
862
|
+
const response = {
|
|
863
|
+
$metadata: deserializeMetadata(output),
|
|
864
|
+
...contents,
|
|
865
|
+
};
|
|
866
|
+
return response;
|
|
867
|
+
};
|
|
868
|
+
const de_StopICD10CMInferenceJobCommand = async (output, context) => {
|
|
869
|
+
if (output.statusCode >= 300) {
|
|
870
|
+
return de_CommandError(output, context);
|
|
871
|
+
}
|
|
872
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
873
|
+
let contents = {};
|
|
874
|
+
contents = smithyClient._json(data);
|
|
875
|
+
const response = {
|
|
876
|
+
$metadata: deserializeMetadata(output),
|
|
877
|
+
...contents,
|
|
878
|
+
};
|
|
879
|
+
return response;
|
|
880
|
+
};
|
|
881
|
+
const de_StopPHIDetectionJobCommand = async (output, context) => {
|
|
882
|
+
if (output.statusCode >= 300) {
|
|
883
|
+
return de_CommandError(output, context);
|
|
884
|
+
}
|
|
885
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
886
|
+
let contents = {};
|
|
887
|
+
contents = smithyClient._json(data);
|
|
888
|
+
const response = {
|
|
889
|
+
$metadata: deserializeMetadata(output),
|
|
890
|
+
...contents,
|
|
891
|
+
};
|
|
892
|
+
return response;
|
|
893
|
+
};
|
|
894
|
+
const de_StopRxNormInferenceJobCommand = async (output, context) => {
|
|
895
|
+
if (output.statusCode >= 300) {
|
|
896
|
+
return de_CommandError(output, context);
|
|
897
|
+
}
|
|
898
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
899
|
+
let contents = {};
|
|
900
|
+
contents = smithyClient._json(data);
|
|
901
|
+
const response = {
|
|
902
|
+
$metadata: deserializeMetadata(output),
|
|
903
|
+
...contents,
|
|
904
|
+
};
|
|
905
|
+
return response;
|
|
906
|
+
};
|
|
907
|
+
const de_StopSNOMEDCTInferenceJobCommand = async (output, context) => {
|
|
908
|
+
if (output.statusCode >= 300) {
|
|
909
|
+
return de_CommandError(output, context);
|
|
910
|
+
}
|
|
911
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
912
|
+
let contents = {};
|
|
913
|
+
contents = smithyClient._json(data);
|
|
914
|
+
const response = {
|
|
915
|
+
$metadata: deserializeMetadata(output),
|
|
916
|
+
...contents,
|
|
917
|
+
};
|
|
918
|
+
return response;
|
|
919
|
+
};
|
|
920
|
+
const de_CommandError = async (output, context) => {
|
|
921
|
+
const parsedOutput = {
|
|
922
|
+
...output,
|
|
923
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
924
|
+
};
|
|
925
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
926
|
+
switch (errorCode) {
|
|
927
|
+
case "InternalServerException":
|
|
928
|
+
case "com.amazonaws.comprehendmedical#InternalServerException":
|
|
929
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
930
|
+
case "InvalidRequestException":
|
|
931
|
+
case "com.amazonaws.comprehendmedical#InvalidRequestException":
|
|
932
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput);
|
|
933
|
+
case "ResourceNotFoundException":
|
|
934
|
+
case "com.amazonaws.comprehendmedical#ResourceNotFoundException":
|
|
935
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
936
|
+
case "TooManyRequestsException":
|
|
937
|
+
case "com.amazonaws.comprehendmedical#TooManyRequestsException":
|
|
938
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput);
|
|
939
|
+
case "InvalidEncodingException":
|
|
940
|
+
case "com.amazonaws.comprehendmedical#InvalidEncodingException":
|
|
941
|
+
throw await de_InvalidEncodingExceptionRes(parsedOutput);
|
|
942
|
+
case "ServiceUnavailableException":
|
|
943
|
+
case "com.amazonaws.comprehendmedical#ServiceUnavailableException":
|
|
944
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput);
|
|
945
|
+
case "TextSizeLimitExceededException":
|
|
946
|
+
case "com.amazonaws.comprehendmedical#TextSizeLimitExceededException":
|
|
947
|
+
throw await de_TextSizeLimitExceededExceptionRes(parsedOutput);
|
|
948
|
+
case "ValidationException":
|
|
949
|
+
case "com.amazonaws.comprehendmedical#ValidationException":
|
|
950
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
951
|
+
default:
|
|
952
|
+
const parsedBody = parsedOutput.body;
|
|
953
|
+
return throwDefaultError({
|
|
954
|
+
output,
|
|
955
|
+
parsedBody,
|
|
956
|
+
errorCode,
|
|
957
|
+
});
|
|
958
|
+
}
|
|
959
|
+
};
|
|
960
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
961
|
+
const body = parsedOutput.body;
|
|
962
|
+
const deserialized = smithyClient._json(body);
|
|
963
|
+
const exception = new InternalServerException({
|
|
964
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
965
|
+
...deserialized,
|
|
966
|
+
});
|
|
967
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
968
|
+
};
|
|
969
|
+
const de_InvalidEncodingExceptionRes = async (parsedOutput, context) => {
|
|
970
|
+
const body = parsedOutput.body;
|
|
971
|
+
const deserialized = smithyClient._json(body);
|
|
972
|
+
const exception = new InvalidEncodingException({
|
|
973
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
974
|
+
...deserialized,
|
|
975
|
+
});
|
|
976
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
977
|
+
};
|
|
978
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
979
|
+
const body = parsedOutput.body;
|
|
980
|
+
const deserialized = smithyClient._json(body);
|
|
981
|
+
const exception = new InvalidRequestException({
|
|
982
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
983
|
+
...deserialized,
|
|
984
|
+
});
|
|
985
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
986
|
+
};
|
|
987
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
988
|
+
const body = parsedOutput.body;
|
|
989
|
+
const deserialized = smithyClient._json(body);
|
|
990
|
+
const exception = new ResourceNotFoundException({
|
|
991
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
992
|
+
...deserialized,
|
|
993
|
+
});
|
|
994
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
995
|
+
};
|
|
996
|
+
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
997
|
+
const body = parsedOutput.body;
|
|
998
|
+
const deserialized = smithyClient._json(body);
|
|
999
|
+
const exception = new ServiceUnavailableException({
|
|
1000
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1001
|
+
...deserialized,
|
|
1002
|
+
});
|
|
1003
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1004
|
+
};
|
|
1005
|
+
const de_TextSizeLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1006
|
+
const body = parsedOutput.body;
|
|
1007
|
+
const deserialized = smithyClient._json(body);
|
|
1008
|
+
const exception = new TextSizeLimitExceededException({
|
|
1009
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1010
|
+
...deserialized,
|
|
1011
|
+
});
|
|
1012
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1013
|
+
};
|
|
1014
|
+
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
1015
|
+
const body = parsedOutput.body;
|
|
1016
|
+
const deserialized = smithyClient._json(body);
|
|
1017
|
+
const exception = new TooManyRequestsException({
|
|
1018
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1019
|
+
...deserialized,
|
|
1020
|
+
});
|
|
1021
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1022
|
+
};
|
|
1023
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1024
|
+
const body = parsedOutput.body;
|
|
1025
|
+
const deserialized = smithyClient._json(body);
|
|
1026
|
+
const exception = new ValidationException({
|
|
1027
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1028
|
+
...deserialized,
|
|
1029
|
+
});
|
|
1030
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1031
|
+
};
|
|
1032
|
+
const se_ComprehendMedicalAsyncJobFilter = (input, context) => {
|
|
1033
|
+
return smithyClient.take(input, {
|
|
1034
|
+
JobName: [],
|
|
1035
|
+
JobStatus: [],
|
|
1036
|
+
SubmitTimeAfter: (_) => _.getTime() / 1_000,
|
|
1037
|
+
SubmitTimeBefore: (_) => _.getTime() / 1_000,
|
|
1038
|
+
});
|
|
1039
|
+
};
|
|
1040
|
+
const se_ListEntitiesDetectionV2JobsRequest = (input, context) => {
|
|
1041
|
+
return smithyClient.take(input, {
|
|
1042
|
+
Filter: (_) => se_ComprehendMedicalAsyncJobFilter(_),
|
|
1043
|
+
MaxResults: [],
|
|
1044
|
+
NextToken: [],
|
|
1045
|
+
});
|
|
1046
|
+
};
|
|
1047
|
+
const se_ListICD10CMInferenceJobsRequest = (input, context) => {
|
|
1048
|
+
return smithyClient.take(input, {
|
|
1049
|
+
Filter: (_) => se_ComprehendMedicalAsyncJobFilter(_),
|
|
1050
|
+
MaxResults: [],
|
|
1051
|
+
NextToken: [],
|
|
1052
|
+
});
|
|
1053
|
+
};
|
|
1054
|
+
const se_ListPHIDetectionJobsRequest = (input, context) => {
|
|
1055
|
+
return smithyClient.take(input, {
|
|
1056
|
+
Filter: (_) => se_ComprehendMedicalAsyncJobFilter(_),
|
|
1057
|
+
MaxResults: [],
|
|
1058
|
+
NextToken: [],
|
|
1059
|
+
});
|
|
1060
|
+
};
|
|
1061
|
+
const se_ListRxNormInferenceJobsRequest = (input, context) => {
|
|
1062
|
+
return smithyClient.take(input, {
|
|
1063
|
+
Filter: (_) => se_ComprehendMedicalAsyncJobFilter(_),
|
|
1064
|
+
MaxResults: [],
|
|
1065
|
+
NextToken: [],
|
|
1066
|
+
});
|
|
1067
|
+
};
|
|
1068
|
+
const se_ListSNOMEDCTInferenceJobsRequest = (input, context) => {
|
|
1069
|
+
return smithyClient.take(input, {
|
|
1070
|
+
Filter: (_) => se_ComprehendMedicalAsyncJobFilter(_),
|
|
1071
|
+
MaxResults: [],
|
|
1072
|
+
NextToken: [],
|
|
1073
|
+
});
|
|
1074
|
+
};
|
|
1075
|
+
const se_StartEntitiesDetectionV2JobRequest = (input, context) => {
|
|
1076
|
+
return smithyClient.take(input, {
|
|
1077
|
+
ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
|
|
1078
|
+
DataAccessRoleArn: [],
|
|
1079
|
+
InputDataConfig: smithyClient._json,
|
|
1080
|
+
JobName: [],
|
|
1081
|
+
KMSKey: [],
|
|
1082
|
+
LanguageCode: [],
|
|
1083
|
+
OutputDataConfig: smithyClient._json,
|
|
1084
|
+
});
|
|
1085
|
+
};
|
|
1086
|
+
const se_StartICD10CMInferenceJobRequest = (input, context) => {
|
|
1087
|
+
return smithyClient.take(input, {
|
|
1088
|
+
ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
|
|
1089
|
+
DataAccessRoleArn: [],
|
|
1090
|
+
InputDataConfig: smithyClient._json,
|
|
1091
|
+
JobName: [],
|
|
1092
|
+
KMSKey: [],
|
|
1093
|
+
LanguageCode: [],
|
|
1094
|
+
OutputDataConfig: smithyClient._json,
|
|
1095
|
+
});
|
|
1096
|
+
};
|
|
1097
|
+
const se_StartPHIDetectionJobRequest = (input, context) => {
|
|
1098
|
+
return smithyClient.take(input, {
|
|
1099
|
+
ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
|
|
1100
|
+
DataAccessRoleArn: [],
|
|
1101
|
+
InputDataConfig: smithyClient._json,
|
|
1102
|
+
JobName: [],
|
|
1103
|
+
KMSKey: [],
|
|
1104
|
+
LanguageCode: [],
|
|
1105
|
+
OutputDataConfig: smithyClient._json,
|
|
1106
|
+
});
|
|
1107
|
+
};
|
|
1108
|
+
const se_StartRxNormInferenceJobRequest = (input, context) => {
|
|
1109
|
+
return smithyClient.take(input, {
|
|
1110
|
+
ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
|
|
1111
|
+
DataAccessRoleArn: [],
|
|
1112
|
+
InputDataConfig: smithyClient._json,
|
|
1113
|
+
JobName: [],
|
|
1114
|
+
KMSKey: [],
|
|
1115
|
+
LanguageCode: [],
|
|
1116
|
+
OutputDataConfig: smithyClient._json,
|
|
1117
|
+
});
|
|
1118
|
+
};
|
|
1119
|
+
const se_StartSNOMEDCTInferenceJobRequest = (input, context) => {
|
|
1120
|
+
return smithyClient.take(input, {
|
|
1121
|
+
ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
|
|
1122
|
+
DataAccessRoleArn: [],
|
|
1123
|
+
InputDataConfig: smithyClient._json,
|
|
1124
|
+
JobName: [],
|
|
1125
|
+
KMSKey: [],
|
|
1126
|
+
LanguageCode: [],
|
|
1127
|
+
OutputDataConfig: smithyClient._json,
|
|
1128
|
+
});
|
|
1129
|
+
};
|
|
1130
|
+
const de_Attribute = (output, context) => {
|
|
1131
|
+
return smithyClient.take(output, {
|
|
1132
|
+
BeginOffset: smithyClient.expectInt32,
|
|
1133
|
+
Category: smithyClient.expectString,
|
|
1134
|
+
EndOffset: smithyClient.expectInt32,
|
|
1135
|
+
Id: smithyClient.expectInt32,
|
|
1136
|
+
RelationshipScore: smithyClient.limitedParseFloat32,
|
|
1137
|
+
RelationshipType: smithyClient.expectString,
|
|
1138
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1139
|
+
Text: smithyClient.expectString,
|
|
1140
|
+
Traits: (_) => de_TraitList(_),
|
|
1141
|
+
Type: smithyClient.expectString,
|
|
1142
|
+
});
|
|
1143
|
+
};
|
|
1144
|
+
const de_AttributeList = (output, context) => {
|
|
1145
|
+
const retVal = (output || [])
|
|
1146
|
+
.filter((e) => e != null)
|
|
1147
|
+
.map((entry) => {
|
|
1148
|
+
return de_Attribute(entry);
|
|
1149
|
+
});
|
|
1150
|
+
return retVal;
|
|
1151
|
+
};
|
|
1152
|
+
const de_ComprehendMedicalAsyncJobProperties = (output, context) => {
|
|
1153
|
+
return smithyClient.take(output, {
|
|
1154
|
+
DataAccessRoleArn: smithyClient.expectString,
|
|
1155
|
+
EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1156
|
+
ExpirationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1157
|
+
InputDataConfig: smithyClient._json,
|
|
1158
|
+
JobId: smithyClient.expectString,
|
|
1159
|
+
JobName: smithyClient.expectString,
|
|
1160
|
+
JobStatus: smithyClient.expectString,
|
|
1161
|
+
KMSKey: smithyClient.expectString,
|
|
1162
|
+
LanguageCode: smithyClient.expectString,
|
|
1163
|
+
ManifestFilePath: smithyClient.expectString,
|
|
1164
|
+
Message: smithyClient.expectString,
|
|
1165
|
+
ModelVersion: smithyClient.expectString,
|
|
1166
|
+
OutputDataConfig: smithyClient._json,
|
|
1167
|
+
SubmitTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1168
|
+
});
|
|
1169
|
+
};
|
|
1170
|
+
const de_ComprehendMedicalAsyncJobPropertiesList = (output, context) => {
|
|
1171
|
+
const retVal = (output || [])
|
|
1172
|
+
.filter((e) => e != null)
|
|
1173
|
+
.map((entry) => {
|
|
1174
|
+
return de_ComprehendMedicalAsyncJobProperties(entry);
|
|
1175
|
+
});
|
|
1176
|
+
return retVal;
|
|
1177
|
+
};
|
|
1178
|
+
const de_DescribeEntitiesDetectionV2JobResponse = (output, context) => {
|
|
1179
|
+
return smithyClient.take(output, {
|
|
1180
|
+
ComprehendMedicalAsyncJobProperties: (_) => de_ComprehendMedicalAsyncJobProperties(_),
|
|
1181
|
+
});
|
|
1182
|
+
};
|
|
1183
|
+
const de_DescribeICD10CMInferenceJobResponse = (output, context) => {
|
|
1184
|
+
return smithyClient.take(output, {
|
|
1185
|
+
ComprehendMedicalAsyncJobProperties: (_) => de_ComprehendMedicalAsyncJobProperties(_),
|
|
1186
|
+
});
|
|
1187
|
+
};
|
|
1188
|
+
const de_DescribePHIDetectionJobResponse = (output, context) => {
|
|
1189
|
+
return smithyClient.take(output, {
|
|
1190
|
+
ComprehendMedicalAsyncJobProperties: (_) => de_ComprehendMedicalAsyncJobProperties(_),
|
|
1191
|
+
});
|
|
1192
|
+
};
|
|
1193
|
+
const de_DescribeRxNormInferenceJobResponse = (output, context) => {
|
|
1194
|
+
return smithyClient.take(output, {
|
|
1195
|
+
ComprehendMedicalAsyncJobProperties: (_) => de_ComprehendMedicalAsyncJobProperties(_),
|
|
1196
|
+
});
|
|
1197
|
+
};
|
|
1198
|
+
const de_DescribeSNOMEDCTInferenceJobResponse = (output, context) => {
|
|
1199
|
+
return smithyClient.take(output, {
|
|
1200
|
+
ComprehendMedicalAsyncJobProperties: (_) => de_ComprehendMedicalAsyncJobProperties(_),
|
|
1201
|
+
});
|
|
1202
|
+
};
|
|
1203
|
+
const de_DetectEntitiesResponse = (output, context) => {
|
|
1204
|
+
return smithyClient.take(output, {
|
|
1205
|
+
Entities: (_) => de_EntityList(_),
|
|
1206
|
+
ModelVersion: smithyClient.expectString,
|
|
1207
|
+
PaginationToken: smithyClient.expectString,
|
|
1208
|
+
UnmappedAttributes: (_) => de_UnmappedAttributeList(_),
|
|
1209
|
+
});
|
|
1210
|
+
};
|
|
1211
|
+
const de_DetectEntitiesV2Response = (output, context) => {
|
|
1212
|
+
return smithyClient.take(output, {
|
|
1213
|
+
Entities: (_) => de_EntityList(_),
|
|
1214
|
+
ModelVersion: smithyClient.expectString,
|
|
1215
|
+
PaginationToken: smithyClient.expectString,
|
|
1216
|
+
UnmappedAttributes: (_) => de_UnmappedAttributeList(_),
|
|
1217
|
+
});
|
|
1218
|
+
};
|
|
1219
|
+
const de_DetectPHIResponse = (output, context) => {
|
|
1220
|
+
return smithyClient.take(output, {
|
|
1221
|
+
Entities: (_) => de_EntityList(_),
|
|
1222
|
+
ModelVersion: smithyClient.expectString,
|
|
1223
|
+
PaginationToken: smithyClient.expectString,
|
|
1224
|
+
});
|
|
1225
|
+
};
|
|
1226
|
+
const de_Entity = (output, context) => {
|
|
1227
|
+
return smithyClient.take(output, {
|
|
1228
|
+
Attributes: (_) => de_AttributeList(_),
|
|
1229
|
+
BeginOffset: smithyClient.expectInt32,
|
|
1230
|
+
Category: smithyClient.expectString,
|
|
1231
|
+
EndOffset: smithyClient.expectInt32,
|
|
1232
|
+
Id: smithyClient.expectInt32,
|
|
1233
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1234
|
+
Text: smithyClient.expectString,
|
|
1235
|
+
Traits: (_) => de_TraitList(_),
|
|
1236
|
+
Type: smithyClient.expectString,
|
|
1237
|
+
});
|
|
1238
|
+
};
|
|
1239
|
+
const de_EntityList = (output, context) => {
|
|
1240
|
+
const retVal = (output || [])
|
|
1241
|
+
.filter((e) => e != null)
|
|
1242
|
+
.map((entry) => {
|
|
1243
|
+
return de_Entity(entry);
|
|
1244
|
+
});
|
|
1245
|
+
return retVal;
|
|
1246
|
+
};
|
|
1247
|
+
const de_ICD10CMAttribute = (output, context) => {
|
|
1248
|
+
return smithyClient.take(output, {
|
|
1249
|
+
BeginOffset: smithyClient.expectInt32,
|
|
1250
|
+
Category: smithyClient.expectString,
|
|
1251
|
+
EndOffset: smithyClient.expectInt32,
|
|
1252
|
+
Id: smithyClient.expectInt32,
|
|
1253
|
+
RelationshipScore: smithyClient.limitedParseFloat32,
|
|
1254
|
+
RelationshipType: smithyClient.expectString,
|
|
1255
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1256
|
+
Text: smithyClient.expectString,
|
|
1257
|
+
Traits: (_) => de_ICD10CMTraitList(_),
|
|
1258
|
+
Type: smithyClient.expectString,
|
|
1259
|
+
});
|
|
1260
|
+
};
|
|
1261
|
+
const de_ICD10CMAttributeList = (output, context) => {
|
|
1262
|
+
const retVal = (output || [])
|
|
1263
|
+
.filter((e) => e != null)
|
|
1264
|
+
.map((entry) => {
|
|
1265
|
+
return de_ICD10CMAttribute(entry);
|
|
1266
|
+
});
|
|
1267
|
+
return retVal;
|
|
1268
|
+
};
|
|
1269
|
+
const de_ICD10CMConcept = (output, context) => {
|
|
1270
|
+
return smithyClient.take(output, {
|
|
1271
|
+
Code: smithyClient.expectString,
|
|
1272
|
+
Description: smithyClient.expectString,
|
|
1273
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1274
|
+
});
|
|
1275
|
+
};
|
|
1276
|
+
const de_ICD10CMConceptList = (output, context) => {
|
|
1277
|
+
const retVal = (output || [])
|
|
1278
|
+
.filter((e) => e != null)
|
|
1279
|
+
.map((entry) => {
|
|
1280
|
+
return de_ICD10CMConcept(entry);
|
|
1281
|
+
});
|
|
1282
|
+
return retVal;
|
|
1283
|
+
};
|
|
1284
|
+
const de_ICD10CMEntity = (output, context) => {
|
|
1285
|
+
return smithyClient.take(output, {
|
|
1286
|
+
Attributes: (_) => de_ICD10CMAttributeList(_),
|
|
1287
|
+
BeginOffset: smithyClient.expectInt32,
|
|
1288
|
+
Category: smithyClient.expectString,
|
|
1289
|
+
EndOffset: smithyClient.expectInt32,
|
|
1290
|
+
ICD10CMConcepts: (_) => de_ICD10CMConceptList(_),
|
|
1291
|
+
Id: smithyClient.expectInt32,
|
|
1292
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1293
|
+
Text: smithyClient.expectString,
|
|
1294
|
+
Traits: (_) => de_ICD10CMTraitList(_),
|
|
1295
|
+
Type: smithyClient.expectString,
|
|
1296
|
+
});
|
|
1297
|
+
};
|
|
1298
|
+
const de_ICD10CMEntityList = (output, context) => {
|
|
1299
|
+
const retVal = (output || [])
|
|
1300
|
+
.filter((e) => e != null)
|
|
1301
|
+
.map((entry) => {
|
|
1302
|
+
return de_ICD10CMEntity(entry);
|
|
1303
|
+
});
|
|
1304
|
+
return retVal;
|
|
1305
|
+
};
|
|
1306
|
+
const de_ICD10CMTrait = (output, context) => {
|
|
1307
|
+
return smithyClient.take(output, {
|
|
1308
|
+
Name: smithyClient.expectString,
|
|
1309
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1310
|
+
});
|
|
1311
|
+
};
|
|
1312
|
+
const de_ICD10CMTraitList = (output, context) => {
|
|
1313
|
+
const retVal = (output || [])
|
|
1314
|
+
.filter((e) => e != null)
|
|
1315
|
+
.map((entry) => {
|
|
1316
|
+
return de_ICD10CMTrait(entry);
|
|
1317
|
+
});
|
|
1318
|
+
return retVal;
|
|
1319
|
+
};
|
|
1320
|
+
const de_InferICD10CMResponse = (output, context) => {
|
|
1321
|
+
return smithyClient.take(output, {
|
|
1322
|
+
Entities: (_) => de_ICD10CMEntityList(_),
|
|
1323
|
+
ModelVersion: smithyClient.expectString,
|
|
1324
|
+
PaginationToken: smithyClient.expectString,
|
|
1325
|
+
});
|
|
1326
|
+
};
|
|
1327
|
+
const de_InferRxNormResponse = (output, context) => {
|
|
1328
|
+
return smithyClient.take(output, {
|
|
1329
|
+
Entities: (_) => de_RxNormEntityList(_),
|
|
1330
|
+
ModelVersion: smithyClient.expectString,
|
|
1331
|
+
PaginationToken: smithyClient.expectString,
|
|
1332
|
+
});
|
|
1333
|
+
};
|
|
1334
|
+
const de_InferSNOMEDCTResponse = (output, context) => {
|
|
1335
|
+
return smithyClient.take(output, {
|
|
1336
|
+
Characters: smithyClient._json,
|
|
1337
|
+
Entities: (_) => de_SNOMEDCTEntityList(_),
|
|
1338
|
+
ModelVersion: smithyClient.expectString,
|
|
1339
|
+
PaginationToken: smithyClient.expectString,
|
|
1340
|
+
SNOMEDCTDetails: smithyClient._json,
|
|
1341
|
+
});
|
|
1342
|
+
};
|
|
1343
|
+
const de_ListEntitiesDetectionV2JobsResponse = (output, context) => {
|
|
1344
|
+
return smithyClient.take(output, {
|
|
1345
|
+
ComprehendMedicalAsyncJobPropertiesList: (_) => de_ComprehendMedicalAsyncJobPropertiesList(_),
|
|
1346
|
+
NextToken: smithyClient.expectString,
|
|
1347
|
+
});
|
|
1348
|
+
};
|
|
1349
|
+
const de_ListICD10CMInferenceJobsResponse = (output, context) => {
|
|
1350
|
+
return smithyClient.take(output, {
|
|
1351
|
+
ComprehendMedicalAsyncJobPropertiesList: (_) => de_ComprehendMedicalAsyncJobPropertiesList(_),
|
|
1352
|
+
NextToken: smithyClient.expectString,
|
|
1353
|
+
});
|
|
1354
|
+
};
|
|
1355
|
+
const de_ListPHIDetectionJobsResponse = (output, context) => {
|
|
1356
|
+
return smithyClient.take(output, {
|
|
1357
|
+
ComprehendMedicalAsyncJobPropertiesList: (_) => de_ComprehendMedicalAsyncJobPropertiesList(_),
|
|
1358
|
+
NextToken: smithyClient.expectString,
|
|
1359
|
+
});
|
|
1360
|
+
};
|
|
1361
|
+
const de_ListRxNormInferenceJobsResponse = (output, context) => {
|
|
1362
|
+
return smithyClient.take(output, {
|
|
1363
|
+
ComprehendMedicalAsyncJobPropertiesList: (_) => de_ComprehendMedicalAsyncJobPropertiesList(_),
|
|
1364
|
+
NextToken: smithyClient.expectString,
|
|
1365
|
+
});
|
|
1366
|
+
};
|
|
1367
|
+
const de_ListSNOMEDCTInferenceJobsResponse = (output, context) => {
|
|
1368
|
+
return smithyClient.take(output, {
|
|
1369
|
+
ComprehendMedicalAsyncJobPropertiesList: (_) => de_ComprehendMedicalAsyncJobPropertiesList(_),
|
|
1370
|
+
NextToken: smithyClient.expectString,
|
|
1371
|
+
});
|
|
1372
|
+
};
|
|
1373
|
+
const de_RxNormAttribute = (output, context) => {
|
|
1374
|
+
return smithyClient.take(output, {
|
|
1375
|
+
BeginOffset: smithyClient.expectInt32,
|
|
1376
|
+
EndOffset: smithyClient.expectInt32,
|
|
1377
|
+
Id: smithyClient.expectInt32,
|
|
1378
|
+
RelationshipScore: smithyClient.limitedParseFloat32,
|
|
1379
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1380
|
+
Text: smithyClient.expectString,
|
|
1381
|
+
Traits: (_) => de_RxNormTraitList(_),
|
|
1382
|
+
Type: smithyClient.expectString,
|
|
1383
|
+
});
|
|
1384
|
+
};
|
|
1385
|
+
const de_RxNormAttributeList = (output, context) => {
|
|
1386
|
+
const retVal = (output || [])
|
|
1387
|
+
.filter((e) => e != null)
|
|
1388
|
+
.map((entry) => {
|
|
1389
|
+
return de_RxNormAttribute(entry);
|
|
1390
|
+
});
|
|
1391
|
+
return retVal;
|
|
1392
|
+
};
|
|
1393
|
+
const de_RxNormConcept = (output, context) => {
|
|
1394
|
+
return smithyClient.take(output, {
|
|
1395
|
+
Code: smithyClient.expectString,
|
|
1396
|
+
Description: smithyClient.expectString,
|
|
1397
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1398
|
+
});
|
|
1399
|
+
};
|
|
1400
|
+
const de_RxNormConceptList = (output, context) => {
|
|
1401
|
+
const retVal = (output || [])
|
|
1402
|
+
.filter((e) => e != null)
|
|
1403
|
+
.map((entry) => {
|
|
1404
|
+
return de_RxNormConcept(entry);
|
|
1405
|
+
});
|
|
1406
|
+
return retVal;
|
|
1407
|
+
};
|
|
1408
|
+
const de_RxNormEntity = (output, context) => {
|
|
1409
|
+
return smithyClient.take(output, {
|
|
1410
|
+
Attributes: (_) => de_RxNormAttributeList(_),
|
|
1411
|
+
BeginOffset: smithyClient.expectInt32,
|
|
1412
|
+
Category: smithyClient.expectString,
|
|
1413
|
+
EndOffset: smithyClient.expectInt32,
|
|
1414
|
+
Id: smithyClient.expectInt32,
|
|
1415
|
+
RxNormConcepts: (_) => de_RxNormConceptList(_),
|
|
1416
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1417
|
+
Text: smithyClient.expectString,
|
|
1418
|
+
Traits: (_) => de_RxNormTraitList(_),
|
|
1419
|
+
Type: smithyClient.expectString,
|
|
1420
|
+
});
|
|
1421
|
+
};
|
|
1422
|
+
const de_RxNormEntityList = (output, context) => {
|
|
1423
|
+
const retVal = (output || [])
|
|
1424
|
+
.filter((e) => e != null)
|
|
1425
|
+
.map((entry) => {
|
|
1426
|
+
return de_RxNormEntity(entry);
|
|
1427
|
+
});
|
|
1428
|
+
return retVal;
|
|
1429
|
+
};
|
|
1430
|
+
const de_RxNormTrait = (output, context) => {
|
|
1431
|
+
return smithyClient.take(output, {
|
|
1432
|
+
Name: smithyClient.expectString,
|
|
1433
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1434
|
+
});
|
|
1435
|
+
};
|
|
1436
|
+
const de_RxNormTraitList = (output, context) => {
|
|
1437
|
+
const retVal = (output || [])
|
|
1438
|
+
.filter((e) => e != null)
|
|
1439
|
+
.map((entry) => {
|
|
1440
|
+
return de_RxNormTrait(entry);
|
|
1441
|
+
});
|
|
1442
|
+
return retVal;
|
|
1443
|
+
};
|
|
1444
|
+
const de_SNOMEDCTAttribute = (output, context) => {
|
|
1445
|
+
return smithyClient.take(output, {
|
|
1446
|
+
BeginOffset: smithyClient.expectInt32,
|
|
1447
|
+
Category: smithyClient.expectString,
|
|
1448
|
+
EndOffset: smithyClient.expectInt32,
|
|
1449
|
+
Id: smithyClient.expectInt32,
|
|
1450
|
+
RelationshipScore: smithyClient.limitedParseFloat32,
|
|
1451
|
+
RelationshipType: smithyClient.expectString,
|
|
1452
|
+
SNOMEDCTConcepts: (_) => de_SNOMEDCTConceptList(_),
|
|
1453
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1454
|
+
Text: smithyClient.expectString,
|
|
1455
|
+
Traits: (_) => de_SNOMEDCTTraitList(_),
|
|
1456
|
+
Type: smithyClient.expectString,
|
|
1457
|
+
});
|
|
1458
|
+
};
|
|
1459
|
+
const de_SNOMEDCTAttributeList = (output, context) => {
|
|
1460
|
+
const retVal = (output || [])
|
|
1461
|
+
.filter((e) => e != null)
|
|
1462
|
+
.map((entry) => {
|
|
1463
|
+
return de_SNOMEDCTAttribute(entry);
|
|
1464
|
+
});
|
|
1465
|
+
return retVal;
|
|
1466
|
+
};
|
|
1467
|
+
const de_SNOMEDCTConcept = (output, context) => {
|
|
1468
|
+
return smithyClient.take(output, {
|
|
1469
|
+
Code: smithyClient.expectString,
|
|
1470
|
+
Description: smithyClient.expectString,
|
|
1471
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1472
|
+
});
|
|
1473
|
+
};
|
|
1474
|
+
const de_SNOMEDCTConceptList = (output, context) => {
|
|
1475
|
+
const retVal = (output || [])
|
|
1476
|
+
.filter((e) => e != null)
|
|
1477
|
+
.map((entry) => {
|
|
1478
|
+
return de_SNOMEDCTConcept(entry);
|
|
1479
|
+
});
|
|
1480
|
+
return retVal;
|
|
1481
|
+
};
|
|
1482
|
+
const de_SNOMEDCTEntity = (output, context) => {
|
|
1483
|
+
return smithyClient.take(output, {
|
|
1484
|
+
Attributes: (_) => de_SNOMEDCTAttributeList(_),
|
|
1485
|
+
BeginOffset: smithyClient.expectInt32,
|
|
1486
|
+
Category: smithyClient.expectString,
|
|
1487
|
+
EndOffset: smithyClient.expectInt32,
|
|
1488
|
+
Id: smithyClient.expectInt32,
|
|
1489
|
+
SNOMEDCTConcepts: (_) => de_SNOMEDCTConceptList(_),
|
|
1490
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1491
|
+
Text: smithyClient.expectString,
|
|
1492
|
+
Traits: (_) => de_SNOMEDCTTraitList(_),
|
|
1493
|
+
Type: smithyClient.expectString,
|
|
1494
|
+
});
|
|
1495
|
+
};
|
|
1496
|
+
const de_SNOMEDCTEntityList = (output, context) => {
|
|
1497
|
+
const retVal = (output || [])
|
|
1498
|
+
.filter((e) => e != null)
|
|
1499
|
+
.map((entry) => {
|
|
1500
|
+
return de_SNOMEDCTEntity(entry);
|
|
1501
|
+
});
|
|
1502
|
+
return retVal;
|
|
1503
|
+
};
|
|
1504
|
+
const de_SNOMEDCTTrait = (output, context) => {
|
|
1505
|
+
return smithyClient.take(output, {
|
|
1506
|
+
Name: smithyClient.expectString,
|
|
1507
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1508
|
+
});
|
|
1509
|
+
};
|
|
1510
|
+
const de_SNOMEDCTTraitList = (output, context) => {
|
|
1511
|
+
const retVal = (output || [])
|
|
1512
|
+
.filter((e) => e != null)
|
|
1513
|
+
.map((entry) => {
|
|
1514
|
+
return de_SNOMEDCTTrait(entry);
|
|
1515
|
+
});
|
|
1516
|
+
return retVal;
|
|
1517
|
+
};
|
|
1518
|
+
const de_Trait = (output, context) => {
|
|
1519
|
+
return smithyClient.take(output, {
|
|
1520
|
+
Name: smithyClient.expectString,
|
|
1521
|
+
Score: smithyClient.limitedParseFloat32,
|
|
1522
|
+
});
|
|
1523
|
+
};
|
|
1524
|
+
const de_TraitList = (output, context) => {
|
|
1525
|
+
const retVal = (output || [])
|
|
1526
|
+
.filter((e) => e != null)
|
|
1527
|
+
.map((entry) => {
|
|
1528
|
+
return de_Trait(entry);
|
|
1529
|
+
});
|
|
1530
|
+
return retVal;
|
|
1531
|
+
};
|
|
1532
|
+
const de_UnmappedAttribute = (output, context) => {
|
|
1533
|
+
return smithyClient.take(output, {
|
|
1534
|
+
Attribute: (_) => de_Attribute(_),
|
|
1535
|
+
Type: smithyClient.expectString,
|
|
1536
|
+
});
|
|
1537
|
+
};
|
|
1538
|
+
const de_UnmappedAttributeList = (output, context) => {
|
|
1539
|
+
const retVal = (output || [])
|
|
1540
|
+
.filter((e) => e != null)
|
|
1541
|
+
.map((entry) => {
|
|
1542
|
+
return de_UnmappedAttribute(entry);
|
|
1543
|
+
});
|
|
1544
|
+
return retVal;
|
|
1545
|
+
};
|
|
1546
|
+
const deserializeMetadata = (output) => ({
|
|
1547
|
+
httpStatusCode: output.statusCode,
|
|
1548
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1549
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1550
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1551
|
+
});
|
|
1552
|
+
const throwDefaultError = smithyClient.withBaseException(ComprehendMedicalServiceException);
|
|
1553
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1554
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1555
|
+
const contents = {
|
|
1556
|
+
protocol,
|
|
1557
|
+
hostname,
|
|
1558
|
+
port,
|
|
1559
|
+
method: "POST",
|
|
1560
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1561
|
+
headers,
|
|
1562
|
+
};
|
|
1563
|
+
if (body !== undefined) {
|
|
1564
|
+
contents.body = body;
|
|
1565
|
+
}
|
|
1566
|
+
return new protocolHttp.HttpRequest(contents);
|
|
1567
|
+
};
|
|
1568
|
+
function sharedHeaders(operation) {
|
|
1569
|
+
return {
|
|
1570
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1571
|
+
"x-amz-target": `ComprehendMedical_20181030.${operation}`,
|
|
1572
|
+
};
|
|
1573
|
+
}
|
|
2010
1574
|
|
|
2011
|
-
|
|
2012
|
-
|
|
1575
|
+
class DescribeEntitiesDetectionV2JobCommand extends smithyClient.Command
|
|
1576
|
+
.classBuilder()
|
|
1577
|
+
.ep(commonParams)
|
|
1578
|
+
.m(function (Command, cs, config, o) {
|
|
1579
|
+
return [
|
|
1580
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1581
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1582
|
+
];
|
|
1583
|
+
})
|
|
1584
|
+
.s("ComprehendMedical_20181030", "DescribeEntitiesDetectionV2Job", {})
|
|
1585
|
+
.n("ComprehendMedicalClient", "DescribeEntitiesDetectionV2JobCommand")
|
|
1586
|
+
.f(void 0, void 0)
|
|
1587
|
+
.ser(se_DescribeEntitiesDetectionV2JobCommand)
|
|
1588
|
+
.de(de_DescribeEntitiesDetectionV2JobCommand)
|
|
1589
|
+
.build() {
|
|
1590
|
+
}
|
|
2013
1591
|
|
|
1592
|
+
class DescribeICD10CMInferenceJobCommand extends smithyClient.Command
|
|
1593
|
+
.classBuilder()
|
|
1594
|
+
.ep(commonParams)
|
|
1595
|
+
.m(function (Command, cs, config, o) {
|
|
1596
|
+
return [
|
|
1597
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1598
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1599
|
+
];
|
|
1600
|
+
})
|
|
1601
|
+
.s("ComprehendMedical_20181030", "DescribeICD10CMInferenceJob", {})
|
|
1602
|
+
.n("ComprehendMedicalClient", "DescribeICD10CMInferenceJobCommand")
|
|
1603
|
+
.f(void 0, void 0)
|
|
1604
|
+
.ser(se_DescribeICD10CMInferenceJobCommand)
|
|
1605
|
+
.de(de_DescribeICD10CMInferenceJobCommand)
|
|
1606
|
+
.build() {
|
|
1607
|
+
}
|
|
2014
1608
|
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
(
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
}
|
|
1609
|
+
class DescribePHIDetectionJobCommand extends smithyClient.Command
|
|
1610
|
+
.classBuilder()
|
|
1611
|
+
.ep(commonParams)
|
|
1612
|
+
.m(function (Command, cs, config, o) {
|
|
1613
|
+
return [
|
|
1614
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1615
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1616
|
+
];
|
|
1617
|
+
})
|
|
1618
|
+
.s("ComprehendMedical_20181030", "DescribePHIDetectionJob", {})
|
|
1619
|
+
.n("ComprehendMedicalClient", "DescribePHIDetectionJobCommand")
|
|
1620
|
+
.f(void 0, void 0)
|
|
1621
|
+
.ser(se_DescribePHIDetectionJobCommand)
|
|
1622
|
+
.de(de_DescribePHIDetectionJobCommand)
|
|
1623
|
+
.build() {
|
|
1624
|
+
}
|
|
2025
1625
|
|
|
2026
|
-
|
|
1626
|
+
class DescribeRxNormInferenceJobCommand extends smithyClient.Command
|
|
1627
|
+
.classBuilder()
|
|
1628
|
+
.ep(commonParams)
|
|
1629
|
+
.m(function (Command, cs, config, o) {
|
|
1630
|
+
return [
|
|
1631
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1632
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1633
|
+
];
|
|
1634
|
+
})
|
|
1635
|
+
.s("ComprehendMedical_20181030", "DescribeRxNormInferenceJob", {})
|
|
1636
|
+
.n("ComprehendMedicalClient", "DescribeRxNormInferenceJobCommand")
|
|
1637
|
+
.f(void 0, void 0)
|
|
1638
|
+
.ser(se_DescribeRxNormInferenceJobCommand)
|
|
1639
|
+
.de(de_DescribeRxNormInferenceJobCommand)
|
|
1640
|
+
.build() {
|
|
1641
|
+
}
|
|
2027
1642
|
|
|
1643
|
+
class DescribeSNOMEDCTInferenceJobCommand extends smithyClient.Command
|
|
1644
|
+
.classBuilder()
|
|
1645
|
+
.ep(commonParams)
|
|
1646
|
+
.m(function (Command, cs, config, o) {
|
|
1647
|
+
return [
|
|
1648
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1649
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1650
|
+
];
|
|
1651
|
+
})
|
|
1652
|
+
.s("ComprehendMedical_20181030", "DescribeSNOMEDCTInferenceJob", {})
|
|
1653
|
+
.n("ComprehendMedicalClient", "DescribeSNOMEDCTInferenceJobCommand")
|
|
1654
|
+
.f(void 0, void 0)
|
|
1655
|
+
.ser(se_DescribeSNOMEDCTInferenceJobCommand)
|
|
1656
|
+
.de(de_DescribeSNOMEDCTInferenceJobCommand)
|
|
1657
|
+
.build() {
|
|
1658
|
+
}
|
|
2028
1659
|
|
|
1660
|
+
class DetectEntitiesCommand extends smithyClient.Command
|
|
1661
|
+
.classBuilder()
|
|
1662
|
+
.ep(commonParams)
|
|
1663
|
+
.m(function (Command, cs, config, o) {
|
|
1664
|
+
return [
|
|
1665
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1666
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1667
|
+
];
|
|
1668
|
+
})
|
|
1669
|
+
.s("ComprehendMedical_20181030", "DetectEntities", {})
|
|
1670
|
+
.n("ComprehendMedicalClient", "DetectEntitiesCommand")
|
|
1671
|
+
.f(void 0, void 0)
|
|
1672
|
+
.ser(se_DetectEntitiesCommand)
|
|
1673
|
+
.de(de_DetectEntitiesCommand)
|
|
1674
|
+
.build() {
|
|
1675
|
+
}
|
|
2029
1676
|
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
(
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
}
|
|
1677
|
+
class DetectEntitiesV2Command extends smithyClient.Command
|
|
1678
|
+
.classBuilder()
|
|
1679
|
+
.ep(commonParams)
|
|
1680
|
+
.m(function (Command, cs, config, o) {
|
|
1681
|
+
return [
|
|
1682
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1683
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1684
|
+
];
|
|
1685
|
+
})
|
|
1686
|
+
.s("ComprehendMedical_20181030", "DetectEntitiesV2", {})
|
|
1687
|
+
.n("ComprehendMedicalClient", "DetectEntitiesV2Command")
|
|
1688
|
+
.f(void 0, void 0)
|
|
1689
|
+
.ser(se_DetectEntitiesV2Command)
|
|
1690
|
+
.de(de_DetectEntitiesV2Command)
|
|
1691
|
+
.build() {
|
|
1692
|
+
}
|
|
2040
1693
|
|
|
2041
|
-
|
|
1694
|
+
class DetectPHICommand extends smithyClient.Command
|
|
1695
|
+
.classBuilder()
|
|
1696
|
+
.ep(commonParams)
|
|
1697
|
+
.m(function (Command, cs, config, o) {
|
|
1698
|
+
return [
|
|
1699
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1700
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1701
|
+
];
|
|
1702
|
+
})
|
|
1703
|
+
.s("ComprehendMedical_20181030", "DetectPHI", {})
|
|
1704
|
+
.n("ComprehendMedicalClient", "DetectPHICommand")
|
|
1705
|
+
.f(void 0, void 0)
|
|
1706
|
+
.ser(se_DetectPHICommand)
|
|
1707
|
+
.de(de_DetectPHICommand)
|
|
1708
|
+
.build() {
|
|
1709
|
+
}
|
|
2042
1710
|
|
|
1711
|
+
class InferICD10CMCommand extends smithyClient.Command
|
|
1712
|
+
.classBuilder()
|
|
1713
|
+
.ep(commonParams)
|
|
1714
|
+
.m(function (Command, cs, config, o) {
|
|
1715
|
+
return [
|
|
1716
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1717
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1718
|
+
];
|
|
1719
|
+
})
|
|
1720
|
+
.s("ComprehendMedical_20181030", "InferICD10CM", {})
|
|
1721
|
+
.n("ComprehendMedicalClient", "InferICD10CMCommand")
|
|
1722
|
+
.f(void 0, void 0)
|
|
1723
|
+
.ser(se_InferICD10CMCommand)
|
|
1724
|
+
.de(de_InferICD10CMCommand)
|
|
1725
|
+
.build() {
|
|
1726
|
+
}
|
|
2043
1727
|
|
|
1728
|
+
class InferRxNormCommand extends smithyClient.Command
|
|
1729
|
+
.classBuilder()
|
|
1730
|
+
.ep(commonParams)
|
|
1731
|
+
.m(function (Command, cs, config, o) {
|
|
1732
|
+
return [
|
|
1733
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1734
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1735
|
+
];
|
|
1736
|
+
})
|
|
1737
|
+
.s("ComprehendMedical_20181030", "InferRxNorm", {})
|
|
1738
|
+
.n("ComprehendMedicalClient", "InferRxNormCommand")
|
|
1739
|
+
.f(void 0, void 0)
|
|
1740
|
+
.ser(se_InferRxNormCommand)
|
|
1741
|
+
.de(de_InferRxNormCommand)
|
|
1742
|
+
.build() {
|
|
1743
|
+
}
|
|
2044
1744
|
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
(
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
}
|
|
1745
|
+
class InferSNOMEDCTCommand extends smithyClient.Command
|
|
1746
|
+
.classBuilder()
|
|
1747
|
+
.ep(commonParams)
|
|
1748
|
+
.m(function (Command, cs, config, o) {
|
|
1749
|
+
return [
|
|
1750
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1751
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1752
|
+
];
|
|
1753
|
+
})
|
|
1754
|
+
.s("ComprehendMedical_20181030", "InferSNOMEDCT", {})
|
|
1755
|
+
.n("ComprehendMedicalClient", "InferSNOMEDCTCommand")
|
|
1756
|
+
.f(void 0, void 0)
|
|
1757
|
+
.ser(se_InferSNOMEDCTCommand)
|
|
1758
|
+
.de(de_InferSNOMEDCTCommand)
|
|
1759
|
+
.build() {
|
|
1760
|
+
}
|
|
2055
1761
|
|
|
2056
|
-
|
|
1762
|
+
class ListEntitiesDetectionV2JobsCommand extends smithyClient.Command
|
|
1763
|
+
.classBuilder()
|
|
1764
|
+
.ep(commonParams)
|
|
1765
|
+
.m(function (Command, cs, config, o) {
|
|
1766
|
+
return [
|
|
1767
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1768
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1769
|
+
];
|
|
1770
|
+
})
|
|
1771
|
+
.s("ComprehendMedical_20181030", "ListEntitiesDetectionV2Jobs", {})
|
|
1772
|
+
.n("ComprehendMedicalClient", "ListEntitiesDetectionV2JobsCommand")
|
|
1773
|
+
.f(void 0, void 0)
|
|
1774
|
+
.ser(se_ListEntitiesDetectionV2JobsCommand)
|
|
1775
|
+
.de(de_ListEntitiesDetectionV2JobsCommand)
|
|
1776
|
+
.build() {
|
|
1777
|
+
}
|
|
2057
1778
|
|
|
1779
|
+
class ListICD10CMInferenceJobsCommand extends smithyClient.Command
|
|
1780
|
+
.classBuilder()
|
|
1781
|
+
.ep(commonParams)
|
|
1782
|
+
.m(function (Command, cs, config, o) {
|
|
1783
|
+
return [
|
|
1784
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1785
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1786
|
+
];
|
|
1787
|
+
})
|
|
1788
|
+
.s("ComprehendMedical_20181030", "ListICD10CMInferenceJobs", {})
|
|
1789
|
+
.n("ComprehendMedicalClient", "ListICD10CMInferenceJobsCommand")
|
|
1790
|
+
.f(void 0, void 0)
|
|
1791
|
+
.ser(se_ListICD10CMInferenceJobsCommand)
|
|
1792
|
+
.de(de_ListICD10CMInferenceJobsCommand)
|
|
1793
|
+
.build() {
|
|
1794
|
+
}
|
|
2058
1795
|
|
|
1796
|
+
class ListPHIDetectionJobsCommand extends smithyClient.Command
|
|
1797
|
+
.classBuilder()
|
|
1798
|
+
.ep(commonParams)
|
|
1799
|
+
.m(function (Command, cs, config, o) {
|
|
1800
|
+
return [
|
|
1801
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1802
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1803
|
+
];
|
|
1804
|
+
})
|
|
1805
|
+
.s("ComprehendMedical_20181030", "ListPHIDetectionJobs", {})
|
|
1806
|
+
.n("ComprehendMedicalClient", "ListPHIDetectionJobsCommand")
|
|
1807
|
+
.f(void 0, void 0)
|
|
1808
|
+
.ser(se_ListPHIDetectionJobsCommand)
|
|
1809
|
+
.de(de_ListPHIDetectionJobsCommand)
|
|
1810
|
+
.build() {
|
|
1811
|
+
}
|
|
2059
1812
|
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
(
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
}
|
|
1813
|
+
class ListRxNormInferenceJobsCommand extends smithyClient.Command
|
|
1814
|
+
.classBuilder()
|
|
1815
|
+
.ep(commonParams)
|
|
1816
|
+
.m(function (Command, cs, config, o) {
|
|
1817
|
+
return [
|
|
1818
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1819
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1820
|
+
];
|
|
1821
|
+
})
|
|
1822
|
+
.s("ComprehendMedical_20181030", "ListRxNormInferenceJobs", {})
|
|
1823
|
+
.n("ComprehendMedicalClient", "ListRxNormInferenceJobsCommand")
|
|
1824
|
+
.f(void 0, void 0)
|
|
1825
|
+
.ser(se_ListRxNormInferenceJobsCommand)
|
|
1826
|
+
.de(de_ListRxNormInferenceJobsCommand)
|
|
1827
|
+
.build() {
|
|
1828
|
+
}
|
|
2070
1829
|
|
|
2071
|
-
|
|
1830
|
+
class ListSNOMEDCTInferenceJobsCommand extends smithyClient.Command
|
|
1831
|
+
.classBuilder()
|
|
1832
|
+
.ep(commonParams)
|
|
1833
|
+
.m(function (Command, cs, config, o) {
|
|
1834
|
+
return [
|
|
1835
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1836
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1837
|
+
];
|
|
1838
|
+
})
|
|
1839
|
+
.s("ComprehendMedical_20181030", "ListSNOMEDCTInferenceJobs", {})
|
|
1840
|
+
.n("ComprehendMedicalClient", "ListSNOMEDCTInferenceJobsCommand")
|
|
1841
|
+
.f(void 0, void 0)
|
|
1842
|
+
.ser(se_ListSNOMEDCTInferenceJobsCommand)
|
|
1843
|
+
.de(de_ListSNOMEDCTInferenceJobsCommand)
|
|
1844
|
+
.build() {
|
|
1845
|
+
}
|
|
2072
1846
|
|
|
1847
|
+
class StartEntitiesDetectionV2JobCommand extends smithyClient.Command
|
|
1848
|
+
.classBuilder()
|
|
1849
|
+
.ep(commonParams)
|
|
1850
|
+
.m(function (Command, cs, config, o) {
|
|
1851
|
+
return [
|
|
1852
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1853
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1854
|
+
];
|
|
1855
|
+
})
|
|
1856
|
+
.s("ComprehendMedical_20181030", "StartEntitiesDetectionV2Job", {})
|
|
1857
|
+
.n("ComprehendMedicalClient", "StartEntitiesDetectionV2JobCommand")
|
|
1858
|
+
.f(void 0, void 0)
|
|
1859
|
+
.ser(se_StartEntitiesDetectionV2JobCommand)
|
|
1860
|
+
.de(de_StartEntitiesDetectionV2JobCommand)
|
|
1861
|
+
.build() {
|
|
1862
|
+
}
|
|
2073
1863
|
|
|
1864
|
+
class StartICD10CMInferenceJobCommand extends smithyClient.Command
|
|
1865
|
+
.classBuilder()
|
|
1866
|
+
.ep(commonParams)
|
|
1867
|
+
.m(function (Command, cs, config, o) {
|
|
1868
|
+
return [
|
|
1869
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1870
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1871
|
+
];
|
|
1872
|
+
})
|
|
1873
|
+
.s("ComprehendMedical_20181030", "StartICD10CMInferenceJob", {})
|
|
1874
|
+
.n("ComprehendMedicalClient", "StartICD10CMInferenceJobCommand")
|
|
1875
|
+
.f(void 0, void 0)
|
|
1876
|
+
.ser(se_StartICD10CMInferenceJobCommand)
|
|
1877
|
+
.de(de_StartICD10CMInferenceJobCommand)
|
|
1878
|
+
.build() {
|
|
1879
|
+
}
|
|
2074
1880
|
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
(
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
}
|
|
1881
|
+
class StartPHIDetectionJobCommand extends smithyClient.Command
|
|
1882
|
+
.classBuilder()
|
|
1883
|
+
.ep(commonParams)
|
|
1884
|
+
.m(function (Command, cs, config, o) {
|
|
1885
|
+
return [
|
|
1886
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1887
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1888
|
+
];
|
|
1889
|
+
})
|
|
1890
|
+
.s("ComprehendMedical_20181030", "StartPHIDetectionJob", {})
|
|
1891
|
+
.n("ComprehendMedicalClient", "StartPHIDetectionJobCommand")
|
|
1892
|
+
.f(void 0, void 0)
|
|
1893
|
+
.ser(se_StartPHIDetectionJobCommand)
|
|
1894
|
+
.de(de_StartPHIDetectionJobCommand)
|
|
1895
|
+
.build() {
|
|
1896
|
+
}
|
|
2085
1897
|
|
|
2086
|
-
|
|
1898
|
+
class StartRxNormInferenceJobCommand extends smithyClient.Command
|
|
1899
|
+
.classBuilder()
|
|
1900
|
+
.ep(commonParams)
|
|
1901
|
+
.m(function (Command, cs, config, o) {
|
|
1902
|
+
return [
|
|
1903
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1904
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1905
|
+
];
|
|
1906
|
+
})
|
|
1907
|
+
.s("ComprehendMedical_20181030", "StartRxNormInferenceJob", {})
|
|
1908
|
+
.n("ComprehendMedicalClient", "StartRxNormInferenceJobCommand")
|
|
1909
|
+
.f(void 0, void 0)
|
|
1910
|
+
.ser(se_StartRxNormInferenceJobCommand)
|
|
1911
|
+
.de(de_StartRxNormInferenceJobCommand)
|
|
1912
|
+
.build() {
|
|
1913
|
+
}
|
|
2087
1914
|
|
|
1915
|
+
class StartSNOMEDCTInferenceJobCommand extends smithyClient.Command
|
|
1916
|
+
.classBuilder()
|
|
1917
|
+
.ep(commonParams)
|
|
1918
|
+
.m(function (Command, cs, config, o) {
|
|
1919
|
+
return [
|
|
1920
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1921
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1922
|
+
];
|
|
1923
|
+
})
|
|
1924
|
+
.s("ComprehendMedical_20181030", "StartSNOMEDCTInferenceJob", {})
|
|
1925
|
+
.n("ComprehendMedicalClient", "StartSNOMEDCTInferenceJobCommand")
|
|
1926
|
+
.f(void 0, void 0)
|
|
1927
|
+
.ser(se_StartSNOMEDCTInferenceJobCommand)
|
|
1928
|
+
.de(de_StartSNOMEDCTInferenceJobCommand)
|
|
1929
|
+
.build() {
|
|
1930
|
+
}
|
|
2088
1931
|
|
|
1932
|
+
class StopEntitiesDetectionV2JobCommand extends smithyClient.Command
|
|
1933
|
+
.classBuilder()
|
|
1934
|
+
.ep(commonParams)
|
|
1935
|
+
.m(function (Command, cs, config, o) {
|
|
1936
|
+
return [
|
|
1937
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1938
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1939
|
+
];
|
|
1940
|
+
})
|
|
1941
|
+
.s("ComprehendMedical_20181030", "StopEntitiesDetectionV2Job", {})
|
|
1942
|
+
.n("ComprehendMedicalClient", "StopEntitiesDetectionV2JobCommand")
|
|
1943
|
+
.f(void 0, void 0)
|
|
1944
|
+
.ser(se_StopEntitiesDetectionV2JobCommand)
|
|
1945
|
+
.de(de_StopEntitiesDetectionV2JobCommand)
|
|
1946
|
+
.build() {
|
|
1947
|
+
}
|
|
2089
1948
|
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
(
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
}
|
|
1949
|
+
class StopICD10CMInferenceJobCommand extends smithyClient.Command
|
|
1950
|
+
.classBuilder()
|
|
1951
|
+
.ep(commonParams)
|
|
1952
|
+
.m(function (Command, cs, config, o) {
|
|
1953
|
+
return [
|
|
1954
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1955
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1956
|
+
];
|
|
1957
|
+
})
|
|
1958
|
+
.s("ComprehendMedical_20181030", "StopICD10CMInferenceJob", {})
|
|
1959
|
+
.n("ComprehendMedicalClient", "StopICD10CMInferenceJobCommand")
|
|
1960
|
+
.f(void 0, void 0)
|
|
1961
|
+
.ser(se_StopICD10CMInferenceJobCommand)
|
|
1962
|
+
.de(de_StopICD10CMInferenceJobCommand)
|
|
1963
|
+
.build() {
|
|
1964
|
+
}
|
|
2100
1965
|
|
|
2101
|
-
|
|
1966
|
+
class StopPHIDetectionJobCommand extends smithyClient.Command
|
|
1967
|
+
.classBuilder()
|
|
1968
|
+
.ep(commonParams)
|
|
1969
|
+
.m(function (Command, cs, config, o) {
|
|
1970
|
+
return [
|
|
1971
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1972
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1973
|
+
];
|
|
1974
|
+
})
|
|
1975
|
+
.s("ComprehendMedical_20181030", "StopPHIDetectionJob", {})
|
|
1976
|
+
.n("ComprehendMedicalClient", "StopPHIDetectionJobCommand")
|
|
1977
|
+
.f(void 0, void 0)
|
|
1978
|
+
.ser(se_StopPHIDetectionJobCommand)
|
|
1979
|
+
.de(de_StopPHIDetectionJobCommand)
|
|
1980
|
+
.build() {
|
|
1981
|
+
}
|
|
2102
1982
|
|
|
1983
|
+
class StopRxNormInferenceJobCommand extends smithyClient.Command
|
|
1984
|
+
.classBuilder()
|
|
1985
|
+
.ep(commonParams)
|
|
1986
|
+
.m(function (Command, cs, config, o) {
|
|
1987
|
+
return [
|
|
1988
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1989
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1990
|
+
];
|
|
1991
|
+
})
|
|
1992
|
+
.s("ComprehendMedical_20181030", "StopRxNormInferenceJob", {})
|
|
1993
|
+
.n("ComprehendMedicalClient", "StopRxNormInferenceJobCommand")
|
|
1994
|
+
.f(void 0, void 0)
|
|
1995
|
+
.ser(se_StopRxNormInferenceJobCommand)
|
|
1996
|
+
.de(de_StopRxNormInferenceJobCommand)
|
|
1997
|
+
.build() {
|
|
1998
|
+
}
|
|
2103
1999
|
|
|
2000
|
+
class StopSNOMEDCTInferenceJobCommand extends smithyClient.Command
|
|
2001
|
+
.classBuilder()
|
|
2002
|
+
.ep(commonParams)
|
|
2003
|
+
.m(function (Command, cs, config, o) {
|
|
2004
|
+
return [
|
|
2005
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2006
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2007
|
+
];
|
|
2008
|
+
})
|
|
2009
|
+
.s("ComprehendMedical_20181030", "StopSNOMEDCTInferenceJob", {})
|
|
2010
|
+
.n("ComprehendMedicalClient", "StopSNOMEDCTInferenceJobCommand")
|
|
2011
|
+
.f(void 0, void 0)
|
|
2012
|
+
.ser(se_StopSNOMEDCTInferenceJobCommand)
|
|
2013
|
+
.de(de_StopSNOMEDCTInferenceJobCommand)
|
|
2014
|
+
.build() {
|
|
2015
|
+
}
|
|
2104
2016
|
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2017
|
+
const commands = {
|
|
2018
|
+
DescribeEntitiesDetectionV2JobCommand,
|
|
2019
|
+
DescribeICD10CMInferenceJobCommand,
|
|
2020
|
+
DescribePHIDetectionJobCommand,
|
|
2021
|
+
DescribeRxNormInferenceJobCommand,
|
|
2022
|
+
DescribeSNOMEDCTInferenceJobCommand,
|
|
2023
|
+
DetectEntitiesCommand,
|
|
2024
|
+
DetectEntitiesV2Command,
|
|
2025
|
+
DetectPHICommand,
|
|
2026
|
+
InferICD10CMCommand,
|
|
2027
|
+
InferRxNormCommand,
|
|
2028
|
+
InferSNOMEDCTCommand,
|
|
2029
|
+
ListEntitiesDetectionV2JobsCommand,
|
|
2030
|
+
ListICD10CMInferenceJobsCommand,
|
|
2031
|
+
ListPHIDetectionJobsCommand,
|
|
2032
|
+
ListRxNormInferenceJobsCommand,
|
|
2033
|
+
ListSNOMEDCTInferenceJobsCommand,
|
|
2034
|
+
StartEntitiesDetectionV2JobCommand,
|
|
2035
|
+
StartICD10CMInferenceJobCommand,
|
|
2036
|
+
StartPHIDetectionJobCommand,
|
|
2037
|
+
StartRxNormInferenceJobCommand,
|
|
2038
|
+
StartSNOMEDCTInferenceJobCommand,
|
|
2039
|
+
StopEntitiesDetectionV2JobCommand,
|
|
2040
|
+
StopICD10CMInferenceJobCommand,
|
|
2041
|
+
StopPHIDetectionJobCommand,
|
|
2042
|
+
StopRxNormInferenceJobCommand,
|
|
2043
|
+
StopSNOMEDCTInferenceJobCommand,
|
|
2114
2044
|
};
|
|
2045
|
+
class ComprehendMedical extends ComprehendMedicalClient {
|
|
2046
|
+
}
|
|
2047
|
+
smithyClient.createAggregatedClient(commands, ComprehendMedical);
|
|
2115
2048
|
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
DescribeICD10CMInferenceJobCommand,
|
|
2120
|
-
DescribePHIDetectionJobCommand,
|
|
2121
|
-
DescribeRxNormInferenceJobCommand,
|
|
2122
|
-
DescribeSNOMEDCTInferenceJobCommand,
|
|
2123
|
-
DetectEntitiesCommand,
|
|
2124
|
-
DetectEntitiesV2Command,
|
|
2125
|
-
DetectPHICommand,
|
|
2126
|
-
InferICD10CMCommand,
|
|
2127
|
-
InferRxNormCommand,
|
|
2128
|
-
InferSNOMEDCTCommand,
|
|
2129
|
-
ListEntitiesDetectionV2JobsCommand,
|
|
2130
|
-
ListICD10CMInferenceJobsCommand,
|
|
2131
|
-
ListPHIDetectionJobsCommand,
|
|
2132
|
-
ListRxNormInferenceJobsCommand,
|
|
2133
|
-
ListSNOMEDCTInferenceJobsCommand,
|
|
2134
|
-
StartEntitiesDetectionV2JobCommand,
|
|
2135
|
-
StartICD10CMInferenceJobCommand,
|
|
2136
|
-
StartPHIDetectionJobCommand,
|
|
2137
|
-
StartRxNormInferenceJobCommand,
|
|
2138
|
-
StartSNOMEDCTInferenceJobCommand,
|
|
2139
|
-
StopEntitiesDetectionV2JobCommand,
|
|
2140
|
-
StopICD10CMInferenceJobCommand,
|
|
2141
|
-
StopPHIDetectionJobCommand,
|
|
2142
|
-
StopRxNormInferenceJobCommand,
|
|
2143
|
-
StopSNOMEDCTInferenceJobCommand
|
|
2144
|
-
};
|
|
2145
|
-
var ComprehendMedical = class extends ComprehendMedicalClient {
|
|
2146
|
-
static {
|
|
2147
|
-
__name(this, "ComprehendMedical");
|
|
2148
|
-
}
|
|
2149
|
-
};
|
|
2150
|
-
(0, import_smithy_client.createAggregatedClient)(commands, ComprehendMedical);
|
|
2151
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
2152
|
-
|
|
2153
|
-
0 && (module.exports = {
|
|
2154
|
-
ComprehendMedicalServiceException,
|
|
2155
|
-
__Client,
|
|
2156
|
-
ComprehendMedicalClient,
|
|
2157
|
-
ComprehendMedical,
|
|
2158
|
-
$Command,
|
|
2159
|
-
DescribeEntitiesDetectionV2JobCommand,
|
|
2160
|
-
DescribeICD10CMInferenceJobCommand,
|
|
2161
|
-
DescribePHIDetectionJobCommand,
|
|
2162
|
-
DescribeRxNormInferenceJobCommand,
|
|
2163
|
-
DescribeSNOMEDCTInferenceJobCommand,
|
|
2164
|
-
DetectEntitiesCommand,
|
|
2165
|
-
DetectEntitiesV2Command,
|
|
2166
|
-
DetectPHICommand,
|
|
2167
|
-
InferICD10CMCommand,
|
|
2168
|
-
InferRxNormCommand,
|
|
2169
|
-
InferSNOMEDCTCommand,
|
|
2170
|
-
ListEntitiesDetectionV2JobsCommand,
|
|
2171
|
-
ListICD10CMInferenceJobsCommand,
|
|
2172
|
-
ListPHIDetectionJobsCommand,
|
|
2173
|
-
ListRxNormInferenceJobsCommand,
|
|
2174
|
-
ListSNOMEDCTInferenceJobsCommand,
|
|
2175
|
-
StartEntitiesDetectionV2JobCommand,
|
|
2176
|
-
StartICD10CMInferenceJobCommand,
|
|
2177
|
-
StartPHIDetectionJobCommand,
|
|
2178
|
-
StartRxNormInferenceJobCommand,
|
|
2179
|
-
StartSNOMEDCTInferenceJobCommand,
|
|
2180
|
-
StopEntitiesDetectionV2JobCommand,
|
|
2181
|
-
StopICD10CMInferenceJobCommand,
|
|
2182
|
-
StopPHIDetectionJobCommand,
|
|
2183
|
-
StopRxNormInferenceJobCommand,
|
|
2184
|
-
StopSNOMEDCTInferenceJobCommand,
|
|
2185
|
-
EntityType,
|
|
2186
|
-
RelationshipType,
|
|
2187
|
-
AttributeName,
|
|
2188
|
-
EntitySubType,
|
|
2189
|
-
JobStatus,
|
|
2190
|
-
LanguageCode,
|
|
2191
|
-
InternalServerException,
|
|
2192
|
-
InvalidRequestException,
|
|
2193
|
-
ResourceNotFoundException,
|
|
2194
|
-
TooManyRequestsException,
|
|
2195
|
-
InvalidEncodingException,
|
|
2196
|
-
ServiceUnavailableException,
|
|
2197
|
-
TextSizeLimitExceededException,
|
|
2198
|
-
ICD10CMEntityType,
|
|
2199
|
-
ICD10CMRelationshipType,
|
|
2200
|
-
ICD10CMTraitName,
|
|
2201
|
-
ICD10CMAttributeType,
|
|
2202
|
-
ICD10CMEntityCategory,
|
|
2203
|
-
RxNormTraitName,
|
|
2204
|
-
RxNormAttributeType,
|
|
2205
|
-
RxNormEntityCategory,
|
|
2206
|
-
RxNormEntityType,
|
|
2207
|
-
SNOMEDCTEntityCategory,
|
|
2208
|
-
SNOMEDCTRelationshipType,
|
|
2209
|
-
SNOMEDCTTraitName,
|
|
2210
|
-
SNOMEDCTAttributeType,
|
|
2211
|
-
SNOMEDCTEntityType,
|
|
2212
|
-
ValidationException
|
|
2049
|
+
Object.defineProperty(exports, "$Command", {
|
|
2050
|
+
enumerable: true,
|
|
2051
|
+
get: function () { return smithyClient.Command; }
|
|
2213
2052
|
});
|
|
2214
|
-
|
|
2053
|
+
Object.defineProperty(exports, "__Client", {
|
|
2054
|
+
enumerable: true,
|
|
2055
|
+
get: function () { return smithyClient.Client; }
|
|
2056
|
+
});
|
|
2057
|
+
exports.AttributeName = AttributeName;
|
|
2058
|
+
exports.ComprehendMedical = ComprehendMedical;
|
|
2059
|
+
exports.ComprehendMedicalClient = ComprehendMedicalClient;
|
|
2060
|
+
exports.ComprehendMedicalServiceException = ComprehendMedicalServiceException;
|
|
2061
|
+
exports.DescribeEntitiesDetectionV2JobCommand = DescribeEntitiesDetectionV2JobCommand;
|
|
2062
|
+
exports.DescribeICD10CMInferenceJobCommand = DescribeICD10CMInferenceJobCommand;
|
|
2063
|
+
exports.DescribePHIDetectionJobCommand = DescribePHIDetectionJobCommand;
|
|
2064
|
+
exports.DescribeRxNormInferenceJobCommand = DescribeRxNormInferenceJobCommand;
|
|
2065
|
+
exports.DescribeSNOMEDCTInferenceJobCommand = DescribeSNOMEDCTInferenceJobCommand;
|
|
2066
|
+
exports.DetectEntitiesCommand = DetectEntitiesCommand;
|
|
2067
|
+
exports.DetectEntitiesV2Command = DetectEntitiesV2Command;
|
|
2068
|
+
exports.DetectPHICommand = DetectPHICommand;
|
|
2069
|
+
exports.EntitySubType = EntitySubType;
|
|
2070
|
+
exports.EntityType = EntityType;
|
|
2071
|
+
exports.ICD10CMAttributeType = ICD10CMAttributeType;
|
|
2072
|
+
exports.ICD10CMEntityCategory = ICD10CMEntityCategory;
|
|
2073
|
+
exports.ICD10CMEntityType = ICD10CMEntityType;
|
|
2074
|
+
exports.ICD10CMRelationshipType = ICD10CMRelationshipType;
|
|
2075
|
+
exports.ICD10CMTraitName = ICD10CMTraitName;
|
|
2076
|
+
exports.InferICD10CMCommand = InferICD10CMCommand;
|
|
2077
|
+
exports.InferRxNormCommand = InferRxNormCommand;
|
|
2078
|
+
exports.InferSNOMEDCTCommand = InferSNOMEDCTCommand;
|
|
2079
|
+
exports.InternalServerException = InternalServerException;
|
|
2080
|
+
exports.InvalidEncodingException = InvalidEncodingException;
|
|
2081
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
2082
|
+
exports.JobStatus = JobStatus;
|
|
2083
|
+
exports.LanguageCode = LanguageCode;
|
|
2084
|
+
exports.ListEntitiesDetectionV2JobsCommand = ListEntitiesDetectionV2JobsCommand;
|
|
2085
|
+
exports.ListICD10CMInferenceJobsCommand = ListICD10CMInferenceJobsCommand;
|
|
2086
|
+
exports.ListPHIDetectionJobsCommand = ListPHIDetectionJobsCommand;
|
|
2087
|
+
exports.ListRxNormInferenceJobsCommand = ListRxNormInferenceJobsCommand;
|
|
2088
|
+
exports.ListSNOMEDCTInferenceJobsCommand = ListSNOMEDCTInferenceJobsCommand;
|
|
2089
|
+
exports.RelationshipType = RelationshipType;
|
|
2090
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2091
|
+
exports.RxNormAttributeType = RxNormAttributeType;
|
|
2092
|
+
exports.RxNormEntityCategory = RxNormEntityCategory;
|
|
2093
|
+
exports.RxNormEntityType = RxNormEntityType;
|
|
2094
|
+
exports.RxNormTraitName = RxNormTraitName;
|
|
2095
|
+
exports.SNOMEDCTAttributeType = SNOMEDCTAttributeType;
|
|
2096
|
+
exports.SNOMEDCTEntityCategory = SNOMEDCTEntityCategory;
|
|
2097
|
+
exports.SNOMEDCTEntityType = SNOMEDCTEntityType;
|
|
2098
|
+
exports.SNOMEDCTRelationshipType = SNOMEDCTRelationshipType;
|
|
2099
|
+
exports.SNOMEDCTTraitName = SNOMEDCTTraitName;
|
|
2100
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
2101
|
+
exports.StartEntitiesDetectionV2JobCommand = StartEntitiesDetectionV2JobCommand;
|
|
2102
|
+
exports.StartICD10CMInferenceJobCommand = StartICD10CMInferenceJobCommand;
|
|
2103
|
+
exports.StartPHIDetectionJobCommand = StartPHIDetectionJobCommand;
|
|
2104
|
+
exports.StartRxNormInferenceJobCommand = StartRxNormInferenceJobCommand;
|
|
2105
|
+
exports.StartSNOMEDCTInferenceJobCommand = StartSNOMEDCTInferenceJobCommand;
|
|
2106
|
+
exports.StopEntitiesDetectionV2JobCommand = StopEntitiesDetectionV2JobCommand;
|
|
2107
|
+
exports.StopICD10CMInferenceJobCommand = StopICD10CMInferenceJobCommand;
|
|
2108
|
+
exports.StopPHIDetectionJobCommand = StopPHIDetectionJobCommand;
|
|
2109
|
+
exports.StopRxNormInferenceJobCommand = StopRxNormInferenceJobCommand;
|
|
2110
|
+
exports.StopSNOMEDCTInferenceJobCommand = StopSNOMEDCTInferenceJobCommand;
|
|
2111
|
+
exports.TextSizeLimitExceededException = TextSizeLimitExceededException;
|
|
2112
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
2113
|
+
exports.ValidationException = ValidationException;
|