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