@metriport/commonwell-sdk 1.0.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  export declare const personLinksSchema: z.ZodObject<{
3
3
  self: z.ZodObject<{
4
- href: z.ZodString;
4
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5
5
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
6
6
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
7
  }, "strip", z.ZodTypeAny, {
@@ -14,7 +14,7 @@ export declare const personLinksSchema: z.ZodObject<{
14
14
  templated?: boolean;
15
15
  }>;
16
16
  patientLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
17
- href: z.ZodString;
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, {
@@ -27,7 +27,7 @@ export declare const personLinksSchema: z.ZodObject<{
27
27
  templated?: boolean;
28
28
  }>>>;
29
29
  patientMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
30
- href: z.ZodString;
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, {
@@ -40,7 +40,7 @@ export declare const personLinksSchema: z.ZodObject<{
40
40
  templated?: boolean;
41
41
  }>>>;
42
42
  unenroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
43
- href: z.ZodString;
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, {
@@ -53,7 +53,7 @@ export declare const personLinksSchema: z.ZodObject<{
53
53
  templated?: boolean;
54
54
  }>>>;
55
55
  enroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
56
- href: z.ZodString;
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, {
@@ -407,7 +407,7 @@ export declare const personSchema: z.ZodObject<{
407
407
  }>;
408
408
  _links: z.ZodNullable<z.ZodOptional<z.ZodObject<{
409
409
  self: z.ZodObject<{
410
- href: z.ZodString;
410
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
411
411
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
412
412
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
413
413
  }, "strip", z.ZodTypeAny, {
@@ -420,7 +420,7 @@ export declare const personSchema: z.ZodObject<{
420
420
  templated?: boolean;
421
421
  }>;
422
422
  patientLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
423
- href: z.ZodString;
423
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
424
424
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
425
425
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
426
426
  }, "strip", z.ZodTypeAny, {
@@ -433,7 +433,7 @@ export declare const personSchema: z.ZodObject<{
433
433
  templated?: boolean;
434
434
  }>>>;
435
435
  patientMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
436
- href: z.ZodString;
436
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
437
437
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
438
438
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
439
439
  }, "strip", z.ZodTypeAny, {
@@ -446,7 +446,7 @@ export declare const personSchema: z.ZodObject<{
446
446
  templated?: boolean;
447
447
  }>>>;
448
448
  unenroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
449
- href: z.ZodString;
449
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
450
450
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
451
451
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
452
452
  }, "strip", z.ZodTypeAny, {
@@ -459,7 +459,7 @@ export declare const personSchema: z.ZodObject<{
459
459
  templated?: boolean;
460
460
  }>>>;
461
461
  enroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
462
- href: z.ZodString;
462
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
463
463
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
464
464
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
465
465
  }, "strip", z.ZodTypeAny, {
@@ -525,12 +525,32 @@ export declare const personSchema: z.ZodObject<{
525
525
  };
526
526
  }>>>;
527
527
  }, "strip", z.ZodTypeAny, {
528
- enrolled?: boolean;
529
- enrollmentSummary?: {
530
- dateEnrolled?: string;
531
- enroller?: string;
532
- dateUnenrolled?: string;
533
- unenroller?: string;
528
+ _links?: {
529
+ self?: {
530
+ type?: string;
531
+ href?: string;
532
+ templated?: boolean;
533
+ };
534
+ patientLink?: {
535
+ type?: string;
536
+ href?: string;
537
+ templated?: boolean;
538
+ };
539
+ patientMatch?: {
540
+ type?: string;
541
+ href?: string;
542
+ templated?: boolean;
543
+ };
544
+ unenroll?: {
545
+ type?: string;
546
+ href?: string;
547
+ templated?: boolean;
548
+ };
549
+ enroll?: {
550
+ type?: string;
551
+ href?: string;
552
+ templated?: boolean;
553
+ };
534
554
  };
535
555
  details?: {
536
556
  name?: {
@@ -585,6 +605,14 @@ export declare const personSchema: z.ZodObject<{
585
605
  }[];
586
606
  picture?: any;
587
607
  };
608
+ enrolled?: boolean;
609
+ enrollmentSummary?: {
610
+ dateEnrolled?: string;
611
+ enroller?: string;
612
+ dateUnenrolled?: string;
613
+ unenroller?: string;
614
+ };
615
+ }, {
588
616
  _links?: {
589
617
  self?: {
590
618
  type?: string;
@@ -612,14 +640,6 @@ export declare const personSchema: z.ZodObject<{
612
640
  templated?: boolean;
613
641
  };
614
642
  };
615
- }, {
616
- enrolled?: boolean;
617
- enrollmentSummary?: {
618
- dateEnrolled?: string;
619
- enroller?: string;
620
- dateUnenrolled?: string;
621
- unenroller?: string;
622
- };
623
643
  details?: {
624
644
  name?: {
625
645
  family?: string[];
@@ -673,32 +693,12 @@ export declare const personSchema: z.ZodObject<{
673
693
  }[];
674
694
  picture?: any;
675
695
  };
676
- _links?: {
677
- self?: {
678
- type?: string;
679
- href?: string;
680
- templated?: boolean;
681
- };
682
- patientLink?: {
683
- type?: string;
684
- href?: string;
685
- templated?: boolean;
686
- };
687
- patientMatch?: {
688
- type?: string;
689
- href?: string;
690
- templated?: boolean;
691
- };
692
- unenroll?: {
693
- type?: string;
694
- href?: string;
695
- templated?: boolean;
696
- };
697
- enroll?: {
698
- type?: string;
699
- href?: string;
700
- templated?: boolean;
701
- };
696
+ enrolled?: boolean;
697
+ enrollmentSummary?: {
698
+ dateEnrolled?: string;
699
+ enroller?: string;
700
+ dateUnenrolled?: string;
701
+ unenroller?: string;
702
702
  };
703
703
  }>;
704
704
  export type Person = z.infer<typeof personSchema>;
@@ -994,7 +994,7 @@ export declare const personSearchRespSchema: z.ZodObject<{
994
994
  }>;
995
995
  _links: z.ZodNullable<z.ZodOptional<z.ZodObject<{
996
996
  self: z.ZodObject<{
997
- href: z.ZodString;
997
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
998
998
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
999
999
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1000
1000
  }, "strip", z.ZodTypeAny, {
@@ -1007,7 +1007,7 @@ export declare const personSearchRespSchema: z.ZodObject<{
1007
1007
  templated?: boolean;
1008
1008
  }>;
1009
1009
  patientLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1010
- href: z.ZodString;
1010
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1011
1011
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1012
1012
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1013
1013
  }, "strip", z.ZodTypeAny, {
@@ -1020,7 +1020,7 @@ export declare const personSearchRespSchema: z.ZodObject<{
1020
1020
  templated?: boolean;
1021
1021
  }>>>;
1022
1022
  patientMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1023
- href: z.ZodString;
1023
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1024
1024
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1025
1025
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1026
1026
  }, "strip", z.ZodTypeAny, {
@@ -1033,7 +1033,7 @@ export declare const personSearchRespSchema: z.ZodObject<{
1033
1033
  templated?: boolean;
1034
1034
  }>>>;
1035
1035
  unenroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1036
- href: z.ZodString;
1036
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1037
1037
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1038
1038
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1039
1039
  }, "strip", z.ZodTypeAny, {
@@ -1046,7 +1046,7 @@ export declare const personSearchRespSchema: z.ZodObject<{
1046
1046
  templated?: boolean;
1047
1047
  }>>>;
1048
1048
  enroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1049
- href: z.ZodString;
1049
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1050
1050
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1051
1051
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1052
1052
  }, "strip", z.ZodTypeAny, {
@@ -1112,12 +1112,32 @@ export declare const personSearchRespSchema: z.ZodObject<{
1112
1112
  };
1113
1113
  }>>>;
1114
1114
  }, "strip", z.ZodTypeAny, {
1115
- enrolled?: boolean;
1116
- enrollmentSummary?: {
1117
- dateEnrolled?: string;
1118
- enroller?: string;
1119
- dateUnenrolled?: string;
1120
- unenroller?: string;
1115
+ _links?: {
1116
+ self?: {
1117
+ type?: string;
1118
+ href?: string;
1119
+ templated?: boolean;
1120
+ };
1121
+ patientLink?: {
1122
+ type?: string;
1123
+ href?: string;
1124
+ templated?: boolean;
1125
+ };
1126
+ patientMatch?: {
1127
+ type?: string;
1128
+ href?: string;
1129
+ templated?: boolean;
1130
+ };
1131
+ unenroll?: {
1132
+ type?: string;
1133
+ href?: string;
1134
+ templated?: boolean;
1135
+ };
1136
+ enroll?: {
1137
+ type?: string;
1138
+ href?: string;
1139
+ templated?: boolean;
1140
+ };
1121
1141
  };
1122
1142
  details?: {
1123
1143
  name?: {
@@ -1172,6 +1192,14 @@ export declare const personSearchRespSchema: z.ZodObject<{
1172
1192
  }[];
1173
1193
  picture?: any;
1174
1194
  };
1195
+ enrolled?: boolean;
1196
+ enrollmentSummary?: {
1197
+ dateEnrolled?: string;
1198
+ enroller?: string;
1199
+ dateUnenrolled?: string;
1200
+ unenroller?: string;
1201
+ };
1202
+ }, {
1175
1203
  _links?: {
1176
1204
  self?: {
1177
1205
  type?: string;
@@ -1199,14 +1227,6 @@ export declare const personSearchRespSchema: z.ZodObject<{
1199
1227
  templated?: boolean;
1200
1228
  };
1201
1229
  };
1202
- }, {
1203
- enrolled?: boolean;
1204
- enrollmentSummary?: {
1205
- dateEnrolled?: string;
1206
- enroller?: string;
1207
- dateUnenrolled?: string;
1208
- unenroller?: string;
1209
- };
1210
1230
  details?: {
1211
1231
  name?: {
1212
1232
  family?: string[];
@@ -1260,6 +1280,16 @@ export declare const personSearchRespSchema: z.ZodObject<{
1260
1280
  }[];
1261
1281
  picture?: any;
1262
1282
  };
1283
+ enrolled?: boolean;
1284
+ enrollmentSummary?: {
1285
+ dateEnrolled?: string;
1286
+ enroller?: string;
1287
+ dateUnenrolled?: string;
1288
+ unenroller?: string;
1289
+ };
1290
+ }>, "many">;
1291
+ }, "strip", z.ZodTypeAny, {
1292
+ person?: {
1263
1293
  _links?: {
1264
1294
  self?: {
1265
1295
  type?: string;
@@ -1287,16 +1317,6 @@ export declare const personSearchRespSchema: z.ZodObject<{
1287
1317
  templated?: boolean;
1288
1318
  };
1289
1319
  };
1290
- }>, "many">;
1291
- }, "strip", z.ZodTypeAny, {
1292
- person?: {
1293
- enrolled?: boolean;
1294
- enrollmentSummary?: {
1295
- dateEnrolled?: string;
1296
- enroller?: string;
1297
- dateUnenrolled?: string;
1298
- unenroller?: string;
1299
- };
1300
1320
  details?: {
1301
1321
  name?: {
1302
1322
  family?: string[];
@@ -1350,6 +1370,16 @@ export declare const personSearchRespSchema: z.ZodObject<{
1350
1370
  }[];
1351
1371
  picture?: any;
1352
1372
  };
1373
+ enrolled?: boolean;
1374
+ enrollmentSummary?: {
1375
+ dateEnrolled?: string;
1376
+ enroller?: string;
1377
+ dateUnenrolled?: string;
1378
+ unenroller?: string;
1379
+ };
1380
+ }[];
1381
+ }, {
1382
+ person?: {
1353
1383
  _links?: {
1354
1384
  self?: {
1355
1385
  type?: string;
@@ -1377,16 +1407,6 @@ export declare const personSearchRespSchema: z.ZodObject<{
1377
1407
  templated?: boolean;
1378
1408
  };
1379
1409
  };
1380
- }[];
1381
- }, {
1382
- person?: {
1383
- enrolled?: boolean;
1384
- enrollmentSummary?: {
1385
- dateEnrolled?: string;
1386
- enroller?: string;
1387
- dateUnenrolled?: string;
1388
- unenroller?: string;
1389
- };
1390
1410
  details?: {
1391
1411
  name?: {
1392
1412
  family?: string[];
@@ -1440,38 +1460,18 @@ export declare const personSearchRespSchema: z.ZodObject<{
1440
1460
  }[];
1441
1461
  picture?: any;
1442
1462
  };
1443
- _links?: {
1444
- self?: {
1445
- type?: string;
1446
- href?: string;
1447
- templated?: boolean;
1448
- };
1449
- patientLink?: {
1450
- type?: string;
1451
- href?: string;
1452
- templated?: boolean;
1453
- };
1454
- patientMatch?: {
1455
- type?: string;
1456
- href?: string;
1457
- templated?: boolean;
1458
- };
1459
- unenroll?: {
1460
- type?: string;
1461
- href?: string;
1462
- templated?: boolean;
1463
- };
1464
- enroll?: {
1465
- type?: string;
1466
- href?: string;
1467
- templated?: boolean;
1468
- };
1463
+ enrolled?: boolean;
1464
+ enrollmentSummary?: {
1465
+ dateEnrolled?: string;
1466
+ enroller?: string;
1467
+ dateUnenrolled?: string;
1468
+ unenroller?: string;
1469
1469
  };
1470
1470
  }[];
1471
1471
  }>;
1472
1472
  _links: z.ZodObject<{
1473
1473
  self: z.ZodObject<{
1474
- href: z.ZodString;
1474
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1475
1475
  templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1476
1476
  type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1477
1477
  }, "strip", z.ZodTypeAny, {
@@ -1507,12 +1507,32 @@ export declare const personSearchRespSchema: z.ZodObject<{
1507
1507
  };
1508
1508
  _embedded?: {
1509
1509
  person?: {
1510
- enrolled?: boolean;
1511
- enrollmentSummary?: {
1512
- dateEnrolled?: string;
1513
- enroller?: string;
1514
- dateUnenrolled?: string;
1515
- unenroller?: string;
1510
+ _links?: {
1511
+ self?: {
1512
+ type?: string;
1513
+ href?: string;
1514
+ templated?: boolean;
1515
+ };
1516
+ patientLink?: {
1517
+ type?: string;
1518
+ href?: string;
1519
+ templated?: boolean;
1520
+ };
1521
+ patientMatch?: {
1522
+ type?: string;
1523
+ href?: string;
1524
+ templated?: boolean;
1525
+ };
1526
+ unenroll?: {
1527
+ type?: string;
1528
+ href?: string;
1529
+ templated?: boolean;
1530
+ };
1531
+ enroll?: {
1532
+ type?: string;
1533
+ href?: string;
1534
+ templated?: boolean;
1535
+ };
1516
1536
  };
1517
1537
  details?: {
1518
1538
  name?: {
@@ -1567,6 +1587,26 @@ export declare const personSearchRespSchema: z.ZodObject<{
1567
1587
  }[];
1568
1588
  picture?: any;
1569
1589
  };
1590
+ enrolled?: boolean;
1591
+ enrollmentSummary?: {
1592
+ dateEnrolled?: string;
1593
+ enroller?: string;
1594
+ dateUnenrolled?: string;
1595
+ unenroller?: string;
1596
+ };
1597
+ }[];
1598
+ };
1599
+ }, {
1600
+ message?: string;
1601
+ _links?: {
1602
+ self?: {
1603
+ type?: string;
1604
+ href?: string;
1605
+ templated?: boolean;
1606
+ };
1607
+ };
1608
+ _embedded?: {
1609
+ person?: {
1570
1610
  _links?: {
1571
1611
  self?: {
1572
1612
  type?: string;
@@ -1594,26 +1634,6 @@ export declare const personSearchRespSchema: z.ZodObject<{
1594
1634
  templated?: boolean;
1595
1635
  };
1596
1636
  };
1597
- }[];
1598
- };
1599
- }, {
1600
- message?: string;
1601
- _links?: {
1602
- self?: {
1603
- type?: string;
1604
- href?: string;
1605
- templated?: boolean;
1606
- };
1607
- };
1608
- _embedded?: {
1609
- person?: {
1610
- enrolled?: boolean;
1611
- enrollmentSummary?: {
1612
- dateEnrolled?: string;
1613
- enroller?: string;
1614
- dateUnenrolled?: string;
1615
- unenroller?: string;
1616
- };
1617
1637
  details?: {
1618
1638
  name?: {
1619
1639
  family?: string[];
@@ -1667,34 +1687,198 @@ export declare const personSearchRespSchema: z.ZodObject<{
1667
1687
  }[];
1668
1688
  picture?: any;
1669
1689
  };
1670
- _links?: {
1671
- self?: {
1672
- type?: string;
1673
- href?: string;
1674
- templated?: boolean;
1675
- };
1676
- patientLink?: {
1677
- type?: string;
1678
- href?: string;
1679
- templated?: boolean;
1680
- };
1681
- patientMatch?: {
1682
- type?: string;
1683
- href?: string;
1684
- templated?: boolean;
1685
- };
1686
- unenroll?: {
1687
- type?: string;
1688
- href?: string;
1689
- templated?: boolean;
1690
- };
1691
- enroll?: {
1692
- type?: string;
1693
- href?: string;
1694
- templated?: boolean;
1695
- };
1690
+ enrolled?: boolean;
1691
+ enrollmentSummary?: {
1692
+ dateEnrolled?: string;
1693
+ enroller?: string;
1694
+ dateUnenrolled?: string;
1695
+ unenroller?: string;
1696
1696
  };
1697
1697
  }[];
1698
1698
  };
1699
1699
  }>;
1700
1700
  export type PersonSearchResp = z.infer<typeof personSearchRespSchema>;
1701
+ export declare const patientLinkSchema: z.ZodObject<{
1702
+ patient: z.ZodString;
1703
+ assuranceLevel: z.ZodEnum<[string, ...string[]]>;
1704
+ _links: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1705
+ self: z.ZodObject<{
1706
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1707
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1708
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1709
+ }, "strip", z.ZodTypeAny, {
1710
+ type?: string;
1711
+ href?: string;
1712
+ templated?: boolean;
1713
+ }, {
1714
+ type?: string;
1715
+ href?: string;
1716
+ templated?: boolean;
1717
+ }>;
1718
+ patientLink: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1719
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1720
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1721
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1722
+ }, "strip", z.ZodTypeAny, {
1723
+ type?: string;
1724
+ href?: string;
1725
+ templated?: boolean;
1726
+ }, {
1727
+ type?: string;
1728
+ href?: string;
1729
+ templated?: boolean;
1730
+ }>>>;
1731
+ patientMatch: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1732
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1733
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1734
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1735
+ }, "strip", z.ZodTypeAny, {
1736
+ type?: string;
1737
+ href?: string;
1738
+ templated?: boolean;
1739
+ }, {
1740
+ type?: string;
1741
+ href?: string;
1742
+ templated?: boolean;
1743
+ }>>>;
1744
+ unenroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1745
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1746
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1747
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1748
+ }, "strip", z.ZodTypeAny, {
1749
+ type?: string;
1750
+ href?: string;
1751
+ templated?: boolean;
1752
+ }, {
1753
+ type?: string;
1754
+ href?: string;
1755
+ templated?: boolean;
1756
+ }>>>;
1757
+ enroll: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1758
+ href: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1759
+ templated: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1760
+ type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1761
+ }, "strip", z.ZodTypeAny, {
1762
+ type?: string;
1763
+ href?: string;
1764
+ templated?: boolean;
1765
+ }, {
1766
+ type?: string;
1767
+ href?: string;
1768
+ templated?: boolean;
1769
+ }>>>;
1770
+ }, "strip", z.ZodTypeAny, {
1771
+ self?: {
1772
+ type?: string;
1773
+ href?: string;
1774
+ templated?: boolean;
1775
+ };
1776
+ patientLink?: {
1777
+ type?: string;
1778
+ href?: string;
1779
+ templated?: boolean;
1780
+ };
1781
+ patientMatch?: {
1782
+ type?: string;
1783
+ href?: string;
1784
+ templated?: boolean;
1785
+ };
1786
+ unenroll?: {
1787
+ type?: string;
1788
+ href?: string;
1789
+ templated?: boolean;
1790
+ };
1791
+ enroll?: {
1792
+ type?: string;
1793
+ href?: string;
1794
+ templated?: boolean;
1795
+ };
1796
+ }, {
1797
+ self?: {
1798
+ type?: string;
1799
+ href?: string;
1800
+ templated?: boolean;
1801
+ };
1802
+ patientLink?: {
1803
+ type?: string;
1804
+ href?: string;
1805
+ templated?: boolean;
1806
+ };
1807
+ patientMatch?: {
1808
+ type?: string;
1809
+ href?: string;
1810
+ templated?: boolean;
1811
+ };
1812
+ unenroll?: {
1813
+ type?: string;
1814
+ href?: string;
1815
+ templated?: boolean;
1816
+ };
1817
+ enroll?: {
1818
+ type?: string;
1819
+ href?: string;
1820
+ templated?: boolean;
1821
+ };
1822
+ }>>>;
1823
+ }, "strip", z.ZodTypeAny, {
1824
+ _links?: {
1825
+ self?: {
1826
+ type?: string;
1827
+ href?: string;
1828
+ templated?: boolean;
1829
+ };
1830
+ patientLink?: {
1831
+ type?: string;
1832
+ href?: string;
1833
+ templated?: boolean;
1834
+ };
1835
+ patientMatch?: {
1836
+ type?: string;
1837
+ href?: string;
1838
+ templated?: boolean;
1839
+ };
1840
+ unenroll?: {
1841
+ type?: string;
1842
+ href?: string;
1843
+ templated?: boolean;
1844
+ };
1845
+ enroll?: {
1846
+ type?: string;
1847
+ href?: string;
1848
+ templated?: boolean;
1849
+ };
1850
+ };
1851
+ assuranceLevel?: string;
1852
+ patient?: string;
1853
+ }, {
1854
+ _links?: {
1855
+ self?: {
1856
+ type?: string;
1857
+ href?: string;
1858
+ templated?: boolean;
1859
+ };
1860
+ patientLink?: {
1861
+ type?: string;
1862
+ href?: string;
1863
+ templated?: boolean;
1864
+ };
1865
+ patientMatch?: {
1866
+ type?: string;
1867
+ href?: string;
1868
+ templated?: boolean;
1869
+ };
1870
+ unenroll?: {
1871
+ type?: string;
1872
+ href?: string;
1873
+ templated?: boolean;
1874
+ };
1875
+ enroll?: {
1876
+ type?: string;
1877
+ href?: string;
1878
+ templated?: boolean;
1879
+ };
1880
+ };
1881
+ assuranceLevel?: string;
1882
+ patient?: string;
1883
+ }>;
1884
+ export type PatientLink = z.infer<typeof patientLinkSchema>;