@digitalmedika/satusehat 0.1.0 → 0.2.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.
Files changed (50) hide show
  1. package/README.md +118 -2
  2. package/dist/builders/chest-xray-study-builder.d.ts +16 -0
  3. package/dist/builders/encounter-builder.d.ts +124 -0
  4. package/dist/builders/risk-assessment-builder.d.ts +39 -0
  5. package/dist/builders/service-request-imaging-study-diagnostic-report-builder.d.ts +49 -0
  6. package/dist/client/create-client.d.ts +1 -0
  7. package/dist/client/transport.d.ts +9 -0
  8. package/dist/core/types.d.ts +160 -0
  9. package/dist/endpoints/allergy-intolerance.d.ts +720 -0
  10. package/dist/endpoints/clinical-impression.d.ts +530 -0
  11. package/dist/endpoints/composition.d.ts +3 -0
  12. package/dist/endpoints/condition.d.ts +195 -195
  13. package/dist/endpoints/diagnostic-report.d.ts +70 -70
  14. package/dist/endpoints/dicom-router.d.ts +6 -0
  15. package/dist/endpoints/encounter.d.ts +156 -115
  16. package/dist/endpoints/imaging-study.d.ts +790 -0
  17. package/dist/endpoints/location.d.ts +30 -30
  18. package/dist/endpoints/medication-administration.d.ts +910 -0
  19. package/dist/endpoints/medication-request.d.ts +260 -260
  20. package/dist/endpoints/nutrition-order.d.ts +1510 -0
  21. package/dist/endpoints/observation.d.ts +230 -230
  22. package/dist/endpoints/organization.d.ts +20 -20
  23. package/dist/endpoints/practitioner-role.d.ts +25 -25
  24. package/dist/endpoints/procedure.d.ts +215 -215
  25. package/dist/endpoints/questionnaire-response.d.ts +195 -0
  26. package/dist/endpoints/risk-assessment.d.ts +770 -0
  27. package/dist/endpoints/service-request.d.ts +190 -190
  28. package/dist/endpoints/specimen.d.ts +105 -105
  29. package/dist/index.d.ts +19 -3
  30. package/dist/index.js +13 -1
  31. package/dist/schemas/allergy-intolerance.d.ts +4148 -0
  32. package/dist/schemas/clinical-impression.d.ts +2666 -0
  33. package/dist/schemas/composition.d.ts +2914 -0
  34. package/dist/schemas/condition.d.ts +476 -476
  35. package/dist/schemas/diagnostic-report.d.ts +172 -172
  36. package/dist/schemas/encounter.d.ts +1124 -564
  37. package/dist/schemas/imaging-study.d.ts +4609 -0
  38. package/dist/schemas/location.d.ts +72 -72
  39. package/dist/schemas/medication-administration.d.ts +5420 -0
  40. package/dist/schemas/medication-request.d.ts +1083 -1083
  41. package/dist/schemas/nutrition-order.d.ts +12261 -0
  42. package/dist/schemas/observation.d.ts +598 -598
  43. package/dist/schemas/organization.d.ts +60 -60
  44. package/dist/schemas/practitioner-role.d.ts +60 -60
  45. package/dist/schemas/procedure.d.ts +536 -536
  46. package/dist/schemas/questionnaire-response.d.ts +939 -0
  47. package/dist/schemas/risk-assessment.d.ts +4591 -0
  48. package/dist/schemas/service-request.d.ts +470 -470
  49. package/dist/schemas/specimen.d.ts +312 -312
  50. package/package.json +8 -1
