@metriport/commonwell-sdk 3.1.3 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/commonwell.d.ts +4 -1
- package/lib/client/commonwell.js +12 -21
- package/lib/client/commonwell.js.map +1 -1
- package/lib/client/document.d.ts +7 -0
- package/lib/client/document.js +64 -0
- package/lib/client/document.js.map +1 -0
- package/lib/common/commonwell-error.d.ts +12 -0
- package/lib/common/commonwell-error.js +32 -0
- package/lib/common/commonwell-error.js.map +1 -0
- package/lib/index.d.ts +5 -4
- package/lib/index.js +4 -2
- package/lib/index.js.map +1 -1
- package/lib/models/demographics.d.ts +6 -6
- package/lib/models/document.d.ts +615 -66
- package/lib/models/document.js +9 -6
- package/lib/models/document.js.map +1 -1
- package/lib/models/human-name.d.ts +4 -4
- package/lib/models/human-name.js +2 -2
- package/lib/models/human-name.js.map +1 -1
- package/lib/models/link.d.ts +10 -10
- package/lib/models/patient.d.ts +34 -34
- package/lib/models/person.d.ts +20 -20
- package/package.json +3 -2
package/lib/models/document.d.ts
CHANGED
|
@@ -19,12 +19,12 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
19
19
|
system?: string;
|
|
20
20
|
value?: string;
|
|
21
21
|
}>, "many">>;
|
|
22
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.
|
|
22
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
23
23
|
use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
|
|
24
24
|
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
25
25
|
family: z.ZodArray<z.ZodString, "many">;
|
|
26
|
-
given: z.ZodArray<z.ZodString, "many"
|
|
27
|
-
prefix: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
26
|
+
given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
27
|
+
prefix: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
28
28
|
suffix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
29
29
|
period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
30
30
|
start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
@@ -41,7 +41,7 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
41
41
|
text?: string;
|
|
42
42
|
family?: string[];
|
|
43
43
|
given?: string[];
|
|
44
|
-
prefix?: string;
|
|
44
|
+
prefix?: string | string[];
|
|
45
45
|
suffix?: string;
|
|
46
46
|
period?: {
|
|
47
47
|
start?: string;
|
|
@@ -52,7 +52,46 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
52
52
|
text?: string;
|
|
53
53
|
family?: string[];
|
|
54
54
|
given?: string[];
|
|
55
|
-
prefix?: string;
|
|
55
|
+
prefix?: string | string[];
|
|
56
|
+
suffix?: string;
|
|
57
|
+
period?: {
|
|
58
|
+
start?: string;
|
|
59
|
+
end?: string;
|
|
60
|
+
};
|
|
61
|
+
}>]>, z.ZodArray<z.ZodObject<{
|
|
62
|
+
use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
|
|
63
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
64
|
+
family: z.ZodArray<z.ZodString, "many">;
|
|
65
|
+
given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
66
|
+
prefix: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
67
|
+
suffix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
68
|
+
period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
69
|
+
start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
70
|
+
end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
start?: string;
|
|
73
|
+
end?: string;
|
|
74
|
+
}, {
|
|
75
|
+
start?: string;
|
|
76
|
+
end?: string;
|
|
77
|
+
}>>>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
use?: string;
|
|
80
|
+
text?: string;
|
|
81
|
+
family?: string[];
|
|
82
|
+
given?: string[];
|
|
83
|
+
prefix?: string | string[];
|
|
84
|
+
suffix?: string;
|
|
85
|
+
period?: {
|
|
86
|
+
start?: string;
|
|
87
|
+
end?: string;
|
|
88
|
+
};
|
|
89
|
+
}, {
|
|
90
|
+
use?: string;
|
|
91
|
+
text?: string;
|
|
92
|
+
family?: string[];
|
|
93
|
+
given?: string[];
|
|
94
|
+
prefix?: string | string[];
|
|
56
95
|
suffix?: string;
|
|
57
96
|
period?: {
|
|
58
97
|
start?: string;
|
|
@@ -147,7 +186,18 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
147
186
|
text?: string;
|
|
148
187
|
family?: string[];
|
|
149
188
|
given?: string[];
|
|
150
|
-
prefix?: string;
|
|
189
|
+
prefix?: string | string[];
|
|
190
|
+
suffix?: string;
|
|
191
|
+
period?: {
|
|
192
|
+
start?: string;
|
|
193
|
+
end?: string;
|
|
194
|
+
};
|
|
195
|
+
} | {
|
|
196
|
+
use?: string;
|
|
197
|
+
text?: string;
|
|
198
|
+
family?: string[];
|
|
199
|
+
given?: string[];
|
|
200
|
+
prefix?: string | string[];
|
|
151
201
|
suffix?: string;
|
|
152
202
|
period?: {
|
|
153
203
|
start?: string;
|
|
@@ -190,7 +240,18 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
190
240
|
text?: string;
|
|
191
241
|
family?: string[];
|
|
192
242
|
given?: string[];
|
|
193
|
-
prefix?: string;
|
|
243
|
+
prefix?: string | string[];
|
|
244
|
+
suffix?: string;
|
|
245
|
+
period?: {
|
|
246
|
+
start?: string;
|
|
247
|
+
end?: string;
|
|
248
|
+
};
|
|
249
|
+
} | {
|
|
250
|
+
use?: string;
|
|
251
|
+
text?: string;
|
|
252
|
+
family?: string[];
|
|
253
|
+
given?: string[];
|
|
254
|
+
prefix?: string | string[];
|
|
194
255
|
suffix?: string;
|
|
195
256
|
period?: {
|
|
196
257
|
start?: string;
|
|
@@ -284,23 +345,23 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
284
345
|
}[];
|
|
285
346
|
text?: string;
|
|
286
347
|
}>;
|
|
287
|
-
author: z.ZodArray<z.ZodObject<{
|
|
348
|
+
author: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
288
349
|
reference: z.ZodString;
|
|
289
350
|
}, "strip", z.ZodTypeAny, {
|
|
290
351
|
reference?: string;
|
|
291
352
|
}, {
|
|
292
353
|
reference?: string;
|
|
293
|
-
}>, "many"
|
|
354
|
+
}>, "many">>;
|
|
294
355
|
indexed: z.ZodString;
|
|
295
356
|
status: z.ZodEnum<["current", "superceded", "entered in error"]>;
|
|
296
357
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
297
358
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
298
|
-
format: z.ZodOptional<z.ZodString
|
|
359
|
+
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
299
360
|
size: z.ZodOptional<z.ZodNumber>;
|
|
300
361
|
hash: z.ZodOptional<z.ZodString>;
|
|
301
362
|
location: z.ZodOptional<z.ZodString>;
|
|
302
363
|
context: z.ZodObject<{
|
|
303
|
-
event: z.ZodArray<z.ZodObject<{
|
|
364
|
+
event: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
304
365
|
coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
305
366
|
system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
306
367
|
code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -329,8 +390,8 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
329
390
|
display?: string;
|
|
330
391
|
}[];
|
|
331
392
|
text?: string;
|
|
332
|
-
}>, "many"
|
|
333
|
-
period: z.ZodObject<{
|
|
393
|
+
}>, "many">>;
|
|
394
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
334
395
|
start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
335
396
|
end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
336
397
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -339,7 +400,37 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
339
400
|
}, {
|
|
340
401
|
start?: string;
|
|
341
402
|
end?: string;
|
|
342
|
-
}
|
|
403
|
+
}>>;
|
|
404
|
+
facilityType: z.ZodOptional<z.ZodObject<{
|
|
405
|
+
coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
406
|
+
system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
407
|
+
code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
408
|
+
display: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
system?: string;
|
|
411
|
+
code?: string;
|
|
412
|
+
display?: string;
|
|
413
|
+
}, {
|
|
414
|
+
system?: string;
|
|
415
|
+
code?: string;
|
|
416
|
+
display?: string;
|
|
417
|
+
}>, "many">>;
|
|
418
|
+
text: z.ZodOptional<z.ZodString>;
|
|
419
|
+
}, "strip", z.ZodTypeAny, {
|
|
420
|
+
coding?: {
|
|
421
|
+
system?: string;
|
|
422
|
+
code?: string;
|
|
423
|
+
display?: string;
|
|
424
|
+
}[];
|
|
425
|
+
text?: string;
|
|
426
|
+
}, {
|
|
427
|
+
coding?: {
|
|
428
|
+
system?: string;
|
|
429
|
+
code?: string;
|
|
430
|
+
display?: string;
|
|
431
|
+
}[];
|
|
432
|
+
text?: string;
|
|
433
|
+
}>>;
|
|
343
434
|
}, "strip", z.ZodTypeAny, {
|
|
344
435
|
event?: {
|
|
345
436
|
coding?: {
|
|
@@ -353,6 +444,14 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
353
444
|
start?: string;
|
|
354
445
|
end?: string;
|
|
355
446
|
};
|
|
447
|
+
facilityType?: {
|
|
448
|
+
coding?: {
|
|
449
|
+
system?: string;
|
|
450
|
+
code?: string;
|
|
451
|
+
display?: string;
|
|
452
|
+
}[];
|
|
453
|
+
text?: string;
|
|
454
|
+
};
|
|
356
455
|
}, {
|
|
357
456
|
event?: {
|
|
358
457
|
coding?: {
|
|
@@ -366,6 +465,14 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
366
465
|
start?: string;
|
|
367
466
|
end?: string;
|
|
368
467
|
};
|
|
468
|
+
facilityType?: {
|
|
469
|
+
coding?: {
|
|
470
|
+
system?: string;
|
|
471
|
+
code?: string;
|
|
472
|
+
display?: string;
|
|
473
|
+
}[];
|
|
474
|
+
text?: string;
|
|
475
|
+
};
|
|
369
476
|
}>;
|
|
370
477
|
}, "strip", z.ZodTypeAny, {
|
|
371
478
|
resourceType?: string;
|
|
@@ -382,7 +489,18 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
382
489
|
text?: string;
|
|
383
490
|
family?: string[];
|
|
384
491
|
given?: string[];
|
|
385
|
-
prefix?: string;
|
|
492
|
+
prefix?: string | string[];
|
|
493
|
+
suffix?: string;
|
|
494
|
+
period?: {
|
|
495
|
+
start?: string;
|
|
496
|
+
end?: string;
|
|
497
|
+
};
|
|
498
|
+
} | {
|
|
499
|
+
use?: string;
|
|
500
|
+
text?: string;
|
|
501
|
+
family?: string[];
|
|
502
|
+
given?: string[];
|
|
503
|
+
prefix?: string | string[];
|
|
386
504
|
suffix?: string;
|
|
387
505
|
period?: {
|
|
388
506
|
start?: string;
|
|
@@ -441,7 +559,7 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
441
559
|
status?: "current" | "superceded" | "entered in error";
|
|
442
560
|
description?: string;
|
|
443
561
|
mimeType?: string;
|
|
444
|
-
format?: string;
|
|
562
|
+
format?: string | string[];
|
|
445
563
|
size?: number;
|
|
446
564
|
hash?: string;
|
|
447
565
|
location?: string;
|
|
@@ -458,6 +576,14 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
458
576
|
start?: string;
|
|
459
577
|
end?: string;
|
|
460
578
|
};
|
|
579
|
+
facilityType?: {
|
|
580
|
+
coding?: {
|
|
581
|
+
system?: string;
|
|
582
|
+
code?: string;
|
|
583
|
+
display?: string;
|
|
584
|
+
}[];
|
|
585
|
+
text?: string;
|
|
586
|
+
};
|
|
461
587
|
};
|
|
462
588
|
}, {
|
|
463
589
|
resourceType?: string;
|
|
@@ -474,7 +600,18 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
474
600
|
text?: string;
|
|
475
601
|
family?: string[];
|
|
476
602
|
given?: string[];
|
|
477
|
-
prefix?: string;
|
|
603
|
+
prefix?: string | string[];
|
|
604
|
+
suffix?: string;
|
|
605
|
+
period?: {
|
|
606
|
+
start?: string;
|
|
607
|
+
end?: string;
|
|
608
|
+
};
|
|
609
|
+
} | {
|
|
610
|
+
use?: string;
|
|
611
|
+
text?: string;
|
|
612
|
+
family?: string[];
|
|
613
|
+
given?: string[];
|
|
614
|
+
prefix?: string | string[];
|
|
478
615
|
suffix?: string;
|
|
479
616
|
period?: {
|
|
480
617
|
start?: string;
|
|
@@ -533,7 +670,7 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
533
670
|
status?: "current" | "superceded" | "entered in error";
|
|
534
671
|
description?: string;
|
|
535
672
|
mimeType?: string;
|
|
536
|
-
format?: string;
|
|
673
|
+
format?: string | string[];
|
|
537
674
|
size?: number;
|
|
538
675
|
hash?: string;
|
|
539
676
|
location?: string;
|
|
@@ -550,6 +687,14 @@ export declare const contentSchema: z.ZodObject<{
|
|
|
550
687
|
start?: string;
|
|
551
688
|
end?: string;
|
|
552
689
|
};
|
|
690
|
+
facilityType?: {
|
|
691
|
+
coding?: {
|
|
692
|
+
system?: string;
|
|
693
|
+
code?: string;
|
|
694
|
+
display?: string;
|
|
695
|
+
}[];
|
|
696
|
+
text?: string;
|
|
697
|
+
};
|
|
553
698
|
};
|
|
554
699
|
}>;
|
|
555
700
|
export type DocumentContent = z.infer<typeof contentSchema>;
|
|
@@ -573,12 +718,51 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
573
718
|
system?: string;
|
|
574
719
|
value?: string;
|
|
575
720
|
}>, "many">>;
|
|
576
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.
|
|
721
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
722
|
+
use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
|
|
723
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
724
|
+
family: z.ZodArray<z.ZodString, "many">;
|
|
725
|
+
given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
726
|
+
prefix: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
727
|
+
suffix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
728
|
+
period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
729
|
+
start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
730
|
+
end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
731
|
+
}, "strip", z.ZodTypeAny, {
|
|
732
|
+
start?: string;
|
|
733
|
+
end?: string;
|
|
734
|
+
}, {
|
|
735
|
+
start?: string;
|
|
736
|
+
end?: string;
|
|
737
|
+
}>>>;
|
|
738
|
+
}, "strip", z.ZodTypeAny, {
|
|
739
|
+
use?: string;
|
|
740
|
+
text?: string;
|
|
741
|
+
family?: string[];
|
|
742
|
+
given?: string[];
|
|
743
|
+
prefix?: string | string[];
|
|
744
|
+
suffix?: string;
|
|
745
|
+
period?: {
|
|
746
|
+
start?: string;
|
|
747
|
+
end?: string;
|
|
748
|
+
};
|
|
749
|
+
}, {
|
|
750
|
+
use?: string;
|
|
751
|
+
text?: string;
|
|
752
|
+
family?: string[];
|
|
753
|
+
given?: string[];
|
|
754
|
+
prefix?: string | string[];
|
|
755
|
+
suffix?: string;
|
|
756
|
+
period?: {
|
|
757
|
+
start?: string;
|
|
758
|
+
end?: string;
|
|
759
|
+
};
|
|
760
|
+
}>]>, z.ZodArray<z.ZodObject<{
|
|
577
761
|
use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
|
|
578
762
|
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
579
763
|
family: z.ZodArray<z.ZodString, "many">;
|
|
580
|
-
given: z.ZodArray<z.ZodString, "many"
|
|
581
|
-
prefix: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
764
|
+
given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
765
|
+
prefix: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
582
766
|
suffix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
583
767
|
period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
584
768
|
start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
@@ -595,7 +779,7 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
595
779
|
text?: string;
|
|
596
780
|
family?: string[];
|
|
597
781
|
given?: string[];
|
|
598
|
-
prefix?: string;
|
|
782
|
+
prefix?: string | string[];
|
|
599
783
|
suffix?: string;
|
|
600
784
|
period?: {
|
|
601
785
|
start?: string;
|
|
@@ -606,7 +790,7 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
606
790
|
text?: string;
|
|
607
791
|
family?: string[];
|
|
608
792
|
given?: string[];
|
|
609
|
-
prefix?: string;
|
|
793
|
+
prefix?: string | string[];
|
|
610
794
|
suffix?: string;
|
|
611
795
|
period?: {
|
|
612
796
|
start?: string;
|
|
@@ -701,7 +885,18 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
701
885
|
text?: string;
|
|
702
886
|
family?: string[];
|
|
703
887
|
given?: string[];
|
|
704
|
-
prefix?: string;
|
|
888
|
+
prefix?: string | string[];
|
|
889
|
+
suffix?: string;
|
|
890
|
+
period?: {
|
|
891
|
+
start?: string;
|
|
892
|
+
end?: string;
|
|
893
|
+
};
|
|
894
|
+
} | {
|
|
895
|
+
use?: string;
|
|
896
|
+
text?: string;
|
|
897
|
+
family?: string[];
|
|
898
|
+
given?: string[];
|
|
899
|
+
prefix?: string | string[];
|
|
705
900
|
suffix?: string;
|
|
706
901
|
period?: {
|
|
707
902
|
start?: string;
|
|
@@ -744,7 +939,18 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
744
939
|
text?: string;
|
|
745
940
|
family?: string[];
|
|
746
941
|
given?: string[];
|
|
747
|
-
prefix?: string;
|
|
942
|
+
prefix?: string | string[];
|
|
943
|
+
suffix?: string;
|
|
944
|
+
period?: {
|
|
945
|
+
start?: string;
|
|
946
|
+
end?: string;
|
|
947
|
+
};
|
|
948
|
+
} | {
|
|
949
|
+
use?: string;
|
|
950
|
+
text?: string;
|
|
951
|
+
family?: string[];
|
|
952
|
+
given?: string[];
|
|
953
|
+
prefix?: string | string[];
|
|
748
954
|
suffix?: string;
|
|
749
955
|
period?: {
|
|
750
956
|
start?: string;
|
|
@@ -838,23 +1044,23 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
838
1044
|
}[];
|
|
839
1045
|
text?: string;
|
|
840
1046
|
}>;
|
|
841
|
-
author: z.ZodArray<z.ZodObject<{
|
|
1047
|
+
author: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
842
1048
|
reference: z.ZodString;
|
|
843
1049
|
}, "strip", z.ZodTypeAny, {
|
|
844
1050
|
reference?: string;
|
|
845
1051
|
}, {
|
|
846
1052
|
reference?: string;
|
|
847
|
-
}>, "many"
|
|
1053
|
+
}>, "many">>;
|
|
848
1054
|
indexed: z.ZodString;
|
|
849
1055
|
status: z.ZodEnum<["current", "superceded", "entered in error"]>;
|
|
850
1056
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
851
1057
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
852
|
-
format: z.ZodOptional<z.ZodString
|
|
1058
|
+
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
853
1059
|
size: z.ZodOptional<z.ZodNumber>;
|
|
854
1060
|
hash: z.ZodOptional<z.ZodString>;
|
|
855
1061
|
location: z.ZodOptional<z.ZodString>;
|
|
856
1062
|
context: z.ZodObject<{
|
|
857
|
-
event: z.ZodArray<z.ZodObject<{
|
|
1063
|
+
event: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
858
1064
|
coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
859
1065
|
system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
860
1066
|
code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -883,8 +1089,8 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
883
1089
|
display?: string;
|
|
884
1090
|
}[];
|
|
885
1091
|
text?: string;
|
|
886
|
-
}>, "many"
|
|
887
|
-
period: z.ZodObject<{
|
|
1092
|
+
}>, "many">>;
|
|
1093
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
888
1094
|
start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
889
1095
|
end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
890
1096
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -893,7 +1099,37 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
893
1099
|
}, {
|
|
894
1100
|
start?: string;
|
|
895
1101
|
end?: string;
|
|
896
|
-
}
|
|
1102
|
+
}>>;
|
|
1103
|
+
facilityType: z.ZodOptional<z.ZodObject<{
|
|
1104
|
+
coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1105
|
+
system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1106
|
+
code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1107
|
+
display: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1108
|
+
}, "strip", z.ZodTypeAny, {
|
|
1109
|
+
system?: string;
|
|
1110
|
+
code?: string;
|
|
1111
|
+
display?: string;
|
|
1112
|
+
}, {
|
|
1113
|
+
system?: string;
|
|
1114
|
+
code?: string;
|
|
1115
|
+
display?: string;
|
|
1116
|
+
}>, "many">>;
|
|
1117
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
}, "strip", z.ZodTypeAny, {
|
|
1119
|
+
coding?: {
|
|
1120
|
+
system?: string;
|
|
1121
|
+
code?: string;
|
|
1122
|
+
display?: string;
|
|
1123
|
+
}[];
|
|
1124
|
+
text?: string;
|
|
1125
|
+
}, {
|
|
1126
|
+
coding?: {
|
|
1127
|
+
system?: string;
|
|
1128
|
+
code?: string;
|
|
1129
|
+
display?: string;
|
|
1130
|
+
}[];
|
|
1131
|
+
text?: string;
|
|
1132
|
+
}>>;
|
|
897
1133
|
}, "strip", z.ZodTypeAny, {
|
|
898
1134
|
event?: {
|
|
899
1135
|
coding?: {
|
|
@@ -907,6 +1143,14 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
907
1143
|
start?: string;
|
|
908
1144
|
end?: string;
|
|
909
1145
|
};
|
|
1146
|
+
facilityType?: {
|
|
1147
|
+
coding?: {
|
|
1148
|
+
system?: string;
|
|
1149
|
+
code?: string;
|
|
1150
|
+
display?: string;
|
|
1151
|
+
}[];
|
|
1152
|
+
text?: string;
|
|
1153
|
+
};
|
|
910
1154
|
}, {
|
|
911
1155
|
event?: {
|
|
912
1156
|
coding?: {
|
|
@@ -920,6 +1164,14 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
920
1164
|
start?: string;
|
|
921
1165
|
end?: string;
|
|
922
1166
|
};
|
|
1167
|
+
facilityType?: {
|
|
1168
|
+
coding?: {
|
|
1169
|
+
system?: string;
|
|
1170
|
+
code?: string;
|
|
1171
|
+
display?: string;
|
|
1172
|
+
}[];
|
|
1173
|
+
text?: string;
|
|
1174
|
+
};
|
|
923
1175
|
}>;
|
|
924
1176
|
}, "strip", z.ZodTypeAny, {
|
|
925
1177
|
resourceType?: string;
|
|
@@ -936,7 +1188,18 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
936
1188
|
text?: string;
|
|
937
1189
|
family?: string[];
|
|
938
1190
|
given?: string[];
|
|
939
|
-
prefix?: string;
|
|
1191
|
+
prefix?: string | string[];
|
|
1192
|
+
suffix?: string;
|
|
1193
|
+
period?: {
|
|
1194
|
+
start?: string;
|
|
1195
|
+
end?: string;
|
|
1196
|
+
};
|
|
1197
|
+
} | {
|
|
1198
|
+
use?: string;
|
|
1199
|
+
text?: string;
|
|
1200
|
+
family?: string[];
|
|
1201
|
+
given?: string[];
|
|
1202
|
+
prefix?: string | string[];
|
|
940
1203
|
suffix?: string;
|
|
941
1204
|
period?: {
|
|
942
1205
|
start?: string;
|
|
@@ -995,7 +1258,7 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
995
1258
|
status?: "current" | "superceded" | "entered in error";
|
|
996
1259
|
description?: string;
|
|
997
1260
|
mimeType?: string;
|
|
998
|
-
format?: string;
|
|
1261
|
+
format?: string | string[];
|
|
999
1262
|
size?: number;
|
|
1000
1263
|
hash?: string;
|
|
1001
1264
|
location?: string;
|
|
@@ -1012,6 +1275,14 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
1012
1275
|
start?: string;
|
|
1013
1276
|
end?: string;
|
|
1014
1277
|
};
|
|
1278
|
+
facilityType?: {
|
|
1279
|
+
coding?: {
|
|
1280
|
+
system?: string;
|
|
1281
|
+
code?: string;
|
|
1282
|
+
display?: string;
|
|
1283
|
+
}[];
|
|
1284
|
+
text?: string;
|
|
1285
|
+
};
|
|
1015
1286
|
};
|
|
1016
1287
|
}, {
|
|
1017
1288
|
resourceType?: string;
|
|
@@ -1028,7 +1299,18 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
1028
1299
|
text?: string;
|
|
1029
1300
|
family?: string[];
|
|
1030
1301
|
given?: string[];
|
|
1031
|
-
prefix?: string;
|
|
1302
|
+
prefix?: string | string[];
|
|
1303
|
+
suffix?: string;
|
|
1304
|
+
period?: {
|
|
1305
|
+
start?: string;
|
|
1306
|
+
end?: string;
|
|
1307
|
+
};
|
|
1308
|
+
} | {
|
|
1309
|
+
use?: string;
|
|
1310
|
+
text?: string;
|
|
1311
|
+
family?: string[];
|
|
1312
|
+
given?: string[];
|
|
1313
|
+
prefix?: string | string[];
|
|
1032
1314
|
suffix?: string;
|
|
1033
1315
|
period?: {
|
|
1034
1316
|
start?: string;
|
|
@@ -1087,7 +1369,7 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
1087
1369
|
status?: "current" | "superceded" | "entered in error";
|
|
1088
1370
|
description?: string;
|
|
1089
1371
|
mimeType?: string;
|
|
1090
|
-
format?: string;
|
|
1372
|
+
format?: string | string[];
|
|
1091
1373
|
size?: number;
|
|
1092
1374
|
hash?: string;
|
|
1093
1375
|
location?: string;
|
|
@@ -1104,6 +1386,14 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
1104
1386
|
start?: string;
|
|
1105
1387
|
end?: string;
|
|
1106
1388
|
};
|
|
1389
|
+
facilityType?: {
|
|
1390
|
+
coding?: {
|
|
1391
|
+
system?: string;
|
|
1392
|
+
code?: string;
|
|
1393
|
+
display?: string;
|
|
1394
|
+
}[];
|
|
1395
|
+
text?: string;
|
|
1396
|
+
};
|
|
1107
1397
|
};
|
|
1108
1398
|
}>;
|
|
1109
1399
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1123,7 +1413,18 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
1123
1413
|
text?: string;
|
|
1124
1414
|
family?: string[];
|
|
1125
1415
|
given?: string[];
|
|
1126
|
-
prefix?: string;
|
|
1416
|
+
prefix?: string | string[];
|
|
1417
|
+
suffix?: string;
|
|
1418
|
+
period?: {
|
|
1419
|
+
start?: string;
|
|
1420
|
+
end?: string;
|
|
1421
|
+
};
|
|
1422
|
+
} | {
|
|
1423
|
+
use?: string;
|
|
1424
|
+
text?: string;
|
|
1425
|
+
family?: string[];
|
|
1426
|
+
given?: string[];
|
|
1427
|
+
prefix?: string | string[];
|
|
1127
1428
|
suffix?: string;
|
|
1128
1429
|
period?: {
|
|
1129
1430
|
start?: string;
|
|
@@ -1182,7 +1483,7 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
1182
1483
|
status?: "current" | "superceded" | "entered in error";
|
|
1183
1484
|
description?: string;
|
|
1184
1485
|
mimeType?: string;
|
|
1185
|
-
format?: string;
|
|
1486
|
+
format?: string | string[];
|
|
1186
1487
|
size?: number;
|
|
1187
1488
|
hash?: string;
|
|
1188
1489
|
location?: string;
|
|
@@ -1199,6 +1500,14 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
1199
1500
|
start?: string;
|
|
1200
1501
|
end?: string;
|
|
1201
1502
|
};
|
|
1503
|
+
facilityType?: {
|
|
1504
|
+
coding?: {
|
|
1505
|
+
system?: string;
|
|
1506
|
+
code?: string;
|
|
1507
|
+
display?: string;
|
|
1508
|
+
}[];
|
|
1509
|
+
text?: string;
|
|
1510
|
+
};
|
|
1202
1511
|
};
|
|
1203
1512
|
};
|
|
1204
1513
|
}, {
|
|
@@ -1218,7 +1527,18 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
1218
1527
|
text?: string;
|
|
1219
1528
|
family?: string[];
|
|
1220
1529
|
given?: string[];
|
|
1221
|
-
prefix?: string;
|
|
1530
|
+
prefix?: string | string[];
|
|
1531
|
+
suffix?: string;
|
|
1532
|
+
period?: {
|
|
1533
|
+
start?: string;
|
|
1534
|
+
end?: string;
|
|
1535
|
+
};
|
|
1536
|
+
} | {
|
|
1537
|
+
use?: string;
|
|
1538
|
+
text?: string;
|
|
1539
|
+
family?: string[];
|
|
1540
|
+
given?: string[];
|
|
1541
|
+
prefix?: string | string[];
|
|
1222
1542
|
suffix?: string;
|
|
1223
1543
|
period?: {
|
|
1224
1544
|
start?: string;
|
|
@@ -1277,7 +1597,7 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
1277
1597
|
status?: "current" | "superceded" | "entered in error";
|
|
1278
1598
|
description?: string;
|
|
1279
1599
|
mimeType?: string;
|
|
1280
|
-
format?: string;
|
|
1600
|
+
format?: string | string[];
|
|
1281
1601
|
size?: number;
|
|
1282
1602
|
hash?: string;
|
|
1283
1603
|
location?: string;
|
|
@@ -1294,6 +1614,14 @@ export declare const documentSchema: z.ZodObject<{
|
|
|
1294
1614
|
start?: string;
|
|
1295
1615
|
end?: string;
|
|
1296
1616
|
};
|
|
1617
|
+
facilityType?: {
|
|
1618
|
+
coding?: {
|
|
1619
|
+
system?: string;
|
|
1620
|
+
code?: string;
|
|
1621
|
+
display?: string;
|
|
1622
|
+
}[];
|
|
1623
|
+
text?: string;
|
|
1624
|
+
};
|
|
1297
1625
|
};
|
|
1298
1626
|
};
|
|
1299
1627
|
}>;
|
|
@@ -1320,12 +1648,12 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1320
1648
|
system?: string;
|
|
1321
1649
|
value?: string;
|
|
1322
1650
|
}>, "many">>;
|
|
1323
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.
|
|
1651
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1324
1652
|
use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
|
|
1325
1653
|
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1326
1654
|
family: z.ZodArray<z.ZodString, "many">;
|
|
1327
|
-
given: z.ZodArray<z.ZodString, "many"
|
|
1328
|
-
prefix: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
1655
|
+
given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1656
|
+
prefix: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
1329
1657
|
suffix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1330
1658
|
period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1331
1659
|
start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
@@ -1342,7 +1670,7 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1342
1670
|
text?: string;
|
|
1343
1671
|
family?: string[];
|
|
1344
1672
|
given?: string[];
|
|
1345
|
-
prefix?: string;
|
|
1673
|
+
prefix?: string | string[];
|
|
1346
1674
|
suffix?: string;
|
|
1347
1675
|
period?: {
|
|
1348
1676
|
start?: string;
|
|
@@ -1353,7 +1681,46 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1353
1681
|
text?: string;
|
|
1354
1682
|
family?: string[];
|
|
1355
1683
|
given?: string[];
|
|
1356
|
-
prefix?: string;
|
|
1684
|
+
prefix?: string | string[];
|
|
1685
|
+
suffix?: string;
|
|
1686
|
+
period?: {
|
|
1687
|
+
start?: string;
|
|
1688
|
+
end?: string;
|
|
1689
|
+
};
|
|
1690
|
+
}>]>, z.ZodArray<z.ZodObject<{
|
|
1691
|
+
use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
|
|
1692
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1693
|
+
family: z.ZodArray<z.ZodString, "many">;
|
|
1694
|
+
given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1695
|
+
prefix: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
1696
|
+
suffix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1697
|
+
period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1698
|
+
start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
1699
|
+
end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
1700
|
+
}, "strip", z.ZodTypeAny, {
|
|
1701
|
+
start?: string;
|
|
1702
|
+
end?: string;
|
|
1703
|
+
}, {
|
|
1704
|
+
start?: string;
|
|
1705
|
+
end?: string;
|
|
1706
|
+
}>>>;
|
|
1707
|
+
}, "strip", z.ZodTypeAny, {
|
|
1708
|
+
use?: string;
|
|
1709
|
+
text?: string;
|
|
1710
|
+
family?: string[];
|
|
1711
|
+
given?: string[];
|
|
1712
|
+
prefix?: string | string[];
|
|
1713
|
+
suffix?: string;
|
|
1714
|
+
period?: {
|
|
1715
|
+
start?: string;
|
|
1716
|
+
end?: string;
|
|
1717
|
+
};
|
|
1718
|
+
}, {
|
|
1719
|
+
use?: string;
|
|
1720
|
+
text?: string;
|
|
1721
|
+
family?: string[];
|
|
1722
|
+
given?: string[];
|
|
1723
|
+
prefix?: string | string[];
|
|
1357
1724
|
suffix?: string;
|
|
1358
1725
|
period?: {
|
|
1359
1726
|
start?: string;
|
|
@@ -1448,7 +1815,18 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1448
1815
|
text?: string;
|
|
1449
1816
|
family?: string[];
|
|
1450
1817
|
given?: string[];
|
|
1451
|
-
prefix?: string;
|
|
1818
|
+
prefix?: string | string[];
|
|
1819
|
+
suffix?: string;
|
|
1820
|
+
period?: {
|
|
1821
|
+
start?: string;
|
|
1822
|
+
end?: string;
|
|
1823
|
+
};
|
|
1824
|
+
} | {
|
|
1825
|
+
use?: string;
|
|
1826
|
+
text?: string;
|
|
1827
|
+
family?: string[];
|
|
1828
|
+
given?: string[];
|
|
1829
|
+
prefix?: string | string[];
|
|
1452
1830
|
suffix?: string;
|
|
1453
1831
|
period?: {
|
|
1454
1832
|
start?: string;
|
|
@@ -1491,7 +1869,18 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1491
1869
|
text?: string;
|
|
1492
1870
|
family?: string[];
|
|
1493
1871
|
given?: string[];
|
|
1494
|
-
prefix?: string;
|
|
1872
|
+
prefix?: string | string[];
|
|
1873
|
+
suffix?: string;
|
|
1874
|
+
period?: {
|
|
1875
|
+
start?: string;
|
|
1876
|
+
end?: string;
|
|
1877
|
+
};
|
|
1878
|
+
} | {
|
|
1879
|
+
use?: string;
|
|
1880
|
+
text?: string;
|
|
1881
|
+
family?: string[];
|
|
1882
|
+
given?: string[];
|
|
1883
|
+
prefix?: string | string[];
|
|
1495
1884
|
suffix?: string;
|
|
1496
1885
|
period?: {
|
|
1497
1886
|
start?: string;
|
|
@@ -1585,23 +1974,23 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1585
1974
|
}[];
|
|
1586
1975
|
text?: string;
|
|
1587
1976
|
}>;
|
|
1588
|
-
author: z.ZodArray<z.ZodObject<{
|
|
1977
|
+
author: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1589
1978
|
reference: z.ZodString;
|
|
1590
1979
|
}, "strip", z.ZodTypeAny, {
|
|
1591
1980
|
reference?: string;
|
|
1592
1981
|
}, {
|
|
1593
1982
|
reference?: string;
|
|
1594
|
-
}>, "many"
|
|
1983
|
+
}>, "many">>;
|
|
1595
1984
|
indexed: z.ZodString;
|
|
1596
1985
|
status: z.ZodEnum<["current", "superceded", "entered in error"]>;
|
|
1597
1986
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1598
1987
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
1599
|
-
format: z.ZodOptional<z.ZodString
|
|
1988
|
+
format: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1600
1989
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1601
1990
|
hash: z.ZodOptional<z.ZodString>;
|
|
1602
1991
|
location: z.ZodOptional<z.ZodString>;
|
|
1603
1992
|
context: z.ZodObject<{
|
|
1604
|
-
event: z.ZodArray<z.ZodObject<{
|
|
1993
|
+
event: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1605
1994
|
coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1606
1995
|
system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1607
1996
|
code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1630,8 +2019,8 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1630
2019
|
display?: string;
|
|
1631
2020
|
}[];
|
|
1632
2021
|
text?: string;
|
|
1633
|
-
}>, "many"
|
|
1634
|
-
period: z.ZodObject<{
|
|
2022
|
+
}>, "many">>;
|
|
2023
|
+
period: z.ZodOptional<z.ZodObject<{
|
|
1635
2024
|
start: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
1636
2025
|
end: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
|
|
1637
2026
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1640,7 +2029,37 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1640
2029
|
}, {
|
|
1641
2030
|
start?: string;
|
|
1642
2031
|
end?: string;
|
|
1643
|
-
}
|
|
2032
|
+
}>>;
|
|
2033
|
+
facilityType: z.ZodOptional<z.ZodObject<{
|
|
2034
|
+
coding: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2035
|
+
system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2036
|
+
code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2037
|
+
display: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2038
|
+
}, "strip", z.ZodTypeAny, {
|
|
2039
|
+
system?: string;
|
|
2040
|
+
code?: string;
|
|
2041
|
+
display?: string;
|
|
2042
|
+
}, {
|
|
2043
|
+
system?: string;
|
|
2044
|
+
code?: string;
|
|
2045
|
+
display?: string;
|
|
2046
|
+
}>, "many">>;
|
|
2047
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2048
|
+
}, "strip", z.ZodTypeAny, {
|
|
2049
|
+
coding?: {
|
|
2050
|
+
system?: string;
|
|
2051
|
+
code?: string;
|
|
2052
|
+
display?: string;
|
|
2053
|
+
}[];
|
|
2054
|
+
text?: string;
|
|
2055
|
+
}, {
|
|
2056
|
+
coding?: {
|
|
2057
|
+
system?: string;
|
|
2058
|
+
code?: string;
|
|
2059
|
+
display?: string;
|
|
2060
|
+
}[];
|
|
2061
|
+
text?: string;
|
|
2062
|
+
}>>;
|
|
1644
2063
|
}, "strip", z.ZodTypeAny, {
|
|
1645
2064
|
event?: {
|
|
1646
2065
|
coding?: {
|
|
@@ -1654,6 +2073,14 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1654
2073
|
start?: string;
|
|
1655
2074
|
end?: string;
|
|
1656
2075
|
};
|
|
2076
|
+
facilityType?: {
|
|
2077
|
+
coding?: {
|
|
2078
|
+
system?: string;
|
|
2079
|
+
code?: string;
|
|
2080
|
+
display?: string;
|
|
2081
|
+
}[];
|
|
2082
|
+
text?: string;
|
|
2083
|
+
};
|
|
1657
2084
|
}, {
|
|
1658
2085
|
event?: {
|
|
1659
2086
|
coding?: {
|
|
@@ -1667,6 +2094,14 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1667
2094
|
start?: string;
|
|
1668
2095
|
end?: string;
|
|
1669
2096
|
};
|
|
2097
|
+
facilityType?: {
|
|
2098
|
+
coding?: {
|
|
2099
|
+
system?: string;
|
|
2100
|
+
code?: string;
|
|
2101
|
+
display?: string;
|
|
2102
|
+
}[];
|
|
2103
|
+
text?: string;
|
|
2104
|
+
};
|
|
1670
2105
|
}>;
|
|
1671
2106
|
}, "strip", z.ZodTypeAny, {
|
|
1672
2107
|
resourceType?: string;
|
|
@@ -1683,7 +2118,18 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1683
2118
|
text?: string;
|
|
1684
2119
|
family?: string[];
|
|
1685
2120
|
given?: string[];
|
|
1686
|
-
prefix?: string;
|
|
2121
|
+
prefix?: string | string[];
|
|
2122
|
+
suffix?: string;
|
|
2123
|
+
period?: {
|
|
2124
|
+
start?: string;
|
|
2125
|
+
end?: string;
|
|
2126
|
+
};
|
|
2127
|
+
} | {
|
|
2128
|
+
use?: string;
|
|
2129
|
+
text?: string;
|
|
2130
|
+
family?: string[];
|
|
2131
|
+
given?: string[];
|
|
2132
|
+
prefix?: string | string[];
|
|
1687
2133
|
suffix?: string;
|
|
1688
2134
|
period?: {
|
|
1689
2135
|
start?: string;
|
|
@@ -1742,7 +2188,7 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1742
2188
|
status?: "current" | "superceded" | "entered in error";
|
|
1743
2189
|
description?: string;
|
|
1744
2190
|
mimeType?: string;
|
|
1745
|
-
format?: string;
|
|
2191
|
+
format?: string | string[];
|
|
1746
2192
|
size?: number;
|
|
1747
2193
|
hash?: string;
|
|
1748
2194
|
location?: string;
|
|
@@ -1759,6 +2205,14 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1759
2205
|
start?: string;
|
|
1760
2206
|
end?: string;
|
|
1761
2207
|
};
|
|
2208
|
+
facilityType?: {
|
|
2209
|
+
coding?: {
|
|
2210
|
+
system?: string;
|
|
2211
|
+
code?: string;
|
|
2212
|
+
display?: string;
|
|
2213
|
+
}[];
|
|
2214
|
+
text?: string;
|
|
2215
|
+
};
|
|
1762
2216
|
};
|
|
1763
2217
|
}, {
|
|
1764
2218
|
resourceType?: string;
|
|
@@ -1775,7 +2229,18 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1775
2229
|
text?: string;
|
|
1776
2230
|
family?: string[];
|
|
1777
2231
|
given?: string[];
|
|
1778
|
-
prefix?: string;
|
|
2232
|
+
prefix?: string | string[];
|
|
2233
|
+
suffix?: string;
|
|
2234
|
+
period?: {
|
|
2235
|
+
start?: string;
|
|
2236
|
+
end?: string;
|
|
2237
|
+
};
|
|
2238
|
+
} | {
|
|
2239
|
+
use?: string;
|
|
2240
|
+
text?: string;
|
|
2241
|
+
family?: string[];
|
|
2242
|
+
given?: string[];
|
|
2243
|
+
prefix?: string | string[];
|
|
1779
2244
|
suffix?: string;
|
|
1780
2245
|
period?: {
|
|
1781
2246
|
start?: string;
|
|
@@ -1834,7 +2299,7 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1834
2299
|
status?: "current" | "superceded" | "entered in error";
|
|
1835
2300
|
description?: string;
|
|
1836
2301
|
mimeType?: string;
|
|
1837
|
-
format?: string;
|
|
2302
|
+
format?: string | string[];
|
|
1838
2303
|
size?: number;
|
|
1839
2304
|
hash?: string;
|
|
1840
2305
|
location?: string;
|
|
@@ -1851,6 +2316,14 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1851
2316
|
start?: string;
|
|
1852
2317
|
end?: string;
|
|
1853
2318
|
};
|
|
2319
|
+
facilityType?: {
|
|
2320
|
+
coding?: {
|
|
2321
|
+
system?: string;
|
|
2322
|
+
code?: string;
|
|
2323
|
+
display?: string;
|
|
2324
|
+
}[];
|
|
2325
|
+
text?: string;
|
|
2326
|
+
};
|
|
1854
2327
|
};
|
|
1855
2328
|
}>;
|
|
1856
2329
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1870,7 +2343,18 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1870
2343
|
text?: string;
|
|
1871
2344
|
family?: string[];
|
|
1872
2345
|
given?: string[];
|
|
1873
|
-
prefix?: string;
|
|
2346
|
+
prefix?: string | string[];
|
|
2347
|
+
suffix?: string;
|
|
2348
|
+
period?: {
|
|
2349
|
+
start?: string;
|
|
2350
|
+
end?: string;
|
|
2351
|
+
};
|
|
2352
|
+
} | {
|
|
2353
|
+
use?: string;
|
|
2354
|
+
text?: string;
|
|
2355
|
+
family?: string[];
|
|
2356
|
+
given?: string[];
|
|
2357
|
+
prefix?: string | string[];
|
|
1874
2358
|
suffix?: string;
|
|
1875
2359
|
period?: {
|
|
1876
2360
|
start?: string;
|
|
@@ -1929,7 +2413,7 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1929
2413
|
status?: "current" | "superceded" | "entered in error";
|
|
1930
2414
|
description?: string;
|
|
1931
2415
|
mimeType?: string;
|
|
1932
|
-
format?: string;
|
|
2416
|
+
format?: string | string[];
|
|
1933
2417
|
size?: number;
|
|
1934
2418
|
hash?: string;
|
|
1935
2419
|
location?: string;
|
|
@@ -1946,6 +2430,14 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1946
2430
|
start?: string;
|
|
1947
2431
|
end?: string;
|
|
1948
2432
|
};
|
|
2433
|
+
facilityType?: {
|
|
2434
|
+
coding?: {
|
|
2435
|
+
system?: string;
|
|
2436
|
+
code?: string;
|
|
2437
|
+
display?: string;
|
|
2438
|
+
}[];
|
|
2439
|
+
text?: string;
|
|
2440
|
+
};
|
|
1949
2441
|
};
|
|
1950
2442
|
};
|
|
1951
2443
|
}, {
|
|
@@ -1965,7 +2457,18 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
1965
2457
|
text?: string;
|
|
1966
2458
|
family?: string[];
|
|
1967
2459
|
given?: string[];
|
|
1968
|
-
prefix?: string;
|
|
2460
|
+
prefix?: string | string[];
|
|
2461
|
+
suffix?: string;
|
|
2462
|
+
period?: {
|
|
2463
|
+
start?: string;
|
|
2464
|
+
end?: string;
|
|
2465
|
+
};
|
|
2466
|
+
} | {
|
|
2467
|
+
use?: string;
|
|
2468
|
+
text?: string;
|
|
2469
|
+
family?: string[];
|
|
2470
|
+
given?: string[];
|
|
2471
|
+
prefix?: string | string[];
|
|
1969
2472
|
suffix?: string;
|
|
1970
2473
|
period?: {
|
|
1971
2474
|
start?: string;
|
|
@@ -2024,7 +2527,7 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
2024
2527
|
status?: "current" | "superceded" | "entered in error";
|
|
2025
2528
|
description?: string;
|
|
2026
2529
|
mimeType?: string;
|
|
2027
|
-
format?: string;
|
|
2530
|
+
format?: string | string[];
|
|
2028
2531
|
size?: number;
|
|
2029
2532
|
hash?: string;
|
|
2030
2533
|
location?: string;
|
|
@@ -2041,6 +2544,14 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
2041
2544
|
start?: string;
|
|
2042
2545
|
end?: string;
|
|
2043
2546
|
};
|
|
2547
|
+
facilityType?: {
|
|
2548
|
+
coding?: {
|
|
2549
|
+
system?: string;
|
|
2550
|
+
code?: string;
|
|
2551
|
+
display?: string;
|
|
2552
|
+
}[];
|
|
2553
|
+
text?: string;
|
|
2554
|
+
};
|
|
2044
2555
|
};
|
|
2045
2556
|
};
|
|
2046
2557
|
}>, "many">, {
|
|
@@ -2060,7 +2571,18 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
2060
2571
|
text?: string;
|
|
2061
2572
|
family?: string[];
|
|
2062
2573
|
given?: string[];
|
|
2063
|
-
prefix?: string;
|
|
2574
|
+
prefix?: string | string[];
|
|
2575
|
+
suffix?: string;
|
|
2576
|
+
period?: {
|
|
2577
|
+
start?: string;
|
|
2578
|
+
end?: string;
|
|
2579
|
+
};
|
|
2580
|
+
} | {
|
|
2581
|
+
use?: string;
|
|
2582
|
+
text?: string;
|
|
2583
|
+
family?: string[];
|
|
2584
|
+
given?: string[];
|
|
2585
|
+
prefix?: string | string[];
|
|
2064
2586
|
suffix?: string;
|
|
2065
2587
|
period?: {
|
|
2066
2588
|
start?: string;
|
|
@@ -2119,7 +2641,7 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
2119
2641
|
status?: "current" | "superceded" | "entered in error";
|
|
2120
2642
|
description?: string;
|
|
2121
2643
|
mimeType?: string;
|
|
2122
|
-
format?: string;
|
|
2644
|
+
format?: string | string[];
|
|
2123
2645
|
size?: number;
|
|
2124
2646
|
hash?: string;
|
|
2125
2647
|
location?: string;
|
|
@@ -2136,6 +2658,14 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
2136
2658
|
start?: string;
|
|
2137
2659
|
end?: string;
|
|
2138
2660
|
};
|
|
2661
|
+
facilityType?: {
|
|
2662
|
+
coding?: {
|
|
2663
|
+
system?: string;
|
|
2664
|
+
code?: string;
|
|
2665
|
+
display?: string;
|
|
2666
|
+
}[];
|
|
2667
|
+
text?: string;
|
|
2668
|
+
};
|
|
2139
2669
|
};
|
|
2140
2670
|
};
|
|
2141
2671
|
}[], unknown>;
|
|
@@ -2158,7 +2688,18 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
2158
2688
|
text?: string;
|
|
2159
2689
|
family?: string[];
|
|
2160
2690
|
given?: string[];
|
|
2161
|
-
prefix?: string;
|
|
2691
|
+
prefix?: string | string[];
|
|
2692
|
+
suffix?: string;
|
|
2693
|
+
period?: {
|
|
2694
|
+
start?: string;
|
|
2695
|
+
end?: string;
|
|
2696
|
+
};
|
|
2697
|
+
} | {
|
|
2698
|
+
use?: string;
|
|
2699
|
+
text?: string;
|
|
2700
|
+
family?: string[];
|
|
2701
|
+
given?: string[];
|
|
2702
|
+
prefix?: string | string[];
|
|
2162
2703
|
suffix?: string;
|
|
2163
2704
|
period?: {
|
|
2164
2705
|
start?: string;
|
|
@@ -2217,7 +2758,7 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
2217
2758
|
status?: "current" | "superceded" | "entered in error";
|
|
2218
2759
|
description?: string;
|
|
2219
2760
|
mimeType?: string;
|
|
2220
|
-
format?: string;
|
|
2761
|
+
format?: string | string[];
|
|
2221
2762
|
size?: number;
|
|
2222
2763
|
hash?: string;
|
|
2223
2764
|
location?: string;
|
|
@@ -2234,6 +2775,14 @@ export declare const documentQueryResponseSchema: z.ZodObject<{
|
|
|
2234
2775
|
start?: string;
|
|
2235
2776
|
end?: string;
|
|
2236
2777
|
};
|
|
2778
|
+
facilityType?: {
|
|
2779
|
+
coding?: {
|
|
2780
|
+
system?: string;
|
|
2781
|
+
code?: string;
|
|
2782
|
+
display?: string;
|
|
2783
|
+
}[];
|
|
2784
|
+
text?: string;
|
|
2785
|
+
};
|
|
2237
2786
|
};
|
|
2238
2787
|
};
|
|
2239
2788
|
}[];
|