@metriport/api-sdk 12.0.5 → 12.1.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/medical/client/metriport.d.ts +2 -1
- package/dist/medical/client/metriport.d.ts.map +1 -1
- package/dist/medical/client/metriport.js +3 -2
- package/dist/medical/client/metriport.js.map +1 -1
- package/dist/medical/models/common/address.d.ts +54 -2
- package/dist/medical/models/common/address.d.ts.map +1 -1
- package/dist/medical/models/common/us-data.d.ts +107 -54
- package/dist/medical/models/common/us-data.d.ts.map +1 -1
- package/dist/medical/models/common/us-data.js +5 -55
- package/dist/medical/models/common/us-data.js.map +1 -1
- package/dist/medical/models/demographics.d.ts +331 -19
- package/dist/medical/models/demographics.d.ts.map +1 -1
- package/dist/medical/models/facility.d.ts +166 -10
- package/dist/medical/models/facility.d.ts.map +1 -1
- package/dist/medical/models/fhir.d.ts +2 -1
- package/dist/medical/models/fhir.d.ts.map +1 -1
- package/dist/medical/models/fhir.js +6 -72
- package/dist/medical/models/fhir.js.map +1 -1
- package/dist/medical/models/organization.d.ts +110 -6
- package/dist/medical/models/organization.d.ts.map +1 -1
- package/dist/medical/models/patient.d.ts +683 -59
- package/dist/medical/models/patient.d.ts.map +1 -1
- package/dist/medical/models/patientDTO.d.ts +1 -1
- package/dist/medical/models/patientDTO.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -5,10 +5,62 @@ export type GeneralPersonalIdentifiers = (typeof generalPersonalIdentifiers)[num
|
|
|
5
5
|
export type DriversLicensePersonalIdentifier = (typeof driversLicensePersonalIdentifier)[number];
|
|
6
6
|
export declare const driverLicenseIdentifierSchema: z.ZodObject<{
|
|
7
7
|
type: z.ZodEnum<["driversLicense"]>;
|
|
8
|
-
state: z.ZodEffects<z.ZodNativeEnum<
|
|
8
|
+
state: z.ZodEffects<z.ZodNativeEnum<{
|
|
9
|
+
AL: import("@metriport/shared").USState.AL;
|
|
10
|
+
AK: import("@metriport/shared").USState.AK;
|
|
11
|
+
AZ: import("@metriport/shared").USState.AZ;
|
|
12
|
+
AR: import("@metriport/shared").USState.AR;
|
|
13
|
+
CA: import("@metriport/shared").USState.CA;
|
|
14
|
+
CO: import("@metriport/shared").USState.CO;
|
|
15
|
+
CT: import("@metriport/shared").USState.CT;
|
|
16
|
+
DE: import("@metriport/shared").USState.DE;
|
|
17
|
+
DC: import("@metriport/shared").USState.DC;
|
|
18
|
+
FL: import("@metriport/shared").USState.FL;
|
|
19
|
+
GA: import("@metriport/shared").USState.GA;
|
|
20
|
+
HI: import("@metriport/shared").USState.HI;
|
|
21
|
+
ID: import("@metriport/shared").USState.ID;
|
|
22
|
+
IL: import("@metriport/shared").USState.IL;
|
|
23
|
+
IN: import("@metriport/shared").USState.IN;
|
|
24
|
+
IA: import("@metriport/shared").USState.IA;
|
|
25
|
+
KS: import("@metriport/shared").USState.KS;
|
|
26
|
+
KY: import("@metriport/shared").USState.KY;
|
|
27
|
+
LA: import("@metriport/shared").USState.LA;
|
|
28
|
+
ME: import("@metriport/shared").USState.ME;
|
|
29
|
+
MD: import("@metriport/shared").USState.MD;
|
|
30
|
+
MA: import("@metriport/shared").USState.MA;
|
|
31
|
+
MI: import("@metriport/shared").USState.MI;
|
|
32
|
+
MN: import("@metriport/shared").USState.MN;
|
|
33
|
+
MS: import("@metriport/shared").USState.MS;
|
|
34
|
+
MO: import("@metriport/shared").USState.MO;
|
|
35
|
+
MT: import("@metriport/shared").USState.MT;
|
|
36
|
+
NE: import("@metriport/shared").USState.NE;
|
|
37
|
+
NV: import("@metriport/shared").USState.NV;
|
|
38
|
+
NH: import("@metriport/shared").USState.NH;
|
|
39
|
+
NJ: import("@metriport/shared").USState.NJ;
|
|
40
|
+
NM: import("@metriport/shared").USState.NM;
|
|
41
|
+
NY: import("@metriport/shared").USState.NY;
|
|
42
|
+
NC: import("@metriport/shared").USState.NC;
|
|
43
|
+
ND: import("@metriport/shared").USState.ND;
|
|
44
|
+
OH: import("@metriport/shared").USState.OH;
|
|
45
|
+
OK: import("@metriport/shared").USState.OK;
|
|
46
|
+
OR: import("@metriport/shared").USState.OR;
|
|
47
|
+
PA: import("@metriport/shared").USState.PA;
|
|
48
|
+
RI: import("@metriport/shared").USState.RI;
|
|
49
|
+
SC: import("@metriport/shared").USState.SC;
|
|
50
|
+
SD: import("@metriport/shared").USState.SD;
|
|
51
|
+
TN: import("@metriport/shared").USState.TN;
|
|
52
|
+
TX: import("@metriport/shared").USState.TX;
|
|
53
|
+
UT: import("@metriport/shared").USState.UT;
|
|
54
|
+
VT: import("@metriport/shared").USState.VT;
|
|
55
|
+
VA: import("@metriport/shared").USState.VA;
|
|
56
|
+
WA: import("@metriport/shared").USState.WA;
|
|
57
|
+
WV: import("@metriport/shared").USState.WV;
|
|
58
|
+
WI: import("@metriport/shared").USState.WI;
|
|
59
|
+
WY: import("@metriport/shared").USState.WY;
|
|
60
|
+
}>, import("@metriport/shared").USState, unknown>;
|
|
9
61
|
}, "strip", z.ZodTypeAny, {
|
|
10
62
|
type: "driversLicense";
|
|
11
|
-
state: import("
|
|
63
|
+
state: import("@metriport/shared").USState;
|
|
12
64
|
}, {
|
|
13
65
|
type: "driversLicense";
|
|
14
66
|
state?: unknown;
|
|
@@ -36,11 +88,63 @@ export declare const driverLicenseIdentifierWithBaseSchema: z.ZodObject<{
|
|
|
36
88
|
}>]>>;
|
|
37
89
|
assigner: z.ZodOptional<z.ZodString>;
|
|
38
90
|
type: z.ZodEnum<["driversLicense"]>;
|
|
39
|
-
state: z.ZodEffects<z.ZodNativeEnum<
|
|
91
|
+
state: z.ZodEffects<z.ZodNativeEnum<{
|
|
92
|
+
AL: import("@metriport/shared").USState.AL;
|
|
93
|
+
AK: import("@metriport/shared").USState.AK;
|
|
94
|
+
AZ: import("@metriport/shared").USState.AZ;
|
|
95
|
+
AR: import("@metriport/shared").USState.AR;
|
|
96
|
+
CA: import("@metriport/shared").USState.CA;
|
|
97
|
+
CO: import("@metriport/shared").USState.CO;
|
|
98
|
+
CT: import("@metriport/shared").USState.CT;
|
|
99
|
+
DE: import("@metriport/shared").USState.DE;
|
|
100
|
+
DC: import("@metriport/shared").USState.DC;
|
|
101
|
+
FL: import("@metriport/shared").USState.FL;
|
|
102
|
+
GA: import("@metriport/shared").USState.GA;
|
|
103
|
+
HI: import("@metriport/shared").USState.HI;
|
|
104
|
+
ID: import("@metriport/shared").USState.ID;
|
|
105
|
+
IL: import("@metriport/shared").USState.IL;
|
|
106
|
+
IN: import("@metriport/shared").USState.IN;
|
|
107
|
+
IA: import("@metriport/shared").USState.IA;
|
|
108
|
+
KS: import("@metriport/shared").USState.KS;
|
|
109
|
+
KY: import("@metriport/shared").USState.KY;
|
|
110
|
+
LA: import("@metriport/shared").USState.LA;
|
|
111
|
+
ME: import("@metriport/shared").USState.ME;
|
|
112
|
+
MD: import("@metriport/shared").USState.MD;
|
|
113
|
+
MA: import("@metriport/shared").USState.MA;
|
|
114
|
+
MI: import("@metriport/shared").USState.MI;
|
|
115
|
+
MN: import("@metriport/shared").USState.MN;
|
|
116
|
+
MS: import("@metriport/shared").USState.MS;
|
|
117
|
+
MO: import("@metriport/shared").USState.MO;
|
|
118
|
+
MT: import("@metriport/shared").USState.MT;
|
|
119
|
+
NE: import("@metriport/shared").USState.NE;
|
|
120
|
+
NV: import("@metriport/shared").USState.NV;
|
|
121
|
+
NH: import("@metriport/shared").USState.NH;
|
|
122
|
+
NJ: import("@metriport/shared").USState.NJ;
|
|
123
|
+
NM: import("@metriport/shared").USState.NM;
|
|
124
|
+
NY: import("@metriport/shared").USState.NY;
|
|
125
|
+
NC: import("@metriport/shared").USState.NC;
|
|
126
|
+
ND: import("@metriport/shared").USState.ND;
|
|
127
|
+
OH: import("@metriport/shared").USState.OH;
|
|
128
|
+
OK: import("@metriport/shared").USState.OK;
|
|
129
|
+
OR: import("@metriport/shared").USState.OR;
|
|
130
|
+
PA: import("@metriport/shared").USState.PA;
|
|
131
|
+
RI: import("@metriport/shared").USState.RI;
|
|
132
|
+
SC: import("@metriport/shared").USState.SC;
|
|
133
|
+
SD: import("@metriport/shared").USState.SD;
|
|
134
|
+
TN: import("@metriport/shared").USState.TN;
|
|
135
|
+
TX: import("@metriport/shared").USState.TX;
|
|
136
|
+
UT: import("@metriport/shared").USState.UT;
|
|
137
|
+
VT: import("@metriport/shared").USState.VT;
|
|
138
|
+
VA: import("@metriport/shared").USState.VA;
|
|
139
|
+
WA: import("@metriport/shared").USState.WA;
|
|
140
|
+
WV: import("@metriport/shared").USState.WV;
|
|
141
|
+
WI: import("@metriport/shared").USState.WI;
|
|
142
|
+
WY: import("@metriport/shared").USState.WY;
|
|
143
|
+
}>, import("@metriport/shared").USState, unknown>;
|
|
40
144
|
}, "strip", z.ZodTypeAny, {
|
|
41
145
|
type: "driversLicense";
|
|
42
146
|
value: string;
|
|
43
|
-
state: import("
|
|
147
|
+
state: import("@metriport/shared").USState;
|
|
44
148
|
period?: {
|
|
45
149
|
start: string;
|
|
46
150
|
end?: string | undefined;
|
|
@@ -140,11 +244,63 @@ export declare const personalIdentifierSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
140
244
|
}>]>>;
|
|
141
245
|
assigner: z.ZodOptional<z.ZodString>;
|
|
142
246
|
type: z.ZodEnum<["driversLicense"]>;
|
|
143
|
-
state: z.ZodEffects<z.ZodNativeEnum<
|
|
247
|
+
state: z.ZodEffects<z.ZodNativeEnum<{
|
|
248
|
+
AL: import("@metriport/shared").USState.AL;
|
|
249
|
+
AK: import("@metriport/shared").USState.AK;
|
|
250
|
+
AZ: import("@metriport/shared").USState.AZ;
|
|
251
|
+
AR: import("@metriport/shared").USState.AR;
|
|
252
|
+
CA: import("@metriport/shared").USState.CA;
|
|
253
|
+
CO: import("@metriport/shared").USState.CO;
|
|
254
|
+
CT: import("@metriport/shared").USState.CT;
|
|
255
|
+
DE: import("@metriport/shared").USState.DE;
|
|
256
|
+
DC: import("@metriport/shared").USState.DC;
|
|
257
|
+
FL: import("@metriport/shared").USState.FL;
|
|
258
|
+
GA: import("@metriport/shared").USState.GA;
|
|
259
|
+
HI: import("@metriport/shared").USState.HI;
|
|
260
|
+
ID: import("@metriport/shared").USState.ID;
|
|
261
|
+
IL: import("@metriport/shared").USState.IL;
|
|
262
|
+
IN: import("@metriport/shared").USState.IN;
|
|
263
|
+
IA: import("@metriport/shared").USState.IA;
|
|
264
|
+
KS: import("@metriport/shared").USState.KS;
|
|
265
|
+
KY: import("@metriport/shared").USState.KY;
|
|
266
|
+
LA: import("@metriport/shared").USState.LA;
|
|
267
|
+
ME: import("@metriport/shared").USState.ME;
|
|
268
|
+
MD: import("@metriport/shared").USState.MD;
|
|
269
|
+
MA: import("@metriport/shared").USState.MA;
|
|
270
|
+
MI: import("@metriport/shared").USState.MI;
|
|
271
|
+
MN: import("@metriport/shared").USState.MN;
|
|
272
|
+
MS: import("@metriport/shared").USState.MS;
|
|
273
|
+
MO: import("@metriport/shared").USState.MO;
|
|
274
|
+
MT: import("@metriport/shared").USState.MT;
|
|
275
|
+
NE: import("@metriport/shared").USState.NE;
|
|
276
|
+
NV: import("@metriport/shared").USState.NV;
|
|
277
|
+
NH: import("@metriport/shared").USState.NH;
|
|
278
|
+
NJ: import("@metriport/shared").USState.NJ;
|
|
279
|
+
NM: import("@metriport/shared").USState.NM;
|
|
280
|
+
NY: import("@metriport/shared").USState.NY;
|
|
281
|
+
NC: import("@metriport/shared").USState.NC;
|
|
282
|
+
ND: import("@metriport/shared").USState.ND;
|
|
283
|
+
OH: import("@metriport/shared").USState.OH;
|
|
284
|
+
OK: import("@metriport/shared").USState.OK;
|
|
285
|
+
OR: import("@metriport/shared").USState.OR;
|
|
286
|
+
PA: import("@metriport/shared").USState.PA;
|
|
287
|
+
RI: import("@metriport/shared").USState.RI;
|
|
288
|
+
SC: import("@metriport/shared").USState.SC;
|
|
289
|
+
SD: import("@metriport/shared").USState.SD;
|
|
290
|
+
TN: import("@metriport/shared").USState.TN;
|
|
291
|
+
TX: import("@metriport/shared").USState.TX;
|
|
292
|
+
UT: import("@metriport/shared").USState.UT;
|
|
293
|
+
VT: import("@metriport/shared").USState.VT;
|
|
294
|
+
VA: import("@metriport/shared").USState.VA;
|
|
295
|
+
WA: import("@metriport/shared").USState.WA;
|
|
296
|
+
WV: import("@metriport/shared").USState.WV;
|
|
297
|
+
WI: import("@metriport/shared").USState.WI;
|
|
298
|
+
WY: import("@metriport/shared").USState.WY;
|
|
299
|
+
}>, import("@metriport/shared").USState, unknown>;
|
|
144
300
|
}, "strip", z.ZodTypeAny, {
|
|
145
301
|
type: "driversLicense";
|
|
146
302
|
value: string;
|
|
147
|
-
state: import("
|
|
303
|
+
state: import("@metriport/shared").USState;
|
|
148
304
|
period?: {
|
|
149
305
|
start: string;
|
|
150
306
|
end?: string | undefined;
|
|
@@ -259,11 +415,63 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
259
415
|
}>]>>;
|
|
260
416
|
assigner: z.ZodOptional<z.ZodString>;
|
|
261
417
|
type: z.ZodEnum<["driversLicense"]>;
|
|
262
|
-
state: z.ZodEffects<z.ZodNativeEnum<
|
|
418
|
+
state: z.ZodEffects<z.ZodNativeEnum<{
|
|
419
|
+
AL: import("@metriport/shared").USState.AL;
|
|
420
|
+
AK: import("@metriport/shared").USState.AK;
|
|
421
|
+
AZ: import("@metriport/shared").USState.AZ;
|
|
422
|
+
AR: import("@metriport/shared").USState.AR;
|
|
423
|
+
CA: import("@metriport/shared").USState.CA;
|
|
424
|
+
CO: import("@metriport/shared").USState.CO;
|
|
425
|
+
CT: import("@metriport/shared").USState.CT;
|
|
426
|
+
DE: import("@metriport/shared").USState.DE;
|
|
427
|
+
DC: import("@metriport/shared").USState.DC;
|
|
428
|
+
FL: import("@metriport/shared").USState.FL;
|
|
429
|
+
GA: import("@metriport/shared").USState.GA;
|
|
430
|
+
HI: import("@metriport/shared").USState.HI;
|
|
431
|
+
ID: import("@metriport/shared").USState.ID;
|
|
432
|
+
IL: import("@metriport/shared").USState.IL;
|
|
433
|
+
IN: import("@metriport/shared").USState.IN;
|
|
434
|
+
IA: import("@metriport/shared").USState.IA;
|
|
435
|
+
KS: import("@metriport/shared").USState.KS;
|
|
436
|
+
KY: import("@metriport/shared").USState.KY;
|
|
437
|
+
LA: import("@metriport/shared").USState.LA;
|
|
438
|
+
ME: import("@metriport/shared").USState.ME;
|
|
439
|
+
MD: import("@metriport/shared").USState.MD;
|
|
440
|
+
MA: import("@metriport/shared").USState.MA;
|
|
441
|
+
MI: import("@metriport/shared").USState.MI;
|
|
442
|
+
MN: import("@metriport/shared").USState.MN;
|
|
443
|
+
MS: import("@metriport/shared").USState.MS;
|
|
444
|
+
MO: import("@metriport/shared").USState.MO;
|
|
445
|
+
MT: import("@metriport/shared").USState.MT;
|
|
446
|
+
NE: import("@metriport/shared").USState.NE;
|
|
447
|
+
NV: import("@metriport/shared").USState.NV;
|
|
448
|
+
NH: import("@metriport/shared").USState.NH;
|
|
449
|
+
NJ: import("@metriport/shared").USState.NJ;
|
|
450
|
+
NM: import("@metriport/shared").USState.NM;
|
|
451
|
+
NY: import("@metriport/shared").USState.NY;
|
|
452
|
+
NC: import("@metriport/shared").USState.NC;
|
|
453
|
+
ND: import("@metriport/shared").USState.ND;
|
|
454
|
+
OH: import("@metriport/shared").USState.OH;
|
|
455
|
+
OK: import("@metriport/shared").USState.OK;
|
|
456
|
+
OR: import("@metriport/shared").USState.OR;
|
|
457
|
+
PA: import("@metriport/shared").USState.PA;
|
|
458
|
+
RI: import("@metriport/shared").USState.RI;
|
|
459
|
+
SC: import("@metriport/shared").USState.SC;
|
|
460
|
+
SD: import("@metriport/shared").USState.SD;
|
|
461
|
+
TN: import("@metriport/shared").USState.TN;
|
|
462
|
+
TX: import("@metriport/shared").USState.TX;
|
|
463
|
+
UT: import("@metriport/shared").USState.UT;
|
|
464
|
+
VT: import("@metriport/shared").USState.VT;
|
|
465
|
+
VA: import("@metriport/shared").USState.VA;
|
|
466
|
+
WA: import("@metriport/shared").USState.WA;
|
|
467
|
+
WV: import("@metriport/shared").USState.WV;
|
|
468
|
+
WI: import("@metriport/shared").USState.WI;
|
|
469
|
+
WY: import("@metriport/shared").USState.WY;
|
|
470
|
+
}>, import("@metriport/shared").USState, unknown>;
|
|
263
471
|
}, "strip", z.ZodTypeAny, {
|
|
264
472
|
type: "driversLicense";
|
|
265
473
|
value: string;
|
|
266
|
-
state: import("
|
|
474
|
+
state: import("@metriport/shared").USState;
|
|
267
475
|
period?: {
|
|
268
476
|
start: string;
|
|
269
477
|
end?: string | undefined;
|
|
@@ -334,7 +542,59 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
334
542
|
addressLine1: z.ZodString;
|
|
335
543
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
336
544
|
city: z.ZodString;
|
|
337
|
-
state: z.ZodEffects<z.ZodNativeEnum<
|
|
545
|
+
state: z.ZodEffects<z.ZodNativeEnum<{
|
|
546
|
+
AL: import("@metriport/shared").USState.AL;
|
|
547
|
+
AK: import("@metriport/shared").USState.AK;
|
|
548
|
+
AZ: import("@metriport/shared").USState.AZ;
|
|
549
|
+
AR: import("@metriport/shared").USState.AR;
|
|
550
|
+
CA: import("@metriport/shared").USState.CA;
|
|
551
|
+
CO: import("@metriport/shared").USState.CO;
|
|
552
|
+
CT: import("@metriport/shared").USState.CT;
|
|
553
|
+
DE: import("@metriport/shared").USState.DE;
|
|
554
|
+
DC: import("@metriport/shared").USState.DC;
|
|
555
|
+
FL: import("@metriport/shared").USState.FL;
|
|
556
|
+
GA: import("@metriport/shared").USState.GA;
|
|
557
|
+
HI: import("@metriport/shared").USState.HI;
|
|
558
|
+
ID: import("@metriport/shared").USState.ID;
|
|
559
|
+
IL: import("@metriport/shared").USState.IL;
|
|
560
|
+
IN: import("@metriport/shared").USState.IN;
|
|
561
|
+
IA: import("@metriport/shared").USState.IA;
|
|
562
|
+
KS: import("@metriport/shared").USState.KS;
|
|
563
|
+
KY: import("@metriport/shared").USState.KY;
|
|
564
|
+
LA: import("@metriport/shared").USState.LA;
|
|
565
|
+
ME: import("@metriport/shared").USState.ME;
|
|
566
|
+
MD: import("@metriport/shared").USState.MD;
|
|
567
|
+
MA: import("@metriport/shared").USState.MA;
|
|
568
|
+
MI: import("@metriport/shared").USState.MI;
|
|
569
|
+
MN: import("@metriport/shared").USState.MN;
|
|
570
|
+
MS: import("@metriport/shared").USState.MS;
|
|
571
|
+
MO: import("@metriport/shared").USState.MO;
|
|
572
|
+
MT: import("@metriport/shared").USState.MT;
|
|
573
|
+
NE: import("@metriport/shared").USState.NE;
|
|
574
|
+
NV: import("@metriport/shared").USState.NV;
|
|
575
|
+
NH: import("@metriport/shared").USState.NH;
|
|
576
|
+
NJ: import("@metriport/shared").USState.NJ;
|
|
577
|
+
NM: import("@metriport/shared").USState.NM;
|
|
578
|
+
NY: import("@metriport/shared").USState.NY;
|
|
579
|
+
NC: import("@metriport/shared").USState.NC;
|
|
580
|
+
ND: import("@metriport/shared").USState.ND;
|
|
581
|
+
OH: import("@metriport/shared").USState.OH;
|
|
582
|
+
OK: import("@metriport/shared").USState.OK;
|
|
583
|
+
OR: import("@metriport/shared").USState.OR;
|
|
584
|
+
PA: import("@metriport/shared").USState.PA;
|
|
585
|
+
RI: import("@metriport/shared").USState.RI;
|
|
586
|
+
SC: import("@metriport/shared").USState.SC;
|
|
587
|
+
SD: import("@metriport/shared").USState.SD;
|
|
588
|
+
TN: import("@metriport/shared").USState.TN;
|
|
589
|
+
TX: import("@metriport/shared").USState.TX;
|
|
590
|
+
UT: import("@metriport/shared").USState.UT;
|
|
591
|
+
VT: import("@metriport/shared").USState.VT;
|
|
592
|
+
VA: import("@metriport/shared").USState.VA;
|
|
593
|
+
WA: import("@metriport/shared").USState.WA;
|
|
594
|
+
WV: import("@metriport/shared").USState.WV;
|
|
595
|
+
WI: import("@metriport/shared").USState.WI;
|
|
596
|
+
WY: import("@metriport/shared").USState.WY;
|
|
597
|
+
}>, import("@metriport/shared").USState, unknown>;
|
|
338
598
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
339
599
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
340
600
|
lat: z.ZodNumber;
|
|
@@ -350,7 +610,7 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
350
610
|
}, "strip", z.ZodTypeAny, {
|
|
351
611
|
addressLine1: string;
|
|
352
612
|
city: string;
|
|
353
|
-
state: import("
|
|
613
|
+
state: import("@metriport/shared").USState;
|
|
354
614
|
zip: string;
|
|
355
615
|
country: "USA";
|
|
356
616
|
addressLine2?: string | undefined;
|
|
@@ -373,7 +633,59 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
373
633
|
addressLine1: z.ZodString;
|
|
374
634
|
addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
375
635
|
city: z.ZodString;
|
|
376
|
-
state: z.ZodEffects<z.ZodNativeEnum<
|
|
636
|
+
state: z.ZodEffects<z.ZodNativeEnum<{
|
|
637
|
+
AL: import("@metriport/shared").USState.AL;
|
|
638
|
+
AK: import("@metriport/shared").USState.AK;
|
|
639
|
+
AZ: import("@metriport/shared").USState.AZ;
|
|
640
|
+
AR: import("@metriport/shared").USState.AR;
|
|
641
|
+
CA: import("@metriport/shared").USState.CA;
|
|
642
|
+
CO: import("@metriport/shared").USState.CO;
|
|
643
|
+
CT: import("@metriport/shared").USState.CT;
|
|
644
|
+
DE: import("@metriport/shared").USState.DE;
|
|
645
|
+
DC: import("@metriport/shared").USState.DC;
|
|
646
|
+
FL: import("@metriport/shared").USState.FL;
|
|
647
|
+
GA: import("@metriport/shared").USState.GA;
|
|
648
|
+
HI: import("@metriport/shared").USState.HI;
|
|
649
|
+
ID: import("@metriport/shared").USState.ID;
|
|
650
|
+
IL: import("@metriport/shared").USState.IL;
|
|
651
|
+
IN: import("@metriport/shared").USState.IN;
|
|
652
|
+
IA: import("@metriport/shared").USState.IA;
|
|
653
|
+
KS: import("@metriport/shared").USState.KS;
|
|
654
|
+
KY: import("@metriport/shared").USState.KY;
|
|
655
|
+
LA: import("@metriport/shared").USState.LA;
|
|
656
|
+
ME: import("@metriport/shared").USState.ME;
|
|
657
|
+
MD: import("@metriport/shared").USState.MD;
|
|
658
|
+
MA: import("@metriport/shared").USState.MA;
|
|
659
|
+
MI: import("@metriport/shared").USState.MI;
|
|
660
|
+
MN: import("@metriport/shared").USState.MN;
|
|
661
|
+
MS: import("@metriport/shared").USState.MS;
|
|
662
|
+
MO: import("@metriport/shared").USState.MO;
|
|
663
|
+
MT: import("@metriport/shared").USState.MT;
|
|
664
|
+
NE: import("@metriport/shared").USState.NE;
|
|
665
|
+
NV: import("@metriport/shared").USState.NV;
|
|
666
|
+
NH: import("@metriport/shared").USState.NH;
|
|
667
|
+
NJ: import("@metriport/shared").USState.NJ;
|
|
668
|
+
NM: import("@metriport/shared").USState.NM;
|
|
669
|
+
NY: import("@metriport/shared").USState.NY;
|
|
670
|
+
NC: import("@metriport/shared").USState.NC;
|
|
671
|
+
ND: import("@metriport/shared").USState.ND;
|
|
672
|
+
OH: import("@metriport/shared").USState.OH;
|
|
673
|
+
OK: import("@metriport/shared").USState.OK;
|
|
674
|
+
OR: import("@metriport/shared").USState.OR;
|
|
675
|
+
PA: import("@metriport/shared").USState.PA;
|
|
676
|
+
RI: import("@metriport/shared").USState.RI;
|
|
677
|
+
SC: import("@metriport/shared").USState.SC;
|
|
678
|
+
SD: import("@metriport/shared").USState.SD;
|
|
679
|
+
TN: import("@metriport/shared").USState.TN;
|
|
680
|
+
TX: import("@metriport/shared").USState.TX;
|
|
681
|
+
UT: import("@metriport/shared").USState.UT;
|
|
682
|
+
VT: import("@metriport/shared").USState.VT;
|
|
683
|
+
VA: import("@metriport/shared").USState.VA;
|
|
684
|
+
WA: import("@metriport/shared").USState.WA;
|
|
685
|
+
WV: import("@metriport/shared").USState.WV;
|
|
686
|
+
WI: import("@metriport/shared").USState.WI;
|
|
687
|
+
WY: import("@metriport/shared").USState.WY;
|
|
688
|
+
}>, import("@metriport/shared").USState, unknown>;
|
|
377
689
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
378
690
|
coordinates: z.ZodOptional<z.ZodObject<{
|
|
379
691
|
lat: z.ZodNumber;
|
|
@@ -389,7 +701,7 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
389
701
|
}, "strip", z.ZodTypeAny, {
|
|
390
702
|
addressLine1: string;
|
|
391
703
|
city: string;
|
|
392
|
-
state: import("
|
|
704
|
+
state: import("@metriport/shared").USState;
|
|
393
705
|
zip: string;
|
|
394
706
|
country: "USA";
|
|
395
707
|
addressLine2?: string | undefined;
|
|
@@ -448,7 +760,7 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
448
760
|
address: ({
|
|
449
761
|
addressLine1: string;
|
|
450
762
|
city: string;
|
|
451
|
-
state: import("
|
|
763
|
+
state: import("@metriport/shared").USState;
|
|
452
764
|
zip: string;
|
|
453
765
|
country: "USA";
|
|
454
766
|
addressLine2?: string | undefined;
|
|
@@ -459,7 +771,7 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
459
771
|
} | [{
|
|
460
772
|
addressLine1: string;
|
|
461
773
|
city: string;
|
|
462
|
-
state: import("
|
|
774
|
+
state: import("@metriport/shared").USState;
|
|
463
775
|
zip: string;
|
|
464
776
|
country: "USA";
|
|
465
777
|
addressLine2?: string | undefined;
|
|
@@ -470,7 +782,7 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
470
782
|
}, ...{
|
|
471
783
|
addressLine1: string;
|
|
472
784
|
city: string;
|
|
473
|
-
state: import("
|
|
785
|
+
state: import("@metriport/shared").USState;
|
|
474
786
|
zip: string;
|
|
475
787
|
country: "USA";
|
|
476
788
|
addressLine2?: string | undefined;
|
|
@@ -481,7 +793,7 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
481
793
|
}[]]) & ({
|
|
482
794
|
addressLine1: string;
|
|
483
795
|
city: string;
|
|
484
|
-
state: import("
|
|
796
|
+
state: import("@metriport/shared").USState;
|
|
485
797
|
zip: string;
|
|
486
798
|
country: "USA";
|
|
487
799
|
addressLine2?: string | undefined;
|
|
@@ -492,7 +804,7 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
492
804
|
} | [{
|
|
493
805
|
addressLine1: string;
|
|
494
806
|
city: string;
|
|
495
|
-
state: import("
|
|
807
|
+
state: import("@metriport/shared").USState;
|
|
496
808
|
zip: string;
|
|
497
809
|
country: "USA";
|
|
498
810
|
addressLine2?: string | undefined;
|
|
@@ -503,7 +815,7 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
503
815
|
}, ...{
|
|
504
816
|
addressLine1: string;
|
|
505
817
|
city: string;
|
|
506
|
-
state: import("
|
|
818
|
+
state: import("@metriport/shared").USState;
|
|
507
819
|
zip: string;
|
|
508
820
|
country: "USA";
|
|
509
821
|
addressLine2?: string | undefined;
|
|
@@ -515,7 +827,7 @@ export declare const demographicsSchema: z.ZodObject<{
|
|
|
515
827
|
personalIdentifiers?: ({
|
|
516
828
|
type: "driversLicense";
|
|
517
829
|
value: string;
|
|
518
|
-
state: import("
|
|
830
|
+
state: import("@metriport/shared").USState;
|
|
519
831
|
period?: {
|
|
520
832
|
start: string;
|
|
521
833
|
end?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"demographics.d.ts","sourceRoot":"","sources":["../../../src/medical/models/demographics.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,0BAA0B,kBAAmB,CAAC;AAC3D,eAAO,MAAM,gCAAgC,6BAA8B,CAAC;AAC5E,MAAM,MAAM,0BAA0B,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AACrF,MAAM,MAAM,gCAAgC,GAAG,CAAC,OAAO,gCAAgC,CAAC,CAAC,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