@azure-rest/health-insights-radiologyinsights 1.0.0-beta.1 → 2.0.0-alpha.20250604.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.
Files changed (189) hide show
  1. package/CHANGELOG.md +111 -0
  2. package/LICENSE +21 -0
  3. package/README.md +902 -181
  4. package/dist/browser/azureHealthInsightsClient.d.ts +16 -0
  5. package/dist/browser/azureHealthInsightsClient.d.ts.map +1 -0
  6. package/dist/browser/azureHealthInsightsClient.js +46 -0
  7. package/dist/browser/azureHealthInsightsClient.js.map +1 -0
  8. package/dist/browser/clientDefinitions.d.ts +21 -0
  9. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  10. package/dist/browser/clientDefinitions.js +4 -0
  11. package/dist/browser/clientDefinitions.js.map +1 -0
  12. package/dist/browser/index.d.ts +11 -0
  13. package/dist/browser/index.d.ts.map +1 -0
  14. package/dist/browser/index.js +14 -0
  15. package/dist/browser/index.js.map +1 -0
  16. package/dist/browser/isUnexpected.d.ts +6 -0
  17. package/dist/browser/isUnexpected.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/isUnexpected.js +3 -3
  19. package/dist/browser/isUnexpected.js.map +1 -0
  20. package/dist/browser/logger.d.ts +2 -0
  21. package/dist/browser/logger.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/logger.js +1 -1
  23. package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
  24. package/dist/browser/models.d.ts +1031 -0
  25. package/dist/browser/models.d.ts.map +1 -0
  26. package/dist/browser/models.js +4 -0
  27. package/dist/browser/models.js.map +1 -0
  28. package/dist/browser/outputModels.d.ts +1061 -0
  29. package/dist/browser/outputModels.d.ts.map +1 -0
  30. package/dist/browser/outputModels.js +4 -0
  31. package/dist/browser/outputModels.js.map +1 -0
  32. package/dist/browser/package.json +3 -0
  33. package/dist/browser/parameters.d.ts +50 -0
  34. package/dist/browser/parameters.d.ts.map +1 -0
  35. package/dist/browser/parameters.js +4 -0
  36. package/dist/browser/parameters.js.map +1 -0
  37. package/dist/browser/pollingHelper.d.ts +77 -0
  38. package/dist/browser/pollingHelper.d.ts.map +1 -0
  39. package/dist/browser/pollingHelper.js +97 -0
  40. package/dist/browser/pollingHelper.js.map +1 -0
  41. package/dist/browser/responses.d.ts +91 -0
  42. package/dist/browser/responses.d.ts.map +1 -0
  43. package/dist/browser/responses.js +4 -0
  44. package/dist/browser/responses.js.map +1 -0
  45. package/dist/commonjs/azureHealthInsightsClient.d.ts +16 -0
  46. package/dist/commonjs/azureHealthInsightsClient.d.ts.map +1 -0
  47. package/dist/commonjs/azureHealthInsightsClient.js +49 -0
  48. package/dist/commonjs/azureHealthInsightsClient.js.map +1 -0
  49. package/dist/commonjs/clientDefinitions.d.ts +21 -0
  50. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  51. package/dist/commonjs/clientDefinitions.js +5 -0
  52. package/dist/commonjs/clientDefinitions.js.map +1 -0
  53. package/dist/commonjs/index.d.ts +11 -0
  54. package/dist/commonjs/index.d.ts.map +1 -0
  55. package/dist/commonjs/index.js +17 -0
  56. package/dist/commonjs/index.js.map +1 -0
  57. package/dist/commonjs/isUnexpected.d.ts +6 -0
  58. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  59. package/dist/commonjs/isUnexpected.js +75 -0
  60. package/dist/commonjs/isUnexpected.js.map +1 -0
  61. package/dist/commonjs/logger.d.ts +2 -0
  62. package/dist/commonjs/logger.d.ts.map +1 -0
  63. package/dist/commonjs/logger.js +8 -0
  64. package/dist/commonjs/logger.js.map +1 -0
  65. package/dist/commonjs/models.d.ts +1031 -0
  66. package/dist/commonjs/models.d.ts.map +1 -0
  67. package/dist/commonjs/models.js +5 -0
  68. package/dist/commonjs/models.js.map +1 -0
  69. package/dist/commonjs/outputModels.d.ts +1061 -0
  70. package/dist/commonjs/outputModels.d.ts.map +1 -0
  71. package/dist/commonjs/outputModels.js +5 -0
  72. package/dist/commonjs/outputModels.js.map +1 -0
  73. package/dist/commonjs/package.json +3 -0
  74. package/dist/commonjs/parameters.d.ts +50 -0
  75. package/dist/commonjs/parameters.d.ts.map +1 -0
  76. package/dist/commonjs/parameters.js +5 -0
  77. package/dist/commonjs/parameters.js.map +1 -0
  78. package/dist/commonjs/pollingHelper.d.ts +77 -0
  79. package/dist/commonjs/pollingHelper.d.ts.map +1 -0
  80. package/dist/commonjs/pollingHelper.js +100 -0
  81. package/dist/commonjs/pollingHelper.js.map +1 -0
  82. package/dist/commonjs/responses.d.ts +91 -0
  83. package/dist/commonjs/responses.d.ts.map +1 -0
  84. package/dist/commonjs/responses.js +5 -0
  85. package/dist/commonjs/responses.js.map +1 -0
  86. package/dist/commonjs/tsdoc-metadata.json +11 -0
  87. package/dist/esm/azureHealthInsightsClient.d.ts +16 -0
  88. package/dist/esm/azureHealthInsightsClient.d.ts.map +1 -0
  89. package/dist/esm/azureHealthInsightsClient.js +46 -0
  90. package/dist/esm/azureHealthInsightsClient.js.map +1 -0
  91. package/dist/esm/clientDefinitions.d.ts +21 -0
  92. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  93. package/dist/esm/clientDefinitions.js +4 -0
  94. package/dist/esm/clientDefinitions.js.map +1 -0
  95. package/dist/esm/index.d.ts +11 -0
  96. package/dist/esm/index.d.ts.map +1 -0
  97. package/dist/esm/index.js +14 -0
  98. package/dist/esm/index.js.map +1 -0
  99. package/dist/esm/isUnexpected.d.ts +6 -0
  100. package/dist/esm/isUnexpected.d.ts.map +1 -0
  101. package/dist/esm/isUnexpected.js +72 -0
  102. package/dist/esm/isUnexpected.js.map +1 -0
  103. package/dist/esm/logger.d.ts +2 -0
  104. package/dist/esm/logger.d.ts.map +1 -0
  105. package/dist/esm/logger.js +5 -0
  106. package/dist/esm/logger.js.map +1 -0
  107. package/dist/esm/models.d.ts +1031 -0
  108. package/dist/esm/models.d.ts.map +1 -0
  109. package/dist/esm/models.js +4 -0
  110. package/dist/esm/models.js.map +1 -0
  111. package/dist/esm/outputModels.d.ts +1061 -0
  112. package/dist/esm/outputModels.d.ts.map +1 -0
  113. package/dist/esm/outputModels.js +4 -0
  114. package/dist/esm/outputModels.js.map +1 -0
  115. package/dist/esm/package.json +3 -0
  116. package/dist/esm/parameters.d.ts +50 -0
  117. package/dist/esm/parameters.d.ts.map +1 -0
  118. package/dist/esm/parameters.js +4 -0
  119. package/dist/esm/parameters.js.map +1 -0
  120. package/dist/esm/pollingHelper.d.ts +77 -0
  121. package/dist/esm/pollingHelper.d.ts.map +1 -0
  122. package/dist/esm/pollingHelper.js +97 -0
  123. package/dist/esm/pollingHelper.js.map +1 -0
  124. package/dist/esm/responses.d.ts +91 -0
  125. package/dist/esm/responses.d.ts.map +1 -0
  126. package/dist/esm/responses.js +4 -0
  127. package/dist/esm/responses.js.map +1 -0
  128. package/dist/react-native/azureHealthInsightsClient.d.ts +16 -0
  129. package/dist/react-native/azureHealthInsightsClient.d.ts.map +1 -0
  130. package/dist/react-native/azureHealthInsightsClient.js +46 -0
  131. package/dist/react-native/azureHealthInsightsClient.js.map +1 -0
  132. package/dist/react-native/clientDefinitions.d.ts +21 -0
  133. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  134. package/dist/react-native/clientDefinitions.js +4 -0
  135. package/dist/react-native/clientDefinitions.js.map +1 -0
  136. package/dist/react-native/index.d.ts +11 -0
  137. package/dist/react-native/index.d.ts.map +1 -0
  138. package/dist/react-native/index.js +14 -0
  139. package/dist/react-native/index.js.map +1 -0
  140. package/dist/react-native/isUnexpected.d.ts +6 -0
  141. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  142. package/dist/react-native/isUnexpected.js +72 -0
  143. package/dist/react-native/isUnexpected.js.map +1 -0
  144. package/dist/react-native/logger.d.ts +2 -0
  145. package/dist/react-native/logger.d.ts.map +1 -0
  146. package/dist/react-native/logger.js +5 -0
  147. package/dist/react-native/logger.js.map +1 -0
  148. package/dist/react-native/models.d.ts +1031 -0
  149. package/dist/react-native/models.d.ts.map +1 -0
  150. package/dist/react-native/models.js +4 -0
  151. package/dist/react-native/models.js.map +1 -0
  152. package/dist/react-native/outputModels.d.ts +1061 -0
  153. package/dist/react-native/outputModels.d.ts.map +1 -0
  154. package/dist/react-native/outputModels.js +4 -0
  155. package/dist/react-native/outputModels.js.map +1 -0
  156. package/dist/react-native/package.json +3 -0
  157. package/dist/react-native/parameters.d.ts +50 -0
  158. package/dist/react-native/parameters.d.ts.map +1 -0
  159. package/dist/react-native/parameters.js +4 -0
  160. package/dist/react-native/parameters.js.map +1 -0
  161. package/dist/react-native/pollingHelper.d.ts +77 -0
  162. package/dist/react-native/pollingHelper.d.ts.map +1 -0
  163. package/dist/react-native/pollingHelper.js +97 -0
  164. package/dist/react-native/pollingHelper.js.map +1 -0
  165. package/dist/react-native/responses.d.ts +91 -0
  166. package/dist/react-native/responses.d.ts.map +1 -0
  167. package/dist/react-native/responses.js +4 -0
  168. package/dist/react-native/responses.js.map +1 -0
  169. package/package.json +79 -68
  170. package/review/health-insights-radiologyinsights.api.md +581 -168
  171. package/dist/index.js +0 -159
  172. package/dist/index.js.map +0 -1
  173. package/dist-esm/src/azureHealthInsightsClient.js +0 -28
  174. package/dist-esm/src/azureHealthInsightsClient.js.map +0 -1
  175. package/dist-esm/src/clientDefinitions.js +0 -4
  176. package/dist-esm/src/clientDefinitions.js.map +0 -1
  177. package/dist-esm/src/index.js +0 -13
  178. package/dist-esm/src/index.js.map +0 -1
  179. package/dist-esm/src/isUnexpected.js.map +0 -1
  180. package/dist-esm/src/models.js +0 -4
  181. package/dist-esm/src/models.js.map +0 -1
  182. package/dist-esm/src/outputModels.js +0 -4
  183. package/dist-esm/src/outputModels.js.map +0 -1
  184. package/dist-esm/src/parameters.js +0 -4
  185. package/dist-esm/src/parameters.js.map +0 -1
  186. package/dist-esm/src/pollingHelper.js +0 -43
  187. package/dist-esm/src/pollingHelper.js.map +0 -1
  188. package/dist-esm/src/responses.js +0 -4
  189. package/dist-esm/src/responses.js.map +0 -1