@@ -0,0 +1,2666 @@
1
+ import { z } from "zod";
2
+ export declare const ClinicalImpressionIdentifierSchema: z.ZodObject<{
3
+ system: z.ZodOptional<z.ZodString>;
4
+ use: z.ZodOptional<z.ZodString>;
5
+ value: z.ZodOptional<z.ZodString>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ value?: string | undefined;
8
+ system?: string | undefined;
9
+ use?: string | undefined;
10
+ }, {
11
+ value?: string | undefined;
12
+ system?: string | undefined;
13
+ use?: string | undefined;
14
+ }>;
15
+ export declare const ClinicalImpressionCodingSchema: z.ZodObject<{
16
+ system: z.ZodString;
17
+ code: z.ZodString;
18
+ display: z.ZodOptional<z.ZodString>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ code: string;
21
+ system: string;
22
+ display?: string | undefined;
23
+ }, {
24
+ code: string;
25
+ system: string;
26
+ display?: string | undefined;
27
+ }>;
28
+ export declare const ClinicalImpressionRequiredCodeableConceptSchema: z.ZodObject<{
29
+ text: z.ZodOptional<z.ZodString>;
30
+ } & {
31
+ coding: z.ZodArray<z.ZodObject<{
32
+ system: z.ZodString;
33
+ code: z.ZodString;
34
+ display: z.ZodOptional<z.ZodString>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ code: string;
37
+ system: string;
38
+ display?: string | undefined;
39
+ }, {
40
+ code: string;
41
+ system: string;
42
+ display?: string | undefined;
43
+ }>, "many">;
44
+ }, "strip", z.ZodTypeAny, {
45
+ coding: {
46
+ code: string;
47
+ system: string;
48
+ display?: string | undefined;
49
+ }[];
50
+ text?: string | undefined;
51
+ }, {
52
+ coding: {
53
+ code: string;
54
+ system: string;
55
+ display?: string | undefined;
56
+ }[];
57
+ text?: string | undefined;
58
+ }>;
59
+ export declare const ClinicalImpressionFindingSchema: z.ZodObject<{
60
+ itemCodeableConcept: z.ZodOptional<z.ZodObject<{
61
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
62
+ system: z.ZodOptional<z.ZodString>;
63
+ code: z.ZodOptional<z.ZodString>;
64
+ display: z.ZodOptional<z.ZodString>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ code?: string | undefined;
67
+ system?: string | undefined;
68
+ display?: string | undefined;
69
+ }, {
70
+ code?: string | undefined;
71
+ system?: string | undefined;
72
+ display?: string | undefined;
73
+ }>, "many">>;
74
+ text: z.ZodOptional<z.ZodString>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ coding?: {
77
+ code?: string | undefined;
78
+ system?: string | undefined;
79
+ display?: string | undefined;
80
+ }[] | undefined;
81
+ text?: string | undefined;
82
+ }, {
83
+ coding?: {
84
+ code?: string | undefined;
85
+ system?: string | undefined;
86
+ display?: string | undefined;
87
+ }[] | undefined;
88
+ text?: string | undefined;
89
+ }>>;
90
+ itemReference: z.ZodOptional<z.ZodObject<{
91
+ reference: z.ZodString;
92
+ display: z.ZodOptional<z.ZodString>;
93
+ type: z.ZodOptional<z.ZodString>;
94
+ }, "strip", z.ZodTypeAny, {
95
+ reference: string;
96
+ type?: string | undefined;
97
+ display?: string | undefined;
98
+ }, {
99
+ reference: string;
100
+ type?: string | undefined;
101
+ display?: string | undefined;
102
+ }>>;
103
+ basis: z.ZodOptional<z.ZodString>;
104
+ }, "strip", z.ZodTypeAny, {
105
+ itemCodeableConcept?: {
106
+ coding?: {
107
+ code?: string | undefined;
108
+ system?: string | undefined;
109
+ display?: string | undefined;
110
+ }[] | undefined;
111
+ text?: string | undefined;
112
+ } | undefined;
113
+ itemReference?: {
114
+ reference: string;
115
+ type?: string | undefined;
116
+ display?: string | undefined;
117
+ } | undefined;
118
+ basis?: string | undefined;
119
+ }, {
120
+ itemCodeableConcept?: {
121
+ coding?: {
122
+ code?: string | undefined;
123
+ system?: string | undefined;
124
+ display?: string | undefined;
125
+ }[] | undefined;
126
+ text?: string | undefined;
127
+ } | undefined;
128
+ itemReference?: {
129
+ reference: string;
130
+ type?: string | undefined;
131
+ display?: string | undefined;
132
+ } | undefined;
133
+ basis?: string | undefined;
134
+ }>;
135
+ export declare const ClinicalImpressionNoteSchema: z.ZodObject<{
136
+ authorReference: z.ZodOptional<z.ZodObject<{
137
+ reference: z.ZodString;
138
+ display: z.ZodOptional<z.ZodString>;
139
+ type: z.ZodOptional<z.ZodString>;
140
+ }, "strip", z.ZodTypeAny, {
141
+ reference: string;
142
+ type?: string | undefined;
143
+ display?: string | undefined;
144
+ }, {
145
+ reference: string;
146
+ type?: string | undefined;
147
+ display?: string | undefined;
148
+ }>>;
149
+ authorString: z.ZodOptional<z.ZodString>;
150
+ time: z.ZodOptional<z.ZodString>;
151
+ text: z.ZodString;
152
+ }, "strip", z.ZodTypeAny, {
153
+ text: string;
154
+ authorReference?: {
155
+ reference: string;
156
+ type?: string | undefined;
157
+ display?: string | undefined;
158
+ } | undefined;
159
+ authorString?: string | undefined;
160
+ time?: string | undefined;
161
+ }, {
162
+ text: string;
163
+ authorReference?: {
164
+ reference: string;
165
+ type?: string | undefined;
166
+ display?: string | undefined;
167
+ } | undefined;
168
+ authorString?: string | undefined;
169
+ time?: string | undefined;
170
+ }>;
171
+ export declare const ClinicalImpressionPatchOperationSchema: z.ZodObject<{
172
+ op: z.ZodLiteral<"replace">;
173
+ path: z.ZodString;
174
+ value: z.ZodUnknown;
175
+ }, "strip", z.ZodTypeAny, {
176
+ path: string;
177
+ op: "replace";
178
+ value?: unknown;
179
+ }, {
180
+ path: string;
181
+ op: "replace";
182
+ value?: unknown;
183
+ }>;
184
+ export declare const ClinicalImpressionPatchSchema: z.ZodArray<z.ZodObject<{
185
+ op: z.ZodLiteral<"replace">;
186
+ path: z.ZodString;
187
+ value: z.ZodUnknown;
188
+ }, "strip", z.ZodTypeAny, {
189
+ path: string;
190
+ op: "replace";
191
+ value?: unknown;
192
+ }, {
193
+ path: string;
194
+ op: "replace";
195
+ value?: unknown;
196
+ }>, "many">;
197
+ export declare const ClinicalImpressionSearchParamsSchema: z.ZodEffects<z.ZodObject<{
198
+ subject: z.ZodOptional<z.ZodString>;
199
+ encounter: z.ZodOptional<z.ZodString>;
200
+ }, "strip", z.ZodTypeAny, {
201
+ encounter?: string | undefined;
202
+ subject?: string | undefined;
203
+ }, {
204
+ encounter?: string | undefined;
205
+ subject?: string | undefined;
206
+ }>, {
207
+ encounter?: string | undefined;
208
+ subject?: string | undefined;
209
+ }, {
210
+ encounter?: string | undefined;
211
+ subject?: string | undefined;
212
+ }>;
213
+ export declare const ClinicalImpressionBaseSchema: z.ZodObject<{
214
+ resourceType: z.ZodLiteral<"ClinicalImpression">;
215
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
216
+ system: z.ZodOptional<z.ZodString>;
217
+ use: z.ZodOptional<z.ZodString>;
218
+ value: z.ZodOptional<z.ZodString>;
219
+ }, "strip", z.ZodTypeAny, {
220
+ value?: string | undefined;
221
+ system?: string | undefined;
222
+ use?: string | undefined;
223
+ }, {
224
+ value?: string | undefined;
225
+ system?: string | undefined;
226
+ use?: string | undefined;
227
+ }>, "many">>;
228
+ status: z.ZodEnum<["preparation", "in-progress", "not-done", "on-hold", "stopped", "completed", "entered-in-error", "unknown"]>;
229
+ statusReason: z.ZodOptional<z.ZodObject<{
230
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
231
+ system: z.ZodOptional<z.ZodString>;
232
+ code: z.ZodOptional<z.ZodString>;
233
+ display: z.ZodOptional<z.ZodString>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ code?: string | undefined;
236
+ system?: string | undefined;
237
+ display?: string | undefined;
238
+ }, {
239
+ code?: string | undefined;
240
+ system?: string | undefined;
241
+ display?: string | undefined;
242
+ }>, "many">>;
243
+ text: z.ZodOptional<z.ZodString>;
244
+ }, "strip", z.ZodTypeAny, {
245
+ coding?: {
246
+ code?: string | undefined;
247
+ system?: string | undefined;
248
+ display?: string | undefined;
249
+ }[] | undefined;
250
+ text?: string | undefined;
251
+ }, {
252
+ coding?: {
253
+ code?: string | undefined;
254
+ system?: string | undefined;
255
+ display?: string | undefined;
256
+ }[] | undefined;
257
+ text?: string | undefined;
258
+ }>>;
259
+ description: z.ZodOptional<z.ZodString>;
260
+ subject: z.ZodObject<{
261
+ reference: z.ZodString;
262
+ display: z.ZodOptional<z.ZodString>;
263
+ type: z.ZodOptional<z.ZodString>;
264
+ }, "strip", z.ZodTypeAny, {
265
+ reference: string;
266
+ type?: string | undefined;
267
+ display?: string | undefined;
268
+ }, {
269
+ reference: string;
270
+ type?: string | undefined;
271
+ display?: string | undefined;
272
+ }>;
273
+ encounter: z.ZodOptional<z.ZodObject<{
274
+ reference: z.ZodString;
275
+ display: z.ZodOptional<z.ZodString>;
276
+ type: z.ZodOptional<z.ZodString>;
277
+ }, "strip", z.ZodTypeAny, {
278
+ reference: string;
279
+ type?: string | undefined;
280
+ display?: string | undefined;
281
+ }, {
282
+ reference: string;
283
+ type?: string | undefined;
284
+ display?: string | undefined;
285
+ }>>;
286
+ effectiveDateTime: z.ZodOptional<z.ZodString>;
287
+ effectivePeriod: z.ZodOptional<z.ZodObject<{
288
+ start: z.ZodOptional<z.ZodString>;
289
+ end: z.ZodOptional<z.ZodString>;
290
+ }, "strip", z.ZodTypeAny, {
291
+ start?: string | undefined;
292
+ end?: string | undefined;
293
+ }, {
294
+ start?: string | undefined;
295
+ end?: string | undefined;
296
+ }>>;
297
+ date: z.ZodOptional<z.ZodString>;
298
+ assessor: z.ZodOptional<z.ZodObject<{
299
+ reference: z.ZodString;
300
+ display: z.ZodOptional<z.ZodString>;
301
+ type: z.ZodOptional<z.ZodString>;
302
+ }, "strip", z.ZodTypeAny, {
303
+ reference: string;
304
+ type?: string | undefined;
305
+ display?: string | undefined;
306
+ }, {
307
+ reference: string;
308
+ type?: string | undefined;
309
+ display?: string | undefined;
310
+ }>>;
311
+ previous: z.ZodOptional<z.ZodObject<{
312
+ reference: z.ZodString;
313
+ display: z.ZodOptional<z.ZodString>;
314
+ type: z.ZodOptional<z.ZodString>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ reference: string;
317
+ type?: string | undefined;
318
+ display?: string | undefined;
319
+ }, {
320
+ reference: string;
321
+ type?: string | undefined;
322
+ display?: string | undefined;
323
+ }>>;
324
+ problem: z.ZodOptional<z.ZodArray<z.ZodObject<{
325
+ reference: z.ZodString;
326
+ display: z.ZodOptional<z.ZodString>;
327
+ type: z.ZodOptional<z.ZodString>;
328
+ }, "strip", z.ZodTypeAny, {
329
+ reference: string;
330
+ type?: string | undefined;
331
+ display?: string | undefined;
332
+ }, {
333
+ reference: string;
334
+ type?: string | undefined;
335
+ display?: string | undefined;
336
+ }>, "many">>;
337
+ summary: z.ZodOptional<z.ZodString>;
338
+ finding: z.ZodOptional<z.ZodArray<z.ZodObject<{
339
+ itemCodeableConcept: z.ZodOptional<z.ZodObject<{
340
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
341
+ system: z.ZodOptional<z.ZodString>;
342
+ code: z.ZodOptional<z.ZodString>;
343
+ display: z.ZodOptional<z.ZodString>;
344
+ }, "strip", z.ZodTypeAny, {
345
+ code?: string | undefined;
346
+ system?: string | undefined;
347
+ display?: string | undefined;
348
+ }, {
349
+ code?: string | undefined;
350
+ system?: string | undefined;
351
+ display?: string | undefined;
352
+ }>, "many">>;
353
+ text: z.ZodOptional<z.ZodString>;
354
+ }, "strip", z.ZodTypeAny, {
355
+ coding?: {
356
+ code?: string | undefined;
357
+ system?: string | undefined;
358
+ display?: string | undefined;
359
+ }[] | undefined;
360
+ text?: string | undefined;
361
+ }, {
362
+ coding?: {
363
+ code?: string | undefined;
364
+ system?: string | undefined;
365
+ display?: string | undefined;
366
+ }[] | undefined;
367
+ text?: string | undefined;
368
+ }>>;
369
+ itemReference: z.ZodOptional<z.ZodObject<{
370
+ reference: z.ZodString;
371
+ display: z.ZodOptional<z.ZodString>;
372
+ type: z.ZodOptional<z.ZodString>;
373
+ }, "strip", z.ZodTypeAny, {
374
+ reference: string;
375
+ type?: string | undefined;
376
+ display?: string | undefined;
377
+ }, {
378
+ reference: string;
379
+ type?: string | undefined;
380
+ display?: string | undefined;
381
+ }>>;
382
+ basis: z.ZodOptional<z.ZodString>;
383
+ }, "strip", z.ZodTypeAny, {
384
+ itemCodeableConcept?: {
385
+ coding?: {
386
+ code?: string | undefined;
387
+ system?: string | undefined;
388
+ display?: string | undefined;
389
+ }[] | undefined;
390
+ text?: string | undefined;
391
+ } | undefined;
392
+ itemReference?: {
393
+ reference: string;
394
+ type?: string | undefined;
395
+ display?: string | undefined;
396
+ } | undefined;
397
+ basis?: string | undefined;
398
+ }, {
399
+ itemCodeableConcept?: {
400
+ coding?: {
401
+ code?: string | undefined;
402
+ system?: string | undefined;
403
+ display?: string | undefined;
404
+ }[] | undefined;
405
+ text?: string | undefined;
406
+ } | undefined;
407
+ itemReference?: {
408
+ reference: string;
409
+ type?: string | undefined;
410
+ display?: string | undefined;
411
+ } | undefined;
412
+ basis?: string | undefined;
413
+ }>, "many">>;
414
+ prognosisCodeableConcept: z.ZodOptional<z.ZodArray<z.ZodObject<{
415
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
416
+ system: z.ZodOptional<z.ZodString>;
417
+ code: z.ZodOptional<z.ZodString>;
418
+ display: z.ZodOptional<z.ZodString>;
419
+ }, "strip", z.ZodTypeAny, {
420
+ code?: string | undefined;
421
+ system?: string | undefined;
422
+ display?: string | undefined;
423
+ }, {
424
+ code?: string | undefined;
425
+ system?: string | undefined;
426
+ display?: string | undefined;
427
+ }>, "many">>;
428
+ text: z.ZodOptional<z.ZodString>;
429
+ }, "strip", z.ZodTypeAny, {
430
+ coding?: {
431
+ code?: string | undefined;
432
+ system?: string | undefined;
433
+ display?: string | undefined;
434
+ }[] | undefined;
435
+ text?: string | undefined;
436
+ }, {
437
+ coding?: {
438
+ code?: string | undefined;
439
+ system?: string | undefined;
440
+ display?: string | undefined;
441
+ }[] | undefined;
442
+ text?: string | undefined;
443
+ }>, "many">>;
444
+ prognosisReference: z.ZodOptional<z.ZodArray<z.ZodObject<{
445
+ reference: z.ZodString;
446
+ display: z.ZodOptional<z.ZodString>;
447
+ type: z.ZodOptional<z.ZodString>;
448
+ }, "strip", z.ZodTypeAny, {
449
+ reference: string;
450
+ type?: string | undefined;
451
+ display?: string | undefined;
452
+ }, {
453
+ reference: string;
454
+ type?: string | undefined;
455
+ display?: string | undefined;
456
+ }>, "many">>;
457
+ supportingInfo: z.ZodOptional<z.ZodArray<z.ZodObject<{
458
+ reference: z.ZodString;
459
+ display: z.ZodOptional<z.ZodString>;
460
+ type: z.ZodOptional<z.ZodString>;
461
+ }, "strip", z.ZodTypeAny, {
462
+ reference: string;
463
+ type?: string | undefined;
464
+ display?: string | undefined;
465
+ }, {
466
+ reference: string;
467
+ type?: string | undefined;
468
+ display?: string | undefined;
469
+ }>, "many">>;
470
+ note: z.ZodOptional<z.ZodArray<z.ZodObject<{
471
+ authorReference: z.ZodOptional<z.ZodObject<{
472
+ reference: z.ZodString;
473
+ display: z.ZodOptional<z.ZodString>;
474
+ type: z.ZodOptional<z.ZodString>;
475
+ }, "strip", z.ZodTypeAny, {
476
+ reference: string;
477
+ type?: string | undefined;
478
+ display?: string | undefined;
479
+ }, {
480
+ reference: string;
481
+ type?: string | undefined;
482
+ display?: string | undefined;
483
+ }>>;
484
+ authorString: z.ZodOptional<z.ZodString>;
485
+ time: z.ZodOptional<z.ZodString>;
486
+ text: z.ZodString;
487
+ }, "strip", z.ZodTypeAny, {
488
+ text: string;
489
+ authorReference?: {
490
+ reference: string;
491
+ type?: string | undefined;
492
+ display?: string | undefined;
493
+ } | undefined;
494
+ authorString?: string | undefined;
495
+ time?: string | undefined;
496
+ }, {
497
+ text: string;
498
+ authorReference?: {
499
+ reference: string;
500
+ type?: string | undefined;
501
+ display?: string | undefined;
502
+ } | undefined;
503
+ authorString?: string | undefined;
504
+ time?: string | undefined;
505
+ }>, "many">>;
506
+ }, "strip", z.ZodTypeAny, {
507
+ status: "unknown" | "preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error";
508
+ resourceType: "ClinicalImpression";
509
+ subject: {
510
+ reference: string;
511
+ type?: string | undefined;
512
+ display?: string | undefined;
513
+ };
514
+ date?: string | undefined;
515
+ identifier?: {
516
+ value?: string | undefined;
517
+ system?: string | undefined;
518
+ use?: string | undefined;
519
+ }[] | undefined;
520
+ description?: string | undefined;
521
+ note?: {
522
+ text: string;
523
+ authorReference?: {
524
+ reference: string;
525
+ type?: string | undefined;
526
+ display?: string | undefined;
527
+ } | undefined;
528
+ authorString?: string | undefined;
529
+ time?: string | undefined;
530
+ }[] | undefined;
531
+ encounter?: {
532
+ reference: string;
533
+ type?: string | undefined;
534
+ display?: string | undefined;
535
+ } | undefined;
536
+ statusReason?: {
537
+ coding?: {
538
+ code?: string | undefined;
539
+ system?: string | undefined;
540
+ display?: string | undefined;
541
+ }[] | undefined;
542
+ text?: string | undefined;
543
+ } | undefined;
544
+ effectiveDateTime?: string | undefined;
545
+ effectivePeriod?: {
546
+ start?: string | undefined;
547
+ end?: string | undefined;
548
+ } | undefined;
549
+ assessor?: {
550
+ reference: string;
551
+ type?: string | undefined;
552
+ display?: string | undefined;
553
+ } | undefined;
554
+ previous?: {
555
+ reference: string;
556
+ type?: string | undefined;
557
+ display?: string | undefined;
558
+ } | undefined;
559
+ problem?: {
560
+ reference: string;
561
+ type?: string | undefined;
562
+ display?: string | undefined;
563
+ }[] | undefined;
564
+ summary?: string | undefined;
565
+ finding?: {
566
+ itemCodeableConcept?: {
567
+ coding?: {
568
+ code?: string | undefined;
569
+ system?: string | undefined;
570
+ display?: string | undefined;
571
+ }[] | undefined;
572
+ text?: string | undefined;
573
+ } | undefined;
574
+ itemReference?: {
575
+ reference: string;
576
+ type?: string | undefined;
577
+ display?: string | undefined;
578
+ } | undefined;
579
+ basis?: string | undefined;
580
+ }[] | undefined;
581
+ prognosisCodeableConcept?: {
582
+ coding?: {
583
+ code?: string | undefined;
584
+ system?: string | undefined;
585
+ display?: string | undefined;
586
+ }[] | undefined;
587
+ text?: string | undefined;
588
+ }[] | undefined;
589
+ prognosisReference?: {
590
+ reference: string;
591
+ type?: string | undefined;
592
+ display?: string | undefined;
593
+ }[] | undefined;
594
+ supportingInfo?: {
595
+ reference: string;
596
+ type?: string | undefined;
597
+ display?: string | undefined;
598
+ }[] | undefined;
599
+ }, {
600
+ status: "unknown" | "preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error";
601
+ resourceType: "ClinicalImpression";
602
+ subject: {
603
+ reference: string;
604
+ type?: string | undefined;
605
+ display?: string | undefined;
606
+ };
607
+ date?: string | undefined;
608
+ identifier?: {
609
+ value?: string | undefined;
610
+ system?: string | undefined;
611
+ use?: string | undefined;
612
+ }[] | undefined;
613
+ description?: string | undefined;
614
+ note?: {
615
+ text: string;
616
+ authorReference?: {
617
+ reference: string;
618
+ type?: string | undefined;
619
+ display?: string | undefined;
620
+ } | undefined;
621
+ authorString?: string | undefined;
622
+ time?: string | undefined;
623
+ }[] | undefined;
624
+ encounter?: {
625
+ reference: string;
626
+ type?: string | undefined;
627
+ display?: string | undefined;
628
+ } | undefined;
629
+ statusReason?: {
630
+ coding?: {
631
+ code?: string | undefined;
632
+ system?: string | undefined;
633
+ display?: string | undefined;
634
+ }[] | undefined;
635
+ text?: string | undefined;
636
+ } | undefined;
637
+ effectiveDateTime?: string | undefined;
638
+ effectivePeriod?: {
639
+ start?: string | undefined;
640
+ end?: string | undefined;
641
+ } | undefined;
642
+ assessor?: {
643
+ reference: string;
644
+ type?: string | undefined;
645
+ display?: string | undefined;
646
+ } | undefined;
647
+ previous?: {
648
+ reference: string;
649
+ type?: string | undefined;
650
+ display?: string | undefined;
651
+ } | undefined;
652
+ problem?: {
653
+ reference: string;
654
+ type?: string | undefined;
655
+ display?: string | undefined;
656
+ }[] | undefined;
657
+ summary?: string | undefined;
658
+ finding?: {
659
+ itemCodeableConcept?: {
660
+ coding?: {
661
+ code?: string | undefined;
662
+ system?: string | undefined;
663
+ display?: string | undefined;
664
+ }[] | undefined;
665
+ text?: string | undefined;
666
+ } | undefined;
667
+ itemReference?: {
668
+ reference: string;
669
+ type?: string | undefined;
670
+ display?: string | undefined;
671
+ } | undefined;
672
+ basis?: string | undefined;
673
+ }[] | undefined;
674
+ prognosisCodeableConcept?: {
675
+ coding?: {
676
+ code?: string | undefined;
677
+ system?: string | undefined;
678
+ display?: string | undefined;
679
+ }[] | undefined;
680
+ text?: string | undefined;
681
+ }[] | undefined;
682
+ prognosisReference?: {
683
+ reference: string;
684
+ type?: string | undefined;
685
+ display?: string | undefined;
686
+ }[] | undefined;
687
+ supportingInfo?: {
688
+ reference: string;
689
+ type?: string | undefined;
690
+ display?: string | undefined;
691
+ }[] | undefined;
692
+ }>;
693
+ export declare const ClinicalImpressionCreateSchema: z.ZodObject<{
694
+ resourceType: z.ZodLiteral<"ClinicalImpression">;
695
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
696
+ system: z.ZodOptional<z.ZodString>;
697
+ use: z.ZodOptional<z.ZodString>;
698
+ value: z.ZodOptional<z.ZodString>;
699
+ }, "strip", z.ZodTypeAny, {
700
+ value?: string | undefined;
701
+ system?: string | undefined;
702
+ use?: string | undefined;
703
+ }, {
704
+ value?: string | undefined;
705
+ system?: string | undefined;
706
+ use?: string | undefined;
707
+ }>, "many">>;
708
+ status: z.ZodEnum<["preparation", "in-progress", "not-done", "on-hold", "stopped", "completed", "entered-in-error", "unknown"]>;
709
+ statusReason: z.ZodOptional<z.ZodObject<{
710
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
711
+ system: z.ZodOptional<z.ZodString>;
712
+ code: z.ZodOptional<z.ZodString>;
713
+ display: z.ZodOptional<z.ZodString>;
714
+ }, "strip", z.ZodTypeAny, {
715
+ code?: string | undefined;
716
+ system?: string | undefined;
717
+ display?: string | undefined;
718
+ }, {
719
+ code?: string | undefined;
720
+ system?: string | undefined;
721
+ display?: string | undefined;
722
+ }>, "many">>;
723
+ text: z.ZodOptional<z.ZodString>;
724
+ }, "strip", z.ZodTypeAny, {
725
+ coding?: {
726
+ code?: string | undefined;
727
+ system?: string | undefined;
728
+ display?: string | undefined;
729
+ }[] | undefined;
730
+ text?: string | undefined;
731
+ }, {
732
+ coding?: {
733
+ code?: string | undefined;
734
+ system?: string | undefined;
735
+ display?: string | undefined;
736
+ }[] | undefined;
737
+ text?: string | undefined;
738
+ }>>;
739
+ description: z.ZodOptional<z.ZodString>;
740
+ subject: z.ZodObject<{
741
+ reference: z.ZodString;
742
+ display: z.ZodOptional<z.ZodString>;
743
+ type: z.ZodOptional<z.ZodString>;
744
+ }, "strip", z.ZodTypeAny, {
745
+ reference: string;
746
+ type?: string | undefined;
747
+ display?: string | undefined;
748
+ }, {
749
+ reference: string;
750
+ type?: string | undefined;
751
+ display?: string | undefined;
752
+ }>;
753
+ encounter: z.ZodOptional<z.ZodObject<{
754
+ reference: z.ZodString;
755
+ display: z.ZodOptional<z.ZodString>;
756
+ type: z.ZodOptional<z.ZodString>;
757
+ }, "strip", z.ZodTypeAny, {
758
+ reference: string;
759
+ type?: string | undefined;
760
+ display?: string | undefined;
761
+ }, {
762
+ reference: string;
763
+ type?: string | undefined;
764
+ display?: string | undefined;
765
+ }>>;
766
+ effectiveDateTime: z.ZodOptional<z.ZodString>;
767
+ effectivePeriod: z.ZodOptional<z.ZodObject<{
768
+ start: z.ZodOptional<z.ZodString>;
769
+ end: z.ZodOptional<z.ZodString>;
770
+ }, "strip", z.ZodTypeAny, {
771
+ start?: string | undefined;
772
+ end?: string | undefined;
773
+ }, {
774
+ start?: string | undefined;
775
+ end?: string | undefined;
776
+ }>>;
777
+ date: z.ZodOptional<z.ZodString>;
778
+ assessor: z.ZodOptional<z.ZodObject<{
779
+ reference: z.ZodString;
780
+ display: z.ZodOptional<z.ZodString>;
781
+ type: z.ZodOptional<z.ZodString>;
782
+ }, "strip", z.ZodTypeAny, {
783
+ reference: string;
784
+ type?: string | undefined;
785
+ display?: string | undefined;
786
+ }, {
787
+ reference: string;
788
+ type?: string | undefined;
789
+ display?: string | undefined;
790
+ }>>;
791
+ previous: z.ZodOptional<z.ZodObject<{
792
+ reference: z.ZodString;
793
+ display: z.ZodOptional<z.ZodString>;
794
+ type: z.ZodOptional<z.ZodString>;
795
+ }, "strip", z.ZodTypeAny, {
796
+ reference: string;
797
+ type?: string | undefined;
798
+ display?: string | undefined;
799
+ }, {
800
+ reference: string;
801
+ type?: string | undefined;
802
+ display?: string | undefined;
803
+ }>>;
804
+ problem: z.ZodOptional<z.ZodArray<z.ZodObject<{
805
+ reference: z.ZodString;
806
+ display: z.ZodOptional<z.ZodString>;
807
+ type: z.ZodOptional<z.ZodString>;
808
+ }, "strip", z.ZodTypeAny, {
809
+ reference: string;
810
+ type?: string | undefined;
811
+ display?: string | undefined;
812
+ }, {
813
+ reference: string;
814
+ type?: string | undefined;
815
+ display?: string | undefined;
816
+ }>, "many">>;
817
+ summary: z.ZodOptional<z.ZodString>;
818
+ finding: z.ZodOptional<z.ZodArray<z.ZodObject<{
819
+ itemCodeableConcept: z.ZodOptional<z.ZodObject<{
820
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
821
+ system: z.ZodOptional<z.ZodString>;
822
+ code: z.ZodOptional<z.ZodString>;
823
+ display: z.ZodOptional<z.ZodString>;
824
+ }, "strip", z.ZodTypeAny, {
825
+ code?: string | undefined;
826
+ system?: string | undefined;
827
+ display?: string | undefined;
828
+ }, {
829
+ code?: string | undefined;
830
+ system?: string | undefined;
831
+ display?: string | undefined;
832
+ }>, "many">>;
833
+ text: z.ZodOptional<z.ZodString>;
834
+ }, "strip", z.ZodTypeAny, {
835
+ coding?: {
836
+ code?: string | undefined;
837
+ system?: string | undefined;
838
+ display?: string | undefined;
839
+ }[] | undefined;
840
+ text?: string | undefined;
841
+ }, {
842
+ coding?: {
843
+ code?: string | undefined;
844
+ system?: string | undefined;
845
+ display?: string | undefined;
846
+ }[] | undefined;
847
+ text?: string | undefined;
848
+ }>>;
849
+ itemReference: z.ZodOptional<z.ZodObject<{
850
+ reference: z.ZodString;
851
+ display: z.ZodOptional<z.ZodString>;
852
+ type: z.ZodOptional<z.ZodString>;
853
+ }, "strip", z.ZodTypeAny, {
854
+ reference: string;
855
+ type?: string | undefined;
856
+ display?: string | undefined;
857
+ }, {
858
+ reference: string;
859
+ type?: string | undefined;
860
+ display?: string | undefined;
861
+ }>>;
862
+ basis: z.ZodOptional<z.ZodString>;
863
+ }, "strip", z.ZodTypeAny, {
864
+ itemCodeableConcept?: {
865
+ coding?: {
866
+ code?: string | undefined;
867
+ system?: string | undefined;
868
+ display?: string | undefined;
869
+ }[] | undefined;
870
+ text?: string | undefined;
871
+ } | undefined;
872
+ itemReference?: {
873
+ reference: string;
874
+ type?: string | undefined;
875
+ display?: string | undefined;
876
+ } | undefined;
877
+ basis?: string | undefined;
878
+ }, {
879
+ itemCodeableConcept?: {
880
+ coding?: {
881
+ code?: string | undefined;
882
+ system?: string | undefined;
883
+ display?: string | undefined;
884
+ }[] | undefined;
885
+ text?: string | undefined;
886
+ } | undefined;
887
+ itemReference?: {
888
+ reference: string;
889
+ type?: string | undefined;
890
+ display?: string | undefined;
891
+ } | undefined;
892
+ basis?: string | undefined;
893
+ }>, "many">>;
894
+ prognosisCodeableConcept: z.ZodOptional<z.ZodArray<z.ZodObject<{
895
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
896
+ system: z.ZodOptional<z.ZodString>;
897
+ code: z.ZodOptional<z.ZodString>;
898
+ display: z.ZodOptional<z.ZodString>;
899
+ }, "strip", z.ZodTypeAny, {
900
+ code?: string | undefined;
901
+ system?: string | undefined;
902
+ display?: string | undefined;
903
+ }, {
904
+ code?: string | undefined;
905
+ system?: string | undefined;
906
+ display?: string | undefined;
907
+ }>, "many">>;
908
+ text: z.ZodOptional<z.ZodString>;
909
+ }, "strip", z.ZodTypeAny, {
910
+ coding?: {
911
+ code?: string | undefined;
912
+ system?: string | undefined;
913
+ display?: string | undefined;
914
+ }[] | undefined;
915
+ text?: string | undefined;
916
+ }, {
917
+ coding?: {
918
+ code?: string | undefined;
919
+ system?: string | undefined;
920
+ display?: string | undefined;
921
+ }[] | undefined;
922
+ text?: string | undefined;
923
+ }>, "many">>;
924
+ prognosisReference: z.ZodOptional<z.ZodArray<z.ZodObject<{
925
+ reference: z.ZodString;
926
+ display: z.ZodOptional<z.ZodString>;
927
+ type: z.ZodOptional<z.ZodString>;
928
+ }, "strip", z.ZodTypeAny, {
929
+ reference: string;
930
+ type?: string | undefined;
931
+ display?: string | undefined;
932
+ }, {
933
+ reference: string;
934
+ type?: string | undefined;
935
+ display?: string | undefined;
936
+ }>, "many">>;
937
+ supportingInfo: z.ZodOptional<z.ZodArray<z.ZodObject<{
938
+ reference: z.ZodString;
939
+ display: z.ZodOptional<z.ZodString>;
940
+ type: z.ZodOptional<z.ZodString>;
941
+ }, "strip", z.ZodTypeAny, {
942
+ reference: string;
943
+ type?: string | undefined;
944
+ display?: string | undefined;
945
+ }, {
946
+ reference: string;
947
+ type?: string | undefined;
948
+ display?: string | undefined;
949
+ }>, "many">>;
950
+ note: z.ZodOptional<z.ZodArray<z.ZodObject<{
951
+ authorReference: z.ZodOptional<z.ZodObject<{
952
+ reference: z.ZodString;
953
+ display: z.ZodOptional<z.ZodString>;
954
+ type: z.ZodOptional<z.ZodString>;
955
+ }, "strip", z.ZodTypeAny, {
956
+ reference: string;
957
+ type?: string | undefined;
958
+ display?: string | undefined;
959
+ }, {
960
+ reference: string;
961
+ type?: string | undefined;
962
+ display?: string | undefined;
963
+ }>>;
964
+ authorString: z.ZodOptional<z.ZodString>;
965
+ time: z.ZodOptional<z.ZodString>;
966
+ text: z.ZodString;
967
+ }, "strip", z.ZodTypeAny, {
968
+ text: string;
969
+ authorReference?: {
970
+ reference: string;
971
+ type?: string | undefined;
972
+ display?: string | undefined;
973
+ } | undefined;
974
+ authorString?: string | undefined;
975
+ time?: string | undefined;
976
+ }, {
977
+ text: string;
978
+ authorReference?: {
979
+ reference: string;
980
+ type?: string | undefined;
981
+ display?: string | undefined;
982
+ } | undefined;
983
+ authorString?: string | undefined;
984
+ time?: string | undefined;
985
+ }>, "many">>;
986
+ }, "strip", z.ZodTypeAny, {
987
+ status: "unknown" | "preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error";
988
+ resourceType: "ClinicalImpression";
989
+ subject: {
990
+ reference: string;
991
+ type?: string | undefined;
992
+ display?: string | undefined;
993
+ };
994
+ date?: string | undefined;
995
+ identifier?: {
996
+ value?: string | undefined;
997
+ system?: string | undefined;
998
+ use?: string | undefined;
999
+ }[] | undefined;
1000
+ description?: string | undefined;
1001
+ note?: {
1002
+ text: string;
1003
+ authorReference?: {
1004
+ reference: string;
1005
+ type?: string | undefined;
1006
+ display?: string | undefined;
1007
+ } | undefined;
1008
+ authorString?: string | undefined;
1009
+ time?: string | undefined;
1010
+ }[] | undefined;
1011
+ encounter?: {
1012
+ reference: string;
1013
+ type?: string | undefined;
1014
+ display?: string | undefined;
1015
+ } | undefined;
1016
+ statusReason?: {
1017
+ coding?: {
1018
+ code?: string | undefined;
1019
+ system?: string | undefined;
1020
+ display?: string | undefined;
1021
+ }[] | undefined;
1022
+ text?: string | undefined;
1023
+ } | undefined;
1024
+ effectiveDateTime?: string | undefined;
1025
+ effectivePeriod?: {
1026
+ start?: string | undefined;
1027
+ end?: string | undefined;
1028
+ } | undefined;
1029
+ assessor?: {
1030
+ reference: string;
1031
+ type?: string | undefined;
1032
+ display?: string | undefined;
1033
+ } | undefined;
1034
+ previous?: {
1035
+ reference: string;
1036
+ type?: string | undefined;
1037
+ display?: string | undefined;
1038
+ } | undefined;
1039
+ problem?: {
1040
+ reference: string;
1041
+ type?: string | undefined;
1042
+ display?: string | undefined;
1043
+ }[] | undefined;
1044
+ summary?: string | undefined;
1045
+ finding?: {
1046
+ itemCodeableConcept?: {
1047
+ coding?: {
1048
+ code?: string | undefined;
1049
+ system?: string | undefined;
1050
+ display?: string | undefined;
1051
+ }[] | undefined;
1052
+ text?: string | undefined;
1053
+ } | undefined;
1054
+ itemReference?: {
1055
+ reference: string;
1056
+ type?: string | undefined;
1057
+ display?: string | undefined;
1058
+ } | undefined;
1059
+ basis?: string | undefined;
1060
+ }[] | undefined;
1061
+ prognosisCodeableConcept?: {
1062
+ coding?: {
1063
+ code?: string | undefined;
1064
+ system?: string | undefined;
1065
+ display?: string | undefined;
1066
+ }[] | undefined;
1067
+ text?: string | undefined;
1068
+ }[] | undefined;
1069
+ prognosisReference?: {
1070
+ reference: string;
1071
+ type?: string | undefined;
1072
+ display?: string | undefined;
1073
+ }[] | undefined;
1074
+ supportingInfo?: {
1075
+ reference: string;
1076
+ type?: string | undefined;
1077
+ display?: string | undefined;
1078
+ }[] | undefined;
1079
+ }, {
1080
+ status: "unknown" | "preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error";
1081
+ resourceType: "ClinicalImpression";
1082
+ subject: {
1083
+ reference: string;
1084
+ type?: string | undefined;
1085
+ display?: string | undefined;
1086
+ };
1087
+ date?: string | undefined;
1088
+ identifier?: {
1089
+ value?: string | undefined;
1090
+ system?: string | undefined;
1091
+ use?: string | undefined;
1092
+ }[] | undefined;
1093
+ description?: string | undefined;
1094
+ note?: {
1095
+ text: string;
1096
+ authorReference?: {
1097
+ reference: string;
1098
+ type?: string | undefined;
1099
+ display?: string | undefined;
1100
+ } | undefined;
1101
+ authorString?: string | undefined;
1102
+ time?: string | undefined;
1103
+ }[] | undefined;
1104
+ encounter?: {
1105
+ reference: string;
1106
+ type?: string | undefined;
1107
+ display?: string | undefined;
1108
+ } | undefined;
1109
+ statusReason?: {
1110
+ coding?: {
1111
+ code?: string | undefined;
1112
+ system?: string | undefined;
1113
+ display?: string | undefined;
1114
+ }[] | undefined;
1115
+ text?: string | undefined;
1116
+ } | undefined;
1117
+ effectiveDateTime?: string | undefined;
1118
+ effectivePeriod?: {
1119
+ start?: string | undefined;
1120
+ end?: string | undefined;
1121
+ } | undefined;
1122
+ assessor?: {
1123
+ reference: string;
1124
+ type?: string | undefined;
1125
+ display?: string | undefined;
1126
+ } | undefined;
1127
+ previous?: {
1128
+ reference: string;
1129
+ type?: string | undefined;
1130
+ display?: string | undefined;
1131
+ } | undefined;
1132
+ problem?: {
1133
+ reference: string;
1134
+ type?: string | undefined;
1135
+ display?: string | undefined;
1136
+ }[] | undefined;
1137
+ summary?: string | undefined;
1138
+ finding?: {
1139
+ itemCodeableConcept?: {
1140
+ coding?: {
1141
+ code?: string | undefined;
1142
+ system?: string | undefined;
1143
+ display?: string | undefined;
1144
+ }[] | undefined;
1145
+ text?: string | undefined;
1146
+ } | undefined;
1147
+ itemReference?: {
1148
+ reference: string;
1149
+ type?: string | undefined;
1150
+ display?: string | undefined;
1151
+ } | undefined;
1152
+ basis?: string | undefined;
1153
+ }[] | undefined;
1154
+ prognosisCodeableConcept?: {
1155
+ coding?: {
1156
+ code?: string | undefined;
1157
+ system?: string | undefined;
1158
+ display?: string | undefined;
1159
+ }[] | undefined;
1160
+ text?: string | undefined;
1161
+ }[] | undefined;
1162
+ prognosisReference?: {
1163
+ reference: string;
1164
+ type?: string | undefined;
1165
+ display?: string | undefined;
1166
+ }[] | undefined;
1167
+ supportingInfo?: {
1168
+ reference: string;
1169
+ type?: string | undefined;
1170
+ display?: string | undefined;
1171
+ }[] | undefined;
1172
+ }>;
1173
+ export declare const ClinicalImpressionSchema: z.ZodObject<{
1174
+ resourceType: z.ZodLiteral<"ClinicalImpression">;
1175
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1176
+ system: z.ZodOptional<z.ZodString>;
1177
+ use: z.ZodOptional<z.ZodString>;
1178
+ value: z.ZodOptional<z.ZodString>;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ value?: string | undefined;
1181
+ system?: string | undefined;
1182
+ use?: string | undefined;
1183
+ }, {
1184
+ value?: string | undefined;
1185
+ system?: string | undefined;
1186
+ use?: string | undefined;
1187
+ }>, "many">>;
1188
+ status: z.ZodEnum<["preparation", "in-progress", "not-done", "on-hold", "stopped", "completed", "entered-in-error", "unknown"]>;
1189
+ statusReason: z.ZodOptional<z.ZodObject<{
1190
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
1191
+ system: z.ZodOptional<z.ZodString>;
1192
+ code: z.ZodOptional<z.ZodString>;
1193
+ display: z.ZodOptional<z.ZodString>;
1194
+ }, "strip", z.ZodTypeAny, {
1195
+ code?: string | undefined;
1196
+ system?: string | undefined;
1197
+ display?: string | undefined;
1198
+ }, {
1199
+ code?: string | undefined;
1200
+ system?: string | undefined;
1201
+ display?: string | undefined;
1202
+ }>, "many">>;
1203
+ text: z.ZodOptional<z.ZodString>;
1204
+ }, "strip", z.ZodTypeAny, {
1205
+ coding?: {
1206
+ code?: string | undefined;
1207
+ system?: string | undefined;
1208
+ display?: string | undefined;
1209
+ }[] | undefined;
1210
+ text?: string | undefined;
1211
+ }, {
1212
+ coding?: {
1213
+ code?: string | undefined;
1214
+ system?: string | undefined;
1215
+ display?: string | undefined;
1216
+ }[] | undefined;
1217
+ text?: string | undefined;
1218
+ }>>;
1219
+ description: z.ZodOptional<z.ZodString>;
1220
+ subject: z.ZodObject<{
1221
+ reference: z.ZodString;
1222
+ display: z.ZodOptional<z.ZodString>;
1223
+ type: z.ZodOptional<z.ZodString>;
1224
+ }, "strip", z.ZodTypeAny, {
1225
+ reference: string;
1226
+ type?: string | undefined;
1227
+ display?: string | undefined;
1228
+ }, {
1229
+ reference: string;
1230
+ type?: string | undefined;
1231
+ display?: string | undefined;
1232
+ }>;
1233
+ encounter: z.ZodOptional<z.ZodObject<{
1234
+ reference: z.ZodString;
1235
+ display: z.ZodOptional<z.ZodString>;
1236
+ type: z.ZodOptional<z.ZodString>;
1237
+ }, "strip", z.ZodTypeAny, {
1238
+ reference: string;
1239
+ type?: string | undefined;
1240
+ display?: string | undefined;
1241
+ }, {
1242
+ reference: string;
1243
+ type?: string | undefined;
1244
+ display?: string | undefined;
1245
+ }>>;
1246
+ effectiveDateTime: z.ZodOptional<z.ZodString>;
1247
+ effectivePeriod: z.ZodOptional<z.ZodObject<{
1248
+ start: z.ZodOptional<z.ZodString>;
1249
+ end: z.ZodOptional<z.ZodString>;
1250
+ }, "strip", z.ZodTypeAny, {
1251
+ start?: string | undefined;
1252
+ end?: string | undefined;
1253
+ }, {
1254
+ start?: string | undefined;
1255
+ end?: string | undefined;
1256
+ }>>;
1257
+ date: z.ZodOptional<z.ZodString>;
1258
+ assessor: z.ZodOptional<z.ZodObject<{
1259
+ reference: z.ZodString;
1260
+ display: z.ZodOptional<z.ZodString>;
1261
+ type: z.ZodOptional<z.ZodString>;
1262
+ }, "strip", z.ZodTypeAny, {
1263
+ reference: string;
1264
+ type?: string | undefined;
1265
+ display?: string | undefined;
1266
+ }, {
1267
+ reference: string;
1268
+ type?: string | undefined;
1269
+ display?: string | undefined;
1270
+ }>>;
1271
+ previous: z.ZodOptional<z.ZodObject<{
1272
+ reference: z.ZodString;
1273
+ display: z.ZodOptional<z.ZodString>;
1274
+ type: z.ZodOptional<z.ZodString>;
1275
+ }, "strip", z.ZodTypeAny, {
1276
+ reference: string;
1277
+ type?: string | undefined;
1278
+ display?: string | undefined;
1279
+ }, {
1280
+ reference: string;
1281
+ type?: string | undefined;
1282
+ display?: string | undefined;
1283
+ }>>;
1284
+ problem: z.ZodOptional<z.ZodArray<z.ZodObject<{
1285
+ reference: z.ZodString;
1286
+ display: z.ZodOptional<z.ZodString>;
1287
+ type: z.ZodOptional<z.ZodString>;
1288
+ }, "strip", z.ZodTypeAny, {
1289
+ reference: string;
1290
+ type?: string | undefined;
1291
+ display?: string | undefined;
1292
+ }, {
1293
+ reference: string;
1294
+ type?: string | undefined;
1295
+ display?: string | undefined;
1296
+ }>, "many">>;
1297
+ summary: z.ZodOptional<z.ZodString>;
1298
+ finding: z.ZodOptional<z.ZodArray<z.ZodObject<{
1299
+ itemCodeableConcept: z.ZodOptional<z.ZodObject<{
1300
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
1301
+ system: z.ZodOptional<z.ZodString>;
1302
+ code: z.ZodOptional<z.ZodString>;
1303
+ display: z.ZodOptional<z.ZodString>;
1304
+ }, "strip", z.ZodTypeAny, {
1305
+ code?: string | undefined;
1306
+ system?: string | undefined;
1307
+ display?: string | undefined;
1308
+ }, {
1309
+ code?: string | undefined;
1310
+ system?: string | undefined;
1311
+ display?: string | undefined;
1312
+ }>, "many">>;
1313
+ text: z.ZodOptional<z.ZodString>;
1314
+ }, "strip", z.ZodTypeAny, {
1315
+ coding?: {
1316
+ code?: string | undefined;
1317
+ system?: string | undefined;
1318
+ display?: string | undefined;
1319
+ }[] | undefined;
1320
+ text?: string | undefined;
1321
+ }, {
1322
+ coding?: {
1323
+ code?: string | undefined;
1324
+ system?: string | undefined;
1325
+ display?: string | undefined;
1326
+ }[] | undefined;
1327
+ text?: string | undefined;
1328
+ }>>;
1329
+ itemReference: z.ZodOptional<z.ZodObject<{
1330
+ reference: z.ZodString;
1331
+ display: z.ZodOptional<z.ZodString>;
1332
+ type: z.ZodOptional<z.ZodString>;
1333
+ }, "strip", z.ZodTypeAny, {
1334
+ reference: string;
1335
+ type?: string | undefined;
1336
+ display?: string | undefined;
1337
+ }, {
1338
+ reference: string;
1339
+ type?: string | undefined;
1340
+ display?: string | undefined;
1341
+ }>>;
1342
+ basis: z.ZodOptional<z.ZodString>;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ itemCodeableConcept?: {
1345
+ coding?: {
1346
+ code?: string | undefined;
1347
+ system?: string | undefined;
1348
+ display?: string | undefined;
1349
+ }[] | undefined;
1350
+ text?: string | undefined;
1351
+ } | undefined;
1352
+ itemReference?: {
1353
+ reference: string;
1354
+ type?: string | undefined;
1355
+ display?: string | undefined;
1356
+ } | undefined;
1357
+ basis?: string | undefined;
1358
+ }, {
1359
+ itemCodeableConcept?: {
1360
+ coding?: {
1361
+ code?: string | undefined;
1362
+ system?: string | undefined;
1363
+ display?: string | undefined;
1364
+ }[] | undefined;
1365
+ text?: string | undefined;
1366
+ } | undefined;
1367
+ itemReference?: {
1368
+ reference: string;
1369
+ type?: string | undefined;
1370
+ display?: string | undefined;
1371
+ } | undefined;
1372
+ basis?: string | undefined;
1373
+ }>, "many">>;
1374
+ prognosisCodeableConcept: z.ZodOptional<z.ZodArray<z.ZodObject<{
1375
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
1376
+ system: z.ZodOptional<z.ZodString>;
1377
+ code: z.ZodOptional<z.ZodString>;
1378
+ display: z.ZodOptional<z.ZodString>;
1379
+ }, "strip", z.ZodTypeAny, {
1380
+ code?: string | undefined;
1381
+ system?: string | undefined;
1382
+ display?: string | undefined;
1383
+ }, {
1384
+ code?: string | undefined;
1385
+ system?: string | undefined;
1386
+ display?: string | undefined;
1387
+ }>, "many">>;
1388
+ text: z.ZodOptional<z.ZodString>;
1389
+ }, "strip", z.ZodTypeAny, {
1390
+ coding?: {
1391
+ code?: string | undefined;
1392
+ system?: string | undefined;
1393
+ display?: string | undefined;
1394
+ }[] | undefined;
1395
+ text?: string | undefined;
1396
+ }, {
1397
+ coding?: {
1398
+ code?: string | undefined;
1399
+ system?: string | undefined;
1400
+ display?: string | undefined;
1401
+ }[] | undefined;
1402
+ text?: string | undefined;
1403
+ }>, "many">>;
1404
+ prognosisReference: z.ZodOptional<z.ZodArray<z.ZodObject<{
1405
+ reference: z.ZodString;
1406
+ display: z.ZodOptional<z.ZodString>;
1407
+ type: z.ZodOptional<z.ZodString>;
1408
+ }, "strip", z.ZodTypeAny, {
1409
+ reference: string;
1410
+ type?: string | undefined;
1411
+ display?: string | undefined;
1412
+ }, {
1413
+ reference: string;
1414
+ type?: string | undefined;
1415
+ display?: string | undefined;
1416
+ }>, "many">>;
1417
+ supportingInfo: z.ZodOptional<z.ZodArray<z.ZodObject<{
1418
+ reference: z.ZodString;
1419
+ display: z.ZodOptional<z.ZodString>;
1420
+ type: z.ZodOptional<z.ZodString>;
1421
+ }, "strip", z.ZodTypeAny, {
1422
+ reference: string;
1423
+ type?: string | undefined;
1424
+ display?: string | undefined;
1425
+ }, {
1426
+ reference: string;
1427
+ type?: string | undefined;
1428
+ display?: string | undefined;
1429
+ }>, "many">>;
1430
+ note: z.ZodOptional<z.ZodArray<z.ZodObject<{
1431
+ authorReference: z.ZodOptional<z.ZodObject<{
1432
+ reference: z.ZodString;
1433
+ display: z.ZodOptional<z.ZodString>;
1434
+ type: z.ZodOptional<z.ZodString>;
1435
+ }, "strip", z.ZodTypeAny, {
1436
+ reference: string;
1437
+ type?: string | undefined;
1438
+ display?: string | undefined;
1439
+ }, {
1440
+ reference: string;
1441
+ type?: string | undefined;
1442
+ display?: string | undefined;
1443
+ }>>;
1444
+ authorString: z.ZodOptional<z.ZodString>;
1445
+ time: z.ZodOptional<z.ZodString>;
1446
+ text: z.ZodString;
1447
+ }, "strip", z.ZodTypeAny, {
1448
+ text: string;
1449
+ authorReference?: {
1450
+ reference: string;
1451
+ type?: string | undefined;
1452
+ display?: string | undefined;
1453
+ } | undefined;
1454
+ authorString?: string | undefined;
1455
+ time?: string | undefined;
1456
+ }, {
1457
+ text: string;
1458
+ authorReference?: {
1459
+ reference: string;
1460
+ type?: string | undefined;
1461
+ display?: string | undefined;
1462
+ } | undefined;
1463
+ authorString?: string | undefined;
1464
+ time?: string | undefined;
1465
+ }>, "many">>;
1466
+ } & {
1467
+ id: z.ZodString;
1468
+ meta: z.ZodOptional<z.ZodObject<{
1469
+ lastUpdated: z.ZodOptional<z.ZodString>;
1470
+ profile: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1471
+ versionId: z.ZodOptional<z.ZodString>;
1472
+ }, "strip", z.ZodTypeAny, {
1473
+ lastUpdated?: string | undefined;
1474
+ profile?: string[] | undefined;
1475
+ versionId?: string | undefined;
1476
+ }, {
1477
+ lastUpdated?: string | undefined;
1478
+ profile?: string[] | undefined;
1479
+ versionId?: string | undefined;
1480
+ }>>;
1481
+ }, "strip", z.ZodTypeAny, {
1482
+ status: "unknown" | "preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error";
1483
+ resourceType: "ClinicalImpression";
1484
+ id: string;
1485
+ subject: {
1486
+ reference: string;
1487
+ type?: string | undefined;
1488
+ display?: string | undefined;
1489
+ };
1490
+ date?: string | undefined;
1491
+ identifier?: {
1492
+ value?: string | undefined;
1493
+ system?: string | undefined;
1494
+ use?: string | undefined;
1495
+ }[] | undefined;
1496
+ meta?: {
1497
+ lastUpdated?: string | undefined;
1498
+ profile?: string[] | undefined;
1499
+ versionId?: string | undefined;
1500
+ } | undefined;
1501
+ description?: string | undefined;
1502
+ note?: {
1503
+ text: string;
1504
+ authorReference?: {
1505
+ reference: string;
1506
+ type?: string | undefined;
1507
+ display?: string | undefined;
1508
+ } | undefined;
1509
+ authorString?: string | undefined;
1510
+ time?: string | undefined;
1511
+ }[] | undefined;
1512
+ encounter?: {
1513
+ reference: string;
1514
+ type?: string | undefined;
1515
+ display?: string | undefined;
1516
+ } | undefined;
1517
+ statusReason?: {
1518
+ coding?: {
1519
+ code?: string | undefined;
1520
+ system?: string | undefined;
1521
+ display?: string | undefined;
1522
+ }[] | undefined;
1523
+ text?: string | undefined;
1524
+ } | undefined;
1525
+ effectiveDateTime?: string | undefined;
1526
+ effectivePeriod?: {
1527
+ start?: string | undefined;
1528
+ end?: string | undefined;
1529
+ } | undefined;
1530
+ assessor?: {
1531
+ reference: string;
1532
+ type?: string | undefined;
1533
+ display?: string | undefined;
1534
+ } | undefined;
1535
+ previous?: {
1536
+ reference: string;
1537
+ type?: string | undefined;
1538
+ display?: string | undefined;
1539
+ } | undefined;
1540
+ problem?: {
1541
+ reference: string;
1542
+ type?: string | undefined;
1543
+ display?: string | undefined;
1544
+ }[] | undefined;
1545
+ summary?: string | undefined;
1546
+ finding?: {
1547
+ itemCodeableConcept?: {
1548
+ coding?: {
1549
+ code?: string | undefined;
1550
+ system?: string | undefined;
1551
+ display?: string | undefined;
1552
+ }[] | undefined;
1553
+ text?: string | undefined;
1554
+ } | undefined;
1555
+ itemReference?: {
1556
+ reference: string;
1557
+ type?: string | undefined;
1558
+ display?: string | undefined;
1559
+ } | undefined;
1560
+ basis?: string | undefined;
1561
+ }[] | undefined;
1562
+ prognosisCodeableConcept?: {
1563
+ coding?: {
1564
+ code?: string | undefined;
1565
+ system?: string | undefined;
1566
+ display?: string | undefined;
1567
+ }[] | undefined;
1568
+ text?: string | undefined;
1569
+ }[] | undefined;
1570
+ prognosisReference?: {
1571
+ reference: string;
1572
+ type?: string | undefined;
1573
+ display?: string | undefined;
1574
+ }[] | undefined;
1575
+ supportingInfo?: {
1576
+ reference: string;
1577
+ type?: string | undefined;
1578
+ display?: string | undefined;
1579
+ }[] | undefined;
1580
+ }, {
1581
+ status: "unknown" | "preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error";
1582
+ resourceType: "ClinicalImpression";
1583
+ id: string;
1584
+ subject: {
1585
+ reference: string;
1586
+ type?: string | undefined;
1587
+ display?: string | undefined;
1588
+ };
1589
+ date?: string | undefined;
1590
+ identifier?: {
1591
+ value?: string | undefined;
1592
+ system?: string | undefined;
1593
+ use?: string | undefined;
1594
+ }[] | undefined;
1595
+ meta?: {
1596
+ lastUpdated?: string | undefined;
1597
+ profile?: string[] | undefined;
1598
+ versionId?: string | undefined;
1599
+ } | undefined;
1600
+ description?: string | undefined;
1601
+ note?: {
1602
+ text: string;
1603
+ authorReference?: {
1604
+ reference: string;
1605
+ type?: string | undefined;
1606
+ display?: string | undefined;
1607
+ } | undefined;
1608
+ authorString?: string | undefined;
1609
+ time?: string | undefined;
1610
+ }[] | undefined;
1611
+ encounter?: {
1612
+ reference: string;
1613
+ type?: string | undefined;
1614
+ display?: string | undefined;
1615
+ } | undefined;
1616
+ statusReason?: {
1617
+ coding?: {
1618
+ code?: string | undefined;
1619
+ system?: string | undefined;
1620
+ display?: string | undefined;
1621
+ }[] | undefined;
1622
+ text?: string | undefined;
1623
+ } | undefined;
1624
+ effectiveDateTime?: string | undefined;
1625
+ effectivePeriod?: {
1626
+ start?: string | undefined;
1627
+ end?: string | undefined;
1628
+ } | undefined;
1629
+ assessor?: {
1630
+ reference: string;
1631
+ type?: string | undefined;
1632
+ display?: string | undefined;
1633
+ } | undefined;
1634
+ previous?: {
1635
+ reference: string;
1636
+ type?: string | undefined;
1637
+ display?: string | undefined;
1638
+ } | undefined;
1639
+ problem?: {
1640
+ reference: string;
1641
+ type?: string | undefined;
1642
+ display?: string | undefined;
1643
+ }[] | undefined;
1644
+ summary?: string | undefined;
1645
+ finding?: {
1646
+ itemCodeableConcept?: {
1647
+ coding?: {
1648
+ code?: string | undefined;
1649
+ system?: string | undefined;
1650
+ display?: string | undefined;
1651
+ }[] | undefined;
1652
+ text?: string | undefined;
1653
+ } | undefined;
1654
+ itemReference?: {
1655
+ reference: string;
1656
+ type?: string | undefined;
1657
+ display?: string | undefined;
1658
+ } | undefined;
1659
+ basis?: string | undefined;
1660
+ }[] | undefined;
1661
+ prognosisCodeableConcept?: {
1662
+ coding?: {
1663
+ code?: string | undefined;
1664
+ system?: string | undefined;
1665
+ display?: string | undefined;
1666
+ }[] | undefined;
1667
+ text?: string | undefined;
1668
+ }[] | undefined;
1669
+ prognosisReference?: {
1670
+ reference: string;
1671
+ type?: string | undefined;
1672
+ display?: string | undefined;
1673
+ }[] | undefined;
1674
+ supportingInfo?: {
1675
+ reference: string;
1676
+ type?: string | undefined;
1677
+ display?: string | undefined;
1678
+ }[] | undefined;
1679
+ }>;
1680
+ export declare const ClinicalImpressionUpdateParamsSchema: z.ZodObject<{
1681
+ id: z.ZodString;
1682
+ }, "strip", z.ZodTypeAny, {
1683
+ id: string;
1684
+ }, {
1685
+ id: string;
1686
+ }>;
1687
+ export declare const ClinicalImpressionBundleSchema: z.ZodObject<{
1688
+ resourceType: z.ZodLiteral<"Bundle">;
1689
+ type: z.ZodOptional<z.ZodString>;
1690
+ total: z.ZodOptional<z.ZodNumber>;
1691
+ link: z.ZodOptional<z.ZodArray<z.ZodObject<{
1692
+ relation: z.ZodOptional<z.ZodString>;
1693
+ url: z.ZodOptional<z.ZodString>;
1694
+ }, "strip", z.ZodTypeAny, {
1695
+ url?: string | undefined;
1696
+ relation?: string | undefined;
1697
+ }, {
1698
+ url?: string | undefined;
1699
+ relation?: string | undefined;
1700
+ }>, "many">>;
1701
+ entry: z.ZodOptional<z.ZodArray<z.ZodObject<{
1702
+ fullUrl: z.ZodOptional<z.ZodString>;
1703
+ resource: z.ZodObject<{
1704
+ resourceType: z.ZodLiteral<"ClinicalImpression">;
1705
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1706
+ system: z.ZodOptional<z.ZodString>;
1707
+ use: z.ZodOptional<z.ZodString>;
1708
+ value: z.ZodOptional<z.ZodString>;
1709
+ }, "strip", z.ZodTypeAny, {
1710
+ value?: string | undefined;
1711
+ system?: string | undefined;
1712
+ use?: string | undefined;
1713
+ }, {
1714
+ value?: string | undefined;
1715
+ system?: string | undefined;
1716
+ use?: string | undefined;
1717
+ }>, "many">>;
1718
+ status: z.ZodEnum<["preparation", "in-progress", "not-done", "on-hold", "stopped", "completed", "entered-in-error", "unknown"]>;
1719
+ statusReason: z.ZodOptional<z.ZodObject<{
1720
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
1721
+ system: z.ZodOptional<z.ZodString>;
1722
+ code: z.ZodOptional<z.ZodString>;
1723
+ display: z.ZodOptional<z.ZodString>;
1724
+ }, "strip", z.ZodTypeAny, {
1725
+ code?: string | undefined;
1726
+ system?: string | undefined;
1727
+ display?: string | undefined;
1728
+ }, {
1729
+ code?: string | undefined;
1730
+ system?: string | undefined;
1731
+ display?: string | undefined;
1732
+ }>, "many">>;
1733
+ text: z.ZodOptional<z.ZodString>;
1734
+ }, "strip", z.ZodTypeAny, {
1735
+ coding?: {
1736
+ code?: string | undefined;
1737
+ system?: string | undefined;
1738
+ display?: string | undefined;
1739
+ }[] | undefined;
1740
+ text?: string | undefined;
1741
+ }, {
1742
+ coding?: {
1743
+ code?: string | undefined;
1744
+ system?: string | undefined;
1745
+ display?: string | undefined;
1746
+ }[] | undefined;
1747
+ text?: string | undefined;
1748
+ }>>;
1749
+ description: z.ZodOptional<z.ZodString>;
1750
+ subject: z.ZodObject<{
1751
+ reference: z.ZodString;
1752
+ display: z.ZodOptional<z.ZodString>;
1753
+ type: z.ZodOptional<z.ZodString>;
1754
+ }, "strip", z.ZodTypeAny, {
1755
+ reference: string;
1756
+ type?: string | undefined;
1757
+ display?: string | undefined;
1758
+ }, {
1759
+ reference: string;
1760
+ type?: string | undefined;
1761
+ display?: string | undefined;
1762
+ }>;
1763
+ encounter: z.ZodOptional<z.ZodObject<{
1764
+ reference: z.ZodString;
1765
+ display: z.ZodOptional<z.ZodString>;
1766
+ type: z.ZodOptional<z.ZodString>;
1767
+ }, "strip", z.ZodTypeAny, {
1768
+ reference: string;
1769
+ type?: string | undefined;
1770
+ display?: string | undefined;
1771
+ }, {
1772
+ reference: string;
1773
+ type?: string | undefined;
1774
+ display?: string | undefined;
1775
+ }>>;
1776
+ effectiveDateTime: z.ZodOptional<z.ZodString>;
1777
+ effectivePeriod: z.ZodOptional<z.ZodObject<{
1778
+ start: z.ZodOptional<z.ZodString>;
1779
+ end: z.ZodOptional<z.ZodString>;
1780
+ }, "strip", z.ZodTypeAny, {
1781
+ start?: string | undefined;
1782
+ end?: string | undefined;
1783
+ }, {
1784
+ start?: string | undefined;
1785
+ end?: string | undefined;
1786
+ }>>;
1787
+ date: z.ZodOptional<z.ZodString>;
1788
+ assessor: z.ZodOptional<z.ZodObject<{
1789
+ reference: z.ZodString;
1790
+ display: z.ZodOptional<z.ZodString>;
1791
+ type: z.ZodOptional<z.ZodString>;
1792
+ }, "strip", z.ZodTypeAny, {
1793
+ reference: string;
1794
+ type?: string | undefined;
1795
+ display?: string | undefined;
1796
+ }, {
1797
+ reference: string;
1798
+ type?: string | undefined;
1799
+ display?: string | undefined;
1800
+ }>>;
1801
+ previous: z.ZodOptional<z.ZodObject<{
1802
+ reference: z.ZodString;
1803
+ display: z.ZodOptional<z.ZodString>;
1804
+ type: z.ZodOptional<z.ZodString>;
1805
+ }, "strip", z.ZodTypeAny, {
1806
+ reference: string;
1807
+ type?: string | undefined;
1808
+ display?: string | undefined;
1809
+ }, {
1810
+ reference: string;
1811
+ type?: string | undefined;
1812
+ display?: string | undefined;
1813
+ }>>;
1814
+ problem: z.ZodOptional<z.ZodArray<z.ZodObject<{
1815
+ reference: z.ZodString;
1816
+ display: z.ZodOptional<z.ZodString>;
1817
+ type: z.ZodOptional<z.ZodString>;
1818
+ }, "strip", z.ZodTypeAny, {
1819
+ reference: string;
1820
+ type?: string | undefined;
1821
+ display?: string | undefined;
1822
+ }, {
1823
+ reference: string;
1824
+ type?: string | undefined;
1825
+ display?: string | undefined;
1826
+ }>, "many">>;
1827
+ summary: z.ZodOptional<z.ZodString>;
1828
+ finding: z.ZodOptional<z.ZodArray<z.ZodObject<{
1829
+ itemCodeableConcept: z.ZodOptional<z.ZodObject<{
1830
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
1831
+ system: z.ZodOptional<z.ZodString>;
1832
+ code: z.ZodOptional<z.ZodString>;
1833
+ display: z.ZodOptional<z.ZodString>;
1834
+ }, "strip", z.ZodTypeAny, {
1835
+ code?: string | undefined;
1836
+ system?: string | undefined;
1837
+ display?: string | undefined;
1838
+ }, {
1839
+ code?: string | undefined;
1840
+ system?: string | undefined;
1841
+ display?: string | undefined;
1842
+ }>, "many">>;
1843
+ text: z.ZodOptional<z.ZodString>;
1844
+ }, "strip", z.ZodTypeAny, {
1845
+ coding?: {
1846
+ code?: string | undefined;
1847
+ system?: string | undefined;
1848
+ display?: string | undefined;
1849
+ }[] | undefined;
1850
+ text?: string | undefined;
1851
+ }, {
1852
+ coding?: {
1853
+ code?: string | undefined;
1854
+ system?: string | undefined;
1855
+ display?: string | undefined;
1856
+ }[] | undefined;
1857
+ text?: string | undefined;
1858
+ }>>;
1859
+ itemReference: z.ZodOptional<z.ZodObject<{
1860
+ reference: z.ZodString;
1861
+ display: z.ZodOptional<z.ZodString>;
1862
+ type: z.ZodOptional<z.ZodString>;
1863
+ }, "strip", z.ZodTypeAny, {
1864
+ reference: string;
1865
+ type?: string | undefined;
1866
+ display?: string | undefined;
1867
+ }, {
1868
+ reference: string;
1869
+ type?: string | undefined;
1870
+ display?: string | undefined;
1871
+ }>>;
1872
+ basis: z.ZodOptional<z.ZodString>;
1873
+ }, "strip", z.ZodTypeAny, {
1874
+ itemCodeableConcept?: {
1875
+ coding?: {
1876
+ code?: string | undefined;
1877
+ system?: string | undefined;
1878
+ display?: string | undefined;
1879
+ }[] | undefined;
1880
+ text?: string | undefined;
1881
+ } | undefined;
1882
+ itemReference?: {
1883
+ reference: string;
1884
+ type?: string | undefined;
1885
+ display?: string | undefined;
1886
+ } | undefined;
1887
+ basis?: string | undefined;
1888
+ }, {
1889
+ itemCodeableConcept?: {
1890
+ coding?: {
1891
+ code?: string | undefined;
1892
+ system?: string | undefined;
1893
+ display?: string | undefined;
1894
+ }[] | undefined;
1895
+ text?: string | undefined;
1896
+ } | undefined;
1897
+ itemReference?: {
1898
+ reference: string;
1899
+ type?: string | undefined;
1900
+ display?: string | undefined;
1901
+ } | undefined;
1902
+ basis?: string | undefined;
1903
+ }>, "many">>;
1904
+ prognosisCodeableConcept: z.ZodOptional<z.ZodArray<z.ZodObject<{
1905
+ coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
1906
+ system: z.ZodOptional<z.ZodString>;
1907
+ code: z.ZodOptional<z.ZodString>;
1908
+ display: z.ZodOptional<z.ZodString>;
1909
+ }, "strip", z.ZodTypeAny, {
1910
+ code?: string | undefined;
1911
+ system?: string | undefined;
1912
+ display?: string | undefined;
1913
+ }, {
1914
+ code?: string | undefined;
1915
+ system?: string | undefined;
1916
+ display?: string | undefined;
1917
+ }>, "many">>;
1918
+ text: z.ZodOptional<z.ZodString>;
1919
+ }, "strip", z.ZodTypeAny, {
1920
+ coding?: {
1921
+ code?: string | undefined;
1922
+ system?: string | undefined;
1923
+ display?: string | undefined;
1924
+ }[] | undefined;
1925
+ text?: string | undefined;
1926
+ }, {
1927
+ coding?: {
1928
+ code?: string | undefined;
1929
+ system?: string | undefined;
1930
+ display?: string | undefined;
1931
+ }[] | undefined;
1932
+ text?: string | undefined;
1933
+ }>, "many">>;
1934
+ prognosisReference: z.ZodOptional<z.ZodArray<z.ZodObject<{
1935
+ reference: z.ZodString;
1936
+ display: z.ZodOptional<z.ZodString>;
1937
+ type: z.ZodOptional<z.ZodString>;
1938
+ }, "strip", z.ZodTypeAny, {
1939
+ reference: string;
1940
+ type?: string | undefined;
1941
+ display?: string | undefined;
1942
+ }, {
1943
+ reference: string;
1944
+ type?: string | undefined;
1945
+ display?: string | undefined;
1946
+ }>, "many">>;
1947
+ supportingInfo: z.ZodOptional<z.ZodArray<z.ZodObject<{
1948
+ reference: z.ZodString;
1949
+ display: z.ZodOptional<z.ZodString>;
1950
+ type: z.ZodOptional<z.ZodString>;
1951
+ }, "strip", z.ZodTypeAny, {
1952
+ reference: string;
1953
+ type?: string | undefined;
1954
+ display?: string | undefined;
1955
+ }, {
1956
+ reference: string;
1957
+ type?: string | undefined;
1958
+ display?: string | undefined;
1959
+ }>, "many">>;
1960
+ note: z.ZodOptional<z.ZodArray<z.ZodObject<{
1961
+ authorReference: z.ZodOptional<z.ZodObject<{
1962
+ reference: z.ZodString;
1963
+ display: z.ZodOptional<z.ZodString>;
1964
+ type: z.ZodOptional<z.ZodString>;
1965
+ }, "strip", z.ZodTypeAny, {
1966
+ reference: string;
1967
+ type?: string | undefined;
1968
+ display?: string | undefined;
1969
+ }, {
1970
+ reference: string;
1971
+ type?: string | undefined;
1972
+ display?: string | undefined;
1973
+ }>>;
1974
+ authorString: z.ZodOptional<z.ZodString>;
1975
+ time: z.ZodOptional<z.ZodString>;
1976
+ text: z.ZodString;
1977
+ }, "strip", z.ZodTypeAny, {
1978
+ text: string;
1979
+ authorReference?: {
1980
+ reference: string;
1981
+ type?: string | undefined;
1982
+ display?: string | undefined;
1983
+ } | undefined;
1984
+ authorString?: string | undefined;
1985
+ time?: string | undefined;
1986
+ }, {
1987
+ text: string;
1988
+ authorReference?: {
1989
+ reference: string;
1990
+ type?: string | undefined;
1991
+ display?: string | undefined;
1992
+ } | undefined;
1993
+ authorString?: string | undefined;
1994
+ time?: string | undefined;
1995
+ }>, "many">>;
1996
+ } & {
1997
+ id: z.ZodString;
1998
+ meta: z.ZodOptional<z.ZodObject<{
1999
+ lastUpdated: z.ZodOptional<z.ZodString>;
2000
+ profile: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2001
+ versionId: z.ZodOptional<z.ZodString>;
2002
+ }, "strip", z.ZodTypeAny, {
2003
+ lastUpdated?: string | undefined;
2004
+ profile?: string[] | undefined;
2005
+ versionId?: string | undefined;
2006
+ }, {
2007
+ lastUpdated?: string | undefined;
2008
+ profile?: string[] | undefined;
2009
+ versionId?: string | undefined;
2010
+ }>>;
2011
+ }, "strip", z.ZodTypeAny, {
2012
+ status: "unknown" | "preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error";
2013
+ resourceType: "ClinicalImpression";
2014
+ id: string;
2015
+ subject: {
2016
+ reference: string;
2017
+ type?: string | undefined;
2018
+ display?: string | undefined;
2019
+ };
2020
+ date?: string | undefined;
2021
+ identifier?: {
2022
+ value?: string | undefined;
2023
+ system?: string | undefined;
2024
+ use?: string | undefined;
2025
+ }[] | undefined;
2026
+ meta?: {
2027
+ lastUpdated?: string | undefined;
2028
+ profile?: string[] | undefined;
2029
+ versionId?: string | undefined;
2030
+ } | undefined;
2031
+ description?: string | undefined;
2032
+ note?: {
2033
+ text: string;
2034
+ authorReference?: {
2035
+ reference: string;
2036
+ type?: string | undefined;
2037
+ display?: string | undefined;
2038
+ } | undefined;
2039
+ authorString?: string | undefined;
2040
+ time?: string | undefined;
2041
+ }[] | undefined;
2042
+ encounter?: {
2043
+ reference: string;
2044
+ type?: string | undefined;
2045
+ display?: string | undefined;
2046
+ } | undefined;
2047
+ statusReason?: {
2048
+ coding?: {
2049
+ code?: string | undefined;
2050
+ system?: string | undefined;
2051
+ display?: string | undefined;
2052
+ }[] | undefined;
2053
+ text?: string | undefined;
2054
+ } | undefined;
2055
+ effectiveDateTime?: string | undefined;
2056
+ effectivePeriod?: {
2057
+ start?: string | undefined;
2058
+ end?: string | undefined;
2059
+ } | undefined;
2060
+ assessor?: {
2061
+ reference: string;
2062
+ type?: string | undefined;
2063
+ display?: string | undefined;
2064
+ } | undefined;
2065
+ previous?: {
2066
+ reference: string;
2067
+ type?: string | undefined;
2068
+ display?: string | undefined;
2069
+ } | undefined;
2070
+ problem?: {
2071
+ reference: string;
2072
+ type?: string | undefined;
2073
+ display?: string | undefined;
2074
+ }[] | undefined;
2075
+ summary?: string | undefined;
2076
+ finding?: {
2077
+ itemCodeableConcept?: {
2078
+ coding?: {
2079
+ code?: string | undefined;
2080
+ system?: string | undefined;
2081
+ display?: string | undefined;
2082
+ }[] | undefined;
2083
+ text?: string | undefined;
2084
+ } | undefined;
2085
+ itemReference?: {
2086
+ reference: string;
2087
+ type?: string | undefined;
2088
+ display?: string | undefined;
2089
+ } | undefined;
2090
+ basis?: string | undefined;
2091
+ }[] | undefined;
2092
+ prognosisCodeableConcept?: {
2093
+ coding?: {
2094
+ code?: string | undefined;
2095
+ system?: string | undefined;
2096
+ display?: string | undefined;
2097
+ }[] | undefined;
2098
+ text?: string | undefined;
2099
+ }[] | undefined;
2100
+ prognosisReference?: {
2101
+ reference: string;
2102
+ type?: string | undefined;
2103
+ display?: string | undefined;
2104
+ }[] | undefined;
2105
+ supportingInfo?: {
2106
+ reference: string;
2107
+ type?: string | undefined;
2108
+ display?: string | undefined;
2109
+ }[] | undefined;
2110
+ }, {
2111
+ status: "unknown" | "preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error";
2112
+ resourceType: "ClinicalImpression";
2113
+ id: string;
2114
+ subject: {
2115
+ reference: string;
2116
+ type?: string | undefined;
2117
+ display?: string | undefined;
2118
+ };
2119
+ date?: string | undefined;
2120
+ identifier?: {
2121
+ value?: string | undefined;
2122
+ system?: string | undefined;
2123
+ use?: string | undefined;
2124
+ }[] | undefined;
2125
+ meta?: {
2126
+ lastUpdated?: string | undefined;
2127
+ profile?: string[] | undefined;
2128
+ versionId?: string | undefined;
2129
+ } | undefined;
2130
+ description?: string | undefined;
2131
+ note?: {
2132
+ text: string;
2133
+ authorReference?: {
2134
+ reference: string;
2135
+ type?: string | undefined;
2136
+ display?: string | undefined;
2137
+ } | undefined;
2138
+ authorString?: string | undefined;
2139
+ time?: string | undefined;
2140
+ }[] | undefined;
2141
+ encounter?: {
2142
+ reference: string;
2143
+ type?: string | undefined;
2144
+ display?: string | undefined;
2145
+ } | undefined;
2146
+ statusReason?: {
2147
+ coding?: {
2148
+ code?: string | undefined;
2149
+ system?: string | undefined;
2150
+ display?: string | undefined;
2151
+ }[] | undefined;
2152
+ text?: string | undefined;
2153
+ } | undefined;
2154
+ effectiveDateTime?: string | undefined;
2155
+ effectivePeriod?: {
2156
+ start?: string | undefined;
2157
+ end?: string | undefined;
2158
+ } | undefined;
2159
+ assessor?: {
2160
+ reference: string;
2161
+ type?: string | undefined;
2162
+ display?: string | undefined;
2163
+ } | undefined;
2164
+ previous?: {
2165
+ reference: string;
2166
+ type?: string | undefined;
2167
+ display?: string | undefined;
2168
+ } | undefined;
2169
+ problem?: {
2170
+ reference: string;
2171
+ type?: string | undefined;
2172
+ display?: string | undefined;
2173
+ }[] | undefined;
2174
+ summary?: string | undefined;
2175
+ finding?: {
2176
+ itemCodeableConcept?: {
2177
+ coding?: {
2178
+ code?: string | undefined;
2179
+ system?: string | undefined;
2180
+ display?: string | undefined;
2181
+ }[] | undefined;
2182
+ text?: string | undefined;
2183
+ } | undefined;
2184
+ itemReference?: {
2185
+ reference: string;
2186
+ type?: string | undefined;
2187
+ display?: string | undefined;
2188
+ } | undefined;
2189
+ basis?: string | undefined;
2190
+ }[] | undefined;
2191
+ prognosisCodeableConcept?: {
2192
+ coding?: {
2193
+ code?: string | undefined;
2194
+ system?: string | undefined;
2195
+ display?: string | undefined;
2196
+ }[] | undefined;
2197
+ text?: string | undefined;
2198
+ }[] | undefined;
2199
+ prognosisReference?: {
2200
+ reference: string;
2201
+ type?: string | undefined;
2202
+ display?: string | undefined;
2203
+ }[] | undefined;
2204
+ supportingInfo?: {
2205
+ reference: string;
2206
+ type?: string | undefined;
2207
+ display?: string | undefined;
2208
+ }[] | undefined;
2209
+ }>;
2210
+ search: z.ZodOptional<z.ZodObject<{
2211
+ mode: z.ZodOptional<z.ZodString>;
2212
+ }, "strip", z.ZodTypeAny, {
2213
+ mode?: string | undefined;
2214
+ }, {
2215
+ mode?: string | undefined;
2216
+ }>>;
2217
+ }, "strip", z.ZodTypeAny, {
2218
+ resource: {
2219
+ status: "unknown" | "preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error";
2220
+ resourceType: "ClinicalImpression";
2221
+ id: string;
2222
+ subject: {
2223
+ reference: string;
2224
+ type?: string | undefined;
2225
+ display?: string | undefined;
2226
+ };
2227
+ date?: string | undefined;
2228
+ identifier?: {
2229
+ value?: string | undefined;
2230
+ system?: string | undefined;
2231
+ use?: string | undefined;
2232
+ }[] | undefined;
2233
+ meta?: {
2234
+ lastUpdated?: string | undefined;
2235
+ profile?: string[] | undefined;
2236
+ versionId?: string | undefined;
2237
+ } | undefined;
2238
+ description?: string | undefined;
2239
+ note?: {
2240
+ text: string;
2241
+ authorReference?: {
2242
+ reference: string;
2243
+ type?: string | undefined;
2244
+ display?: string | undefined;
2245
+ } | undefined;
2246
+ authorString?: string | undefined;
2247
+ time?: string | undefined;
2248
+ }[] | undefined;
2249
+ encounter?: {
2250
+ reference: string;
2251
+ type?: string | undefined;
2252
+ display?: string | undefined;
2253
+ } | undefined;
2254
+ statusReason?: {
2255
+ coding?: {
2256
+ code?: string | undefined;
2257
+ system?: string | undefined;
2258
+ display?: string | undefined;
2259
+ }[] | undefined;
2260
+ text?: string | undefined;
2261
+ } | undefined;
2262
+ effectiveDateTime?: string | undefined;
2263
+ effectivePeriod?: {
2264
+ start?: string | undefined;
2265
+ end?: string | undefined;
2266
+ } | undefined;
2267
+ assessor?: {
2268
+ reference: string;
2269
+ type?: string | undefined;
2270
+ display?: string | undefined;
2271
+ } | undefined;
2272
+ previous?: {
2273
+ reference: string;
2274
+ type?: string | undefined;
2275
+ display?: string | undefined;
2276
+ } | undefined;
2277
+ problem?: {
2278
+ reference: string;
2279
+ type?: string | undefined;
2280
+ display?: string | undefined;
2281
+ }[] | undefined;
2282
+ summary?: string | undefined;
2283
+ finding?: {
2284
+ itemCodeableConcept?: {
2285
+ coding?: {
2286
+ code?: string | undefined;
2287
+ system?: string | undefined;
2288
+ display?: string | undefined;
2289
+ }[] | undefined;
2290
+ text?: string | undefined;
2291
+ } | undefined;
2292
+ itemReference?: {
2293
+ reference: string;
2294
+ type?: string | undefined;
2295
+ display?: string | undefined;
2296
+ } | undefined;
2297
+ basis?: string | undefined;
2298
+ }[] | undefined;
2299
+ prognosisCodeableConcept?: {
2300
+ coding?: {
2301
+ code?: string | undefined;
2302
+ system?: string | undefined;
2303
+ display?: string | undefined;
2304
+ }[] | undefined;
2305
+ text?: string | undefined;
2306
+ }[] | undefined;
2307
+ prognosisReference?: {
2308
+ reference: string;
2309
+ type?: string | undefined;
2310
+ display?: string | undefined;
2311
+ }[] | undefined;
2312
+ supportingInfo?: {
2313
+ reference: string;
2314
+ type?: string | undefined;
2315
+ display?: string | undefined;
2316
+ }[] | undefined;
2317
+ };
2318
+ fullUrl?: string | undefined;
2319
+ search?: {
2320
+ mode?: string | undefined;
2321
+ } | undefined;
2322
+ }, {
2323
+ resource: {
2324
+ status: "unknown" | "preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error";
2325
+ resourceType: "ClinicalImpression";
2326
+ id: string;
2327
+ subject: {
2328
+ reference: string;
2329
+ type?: string | undefined;
2330
+ display?: string | undefined;
2331
+ };
2332
+ date?: string | undefined;
2333
+ identifier?: {
2334
+ value?: string | undefined;
2335
+ system?: string | undefined;
2336
+ use?: string | undefined;
2337
+ }[] | undefined;
2338
+ meta?: {
2339
+ lastUpdated?: string | undefined;
2340
+ profile?: string[] | undefined;
2341
+ versionId?: string | undefined;
2342
+ } | undefined;
2343
+ description?: string | undefined;
2344
+ note?: {
2345
+ text: string;
2346
+ authorReference?: {
2347
+ reference: string;
2348
+ type?: string | undefined;
2349
+ display?: string | undefined;
2350
+ } | undefined;
2351
+ authorString?: string | undefined;
2352
+ time?: string | undefined;
2353
+ }[] | undefined;
2354
+ encounter?: {
2355
+ reference: string;
2356
+ type?: string | undefined;
2357
+ display?: string | undefined;
2358
+ } | undefined;
2359
+ statusReason?: {
2360
+ coding?: {
2361
+ code?: string | undefined;
2362
+ system?: string | undefined;
2363
+ display?: string | undefined;
2364
+ }[] | undefined;
2365
+ text?: string | undefined;
2366
+ } | undefined;
2367
+ effectiveDateTime?: string | undefined;
2368
+ effectivePeriod?: {
2369
+ start?: string | undefined;
2370
+ end?: string | undefined;
2371
+ } | undefined;
2372
+ assessor?: {
2373
+ reference: string;
2374
+ type?: string | undefined;
2375
+ display?: string | undefined;
2376
+ } | undefined;
2377
+ previous?: {
2378
+ reference: string;
2379
+ type?: string | undefined;
2380
+ display?: string | undefined;
2381
+ } | undefined;
2382
+ problem?: {
2383
+ reference: string;
2384
+ type?: string | undefined;
2385
+ display?: string | undefined;
2386
+ }[] | undefined;
2387
+ summary?: string | undefined;
2388
+ finding?: {
2389
+ itemCodeableConcept?: {
2390
+ coding?: {
2391
+ code?: string | undefined;
2392
+ system?: string | undefined;
2393
+ display?: string | undefined;
2394
+ }[] | undefined;
2395
+ text?: string | undefined;
2396
+ } | undefined;
2397
+ itemReference?: {
2398
+ reference: string;
2399
+ type?: string | undefined;
2400
+ display?: string | undefined;
2401
+ } | undefined;
2402
+ basis?: string | undefined;
2403
+ }[] | undefined;
2404
+ prognosisCodeableConcept?: {
2405
+ coding?: {
2406
+ code?: string | undefined;
2407
+ system?: string | undefined;
2408
+ display?: string | undefined;
2409
+ }[] | undefined;
2410
+ text?: string | undefined;
2411
+ }[] | undefined;
2412
+ prognosisReference?: {
2413
+ reference: string;
2414
+ type?: string | undefined;
2415
+ display?: string | undefined;
2416
+ }[] | undefined;
2417
+ supportingInfo?: {
2418
+ reference: string;
2419
+ type?: string | undefined;
2420
+ display?: string | undefined;
2421
+ }[] | undefined;
2422
+ };
2423
+ fullUrl?: string | undefined;
2424
+ search?: {
2425
+ mode?: string | undefined;
2426
+ } | undefined;
2427
+ }>, "many">>;
2428
+ }, "strip", z.ZodTypeAny, {
2429
+ resourceType: "Bundle";
2430
+ type?: string | undefined;
2431
+ total?: number | undefined;
2432
+ link?: {
2433
+ url?: string | undefined;
2434
+ relation?: string | undefined;
2435
+ }[] | undefined;
2436
+ entry?: {
2437
+ resource: {
2438
+ status: "unknown" | "preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error";
2439
+ resourceType: "ClinicalImpression";
2440
+ id: string;
2441
+ subject: {
2442
+ reference: string;
2443
+ type?: string | undefined;
2444
+ display?: string | undefined;
2445
+ };
2446
+ date?: string | undefined;
2447
+ identifier?: {
2448
+ value?: string | undefined;
2449
+ system?: string | undefined;
2450
+ use?: string | undefined;
2451
+ }[] | undefined;
2452
+ meta?: {
2453
+ lastUpdated?: string | undefined;
2454
+ profile?: string[] | undefined;
2455
+ versionId?: string | undefined;
2456
+ } | undefined;
2457
+ description?: string | undefined;
2458
+ note?: {
2459
+ text: string;
2460
+ authorReference?: {
2461
+ reference: string;
2462
+ type?: string | undefined;
2463
+ display?: string | undefined;
2464
+ } | undefined;
2465
+ authorString?: string | undefined;
2466
+ time?: string | undefined;
2467
+ }[] | undefined;
2468
+ encounter?: {
2469
+ reference: string;
2470
+ type?: string | undefined;
2471
+ display?: string | undefined;
2472
+ } | undefined;
2473
+ statusReason?: {
2474
+ coding?: {
2475
+ code?: string | undefined;
2476
+ system?: string | undefined;
2477
+ display?: string | undefined;
2478
+ }[] | undefined;
2479
+ text?: string | undefined;
2480
+ } | undefined;
2481
+ effectiveDateTime?: string | undefined;
2482
+ effectivePeriod?: {
2483
+ start?: string | undefined;
2484
+ end?: string | undefined;
2485
+ } | undefined;
2486
+ assessor?: {
2487
+ reference: string;
2488
+ type?: string | undefined;
2489
+ display?: string | undefined;
2490
+ } | undefined;
2491
+ previous?: {
2492
+ reference: string;
2493
+ type?: string | undefined;
2494
+ display?: string | undefined;
2495
+ } | undefined;
2496
+ problem?: {
2497
+ reference: string;
2498
+ type?: string | undefined;
2499
+ display?: string | undefined;
2500
+ }[] | undefined;
2501
+ summary?: string | undefined;
2502
+ finding?: {
2503
+ itemCodeableConcept?: {
2504
+ coding?: {
2505
+ code?: string | undefined;
2506
+ system?: string | undefined;
2507
+ display?: string | undefined;
2508
+ }[] | undefined;
2509
+ text?: string | undefined;
2510
+ } | undefined;
2511
+ itemReference?: {
2512
+ reference: string;
2513
+ type?: string | undefined;
2514
+ display?: string | undefined;
2515
+ } | undefined;
2516
+ basis?: string | undefined;
2517
+ }[] | undefined;
2518
+ prognosisCodeableConcept?: {
2519
+ coding?: {
2520
+ code?: string | undefined;
2521
+ system?: string | undefined;
2522
+ display?: string | undefined;
2523
+ }[] | undefined;
2524
+ text?: string | undefined;
2525
+ }[] | undefined;
2526
+ prognosisReference?: {
2527
+ reference: string;
2528
+ type?: string | undefined;
2529
+ display?: string | undefined;
2530
+ }[] | undefined;
2531
+ supportingInfo?: {
2532
+ reference: string;
2533
+ type?: string | undefined;
2534
+ display?: string | undefined;
2535
+ }[] | undefined;
2536
+ };
2537
+ fullUrl?: string | undefined;
2538
+ search?: {
2539
+ mode?: string | undefined;
2540
+ } | undefined;
2541
+ }[] | undefined;
2542
+ }, {
2543
+ resourceType: "Bundle";
2544
+ type?: string | undefined;
2545
+ total?: number | undefined;
2546
+ link?: {
2547
+ url?: string | undefined;
2548
+ relation?: string | undefined;
2549
+ }[] | undefined;
2550
+ entry?: {
2551
+ resource: {
2552
+ status: "unknown" | "preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error";
2553
+ resourceType: "ClinicalImpression";
2554
+ id: string;
2555
+ subject: {
2556
+ reference: string;
2557
+ type?: string | undefined;
2558
+ display?: string | undefined;
2559
+ };
2560
+ date?: string | undefined;
2561
+ identifier?: {
2562
+ value?: string | undefined;
2563
+ system?: string | undefined;
2564
+ use?: string | undefined;
2565
+ }[] | undefined;
2566
+ meta?: {
2567
+ lastUpdated?: string | undefined;
2568
+ profile?: string[] | undefined;
2569
+ versionId?: string | undefined;
2570
+ } | undefined;
2571
+ description?: string | undefined;
2572
+ note?: {
2573
+ text: string;
2574
+ authorReference?: {
2575
+ reference: string;
2576
+ type?: string | undefined;
2577
+ display?: string | undefined;
2578
+ } | undefined;
2579
+ authorString?: string | undefined;
2580
+ time?: string | undefined;
2581
+ }[] | undefined;
2582
+ encounter?: {
2583
+ reference: string;
2584
+ type?: string | undefined;
2585
+ display?: string | undefined;
2586
+ } | undefined;
2587
+ statusReason?: {
2588
+ coding?: {
2589
+ code?: string | undefined;
2590
+ system?: string | undefined;
2591
+ display?: string | undefined;
2592
+ }[] | undefined;
2593
+ text?: string | undefined;
2594
+ } | undefined;
2595
+ effectiveDateTime?: string | undefined;
2596
+ effectivePeriod?: {
2597
+ start?: string | undefined;
2598
+ end?: string | undefined;
2599
+ } | undefined;
2600
+ assessor?: {
2601
+ reference: string;
2602
+ type?: string | undefined;
2603
+ display?: string | undefined;
2604
+ } | undefined;
2605
+ previous?: {
2606
+ reference: string;
2607
+ type?: string | undefined;
2608
+ display?: string | undefined;
2609
+ } | undefined;
2610
+ problem?: {
2611
+ reference: string;
2612
+ type?: string | undefined;
2613
+ display?: string | undefined;
2614
+ }[] | undefined;
2615
+ summary?: string | undefined;
2616
+ finding?: {
2617
+ itemCodeableConcept?: {
2618
+ coding?: {
2619
+ code?: string | undefined;
2620
+ system?: string | undefined;
2621
+ display?: string | undefined;
2622
+ }[] | undefined;
2623
+ text?: string | undefined;
2624
+ } | undefined;
2625
+ itemReference?: {
2626
+ reference: string;
2627
+ type?: string | undefined;
2628
+ display?: string | undefined;
2629
+ } | undefined;
2630
+ basis?: string | undefined;
2631
+ }[] | undefined;
2632
+ prognosisCodeableConcept?: {
2633
+ coding?: {
2634
+ code?: string | undefined;
2635
+ system?: string | undefined;
2636
+ display?: string | undefined;
2637
+ }[] | undefined;
2638
+ text?: string | undefined;
2639
+ }[] | undefined;
2640
+ prognosisReference?: {
2641
+ reference: string;
2642
+ type?: string | undefined;
2643
+ display?: string | undefined;
2644
+ }[] | undefined;
2645
+ supportingInfo?: {
2646
+ reference: string;
2647
+ type?: string | undefined;
2648
+ display?: string | undefined;
2649
+ }[] | undefined;
2650
+ };
2651
+ fullUrl?: string | undefined;
2652
+ search?: {
2653
+ mode?: string | undefined;
2654
+ } | undefined;
2655
+ }[] | undefined;
2656
+ }>;
2657
+ export type ClinicalImpressionIdentifier = z.infer<typeof ClinicalImpressionIdentifierSchema>;
2658
+ export type ClinicalImpressionCoding = z.infer<typeof ClinicalImpressionCodingSchema>;
2659
+ export type ClinicalImpressionFinding = z.infer<typeof ClinicalImpressionFindingSchema>;
2660
+ export type ClinicalImpressionNote = z.infer<typeof ClinicalImpressionNoteSchema>;
2661
+ export type ClinicalImpressionPatchOperation = z.infer<typeof ClinicalImpressionPatchOperationSchema>;
2662
+ export type ClinicalImpressionPatchInput = z.infer<typeof ClinicalImpressionPatchSchema>;
2663
+ export type ClinicalImpression = z.infer<typeof ClinicalImpressionSchema>;
2664
+ export type ClinicalImpressionCreateInput = z.infer<typeof ClinicalImpressionCreateSchema>;
2665
+ export type ClinicalImpressionSearchParams = z.infer<typeof ClinicalImpressionSearchParamsSchema>;
2666
+ export type ClinicalImpressionSearchResponse = z.infer<typeof ClinicalImpressionBundleSchema>;