@metriport/api-sdk 12.2.0-alpha.0 → 12.2.1
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.
|
@@ -142,8 +142,8 @@ export declare const driverLicenseIdentifierWithBaseSchema: z.ZodObject<{
|
|
|
142
142
|
WY: import("@metriport/shared").USState.WY;
|
|
143
143
|
}>, import("@metriport/shared").USState, unknown>;
|
|
144
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
|
-
value: string;
|
|
146
145
|
type: "driversLicense";
|
|
146
|
+
value: string;
|
|
147
147
|
state: import("@metriport/shared").USState;
|
|
148
148
|
period?: {
|
|
149
149
|
start: string;
|
|
@@ -154,8 +154,8 @@ export declare const driverLicenseIdentifierWithBaseSchema: z.ZodObject<{
|
|
|
154
154
|
} | undefined;
|
|
155
155
|
assigner?: string | undefined;
|
|
156
156
|
}, {
|
|
157
|
-
value: string;
|
|
158
157
|
type: "driversLicense";
|
|
158
|
+
value: string;
|
|
159
159
|
period?: {
|
|
160
160
|
start: string;
|
|
161
161
|
end?: string | undefined;
|
|
@@ -198,8 +198,8 @@ export declare const generalTypeIdentifierWithBaseSchema: z.ZodObject<{
|
|
|
198
198
|
assigner: z.ZodOptional<z.ZodString>;
|
|
199
199
|
type: z.ZodEnum<["ssn"]>;
|
|
200
200
|
}, "strip", z.ZodTypeAny, {
|
|
201
|
-
value: string;
|
|
202
201
|
type: "ssn";
|
|
202
|
+
value: string;
|
|
203
203
|
period?: {
|
|
204
204
|
start: string;
|
|
205
205
|
end?: string | undefined;
|
|
@@ -209,8 +209,8 @@ export declare const generalTypeIdentifierWithBaseSchema: z.ZodObject<{
|
|
|
209
209
|
} | undefined;
|
|
210
210
|
assigner?: string | undefined;
|
|
211
211
|
}, {
|
|
212
|
-
value: string;
|
|
213
212
|
type: "ssn";
|
|
213
|
+
value: string;
|
|
214
214
|
period?: {
|
|
215
215
|
start: string;
|
|
216
216
|
end?: string | undefined;
|
|
@@ -298,8 +298,8 @@ export declare const personalIdentifierSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
298
298
|
WY: import("@metriport/shared").USState.WY;
|
|
299
299
|
}>, import("@metriport/shared").USState, unknown>;
|
|
300
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
|
-
value: string;
|
|
302
301
|
type: "driversLicense";
|
|
302
|
+
value: string;
|
|
303
303
|
state: import("@metriport/shared").USState;
|
|
304
304
|
period?: {
|
|
305
305
|
start: string;
|
|
@@ -310,8 +310,8 @@ export declare const personalIdentifierSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
310
310
|
} | undefined;
|
|
311
311
|
assigner?: string | undefined;
|
|
312
312
|
}, {
|
|
313
|
-
value: string;
|
|
314
313
|
type: "driversLicense";
|
|
314
|
+
value: string;
|
|
315
315
|
period?: {
|
|
316
316
|
start: string;
|
|
317
317
|
end?: string | undefined;
|
|
@@ -345,8 +345,8 @@ export declare const personalIdentifierSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
345
345
|
assigner: z.ZodOptional<z.ZodString>;
|
|
346
346
|
type: z.ZodEnum<["ssn"]>;
|
|
347
347
|
}, "strip", z.ZodTypeAny, {
|
|
348
|
-
value: string;
|
|
349
348
|
type: "ssn";
|
|
349
|
+
value: string;
|
|
350
350
|
period?: {
|
|
351
351
|
start: string;
|
|
352
352
|
end?: string | undefined;
|
|
@@ -356,8 +356,8 @@ export declare const personalIdentifierSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
356
356
|
} | undefined;
|
|
357
357
|
assigner?: string | undefined;
|
|
358
358
|
}, {
|
|
359
|
-
value: string;
|
|
360
359
|
type: "ssn";
|
|
360
|
+
value: string;
|
|
361
361
|
period?: {
|
|
362
362
|
start: string;
|
|
363
363
|
end?: string | undefined;
|
|
@@ -469,8 +469,8 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
469
469
|
WY: import("@metriport/shared").USState.WY;
|
|
470
470
|
}>, import("@metriport/shared").USState, unknown>;
|
|
471
471
|
}, "strip", z.ZodTypeAny, {
|
|
472
|
-
value: string;
|
|
473
472
|
type: "driversLicense";
|
|
473
|
+
value: string;
|
|
474
474
|
state: import("@metriport/shared").USState;
|
|
475
475
|
period?: {
|
|
476
476
|
start: string;
|
|
@@ -481,8 +481,8 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
481
481
|
} | undefined;
|
|
482
482
|
assigner?: string | undefined;
|
|
483
483
|
}, {
|
|
484
|
-
value: string;
|
|
485
484
|
type: "driversLicense";
|
|
485
|
+
value: string;
|
|
486
486
|
period?: {
|
|
487
487
|
start: string;
|
|
488
488
|
end?: string | undefined;
|
|
@@ -516,8 +516,8 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
516
516
|
assigner: z.ZodOptional<z.ZodString>;
|
|
517
517
|
type: z.ZodEnum<["ssn"]>;
|
|
518
518
|
}, "strip", z.ZodTypeAny, {
|
|
519
|
-
value: string;
|
|
520
519
|
type: "ssn";
|
|
520
|
+
value: string;
|
|
521
521
|
period?: {
|
|
522
522
|
start: string;
|
|
523
523
|
end?: string | undefined;
|
|
@@ -527,8 +527,8 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
527
527
|
} | undefined;
|
|
528
528
|
assigner?: string | undefined;
|
|
529
529
|
}, {
|
|
530
|
-
value: string;
|
|
531
530
|
type: "ssn";
|
|
531
|
+
value: string;
|
|
532
532
|
period?: {
|
|
533
533
|
start: string;
|
|
534
534
|
end?: string | undefined;
|
|
@@ -825,8 +825,8 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
825
825
|
} | undefined;
|
|
826
826
|
}[]] | undefined);
|
|
827
827
|
personalIdentifiers?: ({
|
|
828
|
-
value: string;
|
|
829
828
|
type: "driversLicense";
|
|
829
|
+
value: string;
|
|
830
830
|
state: import("@metriport/shared").USState;
|
|
831
831
|
period?: {
|
|
832
832
|
start: string;
|
|
@@ -837,8 +837,8 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
837
837
|
} | undefined;
|
|
838
838
|
assigner?: string | undefined;
|
|
839
839
|
} | {
|
|
840
|
-
value: string;
|
|
841
840
|
type: "ssn";
|
|
841
|
+
value: string;
|
|
842
842
|
period?: {
|
|
843
843
|
start: string;
|
|
844
844
|
end?: string | undefined;
|
|
@@ -928,8 +928,8 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
928
928
|
country?: "USA" | undefined;
|
|
929
929
|
}[]] | undefined);
|
|
930
930
|
personalIdentifiers?: ({
|
|
931
|
-
value: string;
|
|
932
931
|
type: "driversLicense";
|
|
932
|
+
value: string;
|
|
933
933
|
period?: {
|
|
934
934
|
start: string;
|
|
935
935
|
end?: string | undefined;
|
|
@@ -940,8 +940,8 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
940
940
|
assigner?: string | undefined;
|
|
941
941
|
state?: unknown;
|
|
942
942
|
} | {
|
|
943
|
-
value: string;
|
|
944
943
|
type: "ssn";
|
|
944
|
+
value: string;
|
|
945
945
|
period?: {
|
|
946
946
|
start: string;
|
|
947
947
|
end?: string | undefined;
|
|
@@ -82,8 +82,8 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
82
82
|
WY: import("@metriport/shared/dist/domain/address/state").USState.WY;
|
|
83
83
|
}>, import("@metriport/shared/dist/domain/address/state").USState, unknown>;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
value: string;
|
|
86
85
|
type: "driversLicense";
|
|
86
|
+
value: string;
|
|
87
87
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
88
88
|
period?: {
|
|
89
89
|
start: string;
|
|
@@ -94,8 +94,8 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
94
94
|
} | undefined;
|
|
95
95
|
assigner?: string | undefined;
|
|
96
96
|
}, {
|
|
97
|
-
value: string;
|
|
98
97
|
type: "driversLicense";
|
|
98
|
+
value: string;
|
|
99
99
|
period?: {
|
|
100
100
|
start: string;
|
|
101
101
|
end?: string | undefined;
|
|
@@ -129,8 +129,8 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
129
129
|
assigner: z.ZodOptional<z.ZodString>;
|
|
130
130
|
type: z.ZodEnum<["ssn"]>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
value: string;
|
|
133
132
|
type: "ssn";
|
|
133
|
+
value: string;
|
|
134
134
|
period?: {
|
|
135
135
|
start: string;
|
|
136
136
|
end?: string | undefined;
|
|
@@ -140,8 +140,8 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
140
140
|
} | undefined;
|
|
141
141
|
assigner?: string | undefined;
|
|
142
142
|
}, {
|
|
143
|
-
value: string;
|
|
144
143
|
type: "ssn";
|
|
144
|
+
value: string;
|
|
145
145
|
period?: {
|
|
146
146
|
start: string;
|
|
147
147
|
end?: string | undefined;
|
|
@@ -439,8 +439,8 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
439
439
|
} | undefined;
|
|
440
440
|
}[]] | undefined);
|
|
441
441
|
personalIdentifiers?: ({
|
|
442
|
-
value: string;
|
|
443
442
|
type: "driversLicense";
|
|
443
|
+
value: string;
|
|
444
444
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
445
445
|
period?: {
|
|
446
446
|
start: string;
|
|
@@ -451,8 +451,8 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
451
451
|
} | undefined;
|
|
452
452
|
assigner?: string | undefined;
|
|
453
453
|
} | {
|
|
454
|
-
value: string;
|
|
455
454
|
type: "ssn";
|
|
455
|
+
value: string;
|
|
456
456
|
period?: {
|
|
457
457
|
start: string;
|
|
458
458
|
end?: string | undefined;
|
|
@@ -543,8 +543,8 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
543
543
|
country?: "USA" | undefined;
|
|
544
544
|
}[]] | undefined);
|
|
545
545
|
personalIdentifiers?: ({
|
|
546
|
-
value: string;
|
|
547
546
|
type: "driversLicense";
|
|
547
|
+
value: string;
|
|
548
548
|
period?: {
|
|
549
549
|
start: string;
|
|
550
550
|
end?: string | undefined;
|
|
@@ -555,8 +555,8 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
555
555
|
assigner?: string | undefined;
|
|
556
556
|
state?: unknown;
|
|
557
557
|
} | {
|
|
558
|
-
value: string;
|
|
559
558
|
type: "ssn";
|
|
559
|
+
value: string;
|
|
560
560
|
period?: {
|
|
561
561
|
start: string;
|
|
562
562
|
end?: string | undefined;
|
|
@@ -658,8 +658,8 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
658
658
|
WY: import("@metriport/shared/dist/domain/address/state").USState.WY;
|
|
659
659
|
}>, import("@metriport/shared/dist/domain/address/state").USState, unknown>;
|
|
660
660
|
}, "strip", z.ZodTypeAny, {
|
|
661
|
-
value: string;
|
|
662
661
|
type: "driversLicense";
|
|
662
|
+
value: string;
|
|
663
663
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
664
664
|
period?: {
|
|
665
665
|
start: string;
|
|
@@ -670,8 +670,8 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
670
670
|
} | undefined;
|
|
671
671
|
assigner?: string | undefined;
|
|
672
672
|
}, {
|
|
673
|
-
value: string;
|
|
674
673
|
type: "driversLicense";
|
|
674
|
+
value: string;
|
|
675
675
|
period?: {
|
|
676
676
|
start: string;
|
|
677
677
|
end?: string | undefined;
|
|
@@ -705,8 +705,8 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
705
705
|
assigner: z.ZodOptional<z.ZodString>;
|
|
706
706
|
type: z.ZodEnum<["ssn"]>;
|
|
707
707
|
}, "strip", z.ZodTypeAny, {
|
|
708
|
-
value: string;
|
|
709
708
|
type: "ssn";
|
|
709
|
+
value: string;
|
|
710
710
|
period?: {
|
|
711
711
|
start: string;
|
|
712
712
|
end?: string | undefined;
|
|
@@ -716,8 +716,8 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
716
716
|
} | undefined;
|
|
717
717
|
assigner?: string | undefined;
|
|
718
718
|
}, {
|
|
719
|
-
value: string;
|
|
720
719
|
type: "ssn";
|
|
720
|
+
value: string;
|
|
721
721
|
period?: {
|
|
722
722
|
start: string;
|
|
723
723
|
end?: string | undefined;
|
|
@@ -1018,8 +1018,8 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
1018
1018
|
}[]] | undefined);
|
|
1019
1019
|
id: string;
|
|
1020
1020
|
personalIdentifiers?: ({
|
|
1021
|
-
value: string;
|
|
1022
1021
|
type: "driversLicense";
|
|
1022
|
+
value: string;
|
|
1023
1023
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
1024
1024
|
period?: {
|
|
1025
1025
|
start: string;
|
|
@@ -1030,8 +1030,8 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
1030
1030
|
} | undefined;
|
|
1031
1031
|
assigner?: string | undefined;
|
|
1032
1032
|
} | {
|
|
1033
|
-
value: string;
|
|
1034
1033
|
type: "ssn";
|
|
1034
|
+
value: string;
|
|
1035
1035
|
period?: {
|
|
1036
1036
|
start: string;
|
|
1037
1037
|
end?: string | undefined;
|
|
@@ -1124,8 +1124,8 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
1124
1124
|
}[]] | undefined);
|
|
1125
1125
|
id: string;
|
|
1126
1126
|
personalIdentifiers?: ({
|
|
1127
|
-
value: string;
|
|
1128
1127
|
type: "driversLicense";
|
|
1128
|
+
value: string;
|
|
1129
1129
|
period?: {
|
|
1130
1130
|
start: string;
|
|
1131
1131
|
end?: string | undefined;
|
|
@@ -1136,8 +1136,8 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
1136
1136
|
assigner?: string | undefined;
|
|
1137
1137
|
state?: unknown;
|
|
1138
1138
|
} | {
|
|
1139
|
-
value: string;
|
|
1140
1139
|
type: "ssn";
|
|
1140
|
+
value: string;
|
|
1141
1141
|
period?: {
|
|
1142
1142
|
start: string;
|
|
1143
1143
|
end?: string | undefined;
|
|
@@ -1240,8 +1240,8 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1240
1240
|
WY: import("@metriport/shared/dist/domain/address/state").USState.WY;
|
|
1241
1241
|
}>, import("@metriport/shared/dist/domain/address/state").USState, unknown>;
|
|
1242
1242
|
}, "strip", z.ZodTypeAny, {
|
|
1243
|
-
value: string;
|
|
1244
1243
|
type: "driversLicense";
|
|
1244
|
+
value: string;
|
|
1245
1245
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
1246
1246
|
period?: {
|
|
1247
1247
|
start: string;
|
|
@@ -1252,8 +1252,8 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1252
1252
|
} | undefined;
|
|
1253
1253
|
assigner?: string | undefined;
|
|
1254
1254
|
}, {
|
|
1255
|
-
value: string;
|
|
1256
1255
|
type: "driversLicense";
|
|
1256
|
+
value: string;
|
|
1257
1257
|
period?: {
|
|
1258
1258
|
start: string;
|
|
1259
1259
|
end?: string | undefined;
|
|
@@ -1287,8 +1287,8 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1287
1287
|
assigner: z.ZodOptional<z.ZodString>;
|
|
1288
1288
|
type: z.ZodEnum<["ssn"]>;
|
|
1289
1289
|
}, "strip", z.ZodTypeAny, {
|
|
1290
|
-
value: string;
|
|
1291
1290
|
type: "ssn";
|
|
1291
|
+
value: string;
|
|
1292
1292
|
period?: {
|
|
1293
1293
|
start: string;
|
|
1294
1294
|
end?: string | undefined;
|
|
@@ -1298,8 +1298,8 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1298
1298
|
} | undefined;
|
|
1299
1299
|
assigner?: string | undefined;
|
|
1300
1300
|
}, {
|
|
1301
|
-
value: string;
|
|
1302
1301
|
type: "ssn";
|
|
1302
|
+
value: string;
|
|
1303
1303
|
period?: {
|
|
1304
1304
|
start: string;
|
|
1305
1305
|
end?: string | undefined;
|
|
@@ -1602,8 +1602,8 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1602
1602
|
id: string;
|
|
1603
1603
|
facilityIds: string[];
|
|
1604
1604
|
personalIdentifiers?: ({
|
|
1605
|
-
value: string;
|
|
1606
1605
|
type: "driversLicense";
|
|
1606
|
+
value: string;
|
|
1607
1607
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
1608
1608
|
period?: {
|
|
1609
1609
|
start: string;
|
|
@@ -1614,8 +1614,8 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1614
1614
|
} | undefined;
|
|
1615
1615
|
assigner?: string | undefined;
|
|
1616
1616
|
} | {
|
|
1617
|
-
value: string;
|
|
1618
1617
|
type: "ssn";
|
|
1618
|
+
value: string;
|
|
1619
1619
|
period?: {
|
|
1620
1620
|
start: string;
|
|
1621
1621
|
end?: string | undefined;
|
|
@@ -1709,8 +1709,8 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1709
1709
|
id: string;
|
|
1710
1710
|
facilityIds: string[];
|
|
1711
1711
|
personalIdentifiers?: ({
|
|
1712
|
-
value: string;
|
|
1713
1712
|
type: "driversLicense";
|
|
1713
|
+
value: string;
|
|
1714
1714
|
period?: {
|
|
1715
1715
|
start: string;
|
|
1716
1716
|
end?: string | undefined;
|
|
@@ -1721,8 +1721,8 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1721
1721
|
assigner?: string | undefined;
|
|
1722
1722
|
state?: unknown;
|
|
1723
1723
|
} | {
|
|
1724
|
-
value: string;
|
|
1725
1724
|
type: "ssn";
|
|
1725
|
+
value: string;
|
|
1726
1726
|
period?: {
|
|
1727
1727
|
start: string;
|
|
1728
1728
|
end?: string | undefined;
|
|
@@ -1826,8 +1826,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1826
1826
|
WY: import("@metriport/shared/dist/domain/address/state").USState.WY;
|
|
1827
1827
|
}>, import("@metriport/shared/dist/domain/address/state").USState, unknown>;
|
|
1828
1828
|
}, "strip", z.ZodTypeAny, {
|
|
1829
|
-
value: string;
|
|
1830
1829
|
type: "driversLicense";
|
|
1830
|
+
value: string;
|
|
1831
1831
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
1832
1832
|
period?: {
|
|
1833
1833
|
start: string;
|
|
@@ -1838,8 +1838,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1838
1838
|
} | undefined;
|
|
1839
1839
|
assigner?: string | undefined;
|
|
1840
1840
|
}, {
|
|
1841
|
-
value: string;
|
|
1842
1841
|
type: "driversLicense";
|
|
1842
|
+
value: string;
|
|
1843
1843
|
period?: {
|
|
1844
1844
|
start: string;
|
|
1845
1845
|
end?: string | undefined;
|
|
@@ -1873,8 +1873,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1873
1873
|
assigner: z.ZodOptional<z.ZodString>;
|
|
1874
1874
|
type: z.ZodEnum<["ssn"]>;
|
|
1875
1875
|
}, "strip", z.ZodTypeAny, {
|
|
1876
|
-
value: string;
|
|
1877
1876
|
type: "ssn";
|
|
1877
|
+
value: string;
|
|
1878
1878
|
period?: {
|
|
1879
1879
|
start: string;
|
|
1880
1880
|
end?: string | undefined;
|
|
@@ -1884,8 +1884,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1884
1884
|
} | undefined;
|
|
1885
1885
|
assigner?: string | undefined;
|
|
1886
1886
|
}, {
|
|
1887
|
-
value: string;
|
|
1888
1887
|
type: "ssn";
|
|
1888
|
+
value: string;
|
|
1889
1889
|
period?: {
|
|
1890
1890
|
start: string;
|
|
1891
1891
|
end?: string | undefined;
|
|
@@ -2188,8 +2188,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2188
2188
|
id: string;
|
|
2189
2189
|
facilityIds: string[];
|
|
2190
2190
|
personalIdentifiers?: ({
|
|
2191
|
-
value: string;
|
|
2192
2191
|
type: "driversLicense";
|
|
2192
|
+
value: string;
|
|
2193
2193
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
2194
2194
|
period?: {
|
|
2195
2195
|
start: string;
|
|
@@ -2200,8 +2200,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2200
2200
|
} | undefined;
|
|
2201
2201
|
assigner?: string | undefined;
|
|
2202
2202
|
} | {
|
|
2203
|
-
value: string;
|
|
2204
2203
|
type: "ssn";
|
|
2204
|
+
value: string;
|
|
2205
2205
|
period?: {
|
|
2206
2206
|
start: string;
|
|
2207
2207
|
end?: string | undefined;
|
|
@@ -2295,8 +2295,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2295
2295
|
id: string;
|
|
2296
2296
|
facilityIds: string[];
|
|
2297
2297
|
personalIdentifiers?: ({
|
|
2298
|
-
value: string;
|
|
2299
2298
|
type: "driversLicense";
|
|
2299
|
+
value: string;
|
|
2300
2300
|
period?: {
|
|
2301
2301
|
start: string;
|
|
2302
2302
|
end?: string | undefined;
|
|
@@ -2307,8 +2307,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2307
2307
|
assigner?: string | undefined;
|
|
2308
2308
|
state?: unknown;
|
|
2309
2309
|
} | {
|
|
2310
|
-
value: string;
|
|
2311
2310
|
type: "ssn";
|
|
2311
|
+
value: string;
|
|
2312
2312
|
period?: {
|
|
2313
2313
|
start: string;
|
|
2314
2314
|
end?: string | undefined;
|
|
@@ -2404,8 +2404,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2404
2404
|
id: string;
|
|
2405
2405
|
facilityIds: string[];
|
|
2406
2406
|
personalIdentifiers?: ({
|
|
2407
|
-
value: string;
|
|
2408
2407
|
type: "driversLicense";
|
|
2408
|
+
value: string;
|
|
2409
2409
|
state: import("@metriport/shared/dist/domain/address/state").USState;
|
|
2410
2410
|
period?: {
|
|
2411
2411
|
start: string;
|
|
@@ -2416,8 +2416,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2416
2416
|
} | undefined;
|
|
2417
2417
|
assigner?: string | undefined;
|
|
2418
2418
|
} | {
|
|
2419
|
-
value: string;
|
|
2420
2419
|
type: "ssn";
|
|
2420
|
+
value: string;
|
|
2421
2421
|
period?: {
|
|
2422
2422
|
start: string;
|
|
2423
2423
|
end?: string | undefined;
|
|
@@ -2513,8 +2513,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2513
2513
|
id: string;
|
|
2514
2514
|
facilityIds: string[];
|
|
2515
2515
|
personalIdentifiers?: ({
|
|
2516
|
-
value: string;
|
|
2517
2516
|
type: "driversLicense";
|
|
2517
|
+
value: string;
|
|
2518
2518
|
period?: {
|
|
2519
2519
|
start: string;
|
|
2520
2520
|
end?: string | undefined;
|
|
@@ -2525,8 +2525,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
2525
2525
|
assigner?: string | undefined;
|
|
2526
2526
|
state?: unknown;
|
|
2527
2527
|
} | {
|
|
2528
|
-
value: string;
|
|
2529
2528
|
type: "ssn";
|
|
2529
|
+
value: string;
|
|
2530
2530
|
period?: {
|
|
2531
2531
|
start: string;
|
|
2532
2532
|
end?: string | undefined;
|
package/dist/shared.js
CHANGED
|
@@ -22,7 +22,7 @@ exports.defaultOptionalString = (0, exports.optionalString)(exports.defaultStrin
|
|
|
22
22
|
exports.defaultDateString = exports.defaultString.refine(date_1.isValidISODate, {
|
|
23
23
|
message: `Date must be a valid ISO 8601 date formatted ${exports.ISO_DATE}. Example: 2023-03-15`,
|
|
24
24
|
});
|
|
25
|
-
exports.pastOrTodayDateString = exports.defaultDateString.refine(date_1.
|
|
25
|
+
exports.pastOrTodayDateString = exports.defaultDateString.refine(date_1.validateIsPastOrPresentSafe, {
|
|
26
26
|
message: `Date can't be in the future`,
|
|
27
27
|
});
|
|
28
28
|
exports.defaultNameString = exports.defaultString.min(1);
|
package/dist/shared.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":";;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":";;;;;;AAAA,wDAA4F;AAC5F,kDAA0B;AAC1B,6BAAmC;AAEtB,QAAA,YAAY,GAAG,2BAA2B,CAAC;AAC3C,QAAA,oBAAoB,GAAG,mCAAmC,CAAC;AAC3D,QAAA,cAAc,GAAG,WAAW,CAAC;AAC7B,QAAA,UAAU,GAAG,eAAe,CAAC;AAC7B,QAAA,4BAA4B,GAAG,KAAM,CAAC;AAE5C,MAAM,sBAAsB,GAAG,CAAC,CAA4B,EAAE,EAAE,CACrE,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;AAD/B,QAAA,sBAAsB,0BACS;AAErC,MAAM,cAAc,GAAG,CAAC,SAAoB,EAAE,EAAE,CACrD,SAAS,CAAC,EAAE,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,CAAC,8BAAsB,CAAC,CAAC;AAD3D,QAAA,cAAc,kBAC6C;AAE3D,QAAA,QAAQ,GAAG,YAAY,CAAC;AACxB,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;AAClC,QAAA,qBAAqB,GAAG,IAAA,sBAAc,EAAC,qBAAa,CAAC,CAAC;AACtD,QAAA,iBAAiB,GAAG,qBAAa,CAAC,MAAM,CAAC,qBAAc,EAAE;IACpE,OAAO,EAAE,gDAAgD,gBAAQ,uBAAuB;CACzF,CAAC,CAAC;AACU,QAAA,qBAAqB,GAAG,yBAAiB,CAAC,MAAM,CAAC,kCAA2B,EAAE;IACzF,OAAO,EAAE,6BAA6B;CACvC,CAAC,CAAC;AACU,QAAA,iBAAiB,GAAG,qBAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD,SAAgB,uBAAuB,CACrC,IAAsC;IAEtC,MAAM,aAAa,GAAG,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAA,eAAK,EAAC,IAAI,CAAC,CAAC,MAAM,CAAC,gBAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC7F,OAAO,aAAa,IAAI,SAAS,CAAC;AACpC,CAAC;AALD,0DAKC;AAEM,MAAM,SAAS,GAAG,CAAC,OAAe,EAAsB,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAA1E,QAAA,SAAS,aAAiE;AAEhF,MAAM,eAAe,GAAG,CAAC,OAAe,EAAU,EAAE;IACzD,MAAM,KAAK,GAAG,IAAA,iBAAS,EAAC,OAAO,CAAC,CAAC;IACjC,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE;QACrC,MAAM,IAAI,KAAK,CAAC,WAAW,OAAO,UAAU,CAAC,CAAC;KAC/C;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AANW,QAAA,eAAe,mBAM1B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/api-sdk",
|
|
3
|
-
"version": "12.2.
|
|
3
|
+
"version": "12.2.1",
|
|
4
4
|
"description": "Metriport helps you access and manage health and medical data, through a single open source API.",
|
|
5
5
|
"author": "Metriport Inc. <contact@metriport.com>",
|
|
6
6
|
"homepage": "https://metriport.com/",
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
|
-
"clean": "rimraf dist
|
|
38
|
+
"clean": "rimraf dist",
|
|
39
|
+
"deepclean": "npm run clean && rimraf node_modules",
|
|
39
40
|
"tsc": "tsc",
|
|
40
41
|
"watch": "tsc --watch",
|
|
41
42
|
"build": "tsc -p .",
|
|
@@ -57,8 +58,8 @@
|
|
|
57
58
|
},
|
|
58
59
|
"dependencies": {
|
|
59
60
|
"@medplum/fhirtypes": "^2.0.32",
|
|
60
|
-
"@metriport/commonwell-sdk": "^5.1.
|
|
61
|
-
"@metriport/shared": "^0.14.
|
|
61
|
+
"@metriport/commonwell-sdk": "^5.1.6",
|
|
62
|
+
"@metriport/shared": "^0.14.1",
|
|
62
63
|
"axios": "^1.4.0",
|
|
63
64
|
"dayjs": "^1.11.7",
|
|
64
65
|
"dotenv": "^16.3.1",
|
|
@@ -76,5 +77,5 @@
|
|
|
76
77
|
"ts-jest": "29.1.1",
|
|
77
78
|
"typescript": "^4.9.5"
|
|
78
79
|
},
|
|
79
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "09a06299b2c6ecf0a8a1500e0dcf2a40dff23edd"
|
|
80
81
|
}
|