@awell-health/awell-extensions 1.0.235 → 1.0.237
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/extensions/athenahealth/actions/index.d.ts +1 -1
- package/dist/extensions/athenahealth/api/schema/clinicalDocument.d.ts +2 -2
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.d.ts +1 -1
- package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.js +12 -15
- package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.test.js.map +1 -1
- package/dist/extensions/awell/v1/actions/updatePatient/config/fields.d.ts +14 -14
- package/dist/extensions/calDotCom/actions/createBooking/config/fields.d.ts +6 -6
- package/dist/extensions/calDotCom/actions/deleteBooking/config/fields.d.ts +2 -2
- package/dist/extensions/calDotCom/actions/updateBooking/config/fields.d.ts +6 -6
- package/dist/extensions/calendly/schema.d.ts +1030 -218
- package/dist/extensions/canvasMedical/v1/validation/appointment.zod.d.ts +11 -10
- package/dist/extensions/canvasMedical/v1/validation/coverage.zod.d.ts +16 -15
- package/dist/extensions/canvasMedical/v1/validation/identifier.zod.d.ts +13 -13
- package/dist/extensions/canvasMedical/v1/validation/patient.zod.d.ts +229 -228
- package/dist/extensions/canvasMedical/v1/validation/questionnaireResponses.zod.d.ts +24 -21
- package/dist/extensions/canvasMedical/v1/validation/task.zod.d.ts +52 -51
- package/dist/extensions/docuSign/actions/createEmbeddedSignatureRequestWithTemplate/config/fields.d.ts +2 -2
- package/dist/extensions/dropboxSign/v1/actions/cancelSignatureRequest/cancelSignatureRequest.test.js +9 -12
- package/dist/extensions/dropboxSign/v1/actions/cancelSignatureRequest/cancelSignatureRequest.test.js.map +1 -1
- package/dist/extensions/dropboxSign/v1/actions/createEmbeddedSignatureRequestWithTemplate/config/fields.d.ts +2 -2
- package/dist/extensions/dropboxSign/v1/actions/createEmbeddedSignatureRequestWithTemplate/createEmbeddedSignatureRequestWithTemplate.test.js +32 -38
- package/dist/extensions/dropboxSign/v1/actions/createEmbeddedSignatureRequestWithTemplate/createEmbeddedSignatureRequestWithTemplate.test.js.map +1 -1
- package/dist/extensions/dropboxSign/v1/actions/getSignatureRequest/getSignatureRequest.test.js +13 -16
- package/dist/extensions/dropboxSign/v1/actions/getSignatureRequest/getSignatureRequest.test.js.map +1 -1
- package/dist/extensions/dropboxSign/v1/actions/sendRequestReminder/sendRequestReminder.test.js +13 -16
- package/dist/extensions/dropboxSign/v1/actions/sendRequestReminder/sendRequestReminder.test.js.map +1 -1
- package/dist/extensions/dropboxSign/v1/actions/sendSignatureRequestWithTemplate/config/fields.d.ts +2 -2
- package/dist/extensions/dropboxSign/v1/actions/sendSignatureRequestWithTemplate/sendSignatureRequestWithTemplate.test.js +13 -16
- package/dist/extensions/dropboxSign/v1/actions/sendSignatureRequestWithTemplate/sendSignatureRequestWithTemplate.test.js.map +1 -1
- package/dist/extensions/elation/actions/index.d.ts +1 -1
- package/dist/extensions/elation/validation/appointment.zod.d.ts +4 -4
- package/dist/extensions/elation/validation/labOrder.zod.d.ts +2 -2
- package/dist/extensions/elation/validation/nonVisitNote.zod.d.ts +2 -2
- package/dist/extensions/elation/validation/patient.zod.d.ts +248 -248
- package/dist/extensions/elation/validation/physician.zod.d.ts +4 -4
- package/dist/extensions/experimental/index.js +1 -0
- package/dist/extensions/experimental/index.js.map +1 -1
- package/dist/extensions/experimental/v1/actions/index.d.ts +1 -0
- package/dist/extensions/experimental/v1/actions/index.js +3 -1
- package/dist/extensions/experimental/v1/actions/index.js.map +1 -1
- package/dist/extensions/experimental/v1/actions/returnObject/index.d.ts +18 -0
- package/dist/extensions/experimental/v1/actions/returnObject/index.js +45 -0
- package/dist/extensions/experimental/v1/actions/returnObject/index.js.map +1 -0
- package/dist/extensions/formsort/settings.d.ts +1 -1
- package/dist/extensions/healthie/validation/sendFormCompletionRequest.zod.d.ts +12 -12
- package/dist/extensions/infobip/v1/actions/sendEmailWithTemplate/config/fields.d.ts +2 -4
- package/dist/extensions/iterable/v1/actions/sendEmail/config/fields.d.ts +4 -4
- package/dist/extensions/mailgun/v1/actions/sendEmailWithTemplate/config/fields.d.ts +2 -4
- package/dist/extensions/medplum/actions/createPatient/config/fields.d.ts +10 -10
- package/dist/extensions/medplum/actions/createTask/config/fields.d.ts +2 -2
- package/dist/extensions/medplum/actions/executeBot/config/fields.d.ts +2 -4
- package/dist/extensions/medplum/fhir/schemas/atoms/PeriodSchema.d.ts +2 -2
- package/dist/extensions/medplum/fhir/schemas/resources/patient.schema.d.ts +10 -10
- package/dist/extensions/medplum/fhir/schemas/resources/task.schema.d.ts +2 -2
- package/dist/extensions/metriport/actions/patient/validation.d.ts +31 -28
- package/dist/extensions/sendbird/v1/actions/createTicket/config/fields.d.ts +4 -4
- package/dist/extensions/sendbird/v1/actions/createUser/config/fields.d.ts +2 -2
- package/dist/extensions/sendgrid-extension/v1/actions/sendEmailWithTemplate/config/fields.d.ts +1 -1
- package/dist/extensions/textline/actions/getMessages/config/fields.d.ts +2 -2
- package/dist/extensions/twilio/v2/actions/getMessages/config/fields.d.ts +4 -4
- package/dist/extensions/twilio/v2/actions/sendSmsDuringBusinessHours/config/fields.d.ts +2 -2
- package/dist/extensions/wellinks-public/actions/checkFlourishCustomer/config/settings.d.ts +4 -4
- package/dist/extensions/wellinks-public/actions/createFlourishCustomer/config/settings.d.ts +4 -4
- package/dist/extensions/wellinks-public/actions/insertMemberListEvent/config/settings.d.ts +5 -2
- package/dist/extensions/wellinks-public/actions/submitPamSurvey/config/settings.d.ts +4 -4
- package/dist/extensions/wellinks-public/config/settings.d.ts +4 -4
- package/dist/extensions/zendesk/v1/actions/createTask/config/fields.d.ts +4 -4
- package/dist/src/tests/constants.d.ts +4 -0
- package/package.json +4 -4
@@ -270,9 +270,16 @@ export declare const patientSchema: z.ZodObject<{
|
|
270
270
|
display: string;
|
271
271
|
}>>;
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
273
|
-
|
273
|
+
type?: {
|
274
|
+
coding: {
|
275
|
+
code: string;
|
276
|
+
display?: string | undefined;
|
277
|
+
system?: string | undefined;
|
278
|
+
}[];
|
279
|
+
} | undefined;
|
274
280
|
value?: string | undefined;
|
275
281
|
use?: "usual" | "official" | "secondary" | "temp" | "old" | undefined;
|
282
|
+
system?: string | undefined;
|
276
283
|
period?: {
|
277
284
|
start: string;
|
278
285
|
end?: string | undefined;
|
@@ -280,6 +287,10 @@ export declare const patientSchema: z.ZodObject<{
|
|
280
287
|
start: string;
|
281
288
|
end?: string | undefined;
|
282
289
|
}[] | undefined;
|
290
|
+
assigner?: {
|
291
|
+
display: string;
|
292
|
+
} | undefined;
|
293
|
+
}, {
|
283
294
|
type?: {
|
284
295
|
coding: {
|
285
296
|
code: string;
|
@@ -287,13 +298,9 @@ export declare const patientSchema: z.ZodObject<{
|
|
287
298
|
system?: string | undefined;
|
288
299
|
}[];
|
289
300
|
} | undefined;
|
290
|
-
assigner?: {
|
291
|
-
display: string;
|
292
|
-
} | undefined;
|
293
|
-
}, {
|
294
|
-
system?: string | undefined;
|
295
301
|
value?: string | undefined;
|
296
302
|
use?: "usual" | "official" | "secondary" | "temp" | "old" | undefined;
|
303
|
+
system?: string | undefined;
|
297
304
|
period?: {
|
298
305
|
start: Date;
|
299
306
|
end?: Date | undefined;
|
@@ -301,13 +308,6 @@ export declare const patientSchema: z.ZodObject<{
|
|
301
308
|
start: Date;
|
302
309
|
end?: Date | undefined;
|
303
310
|
}[] | undefined;
|
304
|
-
type?: {
|
305
|
-
coding: {
|
306
|
-
code: string;
|
307
|
-
display?: string | undefined;
|
308
|
-
system?: string | undefined;
|
309
|
-
}[];
|
310
|
-
} | undefined;
|
311
311
|
assigner?: {
|
312
312
|
display: string;
|
313
313
|
} | undefined;
|
@@ -322,14 +322,14 @@ export declare const patientSchema: z.ZodObject<{
|
|
322
322
|
}, "strip", z.ZodTypeAny, {
|
323
323
|
use: string;
|
324
324
|
given: string[];
|
325
|
-
family?: string | undefined;
|
326
325
|
prefix?: string | undefined;
|
326
|
+
family?: string | undefined;
|
327
327
|
suffix?: string | undefined;
|
328
328
|
}, {
|
329
329
|
use: string;
|
330
330
|
given: string[];
|
331
|
-
family?: string | undefined;
|
332
331
|
prefix?: string | undefined;
|
332
|
+
family?: string | undefined;
|
333
333
|
suffix?: string | undefined;
|
334
334
|
}>, "many">;
|
335
335
|
telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
@@ -352,21 +352,21 @@ export declare const patientSchema: z.ZodObject<{
|
|
352
352
|
value: string;
|
353
353
|
system: string;
|
354
354
|
id?: string | undefined;
|
355
|
+
use?: string | undefined;
|
355
356
|
extension?: {
|
356
357
|
url: string;
|
357
358
|
valueBoolean: boolean;
|
358
359
|
}[] | undefined;
|
359
|
-
use?: string | undefined;
|
360
360
|
rank?: number | undefined;
|
361
361
|
}, {
|
362
362
|
value: string;
|
363
363
|
system: string;
|
364
364
|
id?: string | undefined;
|
365
|
+
use?: string | undefined;
|
365
366
|
extension?: {
|
366
367
|
url: string;
|
367
368
|
valueBoolean: boolean;
|
368
369
|
}[] | undefined;
|
369
|
-
use?: string | undefined;
|
370
370
|
rank?: number | undefined;
|
371
371
|
}>, "many">>;
|
372
372
|
gender: z.ZodOptional<z.ZodEnum<["male", "female", "other", "unknown"]>>;
|
@@ -410,6 +410,10 @@ export declare const patientSchema: z.ZodObject<{
|
|
410
410
|
name: {
|
411
411
|
text: string;
|
412
412
|
};
|
413
|
+
extension?: {
|
414
|
+
url: string;
|
415
|
+
valueBoolean: boolean;
|
416
|
+
}[] | undefined;
|
413
417
|
relationship?: {
|
414
418
|
text: string;
|
415
419
|
}[] | undefined;
|
@@ -417,14 +421,14 @@ export declare const patientSchema: z.ZodObject<{
|
|
417
421
|
value: string;
|
418
422
|
system: string;
|
419
423
|
}[] | undefined;
|
420
|
-
extension?: {
|
421
|
-
url: string;
|
422
|
-
valueBoolean: boolean;
|
423
|
-
}[] | undefined;
|
424
424
|
}, {
|
425
425
|
name: {
|
426
426
|
text: string;
|
427
427
|
};
|
428
|
+
extension?: {
|
429
|
+
url: string;
|
430
|
+
valueBoolean: boolean;
|
431
|
+
}[] | undefined;
|
428
432
|
relationship?: {
|
429
433
|
text: string;
|
430
434
|
}[] | undefined;
|
@@ -432,10 +436,6 @@ export declare const patientSchema: z.ZodObject<{
|
|
432
436
|
value: string;
|
433
437
|
system: string;
|
434
438
|
}[] | undefined;
|
435
|
-
extension?: {
|
436
|
-
url: string;
|
437
|
-
valueBoolean: boolean;
|
438
|
-
}[] | undefined;
|
439
439
|
}>, "many">>;
|
440
440
|
address: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
441
441
|
use: z.ZodEnum<["home", "work", "temp", "old"]>;
|
@@ -477,12 +477,22 @@ export declare const patientSchema: z.ZodObject<{
|
|
477
477
|
name: {
|
478
478
|
use: string;
|
479
479
|
given: string[];
|
480
|
-
family?: string | undefined;
|
481
480
|
prefix?: string | undefined;
|
481
|
+
family?: string | undefined;
|
482
482
|
suffix?: string | undefined;
|
483
483
|
}[];
|
484
484
|
birthDate: string;
|
485
485
|
resourceType: "Patient";
|
486
|
+
address?: {
|
487
|
+
type: "both" | "physical" | "postal";
|
488
|
+
state: string;
|
489
|
+
line: string[];
|
490
|
+
use: "temp" | "old" | "home" | "work";
|
491
|
+
city: string;
|
492
|
+
postalCode: string;
|
493
|
+
text?: string | undefined;
|
494
|
+
}[] | undefined;
|
495
|
+
active?: boolean | undefined;
|
486
496
|
extension?: ({
|
487
497
|
url: string;
|
488
498
|
valueCode: "M" | "F" | "O" | "UNK";
|
@@ -532,10 +542,28 @@ export declare const patientSchema: z.ZodObject<{
|
|
532
542
|
valueString: string;
|
533
543
|
}[];
|
534
544
|
})[] | undefined;
|
545
|
+
telecom?: {
|
546
|
+
value: string;
|
547
|
+
system: string;
|
548
|
+
id?: string | undefined;
|
549
|
+
use?: string | undefined;
|
550
|
+
extension?: {
|
551
|
+
url: string;
|
552
|
+
valueBoolean: boolean;
|
553
|
+
}[] | undefined;
|
554
|
+
rank?: number | undefined;
|
555
|
+
}[] | undefined;
|
535
556
|
identifier?: {
|
536
|
-
|
557
|
+
type?: {
|
558
|
+
coding: {
|
559
|
+
code: string;
|
560
|
+
display?: string | undefined;
|
561
|
+
system?: string | undefined;
|
562
|
+
}[];
|
563
|
+
} | undefined;
|
537
564
|
value?: string | undefined;
|
538
565
|
use?: "usual" | "official" | "secondary" | "temp" | "old" | undefined;
|
566
|
+
system?: string | undefined;
|
539
567
|
period?: {
|
540
568
|
start: string;
|
541
569
|
end?: string | undefined;
|
@@ -543,34 +571,19 @@ export declare const patientSchema: z.ZodObject<{
|
|
543
571
|
start: string;
|
544
572
|
end?: string | undefined;
|
545
573
|
}[] | undefined;
|
546
|
-
type?: {
|
547
|
-
coding: {
|
548
|
-
code: string;
|
549
|
-
display?: string | undefined;
|
550
|
-
system?: string | undefined;
|
551
|
-
}[];
|
552
|
-
} | undefined;
|
553
574
|
assigner?: {
|
554
575
|
display: string;
|
555
576
|
} | undefined;
|
556
577
|
}[] | undefined;
|
557
|
-
active?: boolean | undefined;
|
558
|
-
telecom?: {
|
559
|
-
value: string;
|
560
|
-
system: string;
|
561
|
-
id?: string | undefined;
|
562
|
-
extension?: {
|
563
|
-
url: string;
|
564
|
-
valueBoolean: boolean;
|
565
|
-
}[] | undefined;
|
566
|
-
use?: string | undefined;
|
567
|
-
rank?: number | undefined;
|
568
|
-
}[] | undefined;
|
569
578
|
gender?: "unknown" | "other" | "male" | "female" | undefined;
|
570
579
|
contact?: {
|
571
580
|
name: {
|
572
581
|
text: string;
|
573
582
|
};
|
583
|
+
extension?: {
|
584
|
+
url: string;
|
585
|
+
valueBoolean: boolean;
|
586
|
+
}[] | undefined;
|
574
587
|
relationship?: {
|
575
588
|
text: string;
|
576
589
|
}[] | undefined;
|
@@ -578,19 +591,6 @@ export declare const patientSchema: z.ZodObject<{
|
|
578
591
|
value: string;
|
579
592
|
system: string;
|
580
593
|
}[] | undefined;
|
581
|
-
extension?: {
|
582
|
-
url: string;
|
583
|
-
valueBoolean: boolean;
|
584
|
-
}[] | undefined;
|
585
|
-
}[] | undefined;
|
586
|
-
address?: {
|
587
|
-
type: "both" | "physical" | "postal";
|
588
|
-
state: string;
|
589
|
-
line: string[];
|
590
|
-
use: "temp" | "old" | "home" | "work";
|
591
|
-
city: string;
|
592
|
-
postalCode: string;
|
593
|
-
text?: string | undefined;
|
594
594
|
}[] | undefined;
|
595
595
|
deceased?: boolean | undefined;
|
596
596
|
photo?: {
|
@@ -601,12 +601,22 @@ export declare const patientSchema: z.ZodObject<{
|
|
601
601
|
name: {
|
602
602
|
use: string;
|
603
603
|
given: string[];
|
604
|
-
family?: string | undefined;
|
605
604
|
prefix?: string | undefined;
|
605
|
+
family?: string | undefined;
|
606
606
|
suffix?: string | undefined;
|
607
607
|
}[];
|
608
608
|
birthDate: string;
|
609
609
|
resourceType: "Patient";
|
610
|
+
address?: {
|
611
|
+
type: "both" | "physical" | "postal";
|
612
|
+
state: string;
|
613
|
+
line: string[];
|
614
|
+
use: "temp" | "old" | "home" | "work";
|
615
|
+
city: string;
|
616
|
+
postalCode: string;
|
617
|
+
text?: string | undefined;
|
618
|
+
}[] | undefined;
|
619
|
+
active?: boolean | undefined;
|
610
620
|
extension?: ({
|
611
621
|
url: string;
|
612
622
|
valueCode: "M" | "F" | "O" | "UNK";
|
@@ -656,10 +666,28 @@ export declare const patientSchema: z.ZodObject<{
|
|
656
666
|
valueString: string;
|
657
667
|
}[];
|
658
668
|
})[] | undefined;
|
669
|
+
telecom?: {
|
670
|
+
value: string;
|
671
|
+
system: string;
|
672
|
+
id?: string | undefined;
|
673
|
+
use?: string | undefined;
|
674
|
+
extension?: {
|
675
|
+
url: string;
|
676
|
+
valueBoolean: boolean;
|
677
|
+
}[] | undefined;
|
678
|
+
rank?: number | undefined;
|
679
|
+
}[] | undefined;
|
659
680
|
identifier?: {
|
660
|
-
|
681
|
+
type?: {
|
682
|
+
coding: {
|
683
|
+
code: string;
|
684
|
+
display?: string | undefined;
|
685
|
+
system?: string | undefined;
|
686
|
+
}[];
|
687
|
+
} | undefined;
|
661
688
|
value?: string | undefined;
|
662
689
|
use?: "usual" | "official" | "secondary" | "temp" | "old" | undefined;
|
690
|
+
system?: string | undefined;
|
663
691
|
period?: {
|
664
692
|
start: Date;
|
665
693
|
end?: Date | undefined;
|
@@ -667,34 +695,19 @@ export declare const patientSchema: z.ZodObject<{
|
|
667
695
|
start: Date;
|
668
696
|
end?: Date | undefined;
|
669
697
|
}[] | undefined;
|
670
|
-
type?: {
|
671
|
-
coding: {
|
672
|
-
code: string;
|
673
|
-
display?: string | undefined;
|
674
|
-
system?: string | undefined;
|
675
|
-
}[];
|
676
|
-
} | undefined;
|
677
698
|
assigner?: {
|
678
699
|
display: string;
|
679
700
|
} | undefined;
|
680
701
|
}[] | undefined;
|
681
|
-
active?: boolean | undefined;
|
682
|
-
telecom?: {
|
683
|
-
value: string;
|
684
|
-
system: string;
|
685
|
-
id?: string | undefined;
|
686
|
-
extension?: {
|
687
|
-
url: string;
|
688
|
-
valueBoolean: boolean;
|
689
|
-
}[] | undefined;
|
690
|
-
use?: string | undefined;
|
691
|
-
rank?: number | undefined;
|
692
|
-
}[] | undefined;
|
693
702
|
gender?: "unknown" | "other" | "male" | "female" | undefined;
|
694
703
|
contact?: {
|
695
704
|
name: {
|
696
705
|
text: string;
|
697
706
|
};
|
707
|
+
extension?: {
|
708
|
+
url: string;
|
709
|
+
valueBoolean: boolean;
|
710
|
+
}[] | undefined;
|
698
711
|
relationship?: {
|
699
712
|
text: string;
|
700
713
|
}[] | undefined;
|
@@ -702,19 +715,6 @@ export declare const patientSchema: z.ZodObject<{
|
|
702
715
|
value: string;
|
703
716
|
system: string;
|
704
717
|
}[] | undefined;
|
705
|
-
extension?: {
|
706
|
-
url: string;
|
707
|
-
valueBoolean: boolean;
|
708
|
-
}[] | undefined;
|
709
|
-
}[] | undefined;
|
710
|
-
address?: {
|
711
|
-
type: "both" | "physical" | "postal";
|
712
|
-
state: string;
|
713
|
-
line: string[];
|
714
|
-
use: "temp" | "old" | "home" | "work";
|
715
|
-
city: string;
|
716
|
-
postalCode: string;
|
717
|
-
text?: string | undefined;
|
718
718
|
}[] | undefined;
|
719
719
|
deceased?: boolean | undefined;
|
720
720
|
photo?: {
|
@@ -722,52 +722,8 @@ export declare const patientSchema: z.ZodObject<{
|
|
722
722
|
url?: string | undefined;
|
723
723
|
}[] | undefined;
|
724
724
|
}>;
|
725
|
-
export declare const patientWithIdSchema: z.ZodObject<{
|
726
|
-
|
727
|
-
use: z.ZodEnum<["home", "work", "temp", "old"]>;
|
728
|
-
type: z.ZodEnum<["both", "physical", "postal"]>;
|
729
|
-
line: z.ZodArray<z.ZodString, "many">;
|
730
|
-
text: z.ZodOptional<z.ZodString>;
|
731
|
-
city: z.ZodString;
|
732
|
-
state: z.ZodString;
|
733
|
-
postalCode: z.ZodString;
|
734
|
-
}, "strip", z.ZodTypeAny, {
|
735
|
-
type: "both" | "physical" | "postal";
|
736
|
-
state: string;
|
737
|
-
line: string[];
|
738
|
-
use: "temp" | "old" | "home" | "work";
|
739
|
-
city: string;
|
740
|
-
postalCode: string;
|
741
|
-
text?: string | undefined;
|
742
|
-
}, {
|
743
|
-
type: "both" | "physical" | "postal";
|
744
|
-
state: string;
|
745
|
-
line: string[];
|
746
|
-
use: "temp" | "old" | "home" | "work";
|
747
|
-
city: string;
|
748
|
-
postalCode: string;
|
749
|
-
text?: string | undefined;
|
750
|
-
}>, "many">>;
|
751
|
-
active: z.ZodOptional<z.ZodBoolean>;
|
752
|
-
name: z.ZodArray<z.ZodObject<{
|
753
|
-
use: z.ZodString;
|
754
|
-
family: z.ZodOptional<z.ZodString>;
|
755
|
-
given: z.ZodArray<z.ZodString, "many">;
|
756
|
-
prefix: z.ZodOptional<z.ZodString>;
|
757
|
-
suffix: z.ZodOptional<z.ZodString>;
|
758
|
-
}, "strip", z.ZodTypeAny, {
|
759
|
-
use: string;
|
760
|
-
given: string[];
|
761
|
-
family?: string | undefined;
|
762
|
-
prefix?: string | undefined;
|
763
|
-
suffix?: string | undefined;
|
764
|
-
}, {
|
765
|
-
use: string;
|
766
|
-
given: string[];
|
767
|
-
family?: string | undefined;
|
768
|
-
prefix?: string | undefined;
|
769
|
-
suffix?: string | undefined;
|
770
|
-
}>, "many">;
|
725
|
+
export declare const patientWithIdSchema: z.ZodObject<z.objectUtil.extendShape<{
|
726
|
+
resourceType: z.ZodLiteral<"Patient">;
|
771
727
|
extension: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
772
728
|
url: z.ZodString;
|
773
729
|
valueCode: z.ZodEnum<["M", "F", "O", "UNK"]>;
|
@@ -979,45 +935,6 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
979
935
|
valueString: string;
|
980
936
|
}[];
|
981
937
|
}>]>, "many">>;
|
982
|
-
birthDate: z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString]>;
|
983
|
-
resourceType: z.ZodLiteral<"Patient">;
|
984
|
-
telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
985
|
-
id: z.ZodOptional<z.ZodString>;
|
986
|
-
extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
987
|
-
url: z.ZodString;
|
988
|
-
valueBoolean: z.ZodBoolean;
|
989
|
-
}, "strip", z.ZodTypeAny, {
|
990
|
-
url: string;
|
991
|
-
valueBoolean: boolean;
|
992
|
-
}, {
|
993
|
-
url: string;
|
994
|
-
valueBoolean: boolean;
|
995
|
-
}>, "many">>;
|
996
|
-
system: z.ZodString;
|
997
|
-
value: z.ZodString;
|
998
|
-
use: z.ZodOptional<z.ZodString>;
|
999
|
-
rank: z.ZodOptional<z.ZodNumber>;
|
1000
|
-
}, "strip", z.ZodTypeAny, {
|
1001
|
-
value: string;
|
1002
|
-
system: string;
|
1003
|
-
id?: string | undefined;
|
1004
|
-
extension?: {
|
1005
|
-
url: string;
|
1006
|
-
valueBoolean: boolean;
|
1007
|
-
}[] | undefined;
|
1008
|
-
use?: string | undefined;
|
1009
|
-
rank?: number | undefined;
|
1010
|
-
}, {
|
1011
|
-
value: string;
|
1012
|
-
system: string;
|
1013
|
-
id?: string | undefined;
|
1014
|
-
extension?: {
|
1015
|
-
url: string;
|
1016
|
-
valueBoolean: boolean;
|
1017
|
-
}[] | undefined;
|
1018
|
-
use?: string | undefined;
|
1019
|
-
rank?: number | undefined;
|
1020
|
-
}>, "many">>;
|
1021
938
|
identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1022
939
|
system: z.ZodOptional<z.ZodString>;
|
1023
940
|
value: z.ZodOptional<z.ZodString>;
|
@@ -1076,9 +993,16 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1076
993
|
display: string;
|
1077
994
|
}>>;
|
1078
995
|
}, "strip", z.ZodTypeAny, {
|
1079
|
-
|
996
|
+
type?: {
|
997
|
+
coding: {
|
998
|
+
code: string;
|
999
|
+
display?: string | undefined;
|
1000
|
+
system?: string | undefined;
|
1001
|
+
}[];
|
1002
|
+
} | undefined;
|
1080
1003
|
value?: string | undefined;
|
1081
1004
|
use?: "usual" | "official" | "secondary" | "temp" | "old" | undefined;
|
1005
|
+
system?: string | undefined;
|
1082
1006
|
period?: {
|
1083
1007
|
start: string;
|
1084
1008
|
end?: string | undefined;
|
@@ -1086,6 +1010,10 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1086
1010
|
start: string;
|
1087
1011
|
end?: string | undefined;
|
1088
1012
|
}[] | undefined;
|
1013
|
+
assigner?: {
|
1014
|
+
display: string;
|
1015
|
+
} | undefined;
|
1016
|
+
}, {
|
1089
1017
|
type?: {
|
1090
1018
|
coding: {
|
1091
1019
|
code: string;
|
@@ -1093,13 +1021,9 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1093
1021
|
system?: string | undefined;
|
1094
1022
|
}[];
|
1095
1023
|
} | undefined;
|
1096
|
-
assigner?: {
|
1097
|
-
display: string;
|
1098
|
-
} | undefined;
|
1099
|
-
}, {
|
1100
|
-
system?: string | undefined;
|
1101
1024
|
value?: string | undefined;
|
1102
1025
|
use?: "usual" | "official" | "secondary" | "temp" | "old" | undefined;
|
1026
|
+
system?: string | undefined;
|
1103
1027
|
period?: {
|
1104
1028
|
start: Date;
|
1105
1029
|
end?: Date | undefined;
|
@@ -1107,18 +1031,69 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1107
1031
|
start: Date;
|
1108
1032
|
end?: Date | undefined;
|
1109
1033
|
}[] | undefined;
|
1110
|
-
type?: {
|
1111
|
-
coding: {
|
1112
|
-
code: string;
|
1113
|
-
display?: string | undefined;
|
1114
|
-
system?: string | undefined;
|
1115
|
-
}[];
|
1116
|
-
} | undefined;
|
1117
1034
|
assigner?: {
|
1118
1035
|
display: string;
|
1119
1036
|
} | undefined;
|
1120
1037
|
}>, "many">>;
|
1038
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
1039
|
+
name: z.ZodArray<z.ZodObject<{
|
1040
|
+
use: z.ZodString;
|
1041
|
+
family: z.ZodOptional<z.ZodString>;
|
1042
|
+
given: z.ZodArray<z.ZodString, "many">;
|
1043
|
+
prefix: z.ZodOptional<z.ZodString>;
|
1044
|
+
suffix: z.ZodOptional<z.ZodString>;
|
1045
|
+
}, "strip", z.ZodTypeAny, {
|
1046
|
+
use: string;
|
1047
|
+
given: string[];
|
1048
|
+
prefix?: string | undefined;
|
1049
|
+
family?: string | undefined;
|
1050
|
+
suffix?: string | undefined;
|
1051
|
+
}, {
|
1052
|
+
use: string;
|
1053
|
+
given: string[];
|
1054
|
+
prefix?: string | undefined;
|
1055
|
+
family?: string | undefined;
|
1056
|
+
suffix?: string | undefined;
|
1057
|
+
}>, "many">;
|
1058
|
+
telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1059
|
+
id: z.ZodOptional<z.ZodString>;
|
1060
|
+
extension: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1061
|
+
url: z.ZodString;
|
1062
|
+
valueBoolean: z.ZodBoolean;
|
1063
|
+
}, "strip", z.ZodTypeAny, {
|
1064
|
+
url: string;
|
1065
|
+
valueBoolean: boolean;
|
1066
|
+
}, {
|
1067
|
+
url: string;
|
1068
|
+
valueBoolean: boolean;
|
1069
|
+
}>, "many">>;
|
1070
|
+
system: z.ZodString;
|
1071
|
+
value: z.ZodString;
|
1072
|
+
use: z.ZodOptional<z.ZodString>;
|
1073
|
+
rank: z.ZodOptional<z.ZodNumber>;
|
1074
|
+
}, "strip", z.ZodTypeAny, {
|
1075
|
+
value: string;
|
1076
|
+
system: string;
|
1077
|
+
id?: string | undefined;
|
1078
|
+
use?: string | undefined;
|
1079
|
+
extension?: {
|
1080
|
+
url: string;
|
1081
|
+
valueBoolean: boolean;
|
1082
|
+
}[] | undefined;
|
1083
|
+
rank?: number | undefined;
|
1084
|
+
}, {
|
1085
|
+
value: string;
|
1086
|
+
system: string;
|
1087
|
+
id?: string | undefined;
|
1088
|
+
use?: string | undefined;
|
1089
|
+
extension?: {
|
1090
|
+
url: string;
|
1091
|
+
valueBoolean: boolean;
|
1092
|
+
}[] | undefined;
|
1093
|
+
rank?: number | undefined;
|
1094
|
+
}>, "many">>;
|
1121
1095
|
gender: z.ZodOptional<z.ZodEnum<["male", "female", "other", "unknown"]>>;
|
1096
|
+
birthDate: z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString]>;
|
1122
1097
|
contact: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1123
1098
|
name: z.ZodObject<{
|
1124
1099
|
text: z.ZodString;
|
@@ -1158,6 +1133,10 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1158
1133
|
name: {
|
1159
1134
|
text: string;
|
1160
1135
|
};
|
1136
|
+
extension?: {
|
1137
|
+
url: string;
|
1138
|
+
valueBoolean: boolean;
|
1139
|
+
}[] | undefined;
|
1161
1140
|
relationship?: {
|
1162
1141
|
text: string;
|
1163
1142
|
}[] | undefined;
|
@@ -1165,14 +1144,14 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1165
1144
|
value: string;
|
1166
1145
|
system: string;
|
1167
1146
|
}[] | undefined;
|
1168
|
-
extension?: {
|
1169
|
-
url: string;
|
1170
|
-
valueBoolean: boolean;
|
1171
|
-
}[] | undefined;
|
1172
1147
|
}, {
|
1173
1148
|
name: {
|
1174
1149
|
text: string;
|
1175
1150
|
};
|
1151
|
+
extension?: {
|
1152
|
+
url: string;
|
1153
|
+
valueBoolean: boolean;
|
1154
|
+
}[] | undefined;
|
1176
1155
|
relationship?: {
|
1177
1156
|
text: string;
|
1178
1157
|
}[] | undefined;
|
@@ -1180,10 +1159,31 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1180
1159
|
value: string;
|
1181
1160
|
system: string;
|
1182
1161
|
}[] | undefined;
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1162
|
+
}>, "many">>;
|
1163
|
+
address: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1164
|
+
use: z.ZodEnum<["home", "work", "temp", "old"]>;
|
1165
|
+
type: z.ZodEnum<["both", "physical", "postal"]>;
|
1166
|
+
line: z.ZodArray<z.ZodString, "many">;
|
1167
|
+
text: z.ZodOptional<z.ZodString>;
|
1168
|
+
city: z.ZodString;
|
1169
|
+
state: z.ZodString;
|
1170
|
+
postalCode: z.ZodString;
|
1171
|
+
}, "strip", z.ZodTypeAny, {
|
1172
|
+
type: "both" | "physical" | "postal";
|
1173
|
+
state: string;
|
1174
|
+
line: string[];
|
1175
|
+
use: "temp" | "old" | "home" | "work";
|
1176
|
+
city: string;
|
1177
|
+
postalCode: string;
|
1178
|
+
text?: string | undefined;
|
1179
|
+
}, {
|
1180
|
+
type: "both" | "physical" | "postal";
|
1181
|
+
state: string;
|
1182
|
+
line: string[];
|
1183
|
+
use: "temp" | "old" | "home" | "work";
|
1184
|
+
city: string;
|
1185
|
+
postalCode: string;
|
1186
|
+
text?: string | undefined;
|
1187
1187
|
}>, "many">>;
|
1188
1188
|
deceased: z.ZodOptional<z.ZodBoolean>;
|
1189
1189
|
photo: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
@@ -1196,14 +1196,15 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1196
1196
|
data?: string | undefined;
|
1197
1197
|
url?: string | undefined;
|
1198
1198
|
}>, "many">>;
|
1199
|
+
}, {
|
1199
1200
|
id: z.ZodString;
|
1200
|
-
}
|
1201
|
+
}>, "strip", z.ZodTypeAny, {
|
1201
1202
|
id: string;
|
1202
1203
|
name: {
|
1203
1204
|
use: string;
|
1204
1205
|
given: string[];
|
1205
|
-
family?: string | undefined;
|
1206
1206
|
prefix?: string | undefined;
|
1207
|
+
family?: string | undefined;
|
1207
1208
|
suffix?: string | undefined;
|
1208
1209
|
}[];
|
1209
1210
|
birthDate: string;
|
@@ -1271,17 +1272,24 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1271
1272
|
value: string;
|
1272
1273
|
system: string;
|
1273
1274
|
id?: string | undefined;
|
1275
|
+
use?: string | undefined;
|
1274
1276
|
extension?: {
|
1275
1277
|
url: string;
|
1276
1278
|
valueBoolean: boolean;
|
1277
1279
|
}[] | undefined;
|
1278
|
-
use?: string | undefined;
|
1279
1280
|
rank?: number | undefined;
|
1280
1281
|
}[] | undefined;
|
1281
1282
|
identifier?: {
|
1282
|
-
|
1283
|
+
type?: {
|
1284
|
+
coding: {
|
1285
|
+
code: string;
|
1286
|
+
display?: string | undefined;
|
1287
|
+
system?: string | undefined;
|
1288
|
+
}[];
|
1289
|
+
} | undefined;
|
1283
1290
|
value?: string | undefined;
|
1284
1291
|
use?: "usual" | "official" | "secondary" | "temp" | "old" | undefined;
|
1292
|
+
system?: string | undefined;
|
1285
1293
|
period?: {
|
1286
1294
|
start: string;
|
1287
1295
|
end?: string | undefined;
|
@@ -1289,13 +1297,6 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1289
1297
|
start: string;
|
1290
1298
|
end?: string | undefined;
|
1291
1299
|
}[] | undefined;
|
1292
|
-
type?: {
|
1293
|
-
coding: {
|
1294
|
-
code: string;
|
1295
|
-
display?: string | undefined;
|
1296
|
-
system?: string | undefined;
|
1297
|
-
}[];
|
1298
|
-
} | undefined;
|
1299
1300
|
assigner?: {
|
1300
1301
|
display: string;
|
1301
1302
|
} | undefined;
|
@@ -1305,6 +1306,10 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1305
1306
|
name: {
|
1306
1307
|
text: string;
|
1307
1308
|
};
|
1309
|
+
extension?: {
|
1310
|
+
url: string;
|
1311
|
+
valueBoolean: boolean;
|
1312
|
+
}[] | undefined;
|
1308
1313
|
relationship?: {
|
1309
1314
|
text: string;
|
1310
1315
|
}[] | undefined;
|
@@ -1312,10 +1317,6 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1312
1317
|
value: string;
|
1313
1318
|
system: string;
|
1314
1319
|
}[] | undefined;
|
1315
|
-
extension?: {
|
1316
|
-
url: string;
|
1317
|
-
valueBoolean: boolean;
|
1318
|
-
}[] | undefined;
|
1319
1320
|
}[] | undefined;
|
1320
1321
|
deceased?: boolean | undefined;
|
1321
1322
|
photo?: {
|
@@ -1327,8 +1328,8 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1327
1328
|
name: {
|
1328
1329
|
use: string;
|
1329
1330
|
given: string[];
|
1330
|
-
family?: string | undefined;
|
1331
1331
|
prefix?: string | undefined;
|
1332
|
+
family?: string | undefined;
|
1332
1333
|
suffix?: string | undefined;
|
1333
1334
|
}[];
|
1334
1335
|
birthDate: string;
|
@@ -1396,17 +1397,24 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1396
1397
|
value: string;
|
1397
1398
|
system: string;
|
1398
1399
|
id?: string | undefined;
|
1400
|
+
use?: string | undefined;
|
1399
1401
|
extension?: {
|
1400
1402
|
url: string;
|
1401
1403
|
valueBoolean: boolean;
|
1402
1404
|
}[] | undefined;
|
1403
|
-
use?: string | undefined;
|
1404
1405
|
rank?: number | undefined;
|
1405
1406
|
}[] | undefined;
|
1406
1407
|
identifier?: {
|
1407
|
-
|
1408
|
+
type?: {
|
1409
|
+
coding: {
|
1410
|
+
code: string;
|
1411
|
+
display?: string | undefined;
|
1412
|
+
system?: string | undefined;
|
1413
|
+
}[];
|
1414
|
+
} | undefined;
|
1408
1415
|
value?: string | undefined;
|
1409
1416
|
use?: "usual" | "official" | "secondary" | "temp" | "old" | undefined;
|
1417
|
+
system?: string | undefined;
|
1410
1418
|
period?: {
|
1411
1419
|
start: Date;
|
1412
1420
|
end?: Date | undefined;
|
@@ -1414,13 +1422,6 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1414
1422
|
start: Date;
|
1415
1423
|
end?: Date | undefined;
|
1416
1424
|
}[] | undefined;
|
1417
|
-
type?: {
|
1418
|
-
coding: {
|
1419
|
-
code: string;
|
1420
|
-
display?: string | undefined;
|
1421
|
-
system?: string | undefined;
|
1422
|
-
}[];
|
1423
|
-
} | undefined;
|
1424
1425
|
assigner?: {
|
1425
1426
|
display: string;
|
1426
1427
|
} | undefined;
|
@@ -1430,6 +1431,10 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1430
1431
|
name: {
|
1431
1432
|
text: string;
|
1432
1433
|
};
|
1434
|
+
extension?: {
|
1435
|
+
url: string;
|
1436
|
+
valueBoolean: boolean;
|
1437
|
+
}[] | undefined;
|
1433
1438
|
relationship?: {
|
1434
1439
|
text: string;
|
1435
1440
|
}[] | undefined;
|
@@ -1437,10 +1442,6 @@ export declare const patientWithIdSchema: z.ZodObject<{
|
|
1437
1442
|
value: string;
|
1438
1443
|
system: string;
|
1439
1444
|
}[] | undefined;
|
1440
|
-
extension?: {
|
1441
|
-
url: string;
|
1442
|
-
valueBoolean: boolean;
|
1443
|
-
}[] | undefined;
|
1444
1445
|
}[] | undefined;
|
1445
1446
|
deceased?: boolean | undefined;
|
1446
1447
|
photo?: {
|