@azure-rest/health-insights-clinicalmatching 1.0.0-alpha.20250620.1 → 1.0.0-alpha.20250718.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@azure-rest/health-insights-clinicalmatching",
|
|
3
3
|
"sdk-type": "client",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
|
-
"version": "1.0.0-alpha.
|
|
5
|
+
"version": "1.0.0-alpha.20250718.1",
|
|
6
6
|
"description": "A generated SDK for Health Insights Clinical Matching Rest",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"node",
|
|
@@ -1,411 +1,411 @@
|
|
|
1
|
-
## API Report File for "@azure-rest/health-insights-clinicalmatching"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import type { Client } from '@azure-rest/core-client';
|
|
8
|
-
import type { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
-
import type { CreateHttpPollerOptions } from '@azure/core-lro';
|
|
10
|
-
import type { ErrorResponse } from '@azure-rest/core-client';
|
|
11
|
-
import type { HttpResponse } from '@azure-rest/core-client';
|
|
12
|
-
import type { KeyCredential } from '@azure/core-auth';
|
|
13
|
-
import type { OperationState } from '@azure/core-lro';
|
|
14
|
-
import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
15
|
-
import type { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
|
|
16
|
-
import type { RequestParameters } from '@azure-rest/core-client';
|
|
17
|
-
import type { SimplePollerLike } from '@azure/core-lro';
|
|
18
|
-
import type { StreamableMethod } from '@azure-rest/core-client';
|
|
19
|
-
|
|
20
|
-
// @public
|
|
21
|
-
export interface AcceptedAge {
|
|
22
|
-
unit: string;
|
|
23
|
-
value: number;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// @public
|
|
27
|
-
export interface AcceptedAgeRange {
|
|
28
|
-
maximumAge?: AcceptedAge;
|
|
29
|
-
minimumAge?: AcceptedAge;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// @public
|
|
33
|
-
export interface AreaGeometry {
|
|
34
|
-
coordinates: number[];
|
|
35
|
-
type: string;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// @public
|
|
39
|
-
export interface AreaProperties {
|
|
40
|
-
radius: number;
|
|
41
|
-
subType: string;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// @public
|
|
45
|
-
export interface ClinicalCodedElement {
|
|
46
|
-
code: string;
|
|
47
|
-
name?: string;
|
|
48
|
-
system: string;
|
|
49
|
-
value?: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// @public
|
|
53
|
-
export interface ClinicalCodedElementOutput {
|
|
54
|
-
code: string;
|
|
55
|
-
name?: string;
|
|
56
|
-
system: string;
|
|
57
|
-
value?: string;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// @public (undocumented)
|
|
61
|
-
export type ClinicalMatchingRestClient = Client & {
|
|
62
|
-
path: Routes;
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
// @public
|
|
66
|
-
export interface ClinicalNoteEvidenceOutput {
|
|
67
|
-
id: string;
|
|
68
|
-
length: number;
|
|
69
|
-
offset: number;
|
|
70
|
-
text?: string;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// @public
|
|
74
|
-
export interface ClinicalTrialDemographics {
|
|
75
|
-
acceptedAgeRange?: AcceptedAgeRange;
|
|
76
|
-
acceptedSex?: string;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// @public
|
|
80
|
-
export interface ClinicalTrialDetails {
|
|
81
|
-
demographics?: ClinicalTrialDemographics;
|
|
82
|
-
eligibilityCriteriaText?: string;
|
|
83
|
-
id: string;
|
|
84
|
-
metadata: ClinicalTrialMetadata;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// @public
|
|
88
|
-
export interface ClinicalTrialMetadata {
|
|
89
|
-
conditions: string[];
|
|
90
|
-
contacts?: Array<ContactDetails>;
|
|
91
|
-
facilities?: Array<ClinicalTrialResearchFacility>;
|
|
92
|
-
phases?: string[];
|
|
93
|
-
recruitmentStatus?: string;
|
|
94
|
-
sponsors?: string[];
|
|
95
|
-
studyType?: string;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// @public
|
|
99
|
-
export interface ClinicalTrialMetadataOutput {
|
|
100
|
-
conditions: string[];
|
|
101
|
-
contacts?: Array<ContactDetailsOutput>;
|
|
102
|
-
facilities?: Array<ClinicalTrialResearchFacilityOutput>;
|
|
103
|
-
phases?: string[];
|
|
104
|
-
recruitmentStatus?: string;
|
|
105
|
-
sponsors?: string[];
|
|
106
|
-
studyType?: string;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// @public
|
|
110
|
-
export interface ClinicalTrialRegistryFilter {
|
|
111
|
-
conditions?: string[];
|
|
112
|
-
facilityAreas?: Array<GeographicArea>;
|
|
113
|
-
facilityLocations?: Array<GeographicLocation>;
|
|
114
|
-
facilityNames?: string[];
|
|
115
|
-
ids?: string[];
|
|
116
|
-
phases?: string[];
|
|
117
|
-
purposes?: string[];
|
|
118
|
-
recruitmentStatuses?: string[];
|
|
119
|
-
sources?: string[];
|
|
120
|
-
sponsors?: string[];
|
|
121
|
-
studyTypes?: string[];
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
// @public
|
|
125
|
-
export interface ClinicalTrialResearchFacility {
|
|
126
|
-
city?: string;
|
|
127
|
-
countryOrRegion: string;
|
|
128
|
-
name: string;
|
|
129
|
-
state?: string;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// @public
|
|
133
|
-
export interface ClinicalTrialResearchFacilityOutput {
|
|
134
|
-
city?: string;
|
|
135
|
-
countryOrRegion: string;
|
|
136
|
-
name: string;
|
|
137
|
-
state?: string;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// @public
|
|
141
|
-
export interface ClinicalTrials {
|
|
142
|
-
customTrials?: Array<ClinicalTrialDetails>;
|
|
143
|
-
registryFilters?: Array<ClinicalTrialRegistryFilter>;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
// @public
|
|
147
|
-
export interface ContactDetails {
|
|
148
|
-
email?: string;
|
|
149
|
-
name?: string;
|
|
150
|
-
phone?: string;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
// @public
|
|
154
|
-
export interface ContactDetailsOutput {
|
|
155
|
-
email?: string;
|
|
156
|
-
name?: string;
|
|
157
|
-
phone?: string;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
// @public
|
|
161
|
-
function createClient(endpoint: string, credentials: KeyCredential, options?: ClientOptions): ClinicalMatchingRestClient;
|
|
162
|
-
export default createClient;
|
|
163
|
-
|
|
164
|
-
// @public (undocumented)
|
|
165
|
-
export interface CreateJob {
|
|
166
|
-
post(options?: CreateJobParameters): StreamableMethod<CreateJob200Response | CreateJob202Response | CreateJobDefaultResponse>;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
// @public
|
|
170
|
-
export interface CreateJob200Response extends HttpResponse {
|
|
171
|
-
// (undocumented)
|
|
172
|
-
body: TrialMatcherResultOutput;
|
|
173
|
-
// (undocumented)
|
|
174
|
-
status: "200";
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
// @public (undocumented)
|
|
178
|
-
export interface CreateJob202Headers {
|
|
179
|
-
"operation-location": string;
|
|
180
|
-
"repeatability-result"?: "accepted" | "rejected";
|
|
181
|
-
"retry-after"?: number;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
// @public
|
|
185
|
-
export interface CreateJob202Response extends HttpResponse {
|
|
186
|
-
// (undocumented)
|
|
187
|
-
headers: RawHttpHeaders & CreateJob202Headers;
|
|
188
|
-
// (undocumented)
|
|
189
|
-
status: "202";
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
// @public (undocumented)
|
|
193
|
-
export interface CreateJobBodyParam {
|
|
194
|
-
// (undocumented)
|
|
195
|
-
body?: TrialMatcherData;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
// @public (undocumented)
|
|
199
|
-
export interface CreateJobDefaultHeaders {
|
|
200
|
-
"x-ms-error-code"?: string;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
// @public (undocumented)
|
|
204
|
-
export interface CreateJobDefaultResponse extends HttpResponse {
|
|
205
|
-
// (undocumented)
|
|
206
|
-
body: ErrorResponse;
|
|
207
|
-
// (undocumented)
|
|
208
|
-
headers: RawHttpHeaders & CreateJobDefaultHeaders;
|
|
209
|
-
// (undocumented)
|
|
210
|
-
status: string;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
// @public (undocumented)
|
|
214
|
-
export interface CreateJobHeaderParam {
|
|
215
|
-
// (undocumented)
|
|
216
|
-
headers?: RawHttpHeadersInput & CreateJobHeaders;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
// @public (undocumented)
|
|
220
|
-
export interface CreateJobHeaders {
|
|
221
|
-
"Repeatability-First-Sent"?: string;
|
|
222
|
-
"Repeatability-Request-ID"?: string;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
// @public
|
|
226
|
-
export interface CreateJobLogicalResponse extends HttpResponse {
|
|
227
|
-
// (undocumented)
|
|
228
|
-
body: TrialMatcherResultOutput;
|
|
229
|
-
// (undocumented)
|
|
230
|
-
status: "200";
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
// @public (undocumented)
|
|
234
|
-
export type CreateJobParameters = CreateJobHeaderParam & CreateJobBodyParam & RequestParameters;
|
|
235
|
-
|
|
236
|
-
// @public
|
|
237
|
-
export interface DocumentContent {
|
|
238
|
-
sourceType: string;
|
|
239
|
-
value: string;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
// @public
|
|
243
|
-
export interface ErrorModelOutput {
|
|
244
|
-
code: string;
|
|
245
|
-
details?: Array<ErrorModelOutput>;
|
|
246
|
-
innererror?: InnerErrorOutput;
|
|
247
|
-
message: string;
|
|
248
|
-
target?: string;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
// @public
|
|
252
|
-
export interface ExtendedClinicalCodedElementOutput {
|
|
253
|
-
category?: string;
|
|
254
|
-
code: string;
|
|
255
|
-
name?: string;
|
|
256
|
-
semanticType?: string;
|
|
257
|
-
system: string;
|
|
258
|
-
value?: string;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
// @public
|
|
262
|
-
export interface GeographicArea {
|
|
263
|
-
geometry: AreaGeometry;
|
|
264
|
-
properties: AreaProperties;
|
|
265
|
-
type: string;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
// @public
|
|
269
|
-
export interface GeographicLocation {
|
|
270
|
-
city?: string;
|
|
271
|
-
countryOrRegion: string;
|
|
272
|
-
state?: string;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
// @public (undocumented)
|
|
276
|
-
export interface GetJob {
|
|
277
|
-
get(options?: GetJobParameters): StreamableMethod<GetJob200Response | GetJobDefaultResponse>;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
// @public
|
|
281
|
-
export interface GetJob200Response extends HttpResponse {
|
|
282
|
-
// (undocumented)
|
|
283
|
-
body: TrialMatcherResultOutput;
|
|
284
|
-
// (undocumented)
|
|
285
|
-
status: "200";
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
// @public (undocumented)
|
|
289
|
-
export interface GetJobDefaultHeaders {
|
|
290
|
-
"x-ms-error-code"?: string;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
// @public (undocumented)
|
|
294
|
-
export interface GetJobDefaultResponse extends HttpResponse {
|
|
295
|
-
// (undocumented)
|
|
296
|
-
body: ErrorResponse;
|
|
297
|
-
// (undocumented)
|
|
298
|
-
headers: RawHttpHeaders & GetJobDefaultHeaders;
|
|
299
|
-
// (undocumented)
|
|
300
|
-
status: string;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
// @public (undocumented)
|
|
304
|
-
export type GetJobParameters = RequestParameters;
|
|
305
|
-
|
|
306
|
-
// @public
|
|
307
|
-
export function getLongRunningPoller<TResult extends CreateJobLogicalResponse | CreateJobDefaultResponse>(client: Client, initialResponse: CreateJob200Response | CreateJob202Response | CreateJobDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
308
|
-
|
|
309
|
-
// @public
|
|
310
|
-
export interface InnerErrorOutput {
|
|
311
|
-
code?: string;
|
|
312
|
-
innererror?: InnerErrorOutput;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
// @public (undocumented)
|
|
316
|
-
export function isUnexpected(response: GetJob200Response | GetJobDefaultResponse): response is GetJobDefaultResponse;
|
|
317
|
-
|
|
318
|
-
// @public (undocumented)
|
|
319
|
-
export function isUnexpected(response: CreateJob200Response | CreateJob202Response | CreateJobLogicalResponse | CreateJobDefaultResponse): response is CreateJobDefaultResponse;
|
|
320
|
-
|
|
321
|
-
// @public
|
|
322
|
-
export interface PatientDocument {
|
|
323
|
-
clinicalType?: string;
|
|
324
|
-
content: DocumentContent;
|
|
325
|
-
createdDateTime?: Date | string;
|
|
326
|
-
id: string;
|
|
327
|
-
language?: string;
|
|
328
|
-
type: string;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
// @public
|
|
332
|
-
export interface PatientInfo {
|
|
333
|
-
birthDate?: Date | string;
|
|
334
|
-
clinicalInfo?: Array<ClinicalCodedElement>;
|
|
335
|
-
sex?: string;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
// @public
|
|
339
|
-
export interface PatientRecord {
|
|
340
|
-
data?: Array<PatientDocument>;
|
|
341
|
-
id: string;
|
|
342
|
-
info?: PatientInfo;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
// @public (undocumented)
|
|
346
|
-
export interface Routes {
|
|
347
|
-
(path: "/trialmatcher/jobs/{jobId}", jobId: string): GetJob;
|
|
348
|
-
(path: "/trialmatcher/jobs"): CreateJob;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
// @public
|
|
352
|
-
export interface TrialMatcherData {
|
|
353
|
-
configuration?: TrialMatcherModelConfiguration;
|
|
354
|
-
patients: Array<PatientRecord>;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
// @public
|
|
358
|
-
export interface TrialMatcherInferenceEvidenceOutput {
|
|
359
|
-
eligibilityCriteriaEvidence?: string;
|
|
360
|
-
importance?: number;
|
|
361
|
-
patientDataEvidence?: ClinicalNoteEvidenceOutput;
|
|
362
|
-
patientInfoEvidence?: ClinicalCodedElementOutput;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
// @public
|
|
366
|
-
export interface TrialMatcherInferenceOutput {
|
|
367
|
-
confidenceScore?: number;
|
|
368
|
-
description?: string;
|
|
369
|
-
evidence?: Array<TrialMatcherInferenceEvidenceOutput>;
|
|
370
|
-
id?: string;
|
|
371
|
-
metadata?: ClinicalTrialMetadataOutput;
|
|
372
|
-
source?: string;
|
|
373
|
-
type: string;
|
|
374
|
-
value: string;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
// @public
|
|
378
|
-
export interface TrialMatcherModelConfiguration {
|
|
379
|
-
clinicalTrials: ClinicalTrials;
|
|
380
|
-
includeEvidence?: boolean;
|
|
381
|
-
verbose?: boolean;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
// @public
|
|
385
|
-
export interface TrialMatcherPatientResultOutput {
|
|
386
|
-
id: string;
|
|
387
|
-
inferences: Array<TrialMatcherInferenceOutput>;
|
|
388
|
-
neededClinicalInfo?: Array<ExtendedClinicalCodedElementOutput>;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
// @public
|
|
392
|
-
export interface TrialMatcherResultOutput {
|
|
393
|
-
readonly createdDateTime: string;
|
|
394
|
-
readonly errors?: Array<ErrorModelOutput>;
|
|
395
|
-
readonly expirationDateTime: string;
|
|
396
|
-
readonly jobId: string;
|
|
397
|
-
readonly lastUpdateDateTime: string;
|
|
398
|
-
readonly results?: TrialMatcherResultsOutput;
|
|
399
|
-
readonly status: string;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
// @public
|
|
403
|
-
export interface TrialMatcherResultsOutput {
|
|
404
|
-
knowledgeGraphLastUpdateDate?: string;
|
|
405
|
-
modelVersion: string;
|
|
406
|
-
patients: Array<TrialMatcherPatientResultOutput>;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
// (No @packageDocumentation comment for this package)
|
|
410
|
-
|
|
411
|
-
```
|
|
1
|
+
## API Report File for "@azure-rest/health-insights-clinicalmatching"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import type { Client } from '@azure-rest/core-client';
|
|
8
|
+
import type { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
+
import type { CreateHttpPollerOptions } from '@azure/core-lro';
|
|
10
|
+
import type { ErrorResponse } from '@azure-rest/core-client';
|
|
11
|
+
import type { HttpResponse } from '@azure-rest/core-client';
|
|
12
|
+
import type { KeyCredential } from '@azure/core-auth';
|
|
13
|
+
import type { OperationState } from '@azure/core-lro';
|
|
14
|
+
import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
15
|
+
import type { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
|
|
16
|
+
import type { RequestParameters } from '@azure-rest/core-client';
|
|
17
|
+
import type { SimplePollerLike } from '@azure/core-lro';
|
|
18
|
+
import type { StreamableMethod } from '@azure-rest/core-client';
|
|
19
|
+
|
|
20
|
+
// @public
|
|
21
|
+
export interface AcceptedAge {
|
|
22
|
+
unit: string;
|
|
23
|
+
value: number;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// @public
|
|
27
|
+
export interface AcceptedAgeRange {
|
|
28
|
+
maximumAge?: AcceptedAge;
|
|
29
|
+
minimumAge?: AcceptedAge;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// @public
|
|
33
|
+
export interface AreaGeometry {
|
|
34
|
+
coordinates: number[];
|
|
35
|
+
type: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// @public
|
|
39
|
+
export interface AreaProperties {
|
|
40
|
+
radius: number;
|
|
41
|
+
subType: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// @public
|
|
45
|
+
export interface ClinicalCodedElement {
|
|
46
|
+
code: string;
|
|
47
|
+
name?: string;
|
|
48
|
+
system: string;
|
|
49
|
+
value?: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// @public
|
|
53
|
+
export interface ClinicalCodedElementOutput {
|
|
54
|
+
code: string;
|
|
55
|
+
name?: string;
|
|
56
|
+
system: string;
|
|
57
|
+
value?: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// @public (undocumented)
|
|
61
|
+
export type ClinicalMatchingRestClient = Client & {
|
|
62
|
+
path: Routes;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
// @public
|
|
66
|
+
export interface ClinicalNoteEvidenceOutput {
|
|
67
|
+
id: string;
|
|
68
|
+
length: number;
|
|
69
|
+
offset: number;
|
|
70
|
+
text?: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// @public
|
|
74
|
+
export interface ClinicalTrialDemographics {
|
|
75
|
+
acceptedAgeRange?: AcceptedAgeRange;
|
|
76
|
+
acceptedSex?: string;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// @public
|
|
80
|
+
export interface ClinicalTrialDetails {
|
|
81
|
+
demographics?: ClinicalTrialDemographics;
|
|
82
|
+
eligibilityCriteriaText?: string;
|
|
83
|
+
id: string;
|
|
84
|
+
metadata: ClinicalTrialMetadata;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// @public
|
|
88
|
+
export interface ClinicalTrialMetadata {
|
|
89
|
+
conditions: string[];
|
|
90
|
+
contacts?: Array<ContactDetails>;
|
|
91
|
+
facilities?: Array<ClinicalTrialResearchFacility>;
|
|
92
|
+
phases?: string[];
|
|
93
|
+
recruitmentStatus?: string;
|
|
94
|
+
sponsors?: string[];
|
|
95
|
+
studyType?: string;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// @public
|
|
99
|
+
export interface ClinicalTrialMetadataOutput {
|
|
100
|
+
conditions: string[];
|
|
101
|
+
contacts?: Array<ContactDetailsOutput>;
|
|
102
|
+
facilities?: Array<ClinicalTrialResearchFacilityOutput>;
|
|
103
|
+
phases?: string[];
|
|
104
|
+
recruitmentStatus?: string;
|
|
105
|
+
sponsors?: string[];
|
|
106
|
+
studyType?: string;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// @public
|
|
110
|
+
export interface ClinicalTrialRegistryFilter {
|
|
111
|
+
conditions?: string[];
|
|
112
|
+
facilityAreas?: Array<GeographicArea>;
|
|
113
|
+
facilityLocations?: Array<GeographicLocation>;
|
|
114
|
+
facilityNames?: string[];
|
|
115
|
+
ids?: string[];
|
|
116
|
+
phases?: string[];
|
|
117
|
+
purposes?: string[];
|
|
118
|
+
recruitmentStatuses?: string[];
|
|
119
|
+
sources?: string[];
|
|
120
|
+
sponsors?: string[];
|
|
121
|
+
studyTypes?: string[];
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// @public
|
|
125
|
+
export interface ClinicalTrialResearchFacility {
|
|
126
|
+
city?: string;
|
|
127
|
+
countryOrRegion: string;
|
|
128
|
+
name: string;
|
|
129
|
+
state?: string;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// @public
|
|
133
|
+
export interface ClinicalTrialResearchFacilityOutput {
|
|
134
|
+
city?: string;
|
|
135
|
+
countryOrRegion: string;
|
|
136
|
+
name: string;
|
|
137
|
+
state?: string;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// @public
|
|
141
|
+
export interface ClinicalTrials {
|
|
142
|
+
customTrials?: Array<ClinicalTrialDetails>;
|
|
143
|
+
registryFilters?: Array<ClinicalTrialRegistryFilter>;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// @public
|
|
147
|
+
export interface ContactDetails {
|
|
148
|
+
email?: string;
|
|
149
|
+
name?: string;
|
|
150
|
+
phone?: string;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// @public
|
|
154
|
+
export interface ContactDetailsOutput {
|
|
155
|
+
email?: string;
|
|
156
|
+
name?: string;
|
|
157
|
+
phone?: string;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// @public
|
|
161
|
+
function createClient(endpoint: string, credentials: KeyCredential, options?: ClientOptions): ClinicalMatchingRestClient;
|
|
162
|
+
export default createClient;
|
|
163
|
+
|
|
164
|
+
// @public (undocumented)
|
|
165
|
+
export interface CreateJob {
|
|
166
|
+
post(options?: CreateJobParameters): StreamableMethod<CreateJob200Response | CreateJob202Response | CreateJobDefaultResponse>;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
// @public
|
|
170
|
+
export interface CreateJob200Response extends HttpResponse {
|
|
171
|
+
// (undocumented)
|
|
172
|
+
body: TrialMatcherResultOutput;
|
|
173
|
+
// (undocumented)
|
|
174
|
+
status: "200";
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// @public (undocumented)
|
|
178
|
+
export interface CreateJob202Headers {
|
|
179
|
+
"operation-location": string;
|
|
180
|
+
"repeatability-result"?: "accepted" | "rejected";
|
|
181
|
+
"retry-after"?: number;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
// @public
|
|
185
|
+
export interface CreateJob202Response extends HttpResponse {
|
|
186
|
+
// (undocumented)
|
|
187
|
+
headers: RawHttpHeaders & CreateJob202Headers;
|
|
188
|
+
// (undocumented)
|
|
189
|
+
status: "202";
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// @public (undocumented)
|
|
193
|
+
export interface CreateJobBodyParam {
|
|
194
|
+
// (undocumented)
|
|
195
|
+
body?: TrialMatcherData;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
// @public (undocumented)
|
|
199
|
+
export interface CreateJobDefaultHeaders {
|
|
200
|
+
"x-ms-error-code"?: string;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
// @public (undocumented)
|
|
204
|
+
export interface CreateJobDefaultResponse extends HttpResponse {
|
|
205
|
+
// (undocumented)
|
|
206
|
+
body: ErrorResponse;
|
|
207
|
+
// (undocumented)
|
|
208
|
+
headers: RawHttpHeaders & CreateJobDefaultHeaders;
|
|
209
|
+
// (undocumented)
|
|
210
|
+
status: string;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// @public (undocumented)
|
|
214
|
+
export interface CreateJobHeaderParam {
|
|
215
|
+
// (undocumented)
|
|
216
|
+
headers?: RawHttpHeadersInput & CreateJobHeaders;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// @public (undocumented)
|
|
220
|
+
export interface CreateJobHeaders {
|
|
221
|
+
"Repeatability-First-Sent"?: string;
|
|
222
|
+
"Repeatability-Request-ID"?: string;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// @public
|
|
226
|
+
export interface CreateJobLogicalResponse extends HttpResponse {
|
|
227
|
+
// (undocumented)
|
|
228
|
+
body: TrialMatcherResultOutput;
|
|
229
|
+
// (undocumented)
|
|
230
|
+
status: "200";
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
// @public (undocumented)
|
|
234
|
+
export type CreateJobParameters = CreateJobHeaderParam & CreateJobBodyParam & RequestParameters;
|
|
235
|
+
|
|
236
|
+
// @public
|
|
237
|
+
export interface DocumentContent {
|
|
238
|
+
sourceType: string;
|
|
239
|
+
value: string;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
// @public
|
|
243
|
+
export interface ErrorModelOutput {
|
|
244
|
+
code: string;
|
|
245
|
+
details?: Array<ErrorModelOutput>;
|
|
246
|
+
innererror?: InnerErrorOutput;
|
|
247
|
+
message: string;
|
|
248
|
+
target?: string;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
// @public
|
|
252
|
+
export interface ExtendedClinicalCodedElementOutput {
|
|
253
|
+
category?: string;
|
|
254
|
+
code: string;
|
|
255
|
+
name?: string;
|
|
256
|
+
semanticType?: string;
|
|
257
|
+
system: string;
|
|
258
|
+
value?: string;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
// @public
|
|
262
|
+
export interface GeographicArea {
|
|
263
|
+
geometry: AreaGeometry;
|
|
264
|
+
properties: AreaProperties;
|
|
265
|
+
type: string;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// @public
|
|
269
|
+
export interface GeographicLocation {
|
|
270
|
+
city?: string;
|
|
271
|
+
countryOrRegion: string;
|
|
272
|
+
state?: string;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
// @public (undocumented)
|
|
276
|
+
export interface GetJob {
|
|
277
|
+
get(options?: GetJobParameters): StreamableMethod<GetJob200Response | GetJobDefaultResponse>;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
// @public
|
|
281
|
+
export interface GetJob200Response extends HttpResponse {
|
|
282
|
+
// (undocumented)
|
|
283
|
+
body: TrialMatcherResultOutput;
|
|
284
|
+
// (undocumented)
|
|
285
|
+
status: "200";
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// @public (undocumented)
|
|
289
|
+
export interface GetJobDefaultHeaders {
|
|
290
|
+
"x-ms-error-code"?: string;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
// @public (undocumented)
|
|
294
|
+
export interface GetJobDefaultResponse extends HttpResponse {
|
|
295
|
+
// (undocumented)
|
|
296
|
+
body: ErrorResponse;
|
|
297
|
+
// (undocumented)
|
|
298
|
+
headers: RawHttpHeaders & GetJobDefaultHeaders;
|
|
299
|
+
// (undocumented)
|
|
300
|
+
status: string;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
// @public (undocumented)
|
|
304
|
+
export type GetJobParameters = RequestParameters;
|
|
305
|
+
|
|
306
|
+
// @public
|
|
307
|
+
export function getLongRunningPoller<TResult extends CreateJobLogicalResponse | CreateJobDefaultResponse>(client: Client, initialResponse: CreateJob200Response | CreateJob202Response | CreateJobDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
|
|
308
|
+
|
|
309
|
+
// @public
|
|
310
|
+
export interface InnerErrorOutput {
|
|
311
|
+
code?: string;
|
|
312
|
+
innererror?: InnerErrorOutput;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
// @public (undocumented)
|
|
316
|
+
export function isUnexpected(response: GetJob200Response | GetJobDefaultResponse): response is GetJobDefaultResponse;
|
|
317
|
+
|
|
318
|
+
// @public (undocumented)
|
|
319
|
+
export function isUnexpected(response: CreateJob200Response | CreateJob202Response | CreateJobLogicalResponse | CreateJobDefaultResponse): response is CreateJobDefaultResponse;
|
|
320
|
+
|
|
321
|
+
// @public
|
|
322
|
+
export interface PatientDocument {
|
|
323
|
+
clinicalType?: string;
|
|
324
|
+
content: DocumentContent;
|
|
325
|
+
createdDateTime?: Date | string;
|
|
326
|
+
id: string;
|
|
327
|
+
language?: string;
|
|
328
|
+
type: string;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
// @public
|
|
332
|
+
export interface PatientInfo {
|
|
333
|
+
birthDate?: Date | string;
|
|
334
|
+
clinicalInfo?: Array<ClinicalCodedElement>;
|
|
335
|
+
sex?: string;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
// @public
|
|
339
|
+
export interface PatientRecord {
|
|
340
|
+
data?: Array<PatientDocument>;
|
|
341
|
+
id: string;
|
|
342
|
+
info?: PatientInfo;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
// @public (undocumented)
|
|
346
|
+
export interface Routes {
|
|
347
|
+
(path: "/trialmatcher/jobs/{jobId}", jobId: string): GetJob;
|
|
348
|
+
(path: "/trialmatcher/jobs"): CreateJob;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
// @public
|
|
352
|
+
export interface TrialMatcherData {
|
|
353
|
+
configuration?: TrialMatcherModelConfiguration;
|
|
354
|
+
patients: Array<PatientRecord>;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
// @public
|
|
358
|
+
export interface TrialMatcherInferenceEvidenceOutput {
|
|
359
|
+
eligibilityCriteriaEvidence?: string;
|
|
360
|
+
importance?: number;
|
|
361
|
+
patientDataEvidence?: ClinicalNoteEvidenceOutput;
|
|
362
|
+
patientInfoEvidence?: ClinicalCodedElementOutput;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
// @public
|
|
366
|
+
export interface TrialMatcherInferenceOutput {
|
|
367
|
+
confidenceScore?: number;
|
|
368
|
+
description?: string;
|
|
369
|
+
evidence?: Array<TrialMatcherInferenceEvidenceOutput>;
|
|
370
|
+
id?: string;
|
|
371
|
+
metadata?: ClinicalTrialMetadataOutput;
|
|
372
|
+
source?: string;
|
|
373
|
+
type: string;
|
|
374
|
+
value: string;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
// @public
|
|
378
|
+
export interface TrialMatcherModelConfiguration {
|
|
379
|
+
clinicalTrials: ClinicalTrials;
|
|
380
|
+
includeEvidence?: boolean;
|
|
381
|
+
verbose?: boolean;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
// @public
|
|
385
|
+
export interface TrialMatcherPatientResultOutput {
|
|
386
|
+
id: string;
|
|
387
|
+
inferences: Array<TrialMatcherInferenceOutput>;
|
|
388
|
+
neededClinicalInfo?: Array<ExtendedClinicalCodedElementOutput>;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
// @public
|
|
392
|
+
export interface TrialMatcherResultOutput {
|
|
393
|
+
readonly createdDateTime: string;
|
|
394
|
+
readonly errors?: Array<ErrorModelOutput>;
|
|
395
|
+
readonly expirationDateTime: string;
|
|
396
|
+
readonly jobId: string;
|
|
397
|
+
readonly lastUpdateDateTime: string;
|
|
398
|
+
readonly results?: TrialMatcherResultsOutput;
|
|
399
|
+
readonly status: string;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
// @public
|
|
403
|
+
export interface TrialMatcherResultsOutput {
|
|
404
|
+
knowledgeGraphLastUpdateDate?: string;
|
|
405
|
+
modelVersion: string;
|
|
406
|
+
patients: Array<TrialMatcherPatientResultOutput>;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
// (No @packageDocumentation comment for this package)
|
|
410
|
+
|
|
411
|
+
```
|