@metriport/commonwell-sdk 3.1.1 → 3.1.2

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.
@@ -5,140 +5,140 @@ export declare const personLinksSchema: z.ZodObject<{
5
5
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
6
6
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- type?: string;
9
8
  href?: string;
10
9
  templated?: boolean;
11
- }, {
12
10
  type?: string;
11
+ }, {
13
12
  href?: string;
14
13
  templated?: boolean;
14
+ type?: string;
15
15
  }>;
16
16
  patientLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
17
17
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18
18
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
19
19
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20
20
  }, "strip", z.ZodTypeAny, {
21
- type?: string;
22
21
  href?: string;
23
22
  templated?: boolean;
24
- }, {
25
23
  type?: string;
24
+ }, {
26
25
  href?: string;
27
26
  templated?: boolean;
27
+ type?: string;
28
28
  }>>>;
29
29
  patientMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
30
30
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
31
31
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
32
32
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
33
  }, "strip", z.ZodTypeAny, {
34
- type?: string;
35
34
  href?: string;
36
35
  templated?: boolean;
37
- }, {
38
36
  type?: string;
37
+ }, {
39
38
  href?: string;
40
39
  templated?: boolean;
40
+ type?: string;
41
41
  }>>>;
42
42
  unenroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
43
43
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
44
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
45
45
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
46
46
  }, "strip", z.ZodTypeAny, {
47
- type?: string;
48
47
  href?: string;
49
48
  templated?: boolean;
50
- }, {
51
49
  type?: string;
50
+ }, {
52
51
  href?: string;
53
52
  templated?: boolean;
53
+ type?: string;
54
54
  }>>>;
55
55
  enroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
56
56
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
57
57
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
58
58
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
59
59
  }, "strip", z.ZodTypeAny, {
60
- type?: string;
61
60
  href?: string;
62
61
  templated?: boolean;
63
- }, {
64
62
  type?: string;
63
+ }, {
65
64
  href?: string;
66
65
  templated?: boolean;
66
+ type?: string;
67
67
  }>>>;
68
68
  reset: z.ZodNullable<z.ZodOptional<z.ZodObject<{
69
69
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
70
70
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
71
71
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
72
72
  }, "strip", z.ZodTypeAny, {
73
- type?: string;
74
73
  href?: string;
75
74
  templated?: boolean;
76
- }, {
77
75
  type?: string;
76
+ }, {
78
77
  href?: string;
79
78
  templated?: boolean;
79
+ type?: string;
80
80
  }>>>;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  self?: {
83
- type?: string;
84
83
  href?: string;
85
84
  templated?: boolean;
85
+ type?: string;
86
86
  };
87
87
  patientLink?: {
88
- type?: string;
89
88
  href?: string;
90
89
  templated?: boolean;
90
+ type?: string;
91
91
  };
92
92
  patientMatch?: {
93
- type?: string;
94
93
  href?: string;
95
94
  templated?: boolean;
95
+ type?: string;
96
96
  };
97
97
  unenroll?: {
98
- type?: string;
99
98
  href?: string;
100
99
  templated?: boolean;
100
+ type?: string;
101
101
  };
102
102
  enroll?: {
103
- type?: string;
104
103
  href?: string;
105
104
  templated?: boolean;
105
+ type?: string;
106
106
  };
107
107
  reset?: {
108
- type?: string;
109
108
  href?: string;
110
109
  templated?: boolean;
110
+ type?: string;
111
111
  };
112
112
  }, {
113
113
  self?: {
114
- type?: string;
115
114
  href?: string;
116
115
  templated?: boolean;
116
+ type?: string;
117
117
  };
118
118
  patientLink?: {
119
- type?: string;
120
119
  href?: string;
121
120
  templated?: boolean;
121
+ type?: string;
122
122
  };
123
123
  patientMatch?: {
124
- type?: string;
125
124
  href?: string;
126
125
  templated?: boolean;
126
+ type?: string;
127
127
  };
128
128
  unenroll?: {
129
- type?: string;
130
129
  href?: string;
131
130
  templated?: boolean;
131
+ type?: string;
132
132
  };
133
133
  enroll?: {
134
- type?: string;
135
134
  href?: string;
136
135
  templated?: boolean;
136
+ type?: string;
137
137
  };
138
138
  reset?: {
139
- type?: string;
140
139
  href?: string;
141
140
  templated?: boolean;
141
+ type?: string;
142
142
  };
143
143
  }>;
144
144
  export declare const personSchema: z.ZodObject<{
@@ -160,10 +160,9 @@ export declare const personSchema: z.ZodObject<{
160
160
  unenroller?: string;
161
161
  }>>>;
162
162
  details: z.ZodObject<{
163
- identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
163
+ identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
164
164
  system: z.ZodString;
165
165
  key: z.ZodString;
166
- }, {
167
166
  use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
168
167
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
169
168
  period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -177,7 +176,7 @@ export declare const personSchema: z.ZodObject<{
177
176
  end?: string;
178
177
  }>>>;
179
178
  assigner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
180
- }>, "strip", z.ZodTypeAny, {
179
+ }, "strip", z.ZodTypeAny, {
181
180
  system?: string;
182
181
  key?: string;
183
182
  use?: string;
@@ -216,27 +215,27 @@ export declare const personSchema: z.ZodObject<{
216
215
  end?: string;
217
216
  }>>>;
218
217
  }, "strip", z.ZodTypeAny, {
219
- text?: string;
220
218
  use?: string;
221
- period?: {
222
- start?: string;
223
- end?: string;
224
- };
219
+ text?: string;
225
220
  family?: string[];
226
221
  given?: string[];
227
222
  prefix?: string;
228
223
  suffix?: string;
229
- }, {
230
- text?: string;
231
- use?: string;
232
224
  period?: {
233
225
  start?: string;
234
226
  end?: string;
235
227
  };
228
+ }, {
229
+ use?: string;
230
+ text?: string;
236
231
  family?: string[];
237
232
  given?: string[];
238
233
  prefix?: string;
239
234
  suffix?: string;
235
+ period?: {
236
+ start?: string;
237
+ end?: string;
238
+ };
240
239
  }>, "many">;
241
240
  telecom: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
242
241
  use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
@@ -253,17 +252,17 @@ export declare const personSchema: z.ZodObject<{
253
252
  end?: string;
254
253
  }>>>;
255
254
  }, "strip", z.ZodTypeAny, {
256
- value?: string;
257
- system?: string;
258
255
  use?: string;
256
+ system?: string;
257
+ value?: string;
259
258
  period?: {
260
259
  start?: string;
261
260
  end?: string;
262
261
  };
263
262
  }, {
264
- value?: string;
265
- system?: string;
266
263
  use?: string;
264
+ system?: string;
265
+ value?: string;
267
266
  period?: {
268
267
  start?: string;
269
268
  end?: string;
@@ -275,12 +274,12 @@ export declare const personSchema: z.ZodObject<{
275
274
  system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
276
275
  }, "strip", z.ZodTypeAny, {
277
276
  code?: string;
278
- system?: string;
279
277
  display?: string;
278
+ system?: string;
280
279
  }, {
281
280
  code?: string;
282
- system?: string;
283
281
  display?: string;
282
+ system?: string;
284
283
  }>;
285
284
  birthDate: z.ZodUnion<[z.ZodString, z.ZodString]>;
286
285
  address: z.ZodArray<z.ZodObject<{
@@ -302,26 +301,26 @@ export declare const personSchema: z.ZodObject<{
302
301
  }>>>;
303
302
  }, "strip", z.ZodTypeAny, {
304
303
  use?: string;
305
- period?: {
306
- start?: string;
307
- end?: string;
308
- };
309
304
  line?: string[];
310
305
  city?: string;
311
306
  state?: string;
312
307
  zip?: string;
313
308
  country?: string;
314
- }, {
315
- use?: string;
316
309
  period?: {
317
310
  start?: string;
318
311
  end?: string;
319
312
  };
313
+ }, {
314
+ use?: string;
320
315
  line?: string[];
321
316
  city?: string;
322
317
  state?: string;
323
318
  zip?: string;
324
319
  country?: string;
320
+ period?: {
321
+ start?: string;
322
+ end?: string;
323
+ };
325
324
  }>, "many">;
326
325
  picture: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
327
326
  }, "strip", z.ZodTypeAny, {
@@ -337,21 +336,21 @@ export declare const personSchema: z.ZodObject<{
337
336
  assigner?: string;
338
337
  }[];
339
338
  name?: {
340
- text?: string;
341
339
  use?: string;
342
- period?: {
343
- start?: string;
344
- end?: string;
345
- };
340
+ text?: string;
346
341
  family?: string[];
347
342
  given?: string[];
348
343
  prefix?: string;
349
344
  suffix?: string;
345
+ period?: {
346
+ start?: string;
347
+ end?: string;
348
+ };
350
349
  }[];
351
350
  telecom?: {
352
- value?: string;
353
- system?: string;
354
351
  use?: string;
352
+ system?: string;
353
+ value?: string;
355
354
  period?: {
356
355
  start?: string;
357
356
  end?: string;
@@ -359,21 +358,21 @@ export declare const personSchema: z.ZodObject<{
359
358
  }[];
360
359
  gender?: {
361
360
  code?: string;
362
- system?: string;
363
361
  display?: string;
362
+ system?: string;
364
363
  };
365
364
  birthDate?: string;
366
365
  address?: {
367
366
  use?: string;
368
- period?: {
369
- start?: string;
370
- end?: string;
371
- };
372
367
  line?: string[];
373
368
  city?: string;
374
369
  state?: string;
375
370
  zip?: string;
376
371
  country?: string;
372
+ period?: {
373
+ start?: string;
374
+ end?: string;
375
+ };
377
376
  }[];
378
377
  picture?: any;
379
378
  }, {
@@ -389,21 +388,21 @@ export declare const personSchema: z.ZodObject<{
389
388
  assigner?: string;
390
389
  }[];
391
390
  name?: {
392
- text?: string;
393
391
  use?: string;
394
- period?: {
395
- start?: string;
396
- end?: string;
397
- };
392
+ text?: string;
398
393
  family?: string[];
399
394
  given?: string[];
400
395
  prefix?: string;
401
396
  suffix?: string;
397
+ period?: {
398
+ start?: string;
399
+ end?: string;
400
+ };
402
401
  }[];
403
402
  telecom?: {
404
- value?: string;
405
- system?: string;
406
403
  use?: string;
404
+ system?: string;
405
+ value?: string;
407
406
  period?: {
408
407
  start?: string;
409
408
  end?: string;
@@ -411,21 +410,21 @@ export declare const personSchema: z.ZodObject<{
411
410
  }[];
412
411
  gender?: {
413
412
  code?: string;
414
- system?: string;
415
413
  display?: string;
414
+ system?: string;
416
415
  };
417
416
  birthDate?: string;
418
417
  address?: {
419
418
  use?: string;
420
- period?: {
421
- start?: string;
422
- end?: string;
423
- };
424
419
  line?: string[];
425
420
  city?: string;
426
421
  state?: string;
427
422
  zip?: string;
428
423
  country?: string;
424
+ period?: {
425
+ start?: string;
426
+ end?: string;
427
+ };
429
428
  }[];
430
429
  picture?: any;
431
430
  }>;
@@ -435,174 +434,149 @@ export declare const personSchema: z.ZodObject<{
435
434
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
436
435
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
437
436
  }, "strip", z.ZodTypeAny, {
438
- type?: string;
439
437
  href?: string;
440
438
  templated?: boolean;
441
- }, {
442
439
  type?: string;
440
+ }, {
443
441
  href?: string;
444
442
  templated?: boolean;
443
+ type?: string;
445
444
  }>;
446
445
  patientLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
447
446
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
448
447
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
449
448
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
450
449
  }, "strip", z.ZodTypeAny, {
451
- type?: string;
452
450
  href?: string;
453
451
  templated?: boolean;
454
- }, {
455
452
  type?: string;
453
+ }, {
456
454
  href?: string;
457
455
  templated?: boolean;
456
+ type?: string;
458
457
  }>>>;
459
458
  patientMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
460
459
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
461
460
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
462
461
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
463
462
  }, "strip", z.ZodTypeAny, {
464
- type?: string;
465
463
  href?: string;
466
464
  templated?: boolean;
467
- }, {
468
465
  type?: string;
466
+ }, {
469
467
  href?: string;
470
468
  templated?: boolean;
469
+ type?: string;
471
470
  }>>>;
472
471
  unenroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
473
472
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
474
473
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
475
474
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
476
475
  }, "strip", z.ZodTypeAny, {
477
- type?: string;
478
476
  href?: string;
479
477
  templated?: boolean;
480
- }, {
481
478
  type?: string;
479
+ }, {
482
480
  href?: string;
483
481
  templated?: boolean;
482
+ type?: string;
484
483
  }>>>;
485
484
  enroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
486
485
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
487
486
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
488
487
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
489
488
  }, "strip", z.ZodTypeAny, {
490
- type?: string;
491
489
  href?: string;
492
490
  templated?: boolean;
493
- }, {
494
491
  type?: string;
492
+ }, {
495
493
  href?: string;
496
494
  templated?: boolean;
495
+ type?: string;
497
496
  }>>>;
498
497
  reset: z.ZodNullable<z.ZodOptional<z.ZodObject<{
499
498
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
500
499
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
501
500
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
502
501
  }, "strip", z.ZodTypeAny, {
503
- type?: string;
504
502
  href?: string;
505
503
  templated?: boolean;
506
- }, {
507
504
  type?: string;
505
+ }, {
508
506
  href?: string;
509
507
  templated?: boolean;
508
+ type?: string;
510
509
  }>>>;
511
510
  }, "strip", z.ZodTypeAny, {
512
511
  self?: {
513
- type?: string;
514
512
  href?: string;
515
513
  templated?: boolean;
514
+ type?: string;
516
515
  };
517
516
  patientLink?: {
518
- type?: string;
519
517
  href?: string;
520
518
  templated?: boolean;
519
+ type?: string;
521
520
  };
522
521
  patientMatch?: {
523
- type?: string;
524
522
  href?: string;
525
523
  templated?: boolean;
524
+ type?: string;
526
525
  };
527
526
  unenroll?: {
528
- type?: string;
529
527
  href?: string;
530
528
  templated?: boolean;
529
+ type?: string;
531
530
  };
532
531
  enroll?: {
533
- type?: string;
534
532
  href?: string;
535
533
  templated?: boolean;
534
+ type?: string;
536
535
  };
537
536
  reset?: {
538
- type?: string;
539
537
  href?: string;
540
538
  templated?: boolean;
539
+ type?: string;
541
540
  };
542
541
  }, {
543
542
  self?: {
544
- type?: string;
545
543
  href?: string;
546
544
  templated?: boolean;
545
+ type?: string;
547
546
  };
548
547
  patientLink?: {
549
- type?: string;
550
548
  href?: string;
551
549
  templated?: boolean;
550
+ type?: string;
552
551
  };
553
552
  patientMatch?: {
554
- type?: string;
555
553
  href?: string;
556
554
  templated?: boolean;
555
+ type?: string;
557
556
  };
558
557
  unenroll?: {
559
- type?: string;
560
558
  href?: string;
561
559
  templated?: boolean;
560
+ type?: string;
562
561
  };
563
562
  enroll?: {
564
- type?: string;
565
563
  href?: string;
566
564
  templated?: boolean;
565
+ type?: string;
567
566
  };
568
567
  reset?: {
569
- type?: string;
570
568
  href?: string;
571
569
  templated?: boolean;
570
+ type?: string;
572
571
  };
573
572
  }>>>;
