@metriport/api-sdk 7.11.1-alpha.1 → 7.11.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.
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/medical/client/metriport.d.ts +3 -20
- package/dist/medical/client/metriport.d.ts.map +1 -1
- package/dist/medical/client/metriport.js +1 -26
- package/dist/medical/client/metriport.js.map +1 -1
- package/dist/medical/models/common/address.d.ts +28 -0
- package/dist/medical/models/common/address.d.ts.map +1 -1
- package/dist/medical/models/common/address.js +6 -1
- package/dist/medical/models/common/address.js.map +1 -1
- package/dist/medical/models/demographics.d.ts +68 -0
- package/dist/medical/models/demographics.d.ts.map +1 -1
- package/dist/medical/models/document.d.ts +0 -5
- package/dist/medical/models/document.d.ts.map +1 -1
- package/dist/medical/models/facility.d.ts +86 -0
- package/dist/medical/models/facility.d.ts.map +1 -1
- package/dist/medical/models/organization.d.ts +52 -0
- package/dist/medical/models/organization.d.ts.map +1 -1
- package/dist/medical/models/patient.d.ts +304 -0
- package/dist/medical/models/patient.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -6,6 +6,16 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
6
6
|
city: z.ZodString;
|
|
7
7
|
state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
|
|
8
8
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
9
|
+
coordinates: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
lat: z.ZodNumber;
|
|
11
|
+
lon: z.ZodNumber;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
lat: number;
|
|
14
|
+
lon: number;
|
|
15
|
+
}, {
|
|
16
|
+
lat: number;
|
|
17
|
+
lon: number;
|
|
18
|
+
}>>;
|
|
9
19
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
10
20
|
}, "strip", z.ZodTypeAny, {
|
|
11
21
|
addressLine1: string;
|
|
@@ -14,12 +24,20 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
14
24
|
zip: string;
|
|
15
25
|
country: "USA";
|
|
16
26
|
addressLine2?: string | undefined;
|
|
27
|
+
coordinates?: {
|
|
28
|
+
lat: number;
|
|
29
|
+
lon: number;
|
|
30
|
+
} | undefined;
|
|
17
31
|
}, {
|
|
18
32
|
addressLine1: string;
|
|
19
33
|
city: string;
|
|
20
34
|
zip: string;
|
|
21
35
|
addressLine2?: string | undefined;
|
|
22
36
|
state?: unknown;
|
|
37
|
+
coordinates?: {
|
|
38
|
+
lat: number;
|
|
39
|
+
lon: number;
|
|
40
|
+
} | undefined;
|
|
23
41
|
country?: "USA" | undefined;
|
|
24
42
|
}>, "many">, z.ZodObject<{
|
|
25
43
|
addressLine1: z.ZodString;
|
|
@@ -27,6 +45,16 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
27
45
|
city: z.ZodString;
|
|
28
46
|
state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
|
|
29
47
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
48
|
+
coordinates: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
lat: z.ZodNumber;
|
|
50
|
+
lon: z.ZodNumber;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
lat: number;
|
|
53
|
+
lon: number;
|
|
54
|
+
}, {
|
|
55
|
+
lat: number;
|
|
56
|
+
lon: number;
|
|
57
|
+
}>>;
|
|
30
58
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
31
59
|
}, "strip", z.ZodTypeAny, {
|
|
32
60
|
addressLine1: string;
|
|
@@ -35,12 +63,20 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
35
63
|
zip: string;
|
|
36
64
|
country: "USA";
|
|
37
65
|
addressLine2?: string | undefined;
|
|
66
|
+
coordinates?: {
|
|
67
|
+
lat: number;
|
|
68
|
+
lon: number;
|
|
69
|
+
} | undefined;
|
|
38
70
|
}, {
|
|
39
71
|
addressLine1: string;
|
|
40
72
|
city: string;
|
|
41
73
|
zip: string;
|
|
42
74
|
addressLine2?: string | undefined;
|
|
43
75
|
state?: unknown;
|
|
76
|
+
coordinates?: {
|
|
77
|
+
lat: number;
|
|
78
|
+
lon: number;
|
|
79
|
+
} | undefined;
|
|
44
80
|
country?: "USA" | undefined;
|
|
45
81
|
}>]>;
|
|
46
82
|
firstName: z.ZodString;
|
|
@@ -136,6 +172,10 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
136
172
|
zip: string;
|
|
137
173
|
country: "USA";
|
|
138
174
|
addressLine2?: string | undefined;
|
|
175
|
+
coordinates?: {
|
|
176
|
+
lat: number;
|
|
177
|
+
lon: number;
|
|
178
|
+
} | undefined;
|
|
139
179
|
} | {
|
|
140
180
|
addressLine1: string;
|
|
141
181
|
city: string;
|
|
@@ -143,6 +183,10 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
143
183
|
zip: string;
|
|
144
184
|
country: "USA";
|
|
145
185
|
addressLine2?: string | undefined;
|
|
186
|
+
coordinates?: {
|
|
187
|
+
lat: number;
|
|
188
|
+
lon: number;
|
|
189
|
+
} | undefined;
|
|
146
190
|
}[]) & ({
|
|
147
191
|
addressLine1: string;
|
|
148
192
|
city: string;
|
|
@@ -150,6 +194,10 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
150
194
|
zip: string;
|
|
151
195
|
country: "USA";
|
|
152
196
|
addressLine2?: string | undefined;
|
|
197
|
+
coordinates?: {
|
|
198
|
+
lat: number;
|
|
199
|
+
lon: number;
|
|
200
|
+
} | undefined;
|
|
153
201
|
} | {
|
|
154
202
|
addressLine1: string;
|
|
155
203
|
city: string;
|
|
@@ -157,6 +205,10 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
157
205
|
zip: string;
|
|
158
206
|
country: "USA";
|
|
159
207
|
addressLine2?: string | undefined;
|
|
208
|
+
coordinates?: {
|
|
209
|
+
lat: number;
|
|
210
|
+
lon: number;
|
|
211
|
+
} | undefined;
|
|
160
212
|
}[] | undefined);
|
|
161
213
|
firstName: string;
|
|
162
214
|
lastName: string;
|
|
@@ -190,6 +242,10 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
190
242
|
zip: string;
|
|
191
243
|
addressLine2?: string | undefined;
|
|
192
244
|
state?: unknown;
|
|
245
|
+
coordinates?: {
|
|
246
|
+
lat: number;
|
|
247
|
+
lon: number;
|
|
248
|
+
} | undefined;
|
|
193
249
|
country?: "USA" | undefined;
|
|
194
250
|
} | {
|
|
195
251
|
addressLine1: string;
|
|
@@ -197,6 +253,10 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
197
253
|
zip: string;
|
|
198
254
|
addressLine2?: string | undefined;
|
|
199
255
|
state?: unknown;
|
|
256
|
+
coordinates?: {
|
|
257
|
+
lat: number;
|
|
258
|
+
lon: number;
|
|
259
|
+
} | undefined;
|
|
200
260
|
country?: "USA" | undefined;
|
|
201
261
|
}[]) & ({
|
|
202
262
|
addressLine1: string;
|
|
@@ -204,6 +264,10 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
204
264
|
zip: string;
|
|
205
265
|
addressLine2?: string | undefined;
|
|
206
266
|
state?: unknown;
|
|
267
|
+
coordinates?: {
|
|
268
|
+
lat: number;
|
|
269
|
+
lon: number;
|
|
270
|
+
} | undefined;
|
|
207
271
|
country?: "USA" | undefined;
|
|
208
272
|
} | {
|
|
209
273
|
addressLine1: string;
|
|
@@ -211,6 +275,10 @@ export declare const patientCreateSchema: z.ZodObject<{
|
|
|
211
275
|
zip: string;
|
|
212
276
|
addressLine2?: string | undefined;
|
|
213
277
|
state?: unknown;
|
|
278
|
+
coordinates?: {
|
|
279
|
+
lat: number;
|
|
280
|
+
lon: number;
|
|
281
|
+
} | undefined;
|
|
214
282
|
country?: "USA" | undefined;
|
|
215
283
|
}[] | undefined);
|
|
216
284
|
firstName: string;
|
|
@@ -247,6 +315,16 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
247
315
|
city: z.ZodString;
|
|
248
316
|
state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
|
|
249
317
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
318
|
+
coordinates: z.ZodOptional<z.ZodObject<{
|
|
319
|
+
lat: z.ZodNumber;
|
|
320
|
+
lon: z.ZodNumber;
|
|
321
|
+
}, "strip", z.ZodTypeAny, {
|
|
322
|
+
lat: number;
|
|
323
|
+
lon: number;
|
|
324
|
+
}, {
|
|
325
|
+
lat: number;
|
|
326
|
+
lon: number;
|
|
327
|
+
}>>;
|
|
250
328
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
251
329
|
}, "strip", z.ZodTypeAny, {
|
|
252
330
|
addressLine1: string;
|
|
@@ -255,12 +333,20 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
255
333
|
zip: string;
|
|
256
334
|
country: "USA";
|
|
257
335
|
addressLine2?: string | undefined;
|
|
336
|
+
coordinates?: {
|
|
337
|
+
lat: number;
|
|
338
|
+
lon: number;
|
|
339
|
+
} | undefined;
|
|
258
340
|
}, {
|
|
259
341
|
addressLine1: string;
|
|
260
342
|
city: string;
|
|
261
343
|
zip: string;
|
|
262
344
|
addressLine2?: string | undefined;
|
|
263
345
|
state?: unknown;
|
|
346
|
+
coordinates?: {
|
|
347
|
+
lat: number;
|
|
348
|
+
lon: number;
|
|
349
|
+
} | undefined;
|
|
264
350
|
country?: "USA" | undefined;
|
|
265
351
|
}>, "many">, z.ZodObject<{
|
|
266
352
|
addressLine1: z.ZodString;
|
|
@@ -268,6 +354,16 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
268
354
|
city: z.ZodString;
|
|
269
355
|
state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
|
|
270
356
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
357
|
+
coordinates: z.ZodOptional<z.ZodObject<{
|
|
358
|
+
lat: z.ZodNumber;
|
|
359
|
+
lon: z.ZodNumber;
|
|
360
|
+
}, "strip", z.ZodTypeAny, {
|
|
361
|
+
lat: number;
|
|
362
|
+
lon: number;
|
|
363
|
+
}, {
|
|
364
|
+
lat: number;
|
|
365
|
+
lon: number;
|
|
366
|
+
}>>;
|
|
271
367
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
272
368
|
}, "strip", z.ZodTypeAny, {
|
|
273
369
|
addressLine1: string;
|
|
@@ -276,12 +372,20 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
276
372
|
zip: string;
|
|
277
373
|
country: "USA";
|
|
278
374
|
addressLine2?: string | undefined;
|
|
375
|
+
coordinates?: {
|
|
376
|
+
lat: number;
|
|
377
|
+
lon: number;
|
|
378
|
+
} | undefined;
|
|
279
379
|
}, {
|
|
280
380
|
addressLine1: string;
|
|
281
381
|
city: string;
|
|
282
382
|
zip: string;
|
|
283
383
|
addressLine2?: string | undefined;
|
|
284
384
|
state?: unknown;
|
|
385
|
+
coordinates?: {
|
|
386
|
+
lat: number;
|
|
387
|
+
lon: number;
|
|
388
|
+
} | undefined;
|
|
285
389
|
country?: "USA" | undefined;
|
|
286
390
|
}>]>;
|
|
287
391
|
firstName: z.ZodString;
|
|
@@ -380,6 +484,10 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
380
484
|
zip: string;
|
|
381
485
|
country: "USA";
|
|
382
486
|
addressLine2?: string | undefined;
|
|
487
|
+
coordinates?: {
|
|
488
|
+
lat: number;
|
|
489
|
+
lon: number;
|
|
490
|
+
} | undefined;
|
|
383
491
|
} | {
|
|
384
492
|
addressLine1: string;
|
|
385
493
|
city: string;
|
|
@@ -387,6 +495,10 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
387
495
|
zip: string;
|
|
388
496
|
country: "USA";
|
|
389
497
|
addressLine2?: string | undefined;
|
|
498
|
+
coordinates?: {
|
|
499
|
+
lat: number;
|
|
500
|
+
lon: number;
|
|
501
|
+
} | undefined;
|
|
390
502
|
}[]) & ({
|
|
391
503
|
addressLine1: string;
|
|
392
504
|
city: string;
|
|
@@ -394,6 +506,10 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
394
506
|
zip: string;
|
|
395
507
|
country: "USA";
|
|
396
508
|
addressLine2?: string | undefined;
|
|
509
|
+
coordinates?: {
|
|
510
|
+
lat: number;
|
|
511
|
+
lon: number;
|
|
512
|
+
} | undefined;
|
|
397
513
|
} | {
|
|
398
514
|
addressLine1: string;
|
|
399
515
|
city: string;
|
|
@@ -401,6 +517,10 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
401
517
|
zip: string;
|
|
402
518
|
country: "USA";
|
|
403
519
|
addressLine2?: string | undefined;
|
|
520
|
+
coordinates?: {
|
|
521
|
+
lat: number;
|
|
522
|
+
lon: number;
|
|
523
|
+
} | undefined;
|
|
404
524
|
}[] | undefined);
|
|
405
525
|
firstName: string;
|
|
406
526
|
lastName: string;
|
|
@@ -436,6 +556,10 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
436
556
|
zip: string;
|
|
437
557
|
addressLine2?: string | undefined;
|
|
438
558
|
state?: unknown;
|
|
559
|
+
coordinates?: {
|
|
560
|
+
lat: number;
|
|
561
|
+
lon: number;
|
|
562
|
+
} | undefined;
|
|
439
563
|
country?: "USA" | undefined;
|
|
440
564
|
} | {
|
|
441
565
|
addressLine1: string;
|
|
@@ -443,6 +567,10 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
443
567
|
zip: string;
|
|
444
568
|
addressLine2?: string | undefined;
|
|
445
569
|
state?: unknown;
|
|
570
|
+
coordinates?: {
|
|
571
|
+
lat: number;
|
|
572
|
+
lon: number;
|
|
573
|
+
} | undefined;
|
|
446
574
|
country?: "USA" | undefined;
|
|
447
575
|
}[]) & ({
|
|
448
576
|
addressLine1: string;
|
|
@@ -450,6 +578,10 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
450
578
|
zip: string;
|
|
451
579
|
addressLine2?: string | undefined;
|
|
452
580
|
state?: unknown;
|
|
581
|
+
coordinates?: {
|
|
582
|
+
lat: number;
|
|
583
|
+
lon: number;
|
|
584
|
+
} | undefined;
|
|
453
585
|
country?: "USA" | undefined;
|
|
454
586
|
} | {
|
|
455
587
|
addressLine1: string;
|
|
@@ -457,6 +589,10 @@ export declare const patientUpdateSchema: z.ZodObject<{
|
|
|
457
589
|
zip: string;
|
|
458
590
|
addressLine2?: string | undefined;
|
|
459
591
|
state?: unknown;
|
|
592
|
+
coordinates?: {
|
|
593
|
+
lat: number;
|
|
594
|
+
lon: number;
|
|
595
|
+
} | undefined;
|
|
460
596
|
country?: "USA" | undefined;
|
|
461
597
|
}[] | undefined);
|
|
462
598
|
firstName: string;
|
|
@@ -496,6 +632,16 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
496
632
|
city: z.ZodString;
|
|
497
633
|
state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
|
|
498
634
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
635
|
+
coordinates: z.ZodOptional<z.ZodObject<{
|
|
636
|
+
lat: z.ZodNumber;
|
|
637
|
+
lon: z.ZodNumber;
|
|
638
|
+
}, "strip", z.ZodTypeAny, {
|
|
639
|
+
lat: number;
|
|
640
|
+
lon: number;
|
|
641
|
+
}, {
|
|
642
|
+
lat: number;
|
|
643
|
+
lon: number;
|
|
644
|
+
}>>;
|
|
499
645
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
500
646
|
}, "strip", z.ZodTypeAny, {
|
|
501
647
|
addressLine1: string;
|
|
@@ -504,12 +650,20 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
504
650
|
zip: string;
|
|
505
651
|
country: "USA";
|
|
506
652
|
addressLine2?: string | undefined;
|
|
653
|
+
coordinates?: {
|
|
654
|
+
lat: number;
|
|
655
|
+
lon: number;
|
|
656
|
+
} | undefined;
|
|
507
657
|
}, {
|
|
508
658
|
addressLine1: string;
|
|
509
659
|
city: string;
|
|
510
660
|
zip: string;
|
|
511
661
|
addressLine2?: string | undefined;
|
|
512
662
|
state?: unknown;
|
|
663
|
+
coordinates?: {
|
|
664
|
+
lat: number;
|
|
665
|
+
lon: number;
|
|
666
|
+
} | undefined;
|
|
513
667
|
country?: "USA" | undefined;
|
|
514
668
|
}>, "many">, z.ZodObject<{
|
|
515
669
|
addressLine1: z.ZodString;
|
|
@@ -517,6 +671,16 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
517
671
|
city: z.ZodString;
|
|
518
672
|
state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
|
|
519
673
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
674
|
+
coordinates: z.ZodOptional<z.ZodObject<{
|
|
675
|
+
lat: z.ZodNumber;
|
|
676
|
+
lon: z.ZodNumber;
|
|
677
|
+
}, "strip", z.ZodTypeAny, {
|
|
678
|
+
lat: number;
|
|
679
|
+
lon: number;
|
|
680
|
+
}, {
|
|
681
|
+
lat: number;
|
|
682
|
+
lon: number;
|
|
683
|
+
}>>;
|
|
520
684
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
521
685
|
}, "strip", z.ZodTypeAny, {
|
|
522
686
|
addressLine1: string;
|
|
@@ -525,12 +689,20 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
525
689
|
zip: string;
|
|
526
690
|
country: "USA";
|
|
527
691
|
addressLine2?: string | undefined;
|
|
692
|
+
coordinates?: {
|
|
693
|
+
lat: number;
|
|
694
|
+
lon: number;
|
|
695
|
+
} | undefined;
|
|
528
696
|
}, {
|
|
529
697
|
addressLine1: string;
|
|
530
698
|
city: string;
|
|
531
699
|
zip: string;
|
|
532
700
|
addressLine2?: string | undefined;
|
|
533
701
|
state?: unknown;
|
|
702
|
+
coordinates?: {
|
|
703
|
+
lat: number;
|
|
704
|
+
lon: number;
|
|
705
|
+
} | undefined;
|
|
534
706
|
country?: "USA" | undefined;
|
|
535
707
|
}>]>;
|
|
536
708
|
firstName: z.ZodString;
|
|
@@ -628,6 +800,10 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
628
800
|
zip: string;
|
|
629
801
|
country: "USA";
|
|
630
802
|
addressLine2?: string | undefined;
|
|
803
|
+
coordinates?: {
|
|
804
|
+
lat: number;
|
|
805
|
+
lon: number;
|
|
806
|
+
} | undefined;
|
|
631
807
|
} | {
|
|
632
808
|
addressLine1: string;
|
|
633
809
|
city: string;
|
|
@@ -635,6 +811,10 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
635
811
|
zip: string;
|
|
636
812
|
country: "USA";
|
|
637
813
|
addressLine2?: string | undefined;
|
|
814
|
+
coordinates?: {
|
|
815
|
+
lat: number;
|
|
816
|
+
lon: number;
|
|
817
|
+
} | undefined;
|
|
638
818
|
}[]) & ({
|
|
639
819
|
addressLine1: string;
|
|
640
820
|
city: string;
|
|
@@ -642,6 +822,10 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
642
822
|
zip: string;
|
|
643
823
|
country: "USA";
|
|
644
824
|
addressLine2?: string | undefined;
|
|
825
|
+
coordinates?: {
|
|
826
|
+
lat: number;
|
|
827
|
+
lon: number;
|
|
828
|
+
} | undefined;
|
|
645
829
|
} | {
|
|
646
830
|
addressLine1: string;
|
|
647
831
|
city: string;
|
|
@@ -649,6 +833,10 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
649
833
|
zip: string;
|
|
650
834
|
country: "USA";
|
|
651
835
|
addressLine2?: string | undefined;
|
|
836
|
+
coordinates?: {
|
|
837
|
+
lat: number;
|
|
838
|
+
lon: number;
|
|
839
|
+
} | undefined;
|
|
652
840
|
}[] | undefined);
|
|
653
841
|
firstName: string;
|
|
654
842
|
lastName: string;
|
|
@@ -685,6 +873,10 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
685
873
|
zip: string;
|
|
686
874
|
addressLine2?: string | undefined;
|
|
687
875
|
state?: unknown;
|
|
876
|
+
coordinates?: {
|
|
877
|
+
lat: number;
|
|
878
|
+
lon: number;
|
|
879
|
+
} | undefined;
|
|
688
880
|
country?: "USA" | undefined;
|
|
689
881
|
} | {
|
|
690
882
|
addressLine1: string;
|
|
@@ -692,6 +884,10 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
692
884
|
zip: string;
|
|
693
885
|
addressLine2?: string | undefined;
|
|
694
886
|
state?: unknown;
|
|
887
|
+
coordinates?: {
|
|
888
|
+
lat: number;
|
|
889
|
+
lon: number;
|
|
890
|
+
} | undefined;
|
|
695
891
|
country?: "USA" | undefined;
|
|
696
892
|
}[]) & ({
|
|
697
893
|
addressLine1: string;
|
|
@@ -699,6 +895,10 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
699
895
|
zip: string;
|
|
700
896
|
addressLine2?: string | undefined;
|
|
701
897
|
state?: unknown;
|
|
898
|
+
coordinates?: {
|
|
899
|
+
lat: number;
|
|
900
|
+
lon: number;
|
|
901
|
+
} | undefined;
|
|
702
902
|
country?: "USA" | undefined;
|
|
703
903
|
} | {
|
|
704
904
|
addressLine1: string;
|
|
@@ -706,6 +906,10 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
706
906
|
zip: string;
|
|
707
907
|
addressLine2?: string | undefined;
|
|
708
908
|
state?: unknown;
|
|
909
|
+
coordinates?: {
|
|
910
|
+
lat: number;
|
|
911
|
+
lon: number;
|
|
912
|
+
} | undefined;
|
|
709
913
|
country?: "USA" | undefined;
|
|
710
914
|
}[] | undefined);
|
|
711
915
|
firstName: string;
|
|
@@ -747,6 +951,16 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
747
951
|
city: z.ZodString;
|
|
748
952
|
state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
|
|
749
953
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
954
|
+
coordinates: z.ZodOptional<z.ZodObject<{
|
|
955
|
+
lat: z.ZodNumber;
|
|
956
|
+
lon: z.ZodNumber;
|
|
957
|
+
}, "strip", z.ZodTypeAny, {
|
|
958
|
+
lat: number;
|
|
959
|
+
lon: number;
|
|
960
|
+
}, {
|
|
961
|
+
lat: number;
|
|
962
|
+
lon: number;
|
|
963
|
+
}>>;
|
|
750
964
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
751
965
|
}, "strip", z.ZodTypeAny, {
|
|
752
966
|
addressLine1: string;
|
|
@@ -755,12 +969,20 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
755
969
|
zip: string;
|
|
756
970
|
country: "USA";
|
|
757
971
|
addressLine2?: string | undefined;
|
|
972
|
+
coordinates?: {
|
|
973
|
+
lat: number;
|
|
974
|
+
lon: number;
|
|
975
|
+
} | undefined;
|
|
758
976
|
}, {
|
|
759
977
|
addressLine1: string;
|
|
760
978
|
city: string;
|
|
761
979
|
zip: string;
|
|
762
980
|
addressLine2?: string | undefined;
|
|
763
981
|
state?: unknown;
|
|
982
|
+
coordinates?: {
|
|
983
|
+
lat: number;
|
|
984
|
+
lon: number;
|
|
985
|
+
} | undefined;
|
|
764
986
|
country?: "USA" | undefined;
|
|
765
987
|
}>, "many">, z.ZodObject<{
|
|
766
988
|
addressLine1: z.ZodString;
|
|
@@ -768,6 +990,16 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
768
990
|
city: z.ZodString;
|
|
769
991
|
state: z.ZodEffects<z.ZodNativeEnum<typeof import("./common/us-data").USState>, import("./common/us-data").USState, unknown>;
|
|
770
992
|
zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
993
|
+
coordinates: z.ZodOptional<z.ZodObject<{
|
|
994
|
+
lat: z.ZodNumber;
|
|
995
|
+
lon: z.ZodNumber;
|
|
996
|
+
}, "strip", z.ZodTypeAny, {
|
|
997
|
+
lat: number;
|
|
998
|
+
lon: number;
|
|
999
|
+
}, {
|
|
1000
|
+
lat: number;
|
|
1001
|
+
lon: number;
|
|
1002
|
+
}>>;
|
|
771
1003
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
772
1004
|
}, "strip", z.ZodTypeAny, {
|
|
773
1005
|
addressLine1: string;
|
|
@@ -776,12 +1008,20 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
776
1008
|
zip: string;
|
|
777
1009
|
country: "USA";
|
|
778
1010
|
addressLine2?: string | undefined;
|
|
1011
|
+
coordinates?: {
|
|
1012
|
+
lat: number;
|
|
1013
|
+
lon: number;
|
|
1014
|
+
} | undefined;
|
|
779
1015
|
}, {
|
|
780
1016
|
addressLine1: string;
|
|
781
1017
|
city: string;
|
|
782
1018
|
zip: string;
|
|
783
1019
|
addressLine2?: string | undefined;
|
|
784
1020
|
state?: unknown;
|
|
1021
|
+
coordinates?: {
|
|
1022
|
+
lat: number;
|
|
1023
|
+
lon: number;
|
|
1024
|
+
} | undefined;
|
|
785
1025
|
country?: "USA" | undefined;
|
|
786
1026
|
}>]>;
|
|
787
1027
|
firstName: z.ZodString;
|
|
@@ -879,6 +1119,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
879
1119
|
zip: string;
|
|
880
1120
|
country: "USA";
|
|
881
1121
|
addressLine2?: string | undefined;
|
|
1122
|
+
coordinates?: {
|
|
1123
|
+
lat: number;
|
|
1124
|
+
lon: number;
|
|
1125
|
+
} | undefined;
|
|
882
1126
|
} | {
|
|
883
1127
|
addressLine1: string;
|
|
884
1128
|
city: string;
|
|
@@ -886,6 +1130,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
886
1130
|
zip: string;
|
|
887
1131
|
country: "USA";
|
|
888
1132
|
addressLine2?: string | undefined;
|
|
1133
|
+
coordinates?: {
|
|
1134
|
+
lat: number;
|
|
1135
|
+
lon: number;
|
|
1136
|
+
} | undefined;
|
|
889
1137
|
}[]) & ({
|
|
890
1138
|
addressLine1: string;
|
|
891
1139
|
city: string;
|
|
@@ -893,6 +1141,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
893
1141
|
zip: string;
|
|
894
1142
|
country: "USA";
|
|
895
1143
|
addressLine2?: string | undefined;
|
|
1144
|
+
coordinates?: {
|
|
1145
|
+
lat: number;
|
|
1146
|
+
lon: number;
|
|
1147
|
+
} | undefined;
|
|
896
1148
|
} | {
|
|
897
1149
|
addressLine1: string;
|
|
898
1150
|
city: string;
|
|
@@ -900,6 +1152,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
900
1152
|
zip: string;
|
|
901
1153
|
country: "USA";
|
|
902
1154
|
addressLine2?: string | undefined;
|
|
1155
|
+
coordinates?: {
|
|
1156
|
+
lat: number;
|
|
1157
|
+
lon: number;
|
|
1158
|
+
} | undefined;
|
|
903
1159
|
}[] | undefined);
|
|
904
1160
|
firstName: string;
|
|
905
1161
|
lastName: string;
|
|
@@ -936,6 +1192,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
936
1192
|
zip: string;
|
|
937
1193
|
addressLine2?: string | undefined;
|
|
938
1194
|
state?: unknown;
|
|
1195
|
+
coordinates?: {
|
|
1196
|
+
lat: number;
|
|
1197
|
+
lon: number;
|
|
1198
|
+
} | undefined;
|
|
939
1199
|
country?: "USA" | undefined;
|
|
940
1200
|
} | {
|
|
941
1201
|
addressLine1: string;
|
|
@@ -943,6 +1203,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
943
1203
|
zip: string;
|
|
944
1204
|
addressLine2?: string | undefined;
|
|
945
1205
|
state?: unknown;
|
|
1206
|
+
coordinates?: {
|
|
1207
|
+
lat: number;
|
|
1208
|
+
lon: number;
|
|
1209
|
+
} | undefined;
|
|
946
1210
|
country?: "USA" | undefined;
|
|
947
1211
|
}[]) & ({
|
|
948
1212
|
addressLine1: string;
|
|
@@ -950,6 +1214,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
950
1214
|
zip: string;
|
|
951
1215
|
addressLine2?: string | undefined;
|
|
952
1216
|
state?: unknown;
|
|
1217
|
+
coordinates?: {
|
|
1218
|
+
lat: number;
|
|
1219
|
+
lon: number;
|
|
1220
|
+
} | undefined;
|
|
953
1221
|
country?: "USA" | undefined;
|
|
954
1222
|
} | {
|
|
955
1223
|
addressLine1: string;
|
|
@@ -957,6 +1225,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
957
1225
|
zip: string;
|
|
958
1226
|
addressLine2?: string | undefined;
|
|
959
1227
|
state?: unknown;
|
|
1228
|
+
coordinates?: {
|
|
1229
|
+
lat: number;
|
|
1230
|
+
lon: number;
|
|
1231
|
+
} | undefined;
|
|
960
1232
|
country?: "USA" | undefined;
|
|
961
1233
|
}[] | undefined);
|
|
962
1234
|
firstName: string;
|
|
@@ -997,6 +1269,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
997
1269
|
zip: string;
|
|
998
1270
|
country: "USA";
|
|
999
1271
|
addressLine2?: string | undefined;
|
|
1272
|
+
coordinates?: {
|
|
1273
|
+
lat: number;
|
|
1274
|
+
lon: number;
|
|
1275
|
+
} | undefined;
|
|
1000
1276
|
} | {
|
|
1001
1277
|
addressLine1: string;
|
|
1002
1278
|
city: string;
|
|
@@ -1004,6 +1280,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1004
1280
|
zip: string;
|
|
1005
1281
|
country: "USA";
|
|
1006
1282
|
addressLine2?: string | undefined;
|
|
1283
|
+
coordinates?: {
|
|
1284
|
+
lat: number;
|
|
1285
|
+
lon: number;
|
|
1286
|
+
} | undefined;
|
|
1007
1287
|
}[]) & ({
|
|
1008
1288
|
addressLine1: string;
|
|
1009
1289
|
city: string;
|
|
@@ -1011,6 +1291,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1011
1291
|
zip: string;
|
|
1012
1292
|
country: "USA";
|
|
1013
1293
|
addressLine2?: string | undefined;
|
|
1294
|
+
coordinates?: {
|
|
1295
|
+
lat: number;
|
|
1296
|
+
lon: number;
|
|
1297
|
+
} | undefined;
|
|
1014
1298
|
} | {
|
|
1015
1299
|
addressLine1: string;
|
|
1016
1300
|
city: string;
|
|
@@ -1018,6 +1302,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1018
1302
|
zip: string;
|
|
1019
1303
|
country: "USA";
|
|
1020
1304
|
addressLine2?: string | undefined;
|
|
1305
|
+
coordinates?: {
|
|
1306
|
+
lat: number;
|
|
1307
|
+
lon: number;
|
|
1308
|
+
} | undefined;
|
|
1021
1309
|
}[] | undefined);
|
|
1022
1310
|
firstName: string;
|
|
1023
1311
|
lastName: string;
|
|
@@ -1056,6 +1344,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1056
1344
|
zip: string;
|
|
1057
1345
|
addressLine2?: string | undefined;
|
|
1058
1346
|
state?: unknown;
|
|
1347
|
+
coordinates?: {
|
|
1348
|
+
lat: number;
|
|
1349
|
+
lon: number;
|
|
1350
|
+
} | undefined;
|
|
1059
1351
|
country?: "USA" | undefined;
|
|
1060
1352
|
} | {
|
|
1061
1353
|
addressLine1: string;
|
|
@@ -1063,6 +1355,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1063
1355
|
zip: string;
|
|
1064
1356
|
addressLine2?: string | undefined;
|
|
1065
1357
|
state?: unknown;
|
|
1358
|
+
coordinates?: {
|
|
1359
|
+
lat: number;
|
|
1360
|
+
lon: number;
|
|
1361
|
+
} | undefined;
|
|
1066
1362
|
country?: "USA" | undefined;
|
|
1067
1363
|
}[]) & ({
|
|
1068
1364
|
addressLine1: string;
|
|
@@ -1070,6 +1366,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1070
1366
|
zip: string;
|
|
1071
1367
|
addressLine2?: string | undefined;
|
|
1072
1368
|
state?: unknown;
|
|
1369
|
+
coordinates?: {
|
|
1370
|
+
lat: number;
|
|
1371
|
+
lon: number;
|
|
1372
|
+
} | undefined;
|
|
1073
1373
|
country?: "USA" | undefined;
|
|
1074
1374
|
} | {
|
|
1075
1375
|
addressLine1: string;
|
|
@@ -1077,6 +1377,10 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1077
1377
|
zip: string;
|
|
1078
1378
|
addressLine2?: string | undefined;
|
|
1079
1379
|
state?: unknown;
|
|
1380
|
+
coordinates?: {
|
|
1381
|
+
lat: number;
|
|
1382
|
+
lon: number;
|
|
1383
|
+
} | undefined;
|
|
1080
1384
|
country?: "USA" | undefined;
|
|
1081
1385
|
}[] | undefined);
|
|
1082
1386
|
firstName: string;
|