@@ -4,19 +4,24 @@
4
4
 
5
5
  ```ts
6
6
 
7
- import { Client } from '@azure-rest/core-client';
8
- import { ClientOptions } from '@azure-rest/core-client';
9
- import { CreateHttpPollerOptions } from '@azure/core-lro';
10
- import { ErrorModel } from '@azure-rest/core-client';
11
- import { ErrorResponse } from '@azure-rest/core-client';
12
- import { HttpResponse } from '@azure-rest/core-client';
13
- import { KeyCredential } from '@azure/core-auth';
14
- import { OperationState } from '@azure/core-lro';
15
- import { RawHttpHeaders } from '@azure/core-rest-pipeline';
16
- import { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
17
- import { RequestParameters } from '@azure-rest/core-client';
18
- import { SimplePollerLike } from '@azure/core-lro';
19
- import { StreamableMethod } from '@azure-rest/core-client';
7
+ import type { AbortSignalLike } from '@azure/abort-controller';
8
+ import type { CancelOnProgress } from '@azure/core-lro';
9
+ import type { Client } from '@azure-rest/core-client';
10
+ import type { ClientOptions } from '@azure-rest/core-client';
11
+ import type { CreateHttpPollerOptions } from '@azure/core-lro';
12
+ import type { ErrorModel } from '@azure-rest/core-client';
13
+ import type { HttpResponse } from '@azure-rest/core-client';
14
+ import type { KeyCredential } from '@azure/core-auth';
15
+ import type { OperationState } from '@azure/core-lro';
16
+ import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
17
+ import type { RequestParameters } from '@azure-rest/core-client';
18
+ import type { StreamableMethod } from '@azure-rest/core-client';
19
+ import type { TokenCredential } from '@azure/core-auth';
20
+
21
+ // @public
22
+ export interface AgeMismatchInference extends RadiologyInsightsInferenceParent {
23
+ kind: "ageMismatch";
24
+ }
20
25
 
21
26
  // @public
22
27
  export interface AgeMismatchInferenceOutput extends RadiologyInsightsInferenceOutputParent {
@@ -24,7 +29,7 @@ export interface AgeMismatchInferenceOutput extends RadiologyInsightsInferenceOu
24
29
  }
25
30
 
26
31
  // @public
27
- export interface Annotation extends Element {
32
+ export interface Annotation extends Element_2 {
28
33
  authorString?: string;
29
34
  text: string;
30
35
  time?: string;
@@ -37,13 +42,36 @@ export interface AnnotationOutput extends ElementOutput {
37
42
  time?: string;
38
43
  }
39
44
 
40
- // @public (undocumented)
45
+ // @public
46
+ export interface AssessmentValueRange {
47
+ maximum: string;
48
+ minimum: string;
49
+ }
50
+
51
+ // @public
52
+ export interface AssessmentValueRangeOutput {
53
+ maximum: string;
54
+ minimum: string;
55
+ }
56
+
57
+ // @public
41
58
  export type AzureHealthInsightsClient = Client & {
42
59
  path: Routes;
43
60
  };
44
61
 
45
62
  // @public
46
- export interface CodeableConcept extends Element {
63
+ export interface AzureHealthInsightsClientOptions extends ClientOptions {
64
+ apiVersion?: string;
65
+ }
66
+
67
+ // @public
68
+ export type ClinicalDocumentType = string;
69
+
70
+ // @public
71
+ export type ClinicalDocumentTypeOutput = string;
72
+
73
+ // @public
74
+ export interface CodeableConcept extends Element_2 {
47
75
  coding?: Array<Coding>;
48
76
  text?: string;
49
77
  }
@@ -55,7 +83,7 @@ export interface CodeableConceptOutput extends ElementOutput {
55
83
  }
56
84
 
57
85
  // @public
58
- export interface Coding extends Element {
86
+ export interface Coding extends Element_2 {
59
87
  code?: string;
60
88
  display?: string;
61
89
  system?: string;
@@ -70,6 +98,14 @@ export interface CodingOutput extends ElementOutput {
70
98
  version?: string;
71
99
  }
72
100
 
101
+ // @public
102
+ export interface CompleteOrderDiscrepancyInference extends RadiologyInsightsInferenceParent {
103
+ kind: "completeOrderDiscrepancy";
104
+ missingBodyPartMeasurements?: Array<CodeableConcept>;
105
+ missingBodyParts?: Array<CodeableConcept>;
106
+ orderType: CodeableConcept;
107
+ }
108
+
73
109
  // @public
74
110
  export interface CompleteOrderDiscrepancyInferenceOutput extends RadiologyInsightsInferenceOutputParent {
75
111
  kind: "completeOrderDiscrepancy";
@@ -83,7 +119,7 @@ export interface Condition extends DomainResourceParent {
83
119
  abatementAge?: Quantity;
84
120
  abatementDateTime?: string;
85
121
  abatementPeriod?: Period;
86
- abatementRange?: Range;
122
+ abatementRange?: Range_2;
87
123
  abatementString?: string;
88
124
  bodySite?: Array<CodeableConcept>;
89
125
  category?: Array<CodeableConcept>;
@@ -95,7 +131,7 @@ export interface Condition extends DomainResourceParent {
95
131
  onsetAge?: Quantity;
96
132
  onsetDateTime?: string;
97
133
  onsetPeriod?: Period;
98
- onsetRange?: Range;
134
+ onsetRange?: Range_2;
99
135
  onsetString?: string;
100
136
  recordedDate?: string;
101
137
  resourceType: "Condition";
@@ -143,7 +179,7 @@ export interface ConditionStageOutput {
143
179
  }
144
180
 
145
181
  // @public
146
- export interface ContactDetail extends Element {
182
+ export interface ContactDetail extends Element_2 {
147
183
  name?: string;
148
184
  telecom?: Array<ContactPoint>;
149
185
  }
@@ -158,8 +194,8 @@ export interface ContactDetailOutput extends ElementOutput {
158
194
  export interface ContactPoint {
159
195
  period?: Period;
160
196
  rank?: number;
161
- system?: string;
162
- use?: string;
197
+ system?: ContactPointSystem;
198
+ use?: ContactPointUse;
163
199
  value?: string;
164
200
  }
165
201
 
@@ -167,80 +203,108 @@ export interface ContactPoint {
167
203
  export interface ContactPointOutput {
168
204
  period?: PeriodOutput;
169
205
  rank?: number;
170
- system?: string;
171
- use?: string;
206
+ system?: ContactPointSystemOutput;
207
+ use?: ContactPointUseOutput;
172
208
  value?: string;
173
209
  }
174
210
 
175
211
  // @public
176
- function createClient(endpoint: string, credentials: KeyCredential, options?: ClientOptions): AzureHealthInsightsClient;
212
+ export type ContactPointSystem = string;
213
+
214
+ // @public
215
+ export type ContactPointSystemOutput = string;
216
+
217
+ // @public
218
+ export type ContactPointUse = string;
219
+
220
+ // @public
221
+ export type ContactPointUseOutput = string;
222
+
223
+ // @public
224
+ function createClient(endpointParam: string, credentials: TokenCredential | KeyCredential, { apiVersion, ...options }?: AzureHealthInsightsClientOptions): AzureHealthInsightsClient;
177
225
  export default createClient;
178
226
 
179
- // @public (undocumented)
180
- export interface CreateJob {
181
- post(options?: CreateJobParameters): StreamableMethod<CreateJob202Response | CreateJobDefaultResponse>;
227
+ // @public
228
+ export interface CreateJob200Headers {
229
+ "operation-location": string;
230
+ "x-ms-request-id"?: string;
231
+ }
232
+
233
+ // @public
234
+ export interface CreateJob200Response extends HttpResponse {
235
+ body: RadiologyInsightsJobOutput;
236
+ headers: RawHttpHeaders & CreateJob200Headers;
237
+ status: "200";
182
238
  }
183
239
 
184
- // @public (undocumented)
185
- export interface CreateJob202Headers {
240
+ // @public
241
+ export interface CreateJob201Headers {
186
242
  "operation-location": string;
187
- "repeatability-result"?: RepeatabilityResultOutput;
188
- "retry-after"?: number;
243
+ "x-ms-request-id"?: string;
189
244
  }
190
245
 
191
246
  // @public
192
- export interface CreateJob202Response extends HttpResponse {
193
- // (undocumented)
194
- body: HealthInsightsOperationStatusOutput;
195
- // (undocumented)
196
- headers: RawHttpHeaders & CreateJob202Headers;
197
- // (undocumented)
198
- status: "202";
247
+ export interface CreateJob201Response extends HttpResponse {
248
+ body: RadiologyInsightsJobOutput;
249
+ headers: RawHttpHeaders & CreateJob201Headers;
250
+ status: "201";
199
251
  }
200
252
 
201
- // @public (undocumented)
253
+ // @public
202
254
  export interface CreateJobBodyParam {
203
- // (undocumented)
204
- body?: RadiologyInsightsData;
255
+ body: RadiologyInsightsJob;
205
256
  }
206
257
 
207
- // @public (undocumented)
258
+ // @public
208
259
  export interface CreateJobDefaultHeaders {
209
260
  "x-ms-error-code"?: string;
261
+ "x-ms-request-id"?: string;
210
262
  }
211
263
 
212
- // @public (undocumented)
264
+ // @public
213
265
  export interface CreateJobDefaultResponse extends HttpResponse {
214
- // (undocumented)
215
- body: ErrorResponse;
216
- // (undocumented)
266
+ body: HealthInsightsErrorResponseOutput;
217
267
  headers: RawHttpHeaders & CreateJobDefaultHeaders;
218
- // (undocumented)
219
268
  status: string;
220
269
  }
221
270
 
222
- // @public (undocumented)
223
- export interface CreateJobHeaderParam {
224
- // (undocumented)
225
- headers?: RawHttpHeadersInput & CreateJobHeaders;
226
- }
227
-
228
- // @public (undocumented)
229
- export interface CreateJobHeaders {
230
- "Repeatability-First-Sent"?: string;
231
- "Repeatability-Request-ID"?: string;
271
+ // @public
272
+ export interface CreateJobExpandQueryParam {
273
+ explode: true;
274
+ style: "form";
275
+ value: string[];
232
276
  }
233
277
 
234
278
  // @public
235
279
  export interface CreateJobLogicalResponse extends HttpResponse {
236
- // (undocumented)
237
- body: HealthInsightsOperationStatusOutput;
238
- // (undocumented)
280
+ body: RadiologyInsightsJobOutput;
239
281
  status: "200";
240
282
  }
241
283
 
242
- // @public (undocumented)
243
- export type CreateJobParameters = CreateJobHeaderParam & CreateJobBodyParam & RequestParameters;
284
+ // @public
285
+ export type CreateJobParameters = CreateJobQueryParam & CreateJobBodyParam & RequestParameters;
286
+
287
+ // @public
288
+ export interface CreateJobQueryParam {
289
+ queryParameters?: CreateJobQueryParamProperties;
290
+ }
291
+
292
+ // @public
293
+ export interface CreateJobQueryParamProperties {
294
+ expand?: CreateJobExpandQueryParam;
295
+ }
296
+
297
+ // @public
298
+ export interface CriticalResult {
299
+ description: string;
300
+ finding?: Observation;
301
+ }
302
+
303
+ // @public
304
+ export interface CriticalResultInference extends RadiologyInsightsInferenceParent {
305
+ kind: "criticalResult";
306
+ result: CriticalResult;
307
+ }
244
308
 
245
309
  // @public
246
310
  export interface CriticalResultInferenceOutput extends RadiologyInsightsInferenceOutputParent {
@@ -280,16 +344,29 @@ export interface DocumentAuthorOutput {
280
344
 
281
345
  // @public
282
346
  export interface DocumentContent {
283
- sourceType: string;
347
+ sourceType: DocumentContentSourceType;
284
348
  value: string;
285
349
  }
286
350
 
287
351
  // @public
288
352
  export interface DocumentContentOutput {
289
- sourceType: string;
353
+ sourceType: DocumentContentSourceTypeOutput;
290
354
  value: string;
291
355
  }
292
356
 
357
+ // @public
358
+ export type DocumentContentSourceType = string;
359
+
360
+ // @public
361
+ export type DocumentContentSourceTypeOutput = string;
362
+
363
+ // @public
364
+ type DocumentType_2 = string;
365
+ export { DocumentType_2 as DocumentType }
366
+
367
+ // @public
368
+ export type DocumentTypeOutput = string;
369
+
293
370
  // @public
294
371
  export type DomainResource = DomainResourceParent | Observation | Condition | ResearchStudy;
295
372
 
@@ -301,7 +378,6 @@ export interface DomainResourceOutputParent extends ResourceOutput {
301
378
  contained?: Array<ResourceOutput>;
302
379
  extension?: Array<ExtensionOutput>;
303
380
  modifierExtension?: Array<ExtensionOutput>;
304
- // (undocumented)
305
381
  resourceType: string;
306
382
  text?: NarrativeOutput;
307
383
  }
@@ -311,16 +387,16 @@ export interface DomainResourceParent extends Resource {
311
387
  contained?: Array<Resource>;
312
388
  extension?: Array<Extension>;
313
389
  modifierExtension?: Array<Extension>;
314
- // (undocumented)
315
390
  resourceType: string;
316
391
  text?: Narrative;
317
392
  }
318
393
 
319
394
  // @public
320
- export interface Element {
395
+ interface Element_2 {
321
396
  extension?: Array<Extension>;
322
397
  id?: string;
323
398
  }
399
+ export { Element_2 as Element }
324
400
 
325
401
  // @public
326
402
  export interface ElementOutput {
@@ -329,21 +405,13 @@ export interface ElementOutput {
329
405
  }
330
406
 
331
407
  // @public
332
- export interface Encounter {
333
- class?: string;
334
- id: string;
335
- period?: TimePeriod;
336
- }
408
+ export type EncounterClass = string;
337
409
 
338
410
  // @public
339
- export interface EncounterOutput {
340
- class?: string;
341
- id: string;
342
- period?: TimePeriodOutput;
343
- }
411
+ export type EncounterClassOutput = string;
344
412
 
345
413
  // @public
346
- export interface Extension extends Element {
414
+ export interface Extension extends Element_2 {
347
415
  url: string;
348
416
  valueBoolean?: boolean;
349
417
  valueCodeableConcept?: CodeableConcept;
@@ -351,12 +419,12 @@ export interface Extension extends Element {
351
419
  valueInteger?: number;
352
420
  valuePeriod?: Period;
353
421
  valueQuantity?: Quantity;
354
- valueRange?: Range;
422
+ valueRange?: Range_2;
355
423
  valueRatio?: Ratio;
356
424
  valueReference?: Reference;
357
425
  valueSampledData?: SampledData;
358
426
  valueString?: string;
359
- valueTime?: Date | string;
427
+ valueTime?: string;
360
428
  }
361
429
 
362
430
  // @public
@@ -376,6 +444,12 @@ export interface ExtensionOutput extends ElementOutput {
376
444
  valueTime?: string;
377
445
  }
378
446
 
447
+ // @public
448
+ export interface FindingInference extends RadiologyInsightsInferenceParent {
449
+ finding: Observation;
450
+ kind: "finding";
451
+ }
452
+
379
453
  // @public
380
454
  export interface FindingInferenceOutput extends RadiologyInsightsInferenceOutputParent {
381
455
  finding: ObservationOutput;
@@ -392,17 +466,38 @@ export interface FindingOptionsOutput {
392
466
  provideFocusedSentenceEvidence?: boolean;
393
467
  }
394
468
 
469
+ // @public
470
+ export interface FollowupCommunicationInference extends RadiologyInsightsInferenceParent {
471
+ communicatedAt?: Date[] | string[];
472
+ kind: "followupCommunication";
473
+ recipient?: MedicalProfessionalType[];
474
+ wasAcknowledged: boolean;
475
+ }
476
+
395
477
  // @public
396
478
  export interface FollowupCommunicationInferenceOutput extends RadiologyInsightsInferenceOutputParent {
397
- dateTime?: string[];
479
+ communicatedAt?: string[];
398
480
  kind: "followupCommunication";
399
- recipient?: string[];
481
+ recipient?: MedicalProfessionalTypeOutput[];
400
482
  wasAcknowledged: boolean;
401
483
  }
402
484
 
485
+ // @public
486
+ export interface FollowupRecommendationInference extends RadiologyInsightsInferenceParent {
487
+ effectiveAt?: string;
488
+ effectivePeriod?: Period;
489
+ findings?: Array<RecommendationFinding>;
490
+ isConditional: boolean;
491
+ isGuideline: boolean;
492
+ isHedging: boolean;
493
+ isOption: boolean;
494
+ kind: "followupRecommendation";
495
+ recommendedProcedure: ProcedureRecommendation;
496
+ }
497
+
403
498
  // @public
404
499
  export interface FollowupRecommendationInferenceOutput extends RadiologyInsightsInferenceOutputParent {
405
- effectiveDateTime?: string;
500
+ effectiveAt?: string;
406
501
  effectivePeriod?: PeriodOutput;
407
502
  findings?: Array<RecommendationFindingOutput>;
408
503
  isConditional: boolean;
@@ -427,6 +522,13 @@ export interface FollowupRecommendationOptionsOutput {
427
522
  provideFocusedSentenceEvidence?: boolean;
428
523
  }
429
524
 
525
+ // @public
526
+ export interface GenericProcedureRecommendation extends ProcedureRecommendationParent {
527
+ code: CodeableConcept;
528
+ description?: string;
529
+ kind: "genericProcedureRecommendation";
530
+ }
531
+
430
532
  // @public
431
533
  export interface GenericProcedureRecommendationOutput extends ProcedureRecommendationOutputParent {
432
534
  code: CodeableConceptOutput;
@@ -434,60 +536,106 @@ export interface GenericProcedureRecommendationOutput extends ProcedureRecommend
434
536
  kind: "genericProcedureRecommendation";
435
537
  }
436
538
 
437
- // @public (undocumented)
539
+ // @public
438
540
  export interface GetJob {
439
541
  get(options?: GetJobParameters): StreamableMethod<GetJob200Response | GetJobDefaultResponse>;
542
+ put(options: CreateJobParameters): StreamableMethod<CreateJob200Response | CreateJob201Response | CreateJobDefaultResponse>;
440
543
  }
441
544
 
442
- // @public (undocumented)
545
+ // @public
443
546
  export interface GetJob200Headers {
444
547
  "retry-after"?: number;
548
+ "x-ms-request-id"?: string;
445
549
  }
446
550
 
447
551
  // @public
448
552
  export interface GetJob200Response extends HttpResponse {
449
- // (undocumented)
450
- body: RadiologyInsightsResultOutput;
451
- // (undocumented)
553
+ body: RadiologyInsightsJobOutput;
452
554
  headers: RawHttpHeaders & GetJob200Headers;
453
- // (undocumented)
454
555
  status: "200";
455
556
  }
456
557
 
457
- // @public (undocumented)
558
+ // @public
458
559
  export interface GetJobDefaultHeaders {
459
560
  "x-ms-error-code"?: string;
561
+ "x-ms-request-id"?: string;
460
562
  }
461
563
 
462
- // @public (undocumented)
564
+ // @public
463
565
  export interface GetJobDefaultResponse extends HttpResponse {
464
- // (undocumented)
465
- body: ErrorResponse;
466
- // (undocumented)
566
+ body: HealthInsightsErrorResponseOutput;
467
567
  headers: RawHttpHeaders & GetJobDefaultHeaders;
468
- // (undocumented)
469
568
  status: string;
470
569
  }
471
570
 
472
- // @public (undocumented)
473
- export type GetJobParameters = RequestParameters;
571
+ // @public
572
+ export interface GetJobExpandQueryParam {
573
+ explode: true;
574
+ style: "form";
575
+ value: string[];
576
+ }
474
577
 
475
578
  // @public
476
- export function getLongRunningPoller<TResult extends CreateJobLogicalResponse | CreateJobDefaultResponse>(client: Client, initialResponse: CreateJob202Response | CreateJobDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
579
+ export type GetJobParameters = GetJobQueryParam & RequestParameters;
477
580
 
478
581
  // @public
479
- export interface HealthInsightsOperationStatusOutput {
480
- readonly createdDateTime?: string;
481
- error?: ErrorModel;
482
- readonly expirationDateTime?: string;
483
- readonly id: string;
484
- readonly lastUpdateDateTime?: string;
485
- result?: RadiologyInsightsInferenceResultOutput;
486
- readonly status: string;
582
+ export interface GetJobQueryParam {
583
+ queryParameters?: GetJobQueryParamProperties;
584
+ }
585
+
586
+ // @public
587
+ export interface GetJobQueryParamProperties {
588
+ expand?: GetJobExpandQueryParam;
487
589
  }
488
590
 
489
591
  // @public
490
- export interface Identifier extends Element {
592
+ export function getLongRunningPoller<TResult extends CreateJobLogicalResponse | CreateJobDefaultResponse>(client: Client, initialResponse: CreateJob200Response | CreateJob201Response | CreateJobDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
593
+
594
+ // @public
595
+ export interface GuidanceInference extends RadiologyInsightsInferenceParent {
596
+ finding: FindingInference;
597
+ identifier: CodeableConcept;
598
+ kind: "guidance";
599
+ missingGuidanceInformation?: string[];
600
+ presentGuidanceInformation?: Array<PresentGuidanceInformation>;
601
+ ranking: GuidanceRankingType;
602
+ recommendationProposals?: Array<FollowupRecommendationInference>;
603
+ }
604
+
605
+ // @public
606
+ export interface GuidanceInferenceOutput extends RadiologyInsightsInferenceOutputParent {
607
+ finding: FindingInferenceOutput;
608
+ identifier: CodeableConceptOutput;
609
+ kind: "guidance";
610
+ missingGuidanceInformation?: string[];
611
+ presentGuidanceInformation?: Array<PresentGuidanceInformationOutput>;
612
+ ranking: GuidanceRankingTypeOutput;
613
+ recommendationProposals?: Array<FollowupRecommendationInferenceOutput>;
614
+ }
615
+
616
+ // @public
617
+ export interface GuidanceOptions {
618
+ showGuidanceInHistory: boolean;
619
+ }
620
+
621
+ // @public
622
+ export interface GuidanceOptionsOutput {
623
+ showGuidanceInHistory: boolean;
624
+ }
625
+
626
+ // @public
627
+ export type GuidanceRankingType = string;
628
+
629
+ // @public
630
+ export type GuidanceRankingTypeOutput = string;
631
+
632
+ // @public
633
+ export interface HealthInsightsErrorResponseOutput {
634
+ error: ErrorModel;
635
+ }
636
+
637
+ // @public
638
+ export interface Identifier extends Element_2 {
491
639
  assigner?: Reference;
492
640
  period?: Period;
493
641
  system?: string;
@@ -506,6 +654,15 @@ export interface IdentifierOutput extends ElementOutput {
506
654
  value?: string;
507
655
  }
508
656
 
657
+ // @public
658
+ export interface ImagingProcedure {
659
+ anatomy: CodeableConcept;
660
+ contrast?: RadiologyCodeWithTypes;
661
+ laterality?: CodeableConcept;
662
+ modality: CodeableConcept;
663
+ view?: RadiologyCodeWithTypes;
664
+ }
665
+
509
666
  // @public
510
667
  export interface ImagingProcedureOutput {
511
668
  anatomy: CodeableConceptOutput;
@@ -515,6 +672,13 @@ export interface ImagingProcedureOutput {
515
672
  view?: RadiologyCodeWithTypesOutput;
516
673
  }
517
674
 
675
+ // @public
676
+ export interface ImagingProcedureRecommendation extends ProcedureRecommendationParent {
677
+ imagingProcedures: Array<ImagingProcedure>;
678
+ kind: "imagingProcedureRecommendation";
679
+ procedureCodes?: Array<CodeableConcept>;
680
+ }
681
+
518
682
  // @public
519
683
  export interface ImagingProcedureRecommendationOutput extends ProcedureRecommendationOutputParent {
520
684
  imagingProcedures: Array<ImagingProcedureOutput>;
@@ -522,19 +686,46 @@ export interface ImagingProcedureRecommendationOutput extends ProcedureRecommend
522
686
  procedureCodes?: Array<CodeableConceptOutput>;
523
687
  }
524
688
 
525
- // @public (undocumented)
689
+ // @public
526
690
  export function isUnexpected(response: GetJob200Response | GetJobDefaultResponse): response is GetJobDefaultResponse;
527
691
 
528
- // @public (undocumented)
529
- export function isUnexpected(response: CreateJob202Response | CreateJobLogicalResponse | CreateJobDefaultResponse): response is CreateJobDefaultResponse;
692
+ // @public
693
+ export function isUnexpected(response: CreateJob200Response | CreateJob201Response | CreateJobLogicalResponse | CreateJobDefaultResponse): response is CreateJobDefaultResponse;
694
+
695
+ // @public
696
+ export type JobStatus = string;
697
+
698
+ // @public
699
+ export type JobStatusOutput = string;
700
+
701
+ // @public
702
+ export interface LateralityDiscrepancyInference extends RadiologyInsightsInferenceParent {
703
+ discrepancyType: LateralityDiscrepancyType;
704
+ kind: "lateralityDiscrepancy";
705
+ lateralityIndication?: CodeableConcept;
706
+ }
530
707
 
531
708
  // @public
532
709
  export interface LateralityDiscrepancyInferenceOutput extends RadiologyInsightsInferenceOutputParent {
533
- discrepancyType: string;
710
+ discrepancyType: LateralityDiscrepancyTypeOutput;
534
711
  kind: "lateralityDiscrepancy";
535
712
  lateralityIndication?: CodeableConceptOutput;
536
713
  }
537
714
 
715
+ // @public
716
+ export type LateralityDiscrepancyType = string;
717
+
718
+ // @public
719
+ export type LateralityDiscrepancyTypeOutput = string;
720
+
721
+ // @public
722
+ export interface LimitedOrderDiscrepancyInference extends RadiologyInsightsInferenceParent {
723
+ kind: "limitedOrderDiscrepancy";
724
+ orderType: CodeableConcept;
725
+ presentBodyPartMeasurements?: Array<CodeableConcept>;
726
+ presentBodyParts?: Array<CodeableConcept>;
727
+ }
728
+
538
729
  // @public
539
730
  export interface LimitedOrderDiscrepancyInferenceOutput extends RadiologyInsightsInferenceOutputParent {
540
731
  kind: "limitedOrderDiscrepancy";
@@ -543,6 +734,12 @@ export interface LimitedOrderDiscrepancyInferenceOutput extends RadiologyInsight
543
734
  presentBodyParts?: Array<CodeableConceptOutput>;
544
735
  }
545
736
 
737
+ // @public
738
+ export type MedicalProfessionalType = string;
739
+
740
+ // @public
741
+ export type MedicalProfessionalTypeOutput = string;
742
+
546
743
  // @public
547
744
  export interface Meta {
548
745
  lastUpdated?: string;
@@ -564,7 +761,7 @@ export interface MetaOutput {
564
761
  }
565
762
 
566
763
  // @public
567
- export interface Narrative extends Element {
764
+ export interface Narrative extends Element_2 {
568
765
  div: string;
569
766
  status: string;
570
767
  }
@@ -595,7 +792,7 @@ export interface Observation extends DomainResourceParent {
595
792
  note?: Array<Annotation>;
596
793
  referenceRange?: Array<ObservationReferenceRange>;
597
794
  resourceType: "Observation";
598
- status: string;
795
+ status: ObservationStatusCodeType;
599
796
  subject?: Reference;
600
797
  valueBoolean?: boolean;
601
798
  valueCodeableConcept?: CodeableConcept;
@@ -603,15 +800,15 @@ export interface Observation extends DomainResourceParent {
603
800
  valueInteger?: number;
604
801
  valuePeriod?: Period;
605
802
  valueQuantity?: Quantity;
606
- valueRange?: Range;
803
+ valueRange?: Range_2;
607
804
  valueRatio?: Ratio;
608
805
  valueSampledData?: SampledData;
609
806
  valueString?: string;
610
- valueTime?: Date | string;
807
+ valueTime?: string;
611
808
  }
612
809
 
613
810
  // @public
614
- export interface ObservationComponent extends Element {
811
+ export interface ObservationComponent extends Element_2 {
615
812
  code: CodeableConcept;
616
813
  dataAbsentReason?: CodeableConcept;
617
814
  interpretation?: Array<CodeableConcept>;
@@ -622,12 +819,12 @@ export interface ObservationComponent extends Element {
622
819
  valueInteger?: number;
623
820
  valuePeriod?: Period;
624
821
  valueQuantity?: Quantity;
625
- valueRange?: Range;
822
+ valueRange?: Range_2;
626
823
  valueRatio?: Ratio;
627
824
  valueReference?: Reference;
628
825
  valueSampledData?: SampledData;
629
826
  valueString?: string;
630
- valueTime?: Date | string;
827
+ valueTime?: string;
631
828
  }
632
829
 
633
830
  // @public
@@ -670,7 +867,7 @@ export interface ObservationOutput extends DomainResourceOutputParent {
670
867
  note?: Array<AnnotationOutput>;
671
868
  referenceRange?: Array<ObservationReferenceRangeOutput>;
672
869
  resourceType: "Observation";
673
- status: string;
870
+ status: ObservationStatusCodeTypeOutput;
674
871
  subject?: ReferenceOutput;
675
872
  valueBoolean?: boolean;
676
873
  valueCodeableConcept?: CodeableConceptOutput;
@@ -687,7 +884,7 @@ export interface ObservationOutput extends DomainResourceOutputParent {
687
884
 
688
885
  // @public
689
886
  export interface ObservationReferenceRange {
690
- age?: Range;
887
+ age?: Range_2;
691
888
  appliesTo?: Array<CodeableConcept>;
692
889
  high?: Quantity;
693
890
  low?: Quantity;
@@ -705,6 +902,12 @@ export interface ObservationReferenceRangeOutput {
705
902
  type?: CodeableConceptOutput;
706
903
  }
707
904
 
905
+ // @public
906
+ export type ObservationStatusCodeType = string;
907
+
908
+ // @public
909
+ export type ObservationStatusCodeTypeOutput = string;
910
+
708
911
  // @public
709
912
  export interface OrderedProcedure {
710
913
  code?: CodeableConcept;
@@ -719,64 +922,84 @@ export interface OrderedProcedureOutput {
719
922
  extension?: Array<ExtensionOutput>;
720
923
  }
721
924
 
925
+ // @public
926
+ export interface PatientDetails {
927
+ birthDate?: string;
928
+ clinicalInfo?: Array<Resource>;
929
+ sex?: PatientSex;
930
+ }
931
+
932
+ // @public
933
+ export interface PatientDetailsOutput {
934
+ birthDate?: string;
935
+ clinicalInfo?: Array<ResourceOutput>;
936
+ sex?: PatientSexOutput;
937
+ }
938
+
722
939
  // @public
723
940
  export interface PatientDocument {
724
941
  administrativeMetadata?: DocumentAdministrativeMetadata;
725
942
  authors?: Array<DocumentAuthor>;
726
- clinicalType?: string;
943
+ clinicalType?: ClinicalDocumentType;
727
944
  content: DocumentContent;
728
- createdDateTime?: Date | string;
945
+ createdAt?: Date | string;
729
946
  id: string;
730
947
  language?: string;
731
- specialtyType?: string;
732
- type: string;
948
+ specialtyType?: SpecialtyType;
949
+ type: DocumentType_2;
733
950
  }
734
951
 
735
952
  // @public
736
953
  export interface PatientDocumentOutput {
737
954
  administrativeMetadata?: DocumentAdministrativeMetadataOutput;
738
955
  authors?: Array<DocumentAuthorOutput>;
739
- clinicalType?: string;
956
+ clinicalType?: ClinicalDocumentTypeOutput;
740
957
  content: DocumentContentOutput;
741
- createdDateTime?: string;
958
+ createdAt?: string;
742
959
  id: string;
743
960
  language?: string;
744
- specialtyType?: string;
745
- type: string;
961
+ specialtyType?: SpecialtyTypeOutput;
962
+ type: DocumentTypeOutput;
746
963
  }
747
964
 
748
965
  // @public
749
- export interface PatientInfo {
750
- birthDate?: Date | string;
751
- clinicalInfo?: Array<Resource>;
752
- sex?: string;
966
+ export interface PatientEncounter {
967
+ class?: EncounterClass;
968
+ id: string;
969
+ period?: TimePeriod;
753
970
  }
754
971
 
755
972
  // @public
756
- export interface PatientInfoOutput {
757
- birthDate?: string;
758
- clinicalInfo?: Array<ResourceOutput>;
759
- sex?: string;
973
+ export interface PatientEncounterOutput {
974
+ class?: EncounterClassOutput;
975
+ id: string;
976
+ period?: TimePeriodOutput;
760
977
  }
761
978
 
762
979
  // @public
763
980
  export interface PatientRecord {
764
- encounters?: Array<Encounter>;
981
+ details?: PatientDetails;
982
+ encounters?: Array<PatientEncounter>;
765
983
  id: string;
766
- info?: PatientInfo;
767
984
  patientDocuments?: Array<PatientDocument>;
768
985
  }
769
986
 
770
987
  // @public
771
988
  export interface PatientRecordOutput {
772
- encounters?: Array<EncounterOutput>;
989
+ details?: PatientDetailsOutput;
990
+ encounters?: Array<PatientEncounterOutput>;
773
991
  id: string;
774
- info?: PatientInfoOutput;
775
992
  patientDocuments?: Array<PatientDocumentOutput>;
776
993
  }
777
994
 
778
995
  // @public
779
- export interface Period extends Element {
996
+ export type PatientSex = string;
997
+
998
+ // @public
999
+ export type PatientSexOutput = string;
1000
+
1001
+ // @public
1002
+ export interface Period extends Element_2 {
780
1003
  end?: string;
781
1004
  start?: string;
782
1005
  }
@@ -787,17 +1010,82 @@ export interface PeriodOutput extends ElementOutput {
787
1010
  start?: string;
788
1011
  }
789
1012
 
1013
+ // @public
1014
+ export interface PresentGuidanceInformation {
1015
+ extension?: Array<Extension>;
1016
+ maximumDiameterAsInText?: Quantity;
1017
+ presentGuidanceItem: string;
1018
+ presentGuidanceValues?: string[];
1019
+ sizes?: Array<Observation>;
1020
+ }
1021
+
1022
+ // @public
1023
+ export interface PresentGuidanceInformationOutput {
1024
+ extension?: Array<ExtensionOutput>;
1025
+ maximumDiameterAsInText?: QuantityOutput;
1026
+ presentGuidanceItem: string;
1027
+ presentGuidanceValues?: string[];
1028
+ sizes?: Array<ObservationOutput>;
1029
+ }
1030
+
1031
+ // @public
1032
+ export type ProcedureRecommendation = ProcedureRecommendationParent | GenericProcedureRecommendation | ImagingProcedureRecommendation;
1033
+
790
1034
  // @public
791
1035
  export type ProcedureRecommendationOutput = ProcedureRecommendationOutputParent | GenericProcedureRecommendationOutput | ImagingProcedureRecommendationOutput;
792
1036
 
793
1037
  // @public
794
1038
  export interface ProcedureRecommendationOutputParent {
795
- // (undocumented)
1039
+ extension?: Array<ExtensionOutput>;
796
1040
  kind: string;
797
1041
  }
798
1042
 
799
1043
  // @public
800
- export interface Quantity extends Element {
1044
+ export interface ProcedureRecommendationParent {
1045
+ extension?: Array<Extension>;
1046
+ kind: string;
1047
+ }
1048
+
1049
+ // @public
1050
+ export type QualityMeasureComplianceType = string;
1051
+
1052
+ // @public
1053
+ export type QualityMeasureComplianceTypeOutput = string;
1054
+
1055
+ // @public
1056
+ export interface QualityMeasureInference extends RadiologyInsightsInferenceParent {
1057
+ complianceType: QualityMeasureComplianceType;
1058
+ kind: "qualityMeasure";
1059
+ qualityCriteria?: string[];
1060
+ qualityMeasureDenominator: string;
1061
+ }
1062
+
1063
+ // @public
1064
+ export interface QualityMeasureInferenceOutput extends RadiologyInsightsInferenceOutputParent {
1065
+ complianceType: QualityMeasureComplianceTypeOutput;
1066
+ kind: "qualityMeasure";
1067
+ qualityCriteria?: string[];
1068
+ qualityMeasureDenominator: string;
1069
+ }
1070
+
1071
+ // @public
1072
+ export interface QualityMeasureOptions {
1073
+ measureTypes: QualityMeasureType[];
1074
+ }
1075
+
1076
+ // @public
1077
+ export interface QualityMeasureOptionsOutput {
1078
+ measureTypes: QualityMeasureTypeOutput[];
1079
+ }
1080
+
1081
+ // @public
1082
+ export type QualityMeasureType = string;
1083
+
1084
+ // @public
1085
+ export type QualityMeasureTypeOutput = string;
1086
+
1087
+ // @public
1088
+ export interface Quantity extends Element_2 {
801
1089
  code?: string;
802
1090
  comparator?: string;
803
1091
  system?: string;
@@ -814,6 +1102,12 @@ export interface QuantityOutput extends ElementOutput {
814
1102
  value?: number;
815
1103
  }
816
1104
 
1105
+ // @public
1106
+ export interface RadiologyCodeWithTypes {
1107
+ code: CodeableConcept;
1108
+ types: Array<CodeableConcept>;
1109
+ }
1110
+
817
1111
  // @public
818
1112
  export interface RadiologyCodeWithTypesOutput {
819
1113
  code: CodeableConceptOutput;
@@ -832,39 +1126,80 @@ export interface RadiologyInsightsDataOutput {
832
1126
  patients: Array<PatientRecordOutput>;
833
1127
  }
834
1128
 
1129
+ // @public
1130
+ export type RadiologyInsightsInference = RadiologyInsightsInferenceParent | AgeMismatchInference | SexMismatchInference | LateralityDiscrepancyInference | CompleteOrderDiscrepancyInference | LimitedOrderDiscrepancyInference | FindingInference | CriticalResultInference | RadiologyProcedureInference | FollowupRecommendationInference | FollowupCommunicationInference | ScoringAndAssessmentInference | GuidanceInference | QualityMeasureInference;
1131
+
835
1132
  // @public
836
1133
  export interface RadiologyInsightsInferenceOptions {
837
1134
  findingOptions?: FindingOptions;
838
1135
  followupRecommendationOptions?: FollowupRecommendationOptions;
1136
+ guidanceOptions?: GuidanceOptions;
1137
+ qualityMeasureOptions?: QualityMeasureOptions;
839
1138
  }
840
1139
 
841
1140
  // @public
842
1141
  export interface RadiologyInsightsInferenceOptionsOutput {
843
1142
  findingOptions?: FindingOptionsOutput;
844
1143
  followupRecommendationOptions?: FollowupRecommendationOptionsOutput;
1144
+ guidanceOptions?: GuidanceOptionsOutput;
1145
+ qualityMeasureOptions?: QualityMeasureOptionsOutput;
845
1146
  }
846
1147
 
847
1148
  // @public
848
- export type RadiologyInsightsInferenceOutput = RadiologyInsightsInferenceOutputParent | AgeMismatchInferenceOutput | SexMismatchInferenceOutput | LateralityDiscrepancyInferenceOutput | CompleteOrderDiscrepancyInferenceOutput | LimitedOrderDiscrepancyInferenceOutput | FindingInferenceOutput | CriticalResultInferenceOutput | RadiologyProcedureInferenceOutput | FollowupRecommendationInferenceOutput | FollowupCommunicationInferenceOutput;
1149
+ export type RadiologyInsightsInferenceOutput = RadiologyInsightsInferenceOutputParent | AgeMismatchInferenceOutput | SexMismatchInferenceOutput | LateralityDiscrepancyInferenceOutput | CompleteOrderDiscrepancyInferenceOutput | LimitedOrderDiscrepancyInferenceOutput | FindingInferenceOutput | CriticalResultInferenceOutput | RadiologyProcedureInferenceOutput | FollowupRecommendationInferenceOutput | FollowupCommunicationInferenceOutput | ScoringAndAssessmentInferenceOutput | GuidanceInferenceOutput | QualityMeasureInferenceOutput;
849
1150
 
850
1151
  // @public
851
1152
  export interface RadiologyInsightsInferenceOutputParent {
852
1153
  extension?: Array<ExtensionOutput>;
853
- // (undocumented)
854
1154
  kind: string;
855
1155
  }
856
1156
 
1157
+ // @public
1158
+ export interface RadiologyInsightsInferenceParent {
1159
+ extension?: Array<Extension>;
1160
+ kind: string;
1161
+ }
1162
+
1163
+ // @public
1164
+ export interface RadiologyInsightsInferenceResult {
1165
+ modelVersion: string;
1166
+ patientResults: Array<RadiologyInsightsPatientResult>;
1167
+ }
1168
+
857
1169
  // @public
858
1170
  export interface RadiologyInsightsInferenceResultOutput {
859
1171
  modelVersion: string;
860
1172
  patientResults: Array<RadiologyInsightsPatientResultOutput>;
861
1173
  }
862
1174
 
1175
+ // @public
1176
+ export type RadiologyInsightsInferenceType = string;
1177
+
1178
+ // @public
1179
+ export type RadiologyInsightsInferenceTypeOutput = string;
1180
+
1181
+ // @public
1182
+ export interface RadiologyInsightsJob {
1183
+ jobData?: RadiologyInsightsData;
1184
+ }
1185
+
1186
+ // @public
1187
+ export interface RadiologyInsightsJobOutput {
1188
+ readonly createdAt?: string;
1189
+ readonly error?: ErrorModel;
1190
+ readonly expiresAt?: string;
1191
+ readonly id: string;
1192
+ jobData?: RadiologyInsightsDataOutput;
1193
+ readonly result?: RadiologyInsightsInferenceResultOutput;
1194
+ readonly status: JobStatusOutput;
1195
+ readonly updatedAt?: string;
1196
+ }
1197
+
863
1198
  // @public
864
1199
  export interface RadiologyInsightsModelConfiguration {
865
1200
  includeEvidence?: boolean;
866
1201
  inferenceOptions?: RadiologyInsightsInferenceOptions;
867
- inferenceTypes?: string[];
1202
+ inferenceTypes?: RadiologyInsightsInferenceType[];
868
1203
  locale?: string;
869
1204
  verbose?: boolean;
870
1205
  }
@@ -873,11 +1208,17 @@ export interface RadiologyInsightsModelConfiguration {
873
1208
  export interface RadiologyInsightsModelConfigurationOutput {
874
1209
  includeEvidence?: boolean;
875
1210
  inferenceOptions?: RadiologyInsightsInferenceOptionsOutput;
876
- inferenceTypes?: string[];
1211
+ inferenceTypes?: RadiologyInsightsInferenceTypeOutput[];
877
1212
  locale?: string;
878
1213
  verbose?: boolean;
879
1214
  }
880
1215
 
1216
+ // @public
1217
+ export interface RadiologyInsightsPatientResult {
1218
+ inferences: Array<RadiologyInsightsInference>;
1219
+ patientId: string;
1220
+ }
1221
+
881
1222
  // @public
882
1223
  export interface RadiologyInsightsPatientResultOutput {
883
1224
  inferences: Array<RadiologyInsightsInferenceOutput>;
@@ -885,14 +1226,11 @@ export interface RadiologyInsightsPatientResultOutput {
885
1226
  }
886
1227
 
887
1228
  // @public
888
- export interface RadiologyInsightsResultOutput {
889
- readonly createdDateTime?: string;
890
- error?: ErrorModel;
891
- readonly expirationDateTime?: string;
892
- readonly id: string;
893
- readonly lastUpdateDateTime?: string;
894
- result?: RadiologyInsightsInferenceResultOutput;
895
- readonly status: string;
1229
+ export interface RadiologyProcedureInference extends RadiologyInsightsInferenceParent {
1230
+ imagingProcedures: Array<ImagingProcedure>;
1231
+ kind: "radiologyProcedure";
1232
+ orderedProcedure: OrderedProcedure;
1233
+ procedureCodes?: Array<CodeableConcept>;
896
1234
  }
897
1235
 
898
1236
  // @public
@@ -904,10 +1242,11 @@ export interface RadiologyProcedureInferenceOutput extends RadiologyInsightsInfe
904
1242
  }
905
1243
 
906
1244
  // @public
907
- export interface Range extends Element {
1245
+ interface Range_2 extends Element_2 {
908
1246
  high?: Quantity;
909
1247
  low?: Quantity;
910
1248
  }
1249
+ export { Range_2 as Range }
911
1250
 
912
1251
  // @public
913
1252
  export interface RangeOutput extends ElementOutput {
@@ -916,7 +1255,7 @@ export interface RangeOutput extends ElementOutput {
916
1255
  }
917
1256
 
918
1257
  // @public
919
- export interface Ratio extends Element {
1258
+ export interface Ratio extends Element_2 {
920
1259
  denominator?: Quantity;
921
1260
  numerator?: Quantity;
922
1261
  }
@@ -927,16 +1266,30 @@ export interface RatioOutput extends ElementOutput {
927
1266
  numerator?: QuantityOutput;
928
1267
  }
929
1268
 
1269
+ // @public
1270
+ export interface RecommendationFinding {
1271
+ criticalFinding?: CriticalResult;
1272
+ extension?: Array<Extension>;
1273
+ finding?: Observation;
1274
+ recommendationFindingStatus: RecommendationFindingStatusType;
1275
+ }
1276
+
930
1277
  // @public
931
1278
  export interface RecommendationFindingOutput {
932
1279
  criticalFinding?: CriticalResultOutput;
933
1280
  extension?: Array<ExtensionOutput>;
934
1281
  finding?: ObservationOutput;
935
- recommendationFindingStatus: string;
1282
+ recommendationFindingStatus: RecommendationFindingStatusTypeOutput;
936
1283
  }
937
1284
 
938
1285
  // @public
939
- export interface Reference extends Element {
1286
+ export type RecommendationFindingStatusType = string;
1287
+
1288
+ // @public
1289
+ export type RecommendationFindingStatusTypeOutput = string;
1290
+
1291
+ // @public
1292
+ export interface Reference extends Element_2 {
940
1293
  display?: string;
941
1294
  identifier?: Identifier;
942
1295
  reference?: string;
@@ -951,9 +1304,6 @@ export interface ReferenceOutput extends ElementOutput {
951
1304
  type?: string;
952
1305
  }
953
1306
 
954
- // @public
955
- export type RepeatabilityResultOutput = "accepted" | "rejected";
956
-
957
1307
  // @public
958
1308
  export interface ResearchStudy extends DomainResourceParent {
959
1309
  arm?: {
@@ -985,7 +1335,7 @@ export interface ResearchStudy extends DomainResourceParent {
985
1335
  resourceType: "ResearchStudy";
986
1336
  site?: Array<Reference>;
987
1337
  sponsor?: Reference;
988
- status: string;
1338
+ status: ResearchStudyStatusCodeType;
989
1339
  title?: string;
990
1340
  }
991
1341
 
@@ -1020,10 +1370,16 @@ export interface ResearchStudyOutput extends DomainResourceOutputParent {
1020
1370
  resourceType: "ResearchStudy";
1021
1371
  site?: Array<ReferenceOutput>;
1022
1372
  sponsor?: ReferenceOutput;
1023
- status: string;
1373
+ status: ResearchStudyStatusCodeTypeOutput;
1024
1374
  title?: string;
1025
1375
  }
1026
1376
 
1377
+ // @public
1378
+ export type ResearchStudyStatusCodeType = string;
1379
+
1380
+ // @public
1381
+ export type ResearchStudyStatusCodeTypeOutput = string;
1382
+
1027
1383
  // @public
1028
1384
  export interface Resource extends Record<string, unknown> {
1029
1385
  id?: string;
@@ -1042,14 +1398,13 @@ export interface ResourceOutput extends Record<string, any> {
1042
1398
  resourceType: string;
1043
1399
  }
1044
1400
 
1045
- // @public (undocumented)
1401
+ // @public
1046
1402
  export interface Routes {
1047
1403
  (path: "/radiology-insights/jobs/{id}", id: string): GetJob;
1048
- (path: "/radiology-insights/jobs"): CreateJob;
1049
1404
  }
1050
1405
 
1051
1406
  // @public
1052
- export interface SampledData extends Element {
1407
+ export interface SampledData extends Element_2 {
1053
1408
  data?: string;
1054
1409
  dimensions: number;
1055
1410
  factor?: number;
@@ -1070,12 +1425,70 @@ export interface SampledDataOutput extends ElementOutput {
1070
1425
  upperLimit?: number;
1071
1426
  }
1072
1427
 
1428
+ // @public
1429
+ export type ScoringAndAssessmentCategoryType = string;
1430
+
1431
+ // @public
1432
+ export type ScoringAndAssessmentCategoryTypeOutput = string;
1433
+
1434
+ // @public
1435
+ export interface ScoringAndAssessmentInference extends RadiologyInsightsInferenceParent {
1436
+ category: ScoringAndAssessmentCategoryType;
1437
+ categoryDescription: string;
1438
+ kind: "scoringAndAssessment";
1439
+ rangeValue?: AssessmentValueRange;
1440
+ singleValue?: string;
1441
+ }
1442
+
1443
+ // @public
1444
+ export interface ScoringAndAssessmentInferenceOutput extends RadiologyInsightsInferenceOutputParent {
1445
+ category: ScoringAndAssessmentCategoryTypeOutput;
1446
+ categoryDescription: string;
1447
+ kind: "scoringAndAssessment";
1448
+ rangeValue?: AssessmentValueRangeOutput;
1449
+ singleValue?: string;
1450
+ }
1451
+
1452
+ // @public
1453
+ export interface SexMismatchInference extends RadiologyInsightsInferenceParent {
1454
+ kind: "sexMismatch";
1455
+ sexIndication: CodeableConcept;
1456
+ }
1457
+
1073
1458
  // @public
1074
1459
  export interface SexMismatchInferenceOutput extends RadiologyInsightsInferenceOutputParent {
1075
1460
  kind: "sexMismatch";
1076
1461
  sexIndication: CodeableConceptOutput;
1077
1462
  }
1078
1463
 
1464
+ // @public
1465
+ export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
1466
+ getOperationState(): TState;
1467
+ getResult(): TResult | undefined;
1468
+ isDone(): boolean;
1469
+ // @deprecated
1470
+ isStopped(): boolean;
1471
+ onProgress(callback: (state: TState) => void): CancelOnProgress;
1472
+ poll(options?: {
1473
+ abortSignal?: AbortSignalLike;
1474
+ }): Promise<TState>;
1475
+ pollUntilDone(pollOptions?: {
1476
+ abortSignal?: AbortSignalLike;
1477
+ }): Promise<TResult>;
1478
+ serialize(): Promise<string>;
1479
+ // @deprecated
1480
+ stopPolling(): void;
1481
+ submitted(): Promise<void>;
1482
+ // @deprecated
1483
+ toString(): string;
1484
+ }
1485
+
1486
+ // @public
1487
+ export type SpecialtyType = string;
1488
+
1489
+ // @public
1490
+ export type SpecialtyTypeOutput = string;
1491
+
1079
1492
  // @public
1080
1493
  export interface TimePeriod {
1081
1494
  end?: Date | string;