574
573
  }, "strip", z.ZodTypeAny, {
575
- _links?: {
576
- self?: {
577
- type?: string;
578
- href?: string;
579
- templated?: boolean;
580
- };
581
- patientLink?: {
582
- type?: string;
583
- href?: string;
584
- templated?: boolean;
585
- };
586
- patientMatch?: {
587
- type?: string;
588
- href?: string;
589
- templated?: boolean;
590
- };
591
- unenroll?: {
592
- type?: string;
593
- href?: string;
594
- templated?: boolean;
595
- };
596
- enroll?: {
597
- type?: string;
598
- href?: string;
599
- templated?: boolean;
600
- };
601
- reset?: {
602
- type?: string;
603
- href?: string;
604
- templated?: boolean;
605
- };
574
+ enrolled?: boolean;
575
+ enrollmentSummary?: {
576
+ dateEnrolled?: string;
577
+ enroller?: string;
578
+ dateUnenrolled?: string;
579
+ unenroller?: string;
606
580
  };
607
581
  details?: {
608
582
  identifier?: {
@@ -617,21 +591,21 @@ export declare const personSchema: z.ZodObject<{
617
591
  assigner?: string;
618
592
  }[];
619
593
  name?: {
620
- text?: string;
621
594
  use?: string;
622
- period?: {
623
- start?: string;
624
- end?: string;
625
- };
595
+ text?: string;
626
596
  family?: string[];
627
597
  given?: string[];
628
598
  prefix?: string;
629
599
  suffix?: string;
600
+ period?: {
601
+ start?: string;
602
+ end?: string;
603
+ };
630
604
  }[];
631
605
  telecom?: {
632
- value?: string;
633
- system?: string;
634
606
  use?: string;
607
+ system?: string;
608
+ value?: string;
635
609
  period?: {
636
610
  start?: string;
637
611
  end?: string;
@@ -639,64 +613,64 @@ export declare const personSchema: z.ZodObject<{
639
613
  }[];
640
614
  gender?: {
641
615
  code?: string;
642
- system?: string;
643
616
  display?: string;
617
+ system?: string;
644
618
  };
645
619
  birthDate?: string;
646
620
  address?: {
647
621
  use?: string;
648
- period?: {
649
- start?: string;
650
- end?: string;
651
- };
652
622
  line?: string[];
653
623
  city?: string;
654
624
  state?: string;
655
625
  zip?: string;
656
626
  country?: string;
627
+ period?: {
628
+ start?: string;
629
+ end?: string;
630
+ };
657
631
  }[];
658
632
  picture?: any;
659
633
  };
660
- enrolled?: boolean;
661
- enrollmentSummary?: {
662
- dateEnrolled?: string;
663
- enroller?: string;
664
- dateUnenrolled?: string;
665
- unenroller?: string;
666
- };
667
- }, {
668
634
  _links?: {
669
635
  self?: {
670
- type?: string;
671
636
  href?: string;
672
637
  templated?: boolean;
638
+ type?: string;
673
639
  };
674
640
  patientLink?: {
675
- type?: string;
676
641
  href?: string;
677
642
  templated?: boolean;
643
+ type?: string;
678
644
  };
679
645
  patientMatch?: {
680
- type?: string;
681
646
  href?: string;
682
647
  templated?: boolean;
648
+ type?: string;
683
649
  };
684
650
  unenroll?: {
685
- type?: string;
686
651
  href?: string;
687
652
  templated?: boolean;
653
+ type?: string;
688
654
  };
689
655
  enroll?: {
690
- type?: string;
691
656
  href?: string;
692
657
  templated?: boolean;
658
+ type?: string;
693
659
  };
694
660
  reset?: {
695
- type?: string;
696
661
  href?: string;
697
662
  templated?: boolean;
663
+ type?: string;
698
664
  };
699
665
  };
666
+ }, {
667
+ enrolled?: boolean;
668
+ enrollmentSummary?: {
669
+ dateEnrolled?: string;
670
+ enroller?: string;
671
+ dateUnenrolled?: string;
672
+ unenroller?: string;
673
+ };
700
674
  details?: {
701
675
  identifier?: {
702
676
  system?: string;
@@ -710,21 +684,21 @@ export declare const personSchema: z.ZodObject<{
710
684
  assigner?: string;
711
685
  }[];
712
686
  name?: {
713
- text?: string;
714
687
  use?: string;
715
- period?: {
716
- start?: string;
717
- end?: string;
718
- };
688
+ text?: string;
719
689
  family?: string[];
720
690
  given?: string[];
721
691
  prefix?: string;
722
692
  suffix?: string;
693
+ period?: {
694
+ start?: string;
695
+ end?: string;
696
+ };
723
697
  }[];
724
698
  telecom?: {
725
- value?: string;
726
- system?: string;
727
699
  use?: string;
700
+ system?: string;
701
+ value?: string;
728
702
  period?: {
729
703
  start?: string;
730
704
  end?: string;
@@ -732,30 +706,55 @@ export declare const personSchema: z.ZodObject<{
732
706
  }[];
733
707
  gender?: {
734
708
  code?: string;
735
- system?: string;
736
709
  display?: string;
710
+ system?: string;
737
711
  };
738
712
  birthDate?: string;
739
713
  address?: {
740
714
  use?: string;
741
- period?: {
742
- start?: string;
743
- end?: string;
744
- };
745
715
  line?: string[];
746
716
  city?: string;
747
717
  state?: string;
748
718
  zip?: string;
749
719
  country?: string;
720
+ period?: {
721
+ start?: string;
722
+ end?: string;
723
+ };
750
724
  }[];
751
725
  picture?: any;
752
726
  };
753
- enrolled?: boolean;
754
- enrollmentSummary?: {
755
- dateEnrolled?: string;
756
- enroller?: string;
757
- dateUnenrolled?: string;
758
- unenroller?: string;
727
+ _links?: {
728
+ self?: {
729
+ href?: string;
730
+ templated?: boolean;
731
+ type?: string;
732
+ };
733
+ patientLink?: {
734
+ href?: string;
735
+ templated?: boolean;
736
+ type?: string;
737
+ };
738
+ patientMatch?: {
739
+ href?: string;
740
+ templated?: boolean;
741
+ type?: string;
742
+ };
743
+ unenroll?: {
744
+ href?: string;
745
+ templated?: boolean;
746
+ type?: string;
747
+ };
748
+ enroll?: {
749
+ href?: string;
750
+ templated?: boolean;
751
+ type?: string;
752
+ };
753
+ reset?: {
754
+ href?: string;
755
+ templated?: boolean;
756
+ type?: string;
757
+ };
759
758
  };
760
759
  }>;
761
760
  export type Person = z.infer<typeof personSchema>;
@@ -781,10 +780,9 @@ export declare const personSearchRespSchema: z.ZodObject<{
781
780
  unenroller?: string;
782
781
  }>>>;
783
782
  details: z.ZodObject<{
784
- identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<z.extendShape<{
783
+ identifier: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
785
784
  system: z.ZodString;
786
785
  key: z.ZodString;
787
- }, {
788
786
  use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
789
787
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
790
788
  period: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -798,7 +796,7 @@ export declare const personSearchRespSchema: z.ZodObject<{
798
796
  end?: string;
799
797
  }>>>;
800
798
  assigner: z.ZodNullable<z.ZodOptional<z.ZodString>>;
801
- }>, "strip", z.ZodTypeAny, {
799
+ }, "strip", z.ZodTypeAny, {
802
800
  system?: string;
803
801
  key?: string;
804
802
  use?: string;
@@ -837,27 +835,27 @@ export declare const personSearchRespSchema: z.ZodObject<{
837
835
  end?: string;
838
836
  }>>>;
839
837
  }, "strip", z.ZodTypeAny, {
840
- text?: string;
841
838
  use?: string;
842
- period?: {
843
- start?: string;
844
- end?: string;
845
- };
839
+ text?: string;
846
840
  family?: string[];
847
841
  given?: string[];
848
842
  prefix?: string;
849
843
  suffix?: string;
850
- }, {
851
- text?: string;
852
- use?: string;
853
844
  period?: {
854
845
  start?: string;
855
846
  end?: string;
856
847
  };
848
+ }, {
849
+ use?: string;
850
+ text?: string;
857
851
  family?: string[];
858
852
  given?: string[];
859
853
  prefix?: string;
860
854
  suffix?: string;
855
+ period?: {
856
+ start?: string;
857
+ end?: string;
858
+ };
861
859
  }>, "many">;
862
860
  telecom: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
863
861
  use: z.ZodNullable<z.ZodOptional<z.ZodEnum<[string, ...string[]]>>>;
@@ -874,17 +872,17 @@ export declare const personSearchRespSchema: z.ZodObject<{
874
872
  end?: string;
875
873
  }>>>;
876
874
  }, "strip", z.ZodTypeAny, {
877
- value?: string;
878
- system?: string;
879
875
  use?: string;
876
+ system?: string;
877
+ value?: string;
880
878
  period?: {
881
879
  start?: string;
882
880
  end?: string;
883
881
  };
884
882
  }, {
885
- value?: string;
886
- system?: string;
887
883
  use?: string;
884
+ system?: string;
885
+ value?: string;
888
886
  period?: {
889
887
  start?: string;
890
888
  end?: string;
@@ -896,12 +894,12 @@ export declare const personSearchRespSchema: z.ZodObject<{
896
894
  system: z.ZodNullable<z.ZodOptional<z.ZodString>>;
897
895
  }, "strip", z.ZodTypeAny, {
898
896
  code?: string;
899
- system?: string;
900
897
  display?: string;
898
+ system?: string;
901
899
  }, {
902
900
  code?: string;
903
- system?: string;
904
901
  display?: string;
902
+ system?: string;
905
903
  }>;
906
904
  birthDate: z.ZodUnion<[z.ZodString, z.ZodString]>;
907
905
  address: z.ZodArray<z.ZodObject<{
@@ -923,26 +921,26 @@ export declare const personSearchRespSchema: z.ZodObject<{
923
921
  }>>>;
924
922
  }, "strip", z.ZodTypeAny, {
925
923
  use?: string;
926
- period?: {
927
- start?: string;
928
- end?: string;
929
- };
930
924
  line?: string[];
931
925
  city?: string;
932
926
  state?: string;
933
927
  zip?: string;
934
928
  country?: string;
935
- }, {
936
- use?: string;
937
929
  period?: {
938
930
  start?: string;
939
931
  end?: string;
940
932
  };
933
+ }, {
934
+ use?: string;
941
935
  line?: string[];
942
936
  city?: string;
943
937
  state?: string;
944
938
  zip?: string;
945
939
  country?: string;
940
+ period?: {
941
+ start?: string;
942
+ end?: string;
943
+ };
946
944
  }>, "many">;
947
945
  picture: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
948
946
  }, "strip", z.ZodTypeAny, {
@@ -958,21 +956,21 @@ export declare const personSearchRespSchema: z.ZodObject<{
958
956
  assigner?: string;
959
957
  }[];
960
958
  name?: {
961
- text?: string;
962
959
  use?: string;
963
- period?: {
964
- start?: string;
965
- end?: string;
966
- };
960
+ text?: string;
967
961
  family?: string[];
968
962
  given?: string[];
969
963
  prefix?: string;
970
964
  suffix?: string;
965
+ period?: {
966
+ start?: string;
967
+ end?: string;
968
+ };
971
969
  }[];
972
970
  telecom?: {
973
- value?: string;
974
- system?: string;
975
971
  use?: string;
972
+ system?: string;
973
+ value?: string;
976
974
  period?: {
977
975
  start?: string;
978
976
  end?: string;
@@ -980,21 +978,21 @@ export declare const personSearchRespSchema: z.ZodObject<{
980
978
  }[];
981
979
  gender?: {
982
980
  code?: string;
983
- system?: string;
984
981
  display?: string;
982
+ system?: string;
985
983
  };
986
984
  birthDate?: string;
987
985
  address?: {
988
986
  use?: string;
989
- period?: {
990
- start?: string;
991
- end?: string;
992
- };
993
987
  line?: string[];
994
988
  city?: string;
995
989
  state?: string;
996
990
  zip?: string;
997
991
  country?: string;
992
+ period?: {
993
+ start?: string;
994
+ end?: string;
995
+ };
998
996
  }[];
999
997
  picture?: any;
1000
998
  }, {
@@ -1010,21 +1008,21 @@ export declare const personSearchRespSchema: z.ZodObject<{
1010
1008
  assigner?: string;
1011
1009
  }[];
1012
1010
  name?: {
1013
- text?: string;
1014
1011
  use?: string;
1015
- period?: {
1016
- start?: string;
1017
- end?: string;
1018
- };
1012
+ text?: string;
1019
1013
  family?: string[];
1020
1014
  given?: string[];
1021
1015
  prefix?: string;
1022
1016
  suffix?: string;
1017
+ period?: {
1018
+ start?: string;
1019
+ end?: string;
1020
+ };
1023
1021
  }[];
1024
1022
  telecom?: {
1025
- value?: string;
1026
- system?: string;
1027
1023
  use?: string;
1024
+ system?: string;
1025
+ value?: string;
1028
1026
  period?: {
1029
1027
  start?: string;
1030
1028
  end?: string;
@@ -1032,21 +1030,21 @@ export declare const personSearchRespSchema: z.ZodObject<{
1032
1030
  }[];
1033
1031
  gender?: {
1034
1032
  code?: string;
1035
- system?: string;
1036
1033
  display?: string;
1034
+ system?: string;
1037
1035
  };
1038
1036
  birthDate?: string;
1039
1037
  address?: {
1040
1038
  use?: string;
1041
- period?: {
1042
- start?: string;
1043
- end?: string;
1044
- };
1045
1039
  line?: string[];
1046
1040
  city?: string;
1047
1041
  state?: string;
1048
1042
  zip?: string;
1049
1043
  country?: string;
1044
+ period?: {
1045
+ start?: string;
1046
+ end?: string;
1047
+ };
1050
1048
  }[];
1051
1049
  picture?: any;
1052
1050
  }>;
@@ -1056,174 +1054,149 @@ export declare const personSearchRespSchema: z.ZodObject<{
1056
1054
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1057
1055
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1058
1056
  }, "strip", z.ZodTypeAny, {
1059
- type?: string;
1060
1057
  href?: string;
1061
1058
  templated?: boolean;
1062
- }, {
1063
1059
  type?: string;
1060
+ }, {
1064
1061
  href?: string;
1065
1062
  templated?: boolean;
1063
+ type?: string;
1066
1064
  }>;
1067
1065
  patientLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1068
1066
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1069
1067
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1070
1068
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1071
1069
  }, "strip", z.ZodTypeAny, {
1072
- type?: string;
1073
1070
  href?: string;
1074
1071
  templated?: boolean;
1075
- }, {
1076
1072
  type?: string;
1073
+ }, {
1077
1074
  href?: string;
1078
1075
  templated?: boolean;
1076
+ type?: string;
1079
1077
  }>>>;
1080
1078
  patientMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1081
1079
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1082
1080
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1083
1081
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1084
1082
  }, "strip", z.ZodTypeAny, {
1085
- type?: string;
1086
1083
  href?: string;
1087
1084
  templated?: boolean;
1088
- }, {
1089
1085
  type?: string;
1086
+ }, {
1090
1087
  href?: string;
1091
1088
  templated?: boolean;
1089
+ type?: string;
1092
1090
  }>>>;
1093
1091
  unenroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1094
1092
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1095
1093
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1096
1094
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1097
1095
  }, "strip", z.ZodTypeAny, {
1098
- type?: string;
1099
1096
  href?: string;
1100
1097
  templated?: boolean;
1101
- }, {
1102
1098
  type?: string;
1099
+ }, {
1103
1100
  href?: string;
1104
1101
  templated?: boolean;
1102
+ type?: string;
1105
1103
  }>>>;
1106
1104
  enroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1107
1105
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1108
1106
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1109
1107
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1110
1108
  }, "strip", z.ZodTypeAny, {
1111
- type?: string;
1112
1109
  href?: string;
1113
1110
  templated?: boolean;
1114
- }, {
1115
1111
  type?: string;
1112
+ }, {
1116
1113
  href?: string;
1117
1114
  templated?: boolean;
1115
+ type?: string;
1118
1116
  }>>>;
1119
1117
  reset: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1120
1118
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1121
1119
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1122
1120
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1123
1121
  }, "strip", z.ZodTypeAny, {
1124
- type?: string;
1125
1122
  href?: string;
1126
1123
  templated?: boolean;
1127
- }, {
1128
1124
  type?: string;
1125
+ }, {
1129
1126
  href?: string;
1130
1127
  templated?: boolean;
1128
+ type?: string;
1131
1129
  }>>>;
1132
1130
  }, "strip", z.ZodTypeAny, {
1133
1131
  self?: {
1134
- type?: string;
1135
1132
  href?: string;
1136
1133
  templated?: boolean;
1134
+ type?: string;
1137
1135
  };
1138
1136
  patientLink?: {
1139
- type?: string;
1140
1137
  href?: string;
1141
1138
  templated?: boolean;
1139
+ type?: string;
1142
1140
  };
1143
1141
  patientMatch?: {
1144
- type?: string;
1145
1142
  href?: string;
1146
1143
  templated?: boolean;
1144
+ type?: string;
1147
1145
  };
1148
1146
  unenroll?: {
1149
- type?: string;
1150
1147
  href?: string;
1151
1148
  templated?: boolean;
1149
+ type?: string;
1152
1150
  };
1153
1151
  enroll?: {
1154
- type?: string;
1155
1152
  href?: string;
1156
1153
  templated?: boolean;
1154
+ type?: string;
1157
1155
  };
1158
1156
  reset?: {
1159
- type?: string;
1160
1157
  href?: string;
1161
1158
  templated?: boolean;
1159
+ type?: string;
1162
1160
  };
1163
1161
  }, {
1164
1162
  self?: {
1165
- type?: string;
1166
1163
  href?: string;
1167
1164
  templated?: boolean;
1165
+ type?: string;
1168
1166
  };
1169
1167
  patientLink?: {
1170
- type?: string;
1171
1168
  href?: string;
1172
1169
  templated?: boolean;
1170
+ type?: string;
1173
1171
  };
1174
1172
  patientMatch?: {
1175
- type?: string;
1176
1173
  href?: string;
1177
1174
  templated?: boolean;
1175
+ type?: string;
1178
1176
  };
1179
1177
  unenroll?: {
1180
- type?: string;
1181
1178
  href?: string;
1182
1179
  templated?: boolean;
1180
+ type?: string;
1183
1181
  };
1184
1182
  enroll?: {
1185
- type?: string;
1186
1183
  href?: string;
1187
1184
  templated?: boolean;
1185
+ type?: string;
1188
1186
  };
1189
1187
  reset?: {
1190
- type?: string;
1191
1188
  href?: string;
1192
1189
  templated?: boolean;
1190
+ type?: string;
1193
1191
  };
1194
1192
  }>>>;
1195
1193
  }, "strip", z.ZodTypeAny, {
1196
- _links?: {
1197
- self?: {
1198
- type?: string;
1199
- href?: string;
1200
- templated?: boolean;
1201
- };
1202
- patientLink?: {
1203
- type?: string;
1204
- href?: string;
1205
- templated?: boolean;
1206
- };
1207
- patientMatch?: {
1208
- type?: string;
1209
- href?: string;
1210
- templated?: boolean;
1211
- };
1212
- unenroll?: {
1213
- type?: string;
1214
- href?: string;
1215
- templated?: boolean;
1216
- };
1217
- enroll?: {
1218
- type?: string;
1219
- href?: string;
1220
- templated?: boolean;
1221
- };
1222
- reset?: {
1223
- type?: string;
1224
- href?: string;
1225
- templated?: boolean;
1226
- };
1194
+ enrolled?: boolean;
1195
+ enrollmentSummary?: {
1196
+ dateEnrolled?: string;
1197
+ enroller?: string;
1198
+ dateUnenrolled?: string;
1199
+ unenroller?: string;
1227
1200
  };
1228
1201
  details?: {
1229
1202
  identifier?: {
@@ -1238,21 +1211,21 @@ export declare const personSearchRespSchema: z.ZodObject<{
1238
1211
  assigner?: string;
1239
1212
  }[];
1240
1213
  name?: {
1241
- text?: string;
1242
1214
  use?: string;
1243
- period?: {
1244
- start?: string;
1245
- end?: string;
1246
- };
1215
+ text?: string;
1247
1216
  family?: string[];
1248
1217
  given?: string[];
1249
1218
  prefix?: string;
1250
1219
  suffix?: string;
1220
+ period?: {
1221
+ start?: string;
1222
+ end?: string;
1223
+ };
1251
1224
  }[];
1252
1225
  telecom?: {
1253
- value?: string;
1254
- system?: string;
1255
1226
  use?: string;
1227
+ system?: string;
1228
+ value?: string;
1256
1229
  period?: {
1257
1230
  start?: string;
1258
1231
  end?: string;
@@ -1260,64 +1233,64 @@ export declare const personSearchRespSchema: z.ZodObject<{
1260
1233
  }[];
1261
1234
  gender?: {
1262
1235
  code?: string;
1263
- system?: string;
1264
1236
  display?: string;
1237
+ system?: string;
1265
1238
  };
1266
1239
  birthDate?: string;
1267
1240
  address?: {
1268
1241
  use?: string;
1269
- period?: {
1270
- start?: string;
1271
- end?: string;
1272
- };
1273
1242
  line?: string[];
1274
1243
  city?: string;
1275
1244
  state?: string;
1276
1245
  zip?: string;
1277
1246
  country?: string;
1247
+ period?: {
1248
+ start?: string;
1249
+ end?: string;
1250
+ };
1278
1251
  }[];
1279
1252
  picture?: any;
1280
1253
  };
1281
- enrolled?: boolean;
1282
- enrollmentSummary?: {
1283
- dateEnrolled?: string;
1284
- enroller?: string;
1285
- dateUnenrolled?: string;
1286
- unenroller?: string;
1287
- };
1288
- }, {
1289
1254
  _links?: {
1290
1255
  self?: {
1291
- type?: string;
1292
1256
  href?: string;
1293
1257
  templated?: boolean;
1258
+ type?: string;
1294
1259
  };
1295
1260
  patientLink?: {
1296
- type?: string;
1297
1261
  href?: string;
1298
1262
  templated?: boolean;
1263
+ type?: string;
1299
1264
  };
1300
1265
  patientMatch?: {
1301
- type?: string;
1302
1266
  href?: string;
1303
1267
  templated?: boolean;
1268
+ type?: string;
1304
1269
  };
1305
1270
  unenroll?: {
1306
- type?: string;
1307
1271
  href?: string;
1308
1272
  templated?: boolean;
1273
+ type?: string;
1309
1274
  };
1310
1275
  enroll?: {
1311
- type?: string;
1312
1276
  href?: string;
1313
1277
  templated?: boolean;
1278
+ type?: string;
1314
1279
  };
1315
1280
  reset?: {
1316
- type?: string;
1317
1281
  href?: string;
1318
1282
  templated?: boolean;
1283
+ type?: string;
1319
1284
  };
1320
1285
  };
1286
+ }, {
1287
+ enrolled?: boolean;
1288
+ enrollmentSummary?: {
1289
+ dateEnrolled?: string;
1290
+ enroller?: string;
1291
+ dateUnenrolled?: string;
1292
+ unenroller?: string;
1293
+ };
1321
1294
  details?: {
1322
1295
  identifier?: {
1323
1296
  system?: string;
@@ -1331,21 +1304,21 @@ export declare const personSearchRespSchema: z.ZodObject<{
1331
1304
  assigner?: string;
1332
1305
  }[];
1333
1306
  name?: {
1334
- text?: string;
1335
1307
  use?: string;
1336
- period?: {
1337
- start?: string;
1338
- end?: string;
1339
- };
1308
+ text?: string;
1340
1309
  family?: string[];
1341
1310
  given?: string[];
1342
1311
  prefix?: string;
1343
1312
  suffix?: string;
1313
+ period?: {
1314
+ start?: string;
1315
+ end?: string;
1316
+ };
1344
1317
  }[];
1345
1318
  telecom?: {
1346
- value?: string;
1347
- system?: string;
1348
1319
  use?: string;
1320
+ system?: string;
1321
+ value?: string;
1349
1322
  period?: {
1350
1323
  start?: string;
1351
1324
  end?: string;
@@ -1353,66 +1326,66 @@ export declare const personSearchRespSchema: z.ZodObject<{
1353
1326
  }[];
1354
1327
  gender?: {
1355
1328
  code?: string;
1356
- system?: string;
1357
1329
  display?: string;
1330
+ system?: string;
1358
1331
  };
1359
1332
  birthDate?: string;
1360
1333
  address?: {
1361
1334
  use?: string;
1362
- period?: {
1363
- start?: string;
1364
- end?: string;
1365
- };
1366
1335
  line?: string[];
1367
1336
  city?: string;
1368
1337
  state?: string;
1369
1338
  zip?: string;
1370
1339
  country?: string;
1340
+ period?: {
1341
+ start?: string;
1342
+ end?: string;
1343
+ };
1371
1344
  }[];
1372
1345
  picture?: any;
1373
1346
  };
1374
- enrolled?: boolean;
1375
- enrollmentSummary?: {
1376
- dateEnrolled?: string;
1377
- enroller?: string;
1378
- dateUnenrolled?: string;
1379
- unenroller?: string;
1380
- };
1381
- }>, "many">;
1382
- }, "strip", z.ZodTypeAny, {
1383
- person?: {
1384
1347
  _links?: {
1385
1348
  self?: {
1386
- type?: string;
1387
1349
  href?: string;
1388
1350
  templated?: boolean;
1351
+ type?: string;
1389
1352
  };
1390
1353
  patientLink?: {
1391
- type?: string;
1392
1354
  href?: string;
1393
1355
  templated?: boolean;
1356
+ type?: string;
1394
1357
  };
1395
1358
  patientMatch?: {
1396
- type?: string;
1397
1359
  href?: string;
1398
1360
  templated?: boolean;
1361
+ type?: string;
1399
1362
  };
1400
1363
  unenroll?: {
1401
- type?: string;
1402
1364
  href?: string;
1403
1365
  templated?: boolean;
1366
+ type?: string;
1404
1367
  };
1405
1368
  enroll?: {
1406
- type?: string;
1407
1369
  href?: string;
1408
1370
  templated?: boolean;
1371
+ type?: string;
1409
1372
  };
1410
1373
  reset?: {
1411
- type?: string;
1412
1374
  href?: string;
1413
1375
  templated?: boolean;
1376
+ type?: string;
1414
1377
  };
1415
1378
  };
1379
+ }>, "many">;
1380
+ }, "strip", z.ZodTypeAny, {
1381
+ person?: {
1382
+ enrolled?: boolean;
1383
+ enrollmentSummary?: {
1384
+ dateEnrolled?: string;
1385
+ enroller?: string;
1386
+ dateUnenrolled?: string;
1387
+ unenroller?: string;
1388
+ };
1416
1389
  details?: {
1417
1390
  identifier?: {
1418
1391
  system?: string;
@@ -1426,21 +1399,21 @@ export declare const personSearchRespSchema: z.ZodObject<{
1426
1399
  assigner?: string;
1427
1400
  }[];
1428
1401
  name?: {
1429
- text?: string;
1430
1402
  use?: string;
1431
- period?: {
1432
- start?: string;
1433
- end?: string;
1434
- };
1403
+ text?: string;
1435
1404
  family?: string[];
1436
1405
  given?: string[];
1437
1406
  prefix?: string;
1438
1407
  suffix?: string;
1408
+ period?: {
1409
+ start?: string;
1410
+ end?: string;
1411
+ };
1439
1412
  }[];
1440
1413
  telecom?: {
1441
- value?: string;
1442
- system?: string;
1443
1414
  use?: string;
1415
+ system?: string;
1416
+ value?: string;
1444
1417
  period?: {
1445
1418
  start?: string;
1446
1419
  end?: string;
@@ -1448,66 +1421,66 @@ export declare const personSearchRespSchema: z.ZodObject<{
1448
1421
  }[];
1449
1422
  gender?: {
1450
1423
  code?: string;
1451
- system?: string;
1452
1424
  display?: string;
1425
+ system?: string;
1453
1426
  };
1454
1427
  birthDate?: string;
1455
1428
  address?: {
1456
1429
  use?: string;
1457
- period?: {
1458
- start?: string;
1459
- end?: string;
1460
- };
1461
1430
  line?: string[];
1462
1431
  city?: string;
1463
1432
  state?: string;
1464
1433
  zip?: string;
1465
1434
  country?: string;
1435
+ period?: {
1436
+ start?: string;
1437
+ end?: string;
1438
+ };
1466
1439
  }[];
1467
1440
  picture?: any;
1468
1441
  };
1469
- enrolled?: boolean;
1470
- enrollmentSummary?: {
1471
- dateEnrolled?: string;
1472
- enroller?: string;
1473
- dateUnenrolled?: string;
1474
- unenroller?: string;
1475
- };
1476
- }[];
1477
- }, {
1478
- person?: {
1479
1442
  _links?: {
1480
1443
  self?: {
1481
- type?: string;
1482
1444
  href?: string;
1483
1445
  templated?: boolean;
1446
+ type?: string;
1484
1447
  };
1485
1448
  patientLink?: {
1486
- type?: string;
1487
1449
  href?: string;
1488
1450
  templated?: boolean;
1451
+ type?: string;
1489
1452
  };
1490
1453
  patientMatch?: {
1491
- type?: string;
1492
1454
  href?: string;
1493
1455
  templated?: boolean;
1456
+ type?: string;
1494
1457
  };
1495
1458
  unenroll?: {
1496
- type?: string;
1497
1459
  href?: string;
1498
1460
  templated?: boolean;
1461
+ type?: string;
1499
1462
  };
1500
1463
  enroll?: {
1501
- type?: string;
1502
1464
  href?: string;
1503
1465
  templated?: boolean;
1466
+ type?: string;
1504
1467
  };
1505
1468
  reset?: {
1506
- type?: string;
1507
1469
  href?: string;
1508
1470
  templated?: boolean;
1471
+ type?: string;
1509
1472
  };
1510
1473
  };
1474
+ }[];
1475
+ }, {
1476
+ person?: {
1477
+ enrolled?: boolean;
1478
+ enrollmentSummary?: {
1479
+ dateEnrolled?: string;
1480
+ enroller?: string;
1481
+ dateUnenrolled?: string;
1482
+ unenroller?: string;
1483
+ };
1511
1484
  details?: {
1512
1485
  identifier?: {
1513
1486
  system?: string;
@@ -1521,21 +1494,21 @@ export declare const personSearchRespSchema: z.ZodObject<{
1521
1494
  assigner?: string;
1522
1495
  }[];
1523
1496
  name?: {
1524
- text?: string;
1525
1497
  use?: string;
1526
- period?: {
1527
- start?: string;
1528
- end?: string;
1529
- };
1498
+ text?: string;
1530
1499
  family?: string[];
1531
1500
  given?: string[];
1532
1501
  prefix?: string;
1533
1502
  suffix?: string;
1503
+ period?: {
1504
+ start?: string;
1505
+ end?: string;
1506
+ };
1534
1507
  }[];
1535
1508
  telecom?: {
1536
- value?: string;
1537
- system?: string;
1538
1509
  use?: string;
1510
+ system?: string;
1511
+ value?: string;
1539
1512
  period?: {
1540
1513
  start?: string;
1541
1514
  end?: string;
@@ -1543,30 +1516,55 @@ export declare const personSearchRespSchema: z.ZodObject<{
1543
1516
  }[];
1544
1517
  gender?: {
1545
1518
  code?: string;
1546
- system?: string;
1547
1519
  display?: string;
1520
+ system?: string;
1548
1521
  };
1549
1522
  birthDate?: string;
1550
1523
  address?: {
1551
1524
  use?: string;
1552
- period?: {
1553
- start?: string;
1554
- end?: string;
1555
- };
1556
1525
  line?: string[];
1557
1526
  city?: string;
1558
1527
  state?: string;
1559
1528
  zip?: string;
1560
1529
  country?: string;
1530
+ period?: {
1531
+ start?: string;
1532
+ end?: string;
1533
+ };
1561
1534
  }[];
1562
1535
  picture?: any;
1563
1536
  };
1564
- enrolled?: boolean;
1565
- enrollmentSummary?: {
1566
- dateEnrolled?: string;
1567
- enroller?: string;
1568
- dateUnenrolled?: string;
1569
- unenroller?: string;
1537
+ _links?: {
1538
+ self?: {
1539
+ href?: string;
1540
+ templated?: boolean;
1541
+ type?: string;
1542
+ };
1543
+ patientLink?: {
1544
+ href?: string;
1545
+ templated?: boolean;
1546
+ type?: string;
1547
+ };
1548
+ patientMatch?: {
1549
+ href?: string;
1550
+ templated?: boolean;
1551
+ type?: string;
1552
+ };
1553
+ unenroll?: {
1554
+ href?: string;
1555
+ templated?: boolean;
1556
+ type?: string;
1557
+ };
1558
+ enroll?: {
1559
+ href?: string;
1560
+ templated?: boolean;
1561
+ type?: string;
1562
+ };
1563
+ reset?: {
1564
+ href?: string;
1565
+ templated?: boolean;
1566
+ type?: string;
1567
+ };
1570
1568
  };
1571
1569
  }[];
1572
1570
  }>;
@@ -1576,69 +1574,37 @@ export declare const personSearchRespSchema: z.ZodObject<{
1576
1574
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1577
1575
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1578
1576
  }, "strip", z.ZodTypeAny, {
1579
- type?: string;
1580
1577
  href?: string;
1581
1578
  templated?: boolean;
1582
- }, {
1583
1579
  type?: string;
1580
+ }, {
1584
1581
  href?: string;
1585
1582
  templated?: boolean;
1583
+ type?: string;
1586
1584
  }>;
1587
1585
  }, "strip", z.ZodTypeAny, {
1588
1586
  self?: {
1589
- type?: string;
1590
1587
  href?: string;
1591
1588
  templated?: boolean;
1589
+ type?: string;
1592
1590
  };
1593
1591
  }, {
1594
1592
  self?: {
1595
- type?: string;
1596
1593
  href?: string;
1597
1594
  templated?: boolean;
1595
+ type?: string;
1598
1596
  };
1599
1597
  }>;
1600
1598
  }, "strip", z.ZodTypeAny, {
1601
1599
  message?: string;
1602
- _links?: {
1603
- self?: {
1604
- type?: string;
1605
- href?: string;
1606
- templated?: boolean;
1607
- };
1608
- };
1609
1600
  _embedded?: {
1610
1601
  person?: {
1611
- _links?: {
1612
- self?: {
1613
- type?: string;
1614
- href?: string;
1615
- templated?: boolean;
1616
- };
1617
- patientLink?: {
1618
- type?: string;
1619
- href?: string;
1620
- templated?: boolean;
1621
- };
1622
- patientMatch?: {
1623
- type?: string;
1624
- href?: string;
1625
- templated?: boolean;
1626
- };
1627
- unenroll?: {
1628
- type?: string;
1629
- href?: string;
1630
- templated?: boolean;
1631
- };
1632
- enroll?: {
1633
- type?: string;
1634
- href?: string;
1635
- templated?: boolean;
1636
- };
1637
- reset?: {
1638
- type?: string;
1639
- href?: string;
1640
- templated?: boolean;
1641
- };
1602
+ enrolled?: boolean;
1603
+ enrollmentSummary?: {
1604
+ dateEnrolled?: string;
1605
+ enroller?: string;
1606
+ dateUnenrolled?: string;
1607
+ unenroller?: string;
1642
1608
  };
1643
1609
  details?: {
1644
1610
  identifier?: {
@@ -1653,21 +1619,21 @@ export declare const personSearchRespSchema: z.ZodObject<{
1653
1619
  assigner?: string;
1654
1620
  }[];
1655
1621
  name?: {
1656
- text?: string;
1657
1622
  use?: string;
1658
- period?: {
1659
- start?: string;
1660
- end?: string;
1661
- };
1623
+ text?: string;
1662
1624
  family?: string[];
1663
1625
  given?: string[];
1664
1626
  prefix?: string;
1665
1627
  suffix?: string;
1628
+ period?: {
1629
+ start?: string;
1630
+ end?: string;
1631
+ };
1666
1632
  }[];
1667
1633
  telecom?: {
1668
- value?: string;
1669
- system?: string;
1670
1634
  use?: string;
1635
+ system?: string;
1636
+ value?: string;
1671
1637
  period?: {
1672
1638
  start?: string;
1673
1639
  end?: string;
@@ -1675,76 +1641,76 @@ export declare const personSearchRespSchema: z.ZodObject<{
1675
1641
  }[];
1676
1642
  gender?: {
1677
1643
  code?: string;
1678
- system?: string;
1679
1644
  display?: string;
1645
+ system?: string;
1680
1646
  };
1681
1647
  birthDate?: string;
1682
1648
  address?: {
1683
1649
  use?: string;
1684
- period?: {
1685
- start?: string;
1686
- end?: string;
1687
- };
1688
1650
  line?: string[];
1689
1651
  city?: string;
1690
1652
  state?: string;
1691
1653
  zip?: string;
1692
1654
  country?: string;
1655
+ period?: {
1656
+ start?: string;
1657
+ end?: string;
1658
+ };
1693
1659
  }[];
1694
1660
  picture?: any;
1695
1661
  };
1696
- enrolled?: boolean;
1697
- enrollmentSummary?: {
1698
- dateEnrolled?: string;
1699
- enroller?: string;
1700
- dateUnenrolled?: string;
1701
- unenroller?: string;
1702
- };
1703
- }[];
1704
- };
1705
- }, {
1706
- message?: string;
1707
- _links?: {
1708
- self?: {
1709
- type?: string;
1710
- href?: string;
1711
- templated?: boolean;
1712
- };
1713
- };
1714
- _embedded?: {
1715
- person?: {
1716
1662
  _links?: {
1717
1663
  self?: {
1718
- type?: string;
1719
1664
  href?: string;
1720
1665
  templated?: boolean;
1666
+ type?: string;
1721
1667
  };
1722
1668
  patientLink?: {
1723
- type?: string;
1724
1669
  href?: string;
1725
1670
  templated?: boolean;
1671
+ type?: string;
1726
1672
  };
1727
1673
  patientMatch?: {
1728
- type?: string;
1729
1674
  href?: string;
1730
1675
  templated?: boolean;
1676
+ type?: string;
1731
1677
  };
1732
1678
  unenroll?: {
1733
- type?: string;
1734
1679
  href?: string;
1735
1680
  templated?: boolean;
1681
+ type?: string;
1736
1682
  };
1737
1683
  enroll?: {
1738
- type?: string;
1739
1684
  href?: string;
1740
1685
  templated?: boolean;
1686
+ type?: string;
1741
1687
  };
1742
1688
  reset?: {
1743
- type?: string;
1744
1689
  href?: string;
1745
1690
  templated?: boolean;
1691
+ type?: string;
1746
1692
  };
1747
1693
  };
1694
+ }[];
1695
+ };
1696
+ _links?: {
1697
+ self?: {
1698
+ href?: string;
1699
+ templated?: boolean;
1700
+ type?: string;
1701
+ };
1702
+ };
1703
+ }, {
1704
+ message?: string;
1705
+ _embedded?: {
1706
+ person?: {
1707
+ enrolled?: boolean;
1708
+ enrollmentSummary?: {
1709
+ dateEnrolled?: string;
1710
+ enroller?: string;
1711
+ dateUnenrolled?: string;
1712
+ unenroller?: string;
1713
+ };
1748
1714
  details?: {
1749
1715
  identifier?: {
1750
1716
  system?: string;
@@ -1758,21 +1724,21 @@ export declare const personSearchRespSchema: z.ZodObject<{
1758
1724
  assigner?: string;
1759
1725
  }[];
1760
1726
  name?: {
1761
- text?: string;
1762
1727
  use?: string;
1763
- period?: {
1764
- start?: string;
1765
- end?: string;
1766
- };
1728
+ text?: string;
1767
1729
  family?: string[];
1768
1730
  given?: string[];
1769
1731
  prefix?: string;
1770
1732
  suffix?: string;
1733
+ period?: {
1734
+ start?: string;
1735
+ end?: string;
1736
+ };
1771
1737
  }[];
1772
1738
  telecom?: {
1773
- value?: string;
1774
- system?: string;
1775
1739
  use?: string;
1740
+ system?: string;
1741
+ value?: string;
1776
1742
  period?: {
1777
1743
  start?: string;
1778
1744
  end?: string;
@@ -1780,33 +1746,65 @@ export declare const personSearchRespSchema: z.ZodObject<{
1780
1746
  }[];
1781
1747
  gender?: {
1782
1748
  code?: string;
1783
- system?: string;
1784
1749
  display?: string;
1750
+ system?: string;
1785
1751
  };
1786
1752
  birthDate?: string;
1787
1753
  address?: {
1788
1754
  use?: string;
1789
- period?: {
1790
- start?: string;
1791
- end?: string;
1792
- };
1793
1755
  line?: string[];
1794
1756
  city?: string;
1795
1757
  state?: string;
1796
1758
  zip?: string;
1797
1759
  country?: string;
1760
+ period?: {
1761
+ start?: string;
1762
+ end?: string;
1763
+ };
1798
1764
  }[];
1799
1765
  picture?: any;
1800
1766
  };
1801
- enrolled?: boolean;
1802
- enrollmentSummary?: {
1803
- dateEnrolled?: string;
1804
- enroller?: string;
1805
- dateUnenrolled?: string;
1806
- unenroller?: string;
1767
+ _links?: {
1768
+ self?: {
1769
+ href?: string;
1770
+ templated?: boolean;
1771
+ type?: string;
1772
+ };
1773
+ patientLink?: {
1774
+ href?: string;
1775
+ templated?: boolean;
1776
+ type?: string;
1777
+ };
1778
+ patientMatch?: {
1779
+ href?: string;
1780
+ templated?: boolean;
1781
+ type?: string;
1782
+ };
1783
+ unenroll?: {
1784
+ href?: string;
1785
+ templated?: boolean;
1786
+ type?: string;
1787
+ };
1788
+ enroll?: {
1789
+ href?: string;
1790
+ templated?: boolean;
1791
+ type?: string;
1792
+ };
1793
+ reset?: {
1794
+ href?: string;
1795
+ templated?: boolean;
1796
+ type?: string;
1797
+ };
1807
1798
  };
1808
1799
  }[];
1809
1800
  };
1801
+ _links?: {
1802
+ self?: {
1803
+ href?: string;
1804
+ templated?: boolean;
1805
+ type?: string;
1806
+ };
1807
+ };
1810
1808
  }>;
1811
1809
  export type PersonSearchResp = z.infer<typeof personSearchRespSchema>;
1812
1810
  export declare const patientLinkSchema: z.ZodObject<{
@@ -1818,212 +1816,212 @@ export declare const patientLinkSchema: z.ZodObject<{
1818
1816
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1819
1817
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1820
1818
  }, "strip", z.ZodTypeAny, {
1821
- type?: string;
1822
1819
  href?: string;
1823
1820
  templated?: boolean;
1824
- }, {
1825
1821
  type?: string;
1822
+ }, {
1826
1823
  href?: string;
1827
1824
  templated?: boolean;
1825
+ type?: string;
1828
1826
  }>;
1829
1827
  patientLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1830
1828
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1831
1829
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1832
1830
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1833
1831
  }, "strip", z.ZodTypeAny, {
1834
- type?: string;
1835
1832
  href?: string;
1836
1833
  templated?: boolean;
1837
- }, {
1838
1834
  type?: string;
1835
+ }, {
1839
1836
  href?: string;
1840
1837
  templated?: boolean;
1838
+ type?: string;
1841
1839
  }>>>;
1842
1840
  patientMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1843
1841
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1844
1842
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1845
1843
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1846
1844
  }, "strip", z.ZodTypeAny, {
1847
- type?: string;
1848
1845
  href?: string;
1849
1846
  templated?: boolean;
1850
- }, {
1851
1847
  type?: string;
1848
+ }, {
1852
1849
  href?: string;
1853
1850
  templated?: boolean;
1851
+ type?: string;
1854
1852
  }>>>;
1855
1853
  unenroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1856
1854
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1857
1855
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1858
1856
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1859
1857
  }, "strip", z.ZodTypeAny, {
1860
- type?: string;
1861
1858
  href?: string;
1862
1859
  templated?: boolean;
1863
- }, {
1864
1860
  type?: string;
1861
+ }, {
1865
1862
  href?: string;
1866
1863
  templated?: boolean;
1864
+ type?: string;
1867
1865
  }>>>;
1868
1866
  enroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1869
1867
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1870
1868
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1871
1869
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1872
1870
  }, "strip", z.ZodTypeAny, {
1873
- type?: string;
1874
1871
  href?: string;
1875
1872
  templated?: boolean;
1876
- }, {
1877
1873
  type?: string;
1874
+ }, {
1878
1875
  href?: string;
1879
1876
  templated?: boolean;
1877
+ type?: string;
1880
1878
  }>>>;
1881
1879
  reset: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1882
1880
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1883
1881
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1884
1882
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1885
1883
  }, "strip", z.ZodTypeAny, {
1886
- type?: string;
1887
1884
  href?: string;
1888
1885
  templated?: boolean;
1889
- }, {
1890
1886
  type?: string;
1887
+ }, {
1891
1888
  href?: string;
1892
1889
  templated?: boolean;
1890
+ type?: string;
1893
1891
  }>>>;
1894
1892
  }, "strip", z.ZodTypeAny, {
1895
1893
  self?: {
1896
- type?: string;
1897
1894
  href?: string;
1898
1895
  templated?: boolean;
1896
+ type?: string;
1899
1897
  };
1900
1898
  patientLink?: {
1901
- type?: string;
1902
1899
  href?: string;
1903
1900
  templated?: boolean;
1901
+ type?: string;
1904
1902
  };
1905
1903
  patientMatch?: {
1906
- type?: string;
1907
1904
  href?: string;
1908
1905
  templated?: boolean;
1906
+ type?: string;
1909
1907
  };
1910
1908
  unenroll?: {
1911
- type?: string;
1912
1909
  href?: string;
1913
1910
  templated?: boolean;
1911
+ type?: string;
1914
1912
  };
1915
1913
  enroll?: {
1916
- type?: string;
1917
1914
  href?: string;
1918
1915
  templated?: boolean;
1916
+ type?: string;
1919
1917
  };
1920
1918
  reset?: {
1921
- type?: string;
1922
1919
  href?: string;
1923
1920
  templated?: boolean;
1921
+ type?: string;
1924
1922
  };
1925
1923
  }, {
1926
1924
  self?: {
1927
- type?: string;
1928
1925
  href?: string;
1929
1926
  templated?: boolean;
1927
+ type?: string;
1930
1928
  };
1931
1929
  patientLink?: {
1932
- type?: string;
1933
1930
  href?: string;
1934
1931
  templated?: boolean;
1932
+ type?: string;
1935
1933
  };
1936
1934
  patientMatch?: {
1937
- type?: string;
1938
1935
  href?: string;
1939
1936
  templated?: boolean;
1937
+ type?: string;
1940
1938
  };
1941
1939
  unenroll?: {
1942
- type?: string;
1943
1940
  href?: string;
1944
1941
  templated?: boolean;
1942
+ type?: string;
1945
1943
  };
1946
1944
  enroll?: {
1947
- type?: string;
1948
1945
  href?: string;
1949
1946
  templated?: boolean;
1947
+ type?: string;
1950
1948
  };
1951
1949
  reset?: {
1952
- type?: string;
1953
1950
  href?: string;
1954
1951
  templated?: boolean;
1952
+ type?: string;
1955
1953
  };
1956
1954
  }>>>;
1957
1955
  }, "strip", z.ZodTypeAny, {
1956
+ patient?: string;
1957
+ assuranceLevel?: string;
1958
1958
  _links?: {
1959
1959
  self?: {
1960
- type?: string;
1961
1960
  href?: string;
1962
1961
  templated?: boolean;
1962
+ type?: string;
1963
1963
  };
1964
1964
  patientLink?: {
1965
- type?: string;
1966
1965
  href?: string;
1967
1966
  templated?: boolean;
1967
+ type?: string;
1968
1968
  };
1969
1969
  patientMatch?: {
1970
- type?: string;
1971
1970
  href?: string;
1972
1971
  templated?: boolean;
1972
+ type?: string;
1973
1973
  };
1974
1974
  unenroll?: {
1975
- type?: string;
1976
1975
  href?: string;
1977
1976
  templated?: boolean;
1977
+ type?: string;
1978
1978
  };
1979
1979
  enroll?: {
1980
- type?: string;
1981
1980
  href?: string;
1982
1981
  templated?: boolean;
1982
+ type?: string;
1983
1983
  };
1984
1984
  reset?: {
1985
- type?: string;
1986
1985
  href?: string;
1987
1986
  templated?: boolean;
1987
+ type?: string;
1988
1988
  };
1989
1989
  };
1990
- assuranceLevel?: string;
1991
- patient?: string;
1992
1990
  }, {
1991
+ patient?: string;
1992
+ assuranceLevel?: string;
1993
1993
  _links?: {
1994
1994
  self?: {
1995
- type?: string;
1996
1995
  href?: string;
1997
1996
  templated?: boolean;
1997
+ type?: string;
1998
1998
  };
1999
1999
  patientLink?: {
2000
- type?: string;
2001
2000
  href?: string;
2002
2001
  templated?: boolean;
2002
+ type?: string;
2003
2003
  };
2004
2004
  patientMatch?: {
2005
- type?: string;
2006
2005
  href?: string;
2007
2006
  templated?: boolean;
2007
+ type?: string;
2008
2008
  };
2009
2009
  unenroll?: {
2010
- type?: string;
2011
2010
  href?: string;
2012
2011
  templated?: boolean;
2012
+ type?: string;
2013
2013
  };
2014
2014
  enroll?: {
2015
- type?: string;
2016
2015
  href?: string;
2017
2016
  templated?: boolean;
2017
+ type?: string;
2018
2018
  };
2019
2019
  reset?: {
2020
- type?: string;
2021
2020
  href?: string;
2022
2021
  templated?: boolean;
2022
+ type?: string;
2023
2023
  };
2024
2024
  };
2025
- assuranceLevel?: string;
2026
- patient?: string;
2027
2025
  }>;
2028
2026
  export type PatientLink = z.infer<typeof patientLinkSchema>;
2029
2027
  export declare const patientLinkSearchRespSchema: z.ZodObject<{
@@ -2037,286 +2035,286 @@ export declare const patientLinkSearchRespSchema: z.ZodObject<{
2037
2035
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2038
2036
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2039
2037
  }, "strip", z.ZodTypeAny, {
2040
- type?: string;
2041
2038
  href?: string;
2042
2039
  templated?: boolean;
2043
- }, {
2044
2040
  type?: string;
2041
+ }, {
2045
2042
  href?: string;
2046
2043
  templated?: boolean;
2044
+ type?: string;
2047
2045
  }>;
2048
2046
  patientLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2049
2047
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2050
2048
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2051
2049
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2052
2050
  }, "strip", z.ZodTypeAny, {
2053
- type?: string;
2054
2051
  href?: string;
2055
2052
  templated?: boolean;
2056
- }, {
2057
2053
  type?: string;
2054
+ }, {
2058
2055
  href?: string;
2059
2056
  templated?: boolean;
2057
+ type?: string;
2060
2058
  }>>>;
2061
2059
  patientMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2062
2060
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2063
2061
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2064
2062
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2065
2063
  }, "strip", z.ZodTypeAny, {
2066
- type?: string;
2067
2064
  href?: string;
2068
2065
  templated?: boolean;
2069
- }, {
2070
2066
  type?: string;
2067
+ }, {
2071
2068
  href?: string;
2072
2069
  templated?: boolean;
2070
+ type?: string;
2073
2071
  }>>>;
2074
2072
  unenroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2075
2073
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2076
2074
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2077
2075
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2078
2076
  }, "strip", z.ZodTypeAny, {
2079
- type?: string;
2080
2077
  href?: string;
2081
2078
  templated?: boolean;
2082
- }, {
2083
2079
  type?: string;
2080
+ }, {
2084
2081
  href?: string;
2085
2082
  templated?: boolean;
2083
+ type?: string;
2086
2084
  }>>>;
2087
2085
  enroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2088
2086
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2089
2087
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2090
2088
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2091
2089
  }, "strip", z.ZodTypeAny, {
2092
- type?: string;
2093
2090
  href?: string;
2094
2091
  templated?: boolean;
2095
- }, {
2096
2092
  type?: string;
2093
+ }, {
2097
2094
  href?: string;
2098
2095
  templated?: boolean;
2096
+ type?: string;
2099
2097
  }>>>;
2100
2098
  reset: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2101
2099
  href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2102
2100
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2103
2101
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2104
2102
  }, "strip", z.ZodTypeAny, {
2105
- type?: string;
2106
2103
  href?: string;
2107
2104
  templated?: boolean;
2108
- }, {
2109
2105
  type?: string;
2106
+ }, {
2110
2107
  href?: string;
2111
2108
  templated?: boolean;
2109
+ type?: string;
2112
2110
  }>>>;
2113
2111
  }, "strip", z.ZodTypeAny, {
2114
2112
  self?: {
2115
- type?: string;
2116
2113
  href?: string;
2117
2114
  templated?: boolean;
2115
+ type?: string;
2118
2116
  };
2119
2117
  patientLink?: {
2120
- type?: string;
2121
2118
  href?: string;
2122
2119
  templated?: boolean;
2120
+ type?: string;
2123
2121
  };
2124
2122
  patientMatch?: {
2125
- type?: string;
2126
2123
  href?: string;
2127
2124
  templated?: boolean;
2125
+ type?: string;
2128
2126
  };
2129
2127
  unenroll?: {
2130
- type?: string;
2131
2128
  href?: string;
2132
2129
  templated?: boolean;
2130
+ type?: string;
2133
2131
  };
2134
2132
  enroll?: {
2135
- type?: string;
2136
2133
  href?: string;
2137
2134
  templated?: boolean;
2135
+ type?: string;
2138
2136
  };
2139
2137
  reset?: {
2140
- type?: string;
2141
2138
  href?: string;
2142
2139
  templated?: boolean;
2140
+ type?: string;
2143
2141
  };
2144
2142
  }, {
2145
2143
  self?: {
2146
- type?: string;
2147
2144
  href?: string;
2148
2145
  templated?: boolean;
2146
+ type?: string;
2149
2147
  };
2150
2148
  patientLink?: {
2151
- type?: string;
2152
2149
  href?: string;
2153
2150
  templated?: boolean;
2151
+ type?: string;
2154
2152
  };
2155
2153
  patientMatch?: {
2156
- type?: string;
2157
2154
  href?: string;
2158
2155
  templated?: boolean;
2156
+ type?: string;
2159
2157
  };
2160
2158
  unenroll?: {
2161
- type?: string;
2162
2159
  href?: string;
2163
2160
  templated?: boolean;
2161
+ type?: string;
2164
2162
  };
2165
2163
  enroll?: {
2166
- type?: string;
2167
2164
  href?: string;
2168
2165
  templated?: boolean;
2166
+ type?: string;
2169
2167
  };
2170
2168
  reset?: {
2171
- type?: string;
2172
2169
  href?: string;
2173
2170
  templated?: boolean;
2171
+ type?: string;
2174
2172
  };
2175
2173
  }>>>;
2176
2174
  }, "strip", z.ZodTypeAny, {
2175
+ patient?: string;
2176
+ assuranceLevel?: string;
2177
2177
  _links?: {
2178
2178
  self?: {
2179
- type?: string;
2180
2179
  href?: string;
2181
2180
  templated?: boolean;
2181
+ type?: string;
2182
2182
  };
2183
2183
  patientLink?: {
2184
- type?: string;
2185
2184
  href?: string;
2186
2185
  templated?: boolean;
2186
+ type?: string;
2187
2187
  };
2188
2188
  patientMatch?: {
2189
- type?: string;
2190
2189
  href?: string;
2191
2190
  templated?: boolean;
2191
+ type?: string;
2192
2192
  };
2193
2193
  unenroll?: {
2194
- type?: string;
2195
2194
  href?: string;
2196
2195
  templated?: boolean;
2196
+ type?: string;
2197
2197
  };
2198
2198
  enroll?: {
2199
- type?: string;
2200
2199
  href?: string;
2201
2200
  templated?: boolean;
2201
+ type?: string;
2202
2202
  };
2203
2203
  reset?: {
2204
- type?: string;
2205
2204
  href?: string;
2206
2205
  templated?: boolean;
2206
+ type?: string;
2207
2207
  };
2208
2208
  };
2209
- assuranceLevel?: string;
2210
- patient?: string;
2211
2209
  }, {
2210
+ patient?: string;
2211
+ assuranceLevel?: string;
2212
2212
  _links?: {
2213
2213
  self?: {
2214
- type?: string;
2215
2214
  href?: string;
2216
2215
  templated?: boolean;
2216
+ type?: string;
2217
2217
  };
2218
2218
  patientLink?: {
2219
- type?: string;
2220
2219
  href?: string;
2221
2220
  templated?: boolean;
2221
+ type?: string;
2222
2222
  };
2223
2223
  patientMatch?: {
2224
- type?: string;
2225
2224
  href?: string;
2226
2225
  templated?: boolean;
2226
+ type?: string;
2227
2227
  };
2228
2228
  unenroll?: {
2229
- type?: string;
2230
2229
  href?: string;
2231
2230
  templated?: boolean;
2231
+ type?: string;
2232
2232
  };
2233
2233
  enroll?: {
2234
- type?: string;
2235
2234
  href?: string;
2236
2235
  templated?: boolean;
2236
+ type?: string;
2237
2237
  };
2238
2238
  reset?: {
2239
- type?: string;
2240
2239
  href?: string;
2241
2240
  templated?: boolean;
2241
+ type?: string;
2242
2242
  };
2243
2243
  };
2244
- assuranceLevel?: string;
2245
- patient?: string;
2246
2244
  }>, "many">;
2247
2245
  }, "strip", z.ZodTypeAny, {
2248
2246
  patientLink?: {
2247
+ patient?: string;
2248
+ assuranceLevel?: string;
2249
2249
  _links?: {
2250
2250
  self?: {
2251
- type?: string;
2252
2251
  href?: string;
2253
2252
  templated?: boolean;
2253
+ type?: string;
2254
2254
  };
2255
2255
  patientLink?: {
2256
- type?: string;
2257
2256
  href?: string;
2258
2257
  templated?: boolean;
2258
+ type?: string;
2259
2259
  };
2260
2260
  patientMatch?: {
2261
- type?: string;
2262
2261
  href?: string;
2263
2262
  templated?: boolean;
2263
+ type?: string;
2264
2264
  };
2265
2265
  unenroll?: {
2266
- type?: string;
2267
2266
  href?: string;
2268
2267
  templated?: boolean;
2268
+ type?: string;
2269
2269
  };
2270
2270
  enroll?: {
2271
- type?: string;
2272
2271
  href?: string;
2273
2272
  templated?: boolean;
2273
+ type?: string;
2274
2274
  };
2275
2275
  reset?: {
2276
- type?: string;
2277
2276
  href?: string;
2278
2277
  templated?: boolean;
2278
+ type?: string;
2279
2279
  };
2280
2280
  };
2281
- assuranceLevel?: string;
2282
- patient?: string;
2283
2281
  }[];
2284
2282
  }, {
2285
2283
  patientLink?: {
2284
+ patient?: string;
2285
+ assuranceLevel?: string;
2286
2286
  _links?: {
2287
2287
  self?: {
2288
- type?: string;
2289
2288
  href?: string;
2290
2289
  templated?: boolean;
2290
+ type?: string;
2291
2291
  };
2292
2292
  patientLink?: {
2293
- type?: string;
2294
2293
  href?: string;
2295
2294
  templated?: boolean;
2295
+ type?: string;
2296
2296
  };
2297
2297
  patientMatch?: {
2298
- type?: string;
2299
2298
  href?: string;
2300
2299
  templated?: boolean;
2300
+ type?: string;
2301
2301
  };
2302
2302
  unenroll?: {
2303
- type?: string;
2304
2303
  href?: string;
2305
2304
  templated?: boolean;
2305
+ type?: string;
2306
2306
  };
2307
2307
  enroll?: {
2308
- type?: string;
2309
2308
  href?: string;
2310
2309
  templated?: boolean;
2310
+ type?: string;
2311
2311
  };
2312
2312
  reset?: {
2313
- type?: string;
2314
2313
  href?: string;
2315
2314
  templated?: boolean;
2315
+ type?: string;
2316
2316
  };
2317
2317
  };
2318
- assuranceLevel?: string;
2319
- patient?: string;
2320
2318
  }[];
2321
2319
  }>;
2322
2320
  _links: z.ZodObject<{
@@ -2325,118 +2323,118 @@ export declare const patientLinkSearchRespSchema: z.ZodObject<{
2325
2323
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2326
2324
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2327
2325
  }, "strip", z.ZodTypeAny, {
2328
- type?: string;
2329
2326
  href?: string;
2330
2327
  templated?: boolean;
2331
- }, {
2332
2328
  type?: string;
2329
+ }, {
2333
2330
  href?: string;
2334
2331
  templated?: boolean;
2332
+ type?: string;
2335
2333
  }>;
2336
2334
  }, "strip", z.ZodTypeAny, {
2337
2335
  self?: {
2338
- type?: string;
2339
2336
  href?: string;
2340
2337
  templated?: boolean;
2338
+ type?: string;
2341
2339
  };
2342
2340
  }, {
2343
2341
  self?: {
2344
- type?: string;
2345
2342
  href?: string;
2346
2343
  templated?: boolean;
2344
+ type?: string;
2347
2345
  };
2348
2346
  }>;
2349
2347
  }, "strip", z.ZodTypeAny, {
2350
- _links?: {
2351
- self?: {
2352
- type?: string;
2353
- href?: string;
2354
- templated?: boolean;
2355
- };
2356
- };
2357
2348
  _embedded?: {
2358
2349
  patientLink?: {
2350
+ patient?: string;
2351
+ assuranceLevel?: string;
2359
2352
  _links?: {
2360
2353
  self?: {
2361
- type?: string;
2362
2354
  href?: string;
2363
2355
  templated?: boolean;
2356
+ type?: string;
2364
2357
  };
2365
2358
  patientLink?: {
2366
- type?: string;
2367
2359
  href?: string;
2368
2360
  templated?: boolean;
2361
+ type?: string;
2369
2362
  };
2370
2363
  patientMatch?: {
2371
- type?: string;
2372
2364
  href?: string;
2373
2365
  templated?: boolean;
2366
+ type?: string;
2374
2367
  };
2375
2368
  unenroll?: {
2376
- type?: string;
2377
2369
  href?: string;
2378
2370
  templated?: boolean;
2371
+ type?: string;
2379
2372
  };
2380
2373
  enroll?: {
2381
- type?: string;
2382
2374
  href?: string;
2383
2375
  templated?: boolean;
2376
+ type?: string;
2384
2377
  };
2385
2378
  reset?: {
2386
- type?: string;
2387
2379
  href?: string;
2388
2380
  templated?: boolean;
2381
+ type?: string;
2389
2382
  };
2390
2383
  };
2391
- assuranceLevel?: string;
2392
- patient?: string;
2393
2384
  }[];
2394
2385
  };
2395
- }, {
2396
2386
  _links?: {
2397
2387
  self?: {
2398
- type?: string;
2399
2388
  href?: string;
2400
2389
  templated?: boolean;
2390
+ type?: string;
2401
2391
  };
2402
2392
  };
2393
+ }, {
2403
2394
  _embedded?: {
2404
2395
  patientLink?: {
2396
+ patient?: string;
2397
+ assuranceLevel?: string;
2405
2398
  _links?: {
2406
2399
  self?: {
2407
- type?: string;
2408
2400
  href?: string;
2409
2401
  templated?: boolean;
2402
+ type?: string;
2410
2403
  };
2411
2404
  patientLink?: {
2412
- type?: string;
2413
2405
  href?: string;
2414
2406
  templated?: boolean;
2407
+ type?: string;
2415
2408
  };
2416
2409
  patientMatch?: {
2417
- type?: string;
2418
2410
  href?: string;
2419
2411
  templated?: boolean;
2412
+ type?: string;
2420
2413
  };
2421
2414
  unenroll?: {
2422
- type?: string;
2423
2415
  href?: string;
2424
2416
  templated?: boolean;
2417
+ type?: string;
2425
2418
  };
2426
2419
  enroll?: {
2427
- type?: string;
2428
2420
  href?: string;
2429
2421
  templated?: boolean;
2422
+ type?: string;
2430
2423
  };
2431
2424
  reset?: {
2432
- type?: string;
2433
2425
  href?: string;
2434
2426
  templated?: boolean;
2427
+ type?: string;
2435
2428
  };
2436
2429
  };
2437
- assuranceLevel?: string;
2438
- patient?: string;
2439
2430
  }[];
2440
2431
  };
2432
+ _links?: {
2433
+ self?: {
2434
+ href?: string;
2435
+ templated?: boolean;
2436
+ type?: string;
2437
+ };
2438
+ };
2441
2439
  }>;
2442
2440
  export type PatientLinkSearchResp = z.infer<typeof patientLinkSearchRespSchema>;