@awell-health/awell-extensions 1.1.43-beta47 → 1.1.43-beta50

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.
Files changed (66) hide show
  1. package/dist/extensions/athenahealth/actions/index.d.ts +1 -1
  2. package/dist/extensions/athenahealth/settings.d.ts +2 -2
  3. package/dist/extensions/awell/v1/actions/updatePatient/config/fields.d.ts +2 -2
  4. package/dist/extensions/calDotCom/actions/createBooking/config/fields.d.ts +12 -12
  5. package/dist/extensions/calDotCom/actions/updateBooking/config/fields.d.ts +6 -6
  6. package/dist/extensions/calDotCom/schema.d.ts +70 -70
  7. package/dist/extensions/calendly/schema.d.ts +262 -262
  8. package/dist/extensions/calendly/webhooks/index.d.ts +1 -1
  9. package/dist/extensions/canvasMedical/v1/actions/createClaim/config/fields.d.ts +2 -2
  10. package/dist/extensions/canvasMedical/v1/actions/createCoverage/config/fields.d.ts +2 -2
  11. package/dist/extensions/canvasMedical/v1/actions/createQuestionnaireResponses/config/fields.d.ts +2 -2
  12. package/dist/extensions/canvasMedical/v1/actions/updateCoverage/config/fields.d.ts +4 -4
  13. package/dist/extensions/canvasMedical/v1/validation/address.zod.d.ts +4 -4
  14. package/dist/extensions/canvasMedical/v1/validation/appointment.zod.d.ts +48 -48
  15. package/dist/extensions/canvasMedical/v1/validation/claim.d.ts +6 -6
  16. package/dist/extensions/canvasMedical/v1/validation/coding.zod.d.ts +2 -2
  17. package/dist/extensions/canvasMedical/v1/validation/coverage.zod.d.ts +6 -6
  18. package/dist/extensions/canvasMedical/v1/validation/identifier.zod.d.ts +8 -8
  19. package/dist/extensions/canvasMedical/v1/validation/patient.zod.d.ts +148 -148
  20. package/dist/extensions/canvasMedical/v1/validation/questionnaireResponses.zod.d.ts +30 -30
  21. package/dist/extensions/canvasMedical/v1/validation/settings.zod.d.ts +4 -4
  22. package/dist/extensions/canvasMedical/v1/validation/task.zod.d.ts +12 -12
  23. package/dist/extensions/collectData/v1/actions/remoteSingleSelect/config/fields.d.ts +2 -2
  24. package/dist/extensions/dockHealth/api/schema/atoms/patientReference.schema.d.ts +2 -2
  25. package/dist/extensions/dockHealth/api/schema/atoms/taskGroup.schema.d.ts +2 -2
  26. package/dist/extensions/dockHealth/api/schema/atoms/taskListReference.schema.d.ts +2 -2
  27. package/dist/extensions/dockHealth/api/schema/atoms/taskReference.schema.d.ts +2 -2
  28. package/dist/extensions/dockHealth/api/schema/atoms/taskWorkflowStatusReference.schema.d.ts +2 -2
  29. package/dist/extensions/dockHealth/api/schema/atoms/userReference.schema.d.ts +2 -2
  30. package/dist/extensions/dockHealth/api/schema/patient.schema.d.ts +10 -10
  31. package/dist/extensions/dockHealth/api/schema/task.schema.d.ts +77 -77
  32. package/dist/extensions/dockHealth/lib/dock.types.d.ts +2 -2
  33. package/dist/extensions/elation/actions/index.d.ts +2 -2
  34. package/dist/extensions/elation/validation/appointment.zod.d.ts +18 -18
  35. package/dist/extensions/elation/validation/labOrder.zod.d.ts +2 -2
  36. package/dist/extensions/elation/validation/nonVisitNote.zod.d.ts +6 -6
  37. package/dist/extensions/elation/validation/patient.zod.d.ts +116 -116
  38. package/dist/extensions/elation/validation/physician.zod.d.ts +2 -2
  39. package/dist/extensions/elation/validation/settings.zod.d.ts +6 -6
  40. package/dist/extensions/formsort/settings.d.ts +3 -3
  41. package/dist/extensions/healthie/lib/validation/createTask.zod.d.ts +1 -1
  42. package/dist/extensions/healthie/lib/validation/sendFormCompletionRequest.zod.d.ts +4 -4
  43. package/dist/extensions/infobip/v1/actions/sendEmail/config/fields.d.ts +2 -2
  44. package/dist/extensions/mailgun/settings.d.ts +1 -1
  45. package/dist/extensions/mailgun/v1/actions/sendEmailWithTemplate/config/fields.d.ts +2 -2
  46. package/dist/extensions/math/v1/actions/calculateDateDifference/config/fields.d.ts +2 -2
  47. package/dist/extensions/math/v1/actions/generateRandomNumber/config/fields.d.ts +2 -2
  48. package/dist/extensions/medplum/actions/createPatient/config/fields.d.ts +4 -4
  49. package/dist/extensions/medplum/actions/createServiceRequest/config/fields.d.ts +4 -4
  50. package/dist/extensions/medplum/actions/createTask/config/fields.d.ts +6 -6
  51. package/dist/extensions/medplum/fhir/schemas/atoms/PeriodSchema.d.ts +2 -2
  52. package/dist/extensions/medplum/fhir/schemas/resources/patient.schema.d.ts +4 -4
  53. package/dist/extensions/medplum/fhir/schemas/resources/serviceRequest.schema.d.ts +4 -4
  54. package/dist/extensions/medplum/fhir/schemas/resources/task.schema.d.ts +6 -6
  55. package/dist/extensions/metriport/actions/index.d.ts +1 -1
  56. package/dist/extensions/metriport/actions/patient/validation.d.ts +4 -4
  57. package/dist/extensions/stripe/actions/createCustomer/config/fields.d.ts +2 -2
  58. package/dist/extensions/stripe/actions/embeddedCheckout/config/fields.d.ts +2 -2
  59. package/dist/extensions/talkDesk/settings.d.ts +1 -1
  60. package/dist/extensions/textline/client/schema.d.ts +10 -10
  61. package/dist/extensions/westFax/actions/sendFax/sendFax.test.js +13 -3
  62. package/dist/extensions/westFax/actions/sendFax/sendFax.test.js.map +1 -1
  63. package/dist/extensions/westFax/settings.d.ts +2 -2
  64. package/dist/extensions/zendesk/v1/actions/createTask/config/fields.d.ts +2 -2
  65. package/dist/extensions/zusHealth/validation/settings.zod.d.ts +6 -6
  66. package/package.json +2 -1
@@ -27,9 +27,9 @@ export declare const guarantorSchema: z.ZodObject<{
27
27
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  middle_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  }, "strip", z.ZodTypeAny, {
30
- state: string;
31
30
  address: string;
32
31
  city: string;
32
+ state: string;
33
33
  zip: string;
34
34
  first_name?: string | null | undefined;
35
35
  last_name?: string | null | undefined;
@@ -37,9 +37,9 @@ export declare const guarantorSchema: z.ZodObject<{
37
37
  relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
38
38
  middle_name?: string | null | undefined;
39
39
  }, {
40
- state: string;
41
40
  address: string;
42
41
  city: string;
42
+ state: string;
43
43
  zip: string;
44
44
  first_name?: string | null | undefined;
45
45
  last_name?: string | null | undefined;
@@ -76,17 +76,17 @@ export declare const insuranceSchema: z.ZodObject<{
76
76
  relationship_to_insured: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
77
  }, "strip", z.ZodTypeAny, {
78
78
  rank: "secondary" | "primary" | "tertiary";
79
- state?: string | null | undefined;
80
79
  address?: string | null | undefined;
81
- suite?: string | null | undefined;
82
- extension?: string | null | undefined;
83
80
  phone?: string | null | undefined;
84
81
  city?: string | null | undefined;
82
+ state?: string | null | undefined;
85
83
  zip?: string | null | undefined;
84
+ extension?: string | null | undefined;
86
85
  carrier?: string | null | undefined;
87
86
  member_id?: string | null | undefined;
88
87
  group_id?: string | null | undefined;
89
88
  plan?: string | null | undefined;
89
+ suite?: string | null | undefined;
90
90
  copay?: number | null | undefined;
91
91
  deductible?: number | null | undefined;
92
92
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -98,22 +98,22 @@ export declare const insuranceSchema: z.ZodObject<{
98
98
  insured_person_zip?: string | null | undefined;
99
99
  insured_person_id?: string | null | undefined;
100
100
  insured_person_dob?: string | null | undefined;
101
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
101
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
102
102
  insured_person_ssn?: string | null | undefined;
103
103
  relationship_to_insured?: string | null | undefined;
104
104
  }, {
105
105
  rank: "secondary" | "primary" | "tertiary";
106
- state?: string | null | undefined;
107
106
  address?: string | null | undefined;
108
- suite?: string | null | undefined;
109
- extension?: string | null | undefined;
110
107
  phone?: string | null | undefined;
111
108
  city?: string | null | undefined;
109
+ state?: string | null | undefined;
112
110
  zip?: string | null | undefined;
111
+ extension?: string | null | undefined;
113
112
  carrier?: string | null | undefined;
114
113
  member_id?: string | null | undefined;
115
114
  group_id?: string | null | undefined;
116
115
  plan?: string | null | undefined;
116
+ suite?: string | null | undefined;
117
117
  copay?: number | null | undefined;
118
118
  deductible?: number | null | undefined;
119
119
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -125,7 +125,7 @@ export declare const insuranceSchema: z.ZodObject<{
125
125
  insured_person_zip?: string | null | undefined;
126
126
  insured_person_id?: string | null | undefined;
127
127
  insured_person_dob?: Date | null | undefined;
128
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
128
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
129
129
  insured_person_ssn?: string | null | undefined;
130
130
  relationship_to_insured?: string | null | undefined;
131
131
  }>;
@@ -135,12 +135,12 @@ export declare const patientStatusSchema: z.ZodObject<{
135
135
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
136
  status: z.ZodEnum<["active", "deceased", "inactive", "prospect"]>;
137
137
  }, "strip", z.ZodTypeAny, {
138
- status: "active" | "inactive" | "deceased" | "prospect";
138
+ status: "active" | "deceased" | "inactive" | "prospect";
139
139
  deceased_date?: string | null | undefined;
140
140
  inactive_reason?: "unknown" | "other" | "patient left on bad terms" | "patient left on good terms" | "practice ended relationship" | null | undefined;
141
141
  notes?: string | null | undefined;
142
142
  }, {
143
- status: "active" | "inactive" | "deceased" | "prospect";
143
+ status: "active" | "deceased" | "inactive" | "prospect";
144
144
  deceased_date?: Date | null | undefined;
145
145
  inactive_reason?: "unknown" | "other" | "patient left on bad terms" | "patient left on good terms" | "practice ended relationship" | null | undefined;
146
146
  notes?: string | null | undefined;
@@ -171,14 +171,14 @@ export declare const patientSchema: z.ZodObject<{
171
171
  state: z.ZodString;
172
172
  zip: z.ZodString;
173
173
  }, "strict", z.ZodTypeAny, {
174
- state: string;
175
174
  city: string;
175
+ state: string;
176
176
  zip: string;
177
177
  address_line1: string;
178
178
  address_line2?: string | null | undefined;
179
179
  }, {
180
- state: string;
181
180
  city: string;
181
+ state: string;
182
182
  zip: string;
183
183
  address_line1: string;
184
184
  address_line2?: string | null | undefined;
@@ -211,9 +211,9 @@ export declare const patientSchema: z.ZodObject<{
211
211
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
212
  middle_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
213
213
  }, "strict", z.ZodTypeAny, {
214
- state: string;
215
214
  address: string;
216
215
  city: string;
216
+ state: string;
217
217
  zip: string;
218
218
  first_name?: string | null | undefined;
219
219
  last_name?: string | null | undefined;
@@ -221,9 +221,9 @@ export declare const patientSchema: z.ZodObject<{
221
221
  relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
222
222
  middle_name?: string | null | undefined;
223
223
  }, {
224
- state: string;
225
224
  address: string;
226
225
  city: string;
226
+ state: string;
227
227
  zip: string;
228
228
  first_name?: string | null | undefined;
229
229
  last_name?: string | null | undefined;
@@ -260,17 +260,17 @@ export declare const patientSchema: z.ZodObject<{
260
260
  relationship_to_insured: z.ZodOptional<z.ZodNullable<z.ZodString>>;
261
261
  }, "strict", z.ZodTypeAny, {
262
262
  rank: "secondary" | "primary" | "tertiary";
263
- state?: string | null | undefined;
264
263
  address?: string | null | undefined;
265
- suite?: string | null | undefined;
266
- extension?: string | null | undefined;
267
264
  phone?: string | null | undefined;
268
265
  city?: string | null | undefined;
266
+ state?: string | null | undefined;
269
267
  zip?: string | null | undefined;
268
+ extension?: string | null | undefined;
270
269
  carrier?: string | null | undefined;
271
270
  member_id?: string | null | undefined;
272
271
  group_id?: string | null | undefined;
273
272
  plan?: string | null | undefined;
273
+ suite?: string | null | undefined;
274
274
  copay?: number | null | undefined;
275
275
  deductible?: number | null | undefined;
276
276
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -282,22 +282,22 @@ export declare const patientSchema: z.ZodObject<{
282
282
  insured_person_zip?: string | null | undefined;
283
283
  insured_person_id?: string | null | undefined;
284
284
  insured_person_dob?: string | null | undefined;
285
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
285
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
286
286
  insured_person_ssn?: string | null | undefined;
287
287
  relationship_to_insured?: string | null | undefined;
288
288
  }, {
289
289
  rank: "secondary" | "primary" | "tertiary";
290
- state?: string | null | undefined;
291
290
  address?: string | null | undefined;
292
- suite?: string | null | undefined;
293
- extension?: string | null | undefined;
294
291
  phone?: string | null | undefined;
295
292
  city?: string | null | undefined;
293
+ state?: string | null | undefined;
296
294
  zip?: string | null | undefined;
295
+ extension?: string | null | undefined;
297
296
  carrier?: string | null | undefined;
298
297
  member_id?: string | null | undefined;
299
298
  group_id?: string | null | undefined;
300
299
  plan?: string | null | undefined;
300
+ suite?: string | null | undefined;
301
301
  copay?: number | null | undefined;
302
302
  deductible?: number | null | undefined;
303
303
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -309,7 +309,7 @@ export declare const patientSchema: z.ZodObject<{
309
309
  insured_person_zip?: string | null | undefined;
310
310
  insured_person_id?: string | null | undefined;
311
311
  insured_person_dob?: Date | null | undefined;
312
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
312
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
313
313
  insured_person_ssn?: string | null | undefined;
314
314
  relationship_to_insured?: string | null | undefined;
315
315
  }>, "many">>>;
@@ -342,17 +342,17 @@ export declare const patientSchema: z.ZodObject<{
342
342
  relationship_to_insured: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
343
  }, "strict", z.ZodTypeAny, {
344
344
  rank: "secondary" | "primary" | "tertiary";
345
- state?: string | null | undefined;
346
345
  address?: string | null | undefined;
347
- suite?: string | null | undefined;
348
- extension?: string | null | undefined;
349
346
  phone?: string | null | undefined;
350
347
  city?: string | null | undefined;
348
+ state?: string | null | undefined;
351
349
  zip?: string | null | undefined;
350
+ extension?: string | null | undefined;
352
351
  carrier?: string | null | undefined;
353
352
  member_id?: string | null | undefined;
354
353
  group_id?: string | null | undefined;
355
354
  plan?: string | null | undefined;
355
+ suite?: string | null | undefined;
356
356
  copay?: number | null | undefined;
357
357
  deductible?: number | null | undefined;
358
358
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -364,22 +364,22 @@ export declare const patientSchema: z.ZodObject<{
364
364
  insured_person_zip?: string | null | undefined;
365
365
  insured_person_id?: string | null | undefined;
366
366
  insured_person_dob?: string | null | undefined;
367
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
367
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
368
368
  insured_person_ssn?: string | null | undefined;
369
369
  relationship_to_insured?: string | null | undefined;
370
370
  }, {
371
371
  rank: "secondary" | "primary" | "tertiary";
372
- state?: string | null | undefined;
373
372
  address?: string | null | undefined;
374
- suite?: string | null | undefined;
375
- extension?: string | null | undefined;
376
373
  phone?: string | null | undefined;
377
374
  city?: string | null | undefined;
375
+ state?: string | null | undefined;
378
376
  zip?: string | null | undefined;
377
+ extension?: string | null | undefined;
379
378
  carrier?: string | null | undefined;
380
379
  member_id?: string | null | undefined;
381
380
  group_id?: string | null | undefined;
382
381
  plan?: string | null | undefined;
382
+ suite?: string | null | undefined;
383
383
  copay?: number | null | undefined;
384
384
  deductible?: number | null | undefined;
385
385
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -391,7 +391,7 @@ export declare const patientSchema: z.ZodObject<{
391
391
  insured_person_zip?: string | null | undefined;
392
392
  insured_person_id?: string | null | undefined;
393
393
  insured_person_dob?: Date | null | undefined;
394
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
394
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
395
395
  insured_person_ssn?: string | null | undefined;
396
396
  relationship_to_insured?: string | null | undefined;
397
397
  }>, "many">>>;
@@ -402,12 +402,12 @@ export declare const patientSchema: z.ZodObject<{
402
402
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
403
403
  status: z.ZodEnum<["active", "deceased", "inactive", "prospect"]>;
404
404
  }, "strict", z.ZodTypeAny, {
405
- status: "active" | "inactive" | "deceased" | "prospect";
405
+ status: "active" | "deceased" | "inactive" | "prospect";
406
406
  deceased_date?: string | null | undefined;
407
407
  inactive_reason?: "unknown" | "other" | "patient left on bad terms" | "patient left on good terms" | "practice ended relationship" | null | undefined;
408
408
  notes?: string | null | undefined;
409
409
  }, {
410
- status: "active" | "inactive" | "deceased" | "prospect";
410
+ status: "active" | "deceased" | "inactive" | "prospect";
411
411
  deceased_date?: Date | null | undefined;
412
412
  inactive_reason?: "unknown" | "other" | "patient left on bad terms" | "patient left on good terms" | "practice ended relationship" | null | undefined;
413
413
  notes?: string | null | undefined;
@@ -433,21 +433,21 @@ export declare const patientSchema: z.ZodObject<{
433
433
  state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
434
434
  zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
435
435
  }, "strict", z.ZodTypeAny, {
436
- state?: string | null | undefined;
437
436
  first_name?: string | null | undefined;
438
437
  last_name?: string | null | undefined;
439
438
  phone?: string | null | undefined;
440
439
  city?: string | null | undefined;
440
+ state?: string | null | undefined;
441
441
  zip?: string | null | undefined;
442
442
  relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
443
443
  address_line1?: string | null | undefined;
444
444
  address_line2?: string | null | undefined;
445
445
  }, {
446
- state?: string | null | undefined;
447
446
  first_name?: string | null | undefined;
448
447
  last_name?: string | null | undefined;
449
448
  phone?: string | null | undefined;
450
449
  city?: string | null | undefined;
450
+ state?: string | null | undefined;
451
451
  zip?: string | null | undefined;
452
452
  relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
453
453
  address_line1?: string | null | undefined;
@@ -479,20 +479,20 @@ export declare const patientSchema: z.ZodObject<{
479
479
  caregiver_practice: number;
480
480
  dob: string;
481
481
  address?: {
482
- state: string;
483
482
  city: string;
483
+ state: string;
484
484
  zip: string;
485
485
  address_line1: string;
486
486
  address_line2?: string | null | undefined;
487
487
  } | null | undefined;
488
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
489
488
  preferred_language?: string | null | undefined;
489
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
490
490
  tags?: string[] | null | undefined;
491
491
  middle_name?: string | null | undefined;
492
492
  notes?: string | null | undefined;
493
493
  actual_name?: string | null | undefined;
494
494
  gender_identity?: "unknown" | "man" | "woman" | "transgender_man" | "transgender_woman" | "nonbinary" | "option_not_listed" | "prefer_not_to_say" | "two_spirit" | null | undefined;
495
- legal_gender_marker?: "X" | "M" | "F" | "U" | null | undefined;
495
+ legal_gender_marker?: "M" | "F" | "X" | "U" | null | undefined;
496
496
  pronouns?: "he_him_his" | "she_her_hers" | "they_them_theirs" | "not_listed" | null | undefined;
497
497
  sexual_orientation?: "unknown" | "option_not_listed" | "prefer_not_to_say" | "straight" | "gay" | "bisexual" | "lesbian" | "queer" | "asexual" | null | undefined;
498
498
  ssn?: string | null | undefined;
@@ -507,9 +507,9 @@ export declare const patientSchema: z.ZodObject<{
507
507
  email: string;
508
508
  }[] | null | undefined;
509
509
  guarantor?: {
510
- state: string;
511
510
  address: string;
512
511
  city: string;
512
+ state: string;
513
513
  zip: string;
514
514
  first_name?: string | null | undefined;
515
515
  last_name?: string | null | undefined;
@@ -519,17 +519,17 @@ export declare const patientSchema: z.ZodObject<{
519
519
  } | null | undefined;
520
520
  insurances?: {
521
521
  rank: "secondary" | "primary" | "tertiary";
522
- state?: string | null | undefined;
523
522
  address?: string | null | undefined;
524
- suite?: string | null | undefined;
525
- extension?: string | null | undefined;
526
523
  phone?: string | null | undefined;
527
524
  city?: string | null | undefined;
525
+ state?: string | null | undefined;
528
526
  zip?: string | null | undefined;
527
+ extension?: string | null | undefined;
529
528
  carrier?: string | null | undefined;
530
529
  member_id?: string | null | undefined;
531
530
  group_id?: string | null | undefined;
532
531
  plan?: string | null | undefined;
532
+ suite?: string | null | undefined;
533
533
  copay?: number | null | undefined;
534
534
  deductible?: number | null | undefined;
535
535
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -541,23 +541,23 @@ export declare const patientSchema: z.ZodObject<{
541
541
  insured_person_zip?: string | null | undefined;
542
542
  insured_person_id?: string | null | undefined;
543
543
  insured_person_dob?: string | null | undefined;
544
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
544
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
545
545
  insured_person_ssn?: string | null | undefined;
546
546
  relationship_to_insured?: string | null | undefined;
547
547
  }[] | null | undefined;
548
548
  deleted_insurances?: {
549
549
  rank: "secondary" | "primary" | "tertiary";
550
- state?: string | null | undefined;
551
550
  address?: string | null | undefined;
552
- suite?: string | null | undefined;
553
- extension?: string | null | undefined;
554
551
  phone?: string | null | undefined;
555
552
  city?: string | null | undefined;
553
+ state?: string | null | undefined;
556
554
  zip?: string | null | undefined;
555
+ extension?: string | null | undefined;
557
556
  carrier?: string | null | undefined;
558
557
  member_id?: string | null | undefined;
559
558
  group_id?: string | null | undefined;
560
559
  plan?: string | null | undefined;
560
+ suite?: string | null | undefined;
561
561
  copay?: number | null | undefined;
562
562
  deductible?: number | null | undefined;
563
563
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -569,12 +569,12 @@ export declare const patientSchema: z.ZodObject<{
569
569
  insured_person_zip?: string | null | undefined;
570
570
  insured_person_id?: string | null | undefined;
571
571
  insured_person_dob?: string | null | undefined;
572
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
572
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
573
573
  insured_person_ssn?: string | null | undefined;
574
574
  relationship_to_insured?: string | null | undefined;
575
575
  }[] | null | undefined;
576
576
  patient_status?: {
577
- status: "active" | "inactive" | "deceased" | "prospect";
577
+ status: "active" | "deceased" | "inactive" | "prospect";
578
578
  deceased_date?: string | null | undefined;
579
579
  inactive_reason?: "unknown" | "other" | "patient left on bad terms" | "patient left on good terms" | "practice ended relationship" | null | undefined;
580
580
  notes?: string | null | undefined;
@@ -584,11 +584,11 @@ export declare const patientSchema: z.ZodObject<{
584
584
  preferred_pharmacy_2?: string | null | undefined;
585
585
  } | null | undefined;
586
586
  emergency_contact?: {
587
- state?: string | null | undefined;
588
587
  first_name?: string | null | undefined;
589
588
  last_name?: string | null | undefined;
590
589
  phone?: string | null | undefined;
591
590
  city?: string | null | undefined;
591
+ state?: string | null | undefined;
592
592
  zip?: string | null | undefined;
593
593
  relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
594
594
  address_line1?: string | null | undefined;
@@ -611,20 +611,20 @@ export declare const patientSchema: z.ZodObject<{
611
611
  caregiver_practice: number;
612
612
  dob: Date;
613
613
  address?: {
614
- state: string;
615
614
  city: string;
615
+ state: string;
616
616
  zip: string;
617
617
  address_line1: string;
618
618
  address_line2?: string | null | undefined;
619
619
  } | null | undefined;
620
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
621
620
  preferred_language?: string | null | undefined;
621
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
622
622
  tags?: string[] | null | undefined;
623
623
  middle_name?: string | null | undefined;
624
624
  notes?: string | null | undefined;
625
625
  actual_name?: string | null | undefined;
626
626
  gender_identity?: "unknown" | "man" | "woman" | "transgender_man" | "transgender_woman" | "nonbinary" | "option_not_listed" | "prefer_not_to_say" | "two_spirit" | null | undefined;
627
- legal_gender_marker?: "X" | "M" | "F" | "U" | null | undefined;
627
+ legal_gender_marker?: "M" | "F" | "X" | "U" | null | undefined;
628
628
  pronouns?: "he_him_his" | "she_her_hers" | "they_them_theirs" | "not_listed" | null | undefined;
629
629
  sexual_orientation?: "unknown" | "option_not_listed" | "prefer_not_to_say" | "straight" | "gay" | "bisexual" | "lesbian" | "queer" | "asexual" | null | undefined;
630
630
  ssn?: string | null | undefined;
@@ -639,9 +639,9 @@ export declare const patientSchema: z.ZodObject<{
639
639
  email: string;
640
640
  }[] | null | undefined;
641
641
  guarantor?: {
642
- state: string;
643
642
  address: string;
644
643
  city: string;
644
+ state: string;
645
645
  zip: string;
646
646
  first_name?: string | null | undefined;
647
647
  last_name?: string | null | undefined;
@@ -651,17 +651,17 @@ export declare const patientSchema: z.ZodObject<{
651
651
  } | null | undefined;
652
652
  insurances?: {
653
653
  rank: "secondary" | "primary" | "tertiary";
654
- state?: string | null | undefined;
655
654
  address?: string | null | undefined;
656
- suite?: string | null | undefined;
657
- extension?: string | null | undefined;
658
655
  phone?: string | null | undefined;
659
656
  city?: string | null | undefined;
657
+ state?: string | null | undefined;
660
658
  zip?: string | null | undefined;
659
+ extension?: string | null | undefined;
661
660
  carrier?: string | null | undefined;
662
661
  member_id?: string | null | undefined;
663
662
  group_id?: string | null | undefined;
664
663
  plan?: string | null | undefined;
664
+ suite?: string | null | undefined;
665
665
  copay?: number | null | undefined;
666
666
  deductible?: number | null | undefined;
667
667
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -673,23 +673,23 @@ export declare const patientSchema: z.ZodObject<{
673
673
  insured_person_zip?: string | null | undefined;
674
674
  insured_person_id?: string | null | undefined;
675
675
  insured_person_dob?: Date | null | undefined;
676
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
676
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
677
677
  insured_person_ssn?: string | null | undefined;
678
678
  relationship_to_insured?: string | null | undefined;
679
679
  }[] | null | undefined;
680
680
  deleted_insurances?: {
681
681
  rank: "secondary" | "primary" | "tertiary";
682
- state?: string | null | undefined;
683
682
  address?: string | null | undefined;
684
- suite?: string | null | undefined;
685
- extension?: string | null | undefined;
686
683
  phone?: string | null | undefined;
687
684
  city?: string | null | undefined;
685
+ state?: string | null | undefined;
688
686
  zip?: string | null | undefined;
687
+ extension?: string | null | undefined;
689
688
  carrier?: string | null | undefined;
690
689
  member_id?: string | null | undefined;
691
690
  group_id?: string | null | undefined;
692
691
  plan?: string | null | undefined;
692
+ suite?: string | null | undefined;
693
693
  copay?: number | null | undefined;
694
694
  deductible?: number | null | undefined;
695
695
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -701,12 +701,12 @@ export declare const patientSchema: z.ZodObject<{
701
701
  insured_person_zip?: string | null | undefined;
702
702
  insured_person_id?: string | null | undefined;
703
703
  insured_person_dob?: Date | null | undefined;
704
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
704
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
705
705
  insured_person_ssn?: string | null | undefined;
706
706
  relationship_to_insured?: string | null | undefined;
707
707
  }[] | null | undefined;
708
708
  patient_status?: {
709
- status: "active" | "inactive" | "deceased" | "prospect";
709
+ status: "active" | "deceased" | "inactive" | "prospect";
710
710
  deceased_date?: Date | null | undefined;
711
711
  inactive_reason?: "unknown" | "other" | "patient left on bad terms" | "patient left on good terms" | "practice ended relationship" | null | undefined;
712
712
  notes?: string | null | undefined;
@@ -716,11 +716,11 @@ export declare const patientSchema: z.ZodObject<{
716
716
  preferred_pharmacy_2?: string | null | undefined;
717
717
  } | null | undefined;
718
718
  emergency_contact?: {
719
- state?: string | null | undefined;
720
719
  first_name?: string | null | undefined;
721
720
  last_name?: string | null | undefined;
722
721
  phone?: string | null | undefined;
723
722
  city?: string | null | undefined;
723
+ state?: string | null | undefined;
724
724
  zip?: string | null | undefined;
725
725
  relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
726
726
  address_line1?: string | null | undefined;
@@ -762,14 +762,14 @@ export declare const updatePatientSchema: z.ZodObject<{
762
762
  state: z.ZodString;
763
763
  zip: z.ZodString;
764
764
  }, "strict", z.ZodTypeAny, {
765
- state: string;
766
765
  city: string;
766
+ state: string;
767
767
  zip: string;
768
768
  address_line1: string;
769
769
  address_line2?: string | null | undefined;
770
770
  }, {
771
- state: string;
772
771
  city: string;
772
+ state: string;
773
773
  zip: string;
774
774
  address_line1: string;
775
775
  address_line2?: string | null | undefined;
@@ -802,9 +802,9 @@ export declare const updatePatientSchema: z.ZodObject<{
802
802
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
803
803
  middle_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
804
804
  }, "strict", z.ZodTypeAny, {
805
- state: string;
806
805
  address: string;
807
806
  city: string;
807
+ state: string;
808
808
  zip: string;
809
809
  first_name?: string | null | undefined;
810
810
  last_name?: string | null | undefined;
@@ -812,9 +812,9 @@ export declare const updatePatientSchema: z.ZodObject<{
812
812
  relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
813
813
  middle_name?: string | null | undefined;
814
814
  }, {
815
- state: string;
816
815
  address: string;
817
816
  city: string;
817
+ state: string;
818
818
  zip: string;
819
819
  first_name?: string | null | undefined;
820
820
  last_name?: string | null | undefined;
@@ -851,17 +851,17 @@ export declare const updatePatientSchema: z.ZodObject<{
851
851
  relationship_to_insured: z.ZodOptional<z.ZodNullable<z.ZodString>>;
852
852
  }, "strict", z.ZodTypeAny, {
853
853
  rank: "secondary" | "primary" | "tertiary";
854
- state?: string | null | undefined;
855
854
  address?: string | null | undefined;
856
- suite?: string | null | undefined;
857
- extension?: string | null | undefined;
858
855
  phone?: string | null | undefined;
859
856
  city?: string | null | undefined;
857
+ state?: string | null | undefined;
860
858
  zip?: string | null | undefined;
859
+ extension?: string | null | undefined;
861
860
  carrier?: string | null | undefined;
862
861
  member_id?: string | null | undefined;
863
862
  group_id?: string | null | undefined;
864
863
  plan?: string | null | undefined;
864
+ suite?: string | null | undefined;
865
865
  copay?: number | null | undefined;
866
866
  deductible?: number | null | undefined;
867
867
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -873,22 +873,22 @@ export declare const updatePatientSchema: z.ZodObject<{
873
873
  insured_person_zip?: string | null | undefined;
874
874
  insured_person_id?: string | null | undefined;
875
875
  insured_person_dob?: string | null | undefined;
876
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
876
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
877
877
  insured_person_ssn?: string | null | undefined;
878
878
  relationship_to_insured?: string | null | undefined;
879
879
  }, {
880
880
  rank: "secondary" | "primary" | "tertiary";
881
- state?: string | null | undefined;
882
881
  address?: string | null | undefined;
883
- suite?: string | null | undefined;
884
- extension?: string | null | undefined;
885
882
  phone?: string | null | undefined;
886
883
  city?: string | null | undefined;
884
+ state?: string | null | undefined;
887
885
  zip?: string | null | undefined;
886
+ extension?: string | null | undefined;
888
887
  carrier?: string | null | undefined;
889
888
  member_id?: string | null | undefined;
890
889
  group_id?: string | null | undefined;
891
890
  plan?: string | null | undefined;
891
+ suite?: string | null | undefined;
892
892
  copay?: number | null | undefined;
893
893
  deductible?: number | null | undefined;
894
894
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -900,7 +900,7 @@ export declare const updatePatientSchema: z.ZodObject<{
900
900
  insured_person_zip?: string | null | undefined;
901
901
  insured_person_id?: string | null | undefined;
902
902
  insured_person_dob?: Date | null | undefined;
903
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
903
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
904
904
  insured_person_ssn?: string | null | undefined;
905
905
  relationship_to_insured?: string | null | undefined;
906
906
  }>, "many">>>;
@@ -933,17 +933,17 @@ export declare const updatePatientSchema: z.ZodObject<{
933
933
  relationship_to_insured: z.ZodOptional<z.ZodNullable<z.ZodString>>;
934
934
  }, "strict", z.ZodTypeAny, {
935
935
  rank: "secondary" | "primary" | "tertiary";
936
- state?: string | null | undefined;
937
936
  address?: string | null | undefined;
938
- suite?: string | null | undefined;
939
- extension?: string | null | undefined;
940
937
  phone?: string | null | undefined;
941
938
  city?: string | null | undefined;
939
+ state?: string | null | undefined;
942
940
  zip?: string | null | undefined;
941
+ extension?: string | null | undefined;
943
942
  carrier?: string | null | undefined;
944
943
  member_id?: string | null | undefined;
945
944
  group_id?: string | null | undefined;
946
945
  plan?: string | null | undefined;
946
+ suite?: string | null | undefined;
947
947
  copay?: number | null | undefined;
948
948
  deductible?: number | null | undefined;
949
949
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -955,22 +955,22 @@ export declare const updatePatientSchema: z.ZodObject<{
955
955
  insured_person_zip?: string | null | undefined;
956
956
  insured_person_id?: string | null | undefined;
957
957
  insured_person_dob?: string | null | undefined;
958
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
958
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
959
959
  insured_person_ssn?: string | null | undefined;
960
960
  relationship_to_insured?: string | null | undefined;
961
961
  }, {
962
962
  rank: "secondary" | "primary" | "tertiary";
963
- state?: string | null | undefined;
964
963
  address?: string | null | undefined;
965
- suite?: string | null | undefined;
966
- extension?: string | null | undefined;
967
964
  phone?: string | null | undefined;
968
965
  city?: string | null | undefined;
966
+ state?: string | null | undefined;
969
967
  zip?: string | null | undefined;
968
+ extension?: string | null | undefined;
970
969
  carrier?: string | null | undefined;
971
970
  member_id?: string | null | undefined;
972
971
  group_id?: string | null | undefined;
973
972
  plan?: string | null | undefined;
973
+ suite?: string | null | undefined;
974
974
  copay?: number | null | undefined;
975
975
  deductible?: number | null | undefined;
976
976
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -982,7 +982,7 @@ export declare const updatePatientSchema: z.ZodObject<{
982
982
  insured_person_zip?: string | null | undefined;
983
983
  insured_person_id?: string | null | undefined;
984
984
  insured_person_dob?: Date | null | undefined;
985
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
985
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
986
986
  insured_person_ssn?: string | null | undefined;
987
987
  relationship_to_insured?: string | null | undefined;
988
988
  }>, "many">>>;
@@ -993,12 +993,12 @@ export declare const updatePatientSchema: z.ZodObject<{
993
993
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
994
994
  status: z.ZodEnum<["active", "deceased", "inactive", "prospect"]>;
995
995
  }, "strict", z.ZodTypeAny, {
996
- status: "active" | "inactive" | "deceased" | "prospect";
996
+ status: "active" | "deceased" | "inactive" | "prospect";
997
997
  deceased_date?: string | null | undefined;
998
998
  inactive_reason?: "unknown" | "other" | "patient left on bad terms" | "patient left on good terms" | "practice ended relationship" | null | undefined;
999
999
  notes?: string | null | undefined;
1000
1000
  }, {
1001
- status: "active" | "inactive" | "deceased" | "prospect";
1001
+ status: "active" | "deceased" | "inactive" | "prospect";
1002
1002
  deceased_date?: Date | null | undefined;
1003
1003
  inactive_reason?: "unknown" | "other" | "patient left on bad terms" | "patient left on good terms" | "practice ended relationship" | null | undefined;
1004
1004
  notes?: string | null | undefined;
@@ -1024,21 +1024,21 @@ export declare const updatePatientSchema: z.ZodObject<{
1024
1024
  state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1025
1025
  zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1026
1026
  }, "strict", z.ZodTypeAny, {
1027
- state?: string | null | undefined;
1028
1027
  first_name?: string | null | undefined;
1029
1028
  last_name?: string | null | undefined;
1030
1029
  phone?: string | null | undefined;
1031
1030
  city?: string | null | undefined;
1031
+ state?: string | null | undefined;
1032
1032
  zip?: string | null | undefined;
1033
1033
  relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
1034
1034
  address_line1?: string | null | undefined;
1035
1035
  address_line2?: string | null | undefined;
1036
1036
  }, {
1037
- state?: string | null | undefined;
1038
1037
  first_name?: string | null | undefined;
1039
1038
  last_name?: string | null | undefined;
1040
1039
  phone?: string | null | undefined;
1041
1040
  city?: string | null | undefined;
1041
+ state?: string | null | undefined;
1042
1042
  zip?: string | null | undefined;
1043
1043
  relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
1044
1044
  address_line1?: string | null | undefined;
@@ -1064,23 +1064,23 @@ export declare const updatePatientSchema: z.ZodObject<{
1064
1064
  metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
1065
1065
  }, "strict", z.ZodTypeAny, {
1066
1066
  address?: {
1067
- state: string;
1068
1067
  city: string;
1068
+ state: string;
1069
1069
  zip: string;
1070
1070
  address_line1: string;
1071
1071
  address_line2?: string | null | undefined;
1072
1072
  } | null | undefined;
1073
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1074
1073
  first_name?: string | null | undefined;
1075
1074
  last_name?: string | null | undefined;
1076
1075
  preferred_language?: string | null | undefined;
1077
1076
  sex?: "Male" | "Female" | "Other" | "Unknown" | null | undefined;
1077
+ metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1078
1078
  tags?: string[] | null | undefined;
1079
1079
  middle_name?: string | null | undefined;
1080
1080
  notes?: string | null | undefined;
1081
1081
  actual_name?: string | null | undefined;
1082
1082
  gender_identity?: "unknown" | "man" | "woman" | "transgender_man" | "transgender_woman" | "nonbinary" | "option_not_listed" | "prefer_not_to_say" | "two_spirit" | null | undefined;
1083
- legal_gender_marker?: "X" | "M" | "F" | "U" | null | undefined;
1083
+ legal_gender_marker?: "M" | "F" | "X" | "U" | null | undefined;
1084
1084
  pronouns?: "he_him_his" | "she_her_hers" | "they_them_theirs" | "not_listed" | null | undefined;
1085
1085
  sexual_orientation?: "unknown" | "option_not_listed" | "prefer_not_to_say" | "straight" | "gay" | "bisexual" | "lesbian" | "queer" | "asexual" | null | undefined;
1086
1086
  primary_physician?: number | null | undefined;
@@ -1098,9 +1098,9 @@ export declare const updatePatientSchema: z.ZodObject<{
1098
1098
  email: string;
1099
1099
  }[] | null | undefined;
1100
1100
  guarantor?: {
1101
- state: string;
1102
1101
  address: string;
1103
1102
  city: string;
1103
+ state: string;
1104
1104
  zip: string;
1105
1105
  first_name?: string | null | undefined;
1106
1106
  last_name?: string | null | undefined;
@@ -1110,17 +1110,17 @@ export declare const updatePatientSchema: z.ZodObject<{
1110
1110
  } | null | undefined;
1111
1111
  insurances?: {
1112
1112
  rank: "secondary" | "primary" | "tertiary";
1113
- state?: string | null | undefined;
1114
1113
  address?: string | null | undefined;
1115
- suite?: string | null | undefined;
1116
- extension?: string | null | undefined;
1117
1114
  phone?: string | null | undefined;
1118
1115
  city?: string | null | undefined;
1116
+ state?: string | null | undefined;
1119
1117
  zip?: string | null | undefined;
1118
+ extension?: string | null | undefined;
1120
1119
  carrier?: string | null | undefined;
1121
1120
  member_id?: string | null | undefined;
1122
1121
  group_id?: string | null | undefined;
1123
1122
  plan?: string | null | undefined;
1123
+ suite?: string | null | undefined;
1124
1124
  copay?: number | null | undefined;
1125
1125
  deductible?: number | null | undefined;
1126
1126
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -1132,23 +1132,23 @@ export declare const updatePatientSchema: z.ZodObject<{
1132
1132
  insured_person_zip?: string | null | undefined;
1133
1133
  insured_person_id?: string | null | undefined;
1134
1134
  insured_person_dob?: string | null | undefined;
1135
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
1135
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
1136
1136
  insured_person_ssn?: string | null | undefined;
1137
1137
  relationship_to_insured?: string | null | undefined;
1138
1138
  }[] | null | undefined;
1139
1139
  deleted_insurances?: {
1140
1140
  rank: "secondary" | "primary" | "tertiary";
1141
- state?: string | null | undefined;
1142
1141
  address?: string | null | undefined;
1143
- suite?: string | null | undefined;
1144
- extension?: string | null | undefined;
1145
1142
  phone?: string | null | undefined;
1146
1143
  city?: string | null | undefined;
1144
+ state?: string | null | undefined;
1147
1145
  zip?: string | null | undefined;
1146
+ extension?: string | null | undefined;
1148
1147
  carrier?: string | null | undefined;
1149
1148
  member_id?: string | null | undefined;
1150
1149
  group_id?: string | null | undefined;
1151
1150
  plan?: string | null | undefined;
1151
+ suite?: string | null | undefined;
1152
1152
  copay?: number | null | undefined;
1153
1153
  deductible?: number | null | undefined;
1154
1154
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -1160,12 +1160,12 @@ export declare const updatePatientSchema: z.ZodObject<{
1160
1160
  insured_person_zip?: string | null | undefined;
1161
1161
  insured_person_id?: string | null | undefined;
1162
1162
  insured_person_dob?: string | null | undefined;
1163
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
1163
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
1164
1164
  insured_person_ssn?: string | null | undefined;
1165
1165
  relationship_to_insured?: string | null | undefined;
1166
1166
  }[] | null | undefined;
1167
1167
  patient_status?: {
1168
- status: "active" | "inactive" | "deceased" | "prospect";
1168
+ status: "active" | "deceased" | "inactive" | "prospect";
1169
1169
  deceased_date?: string | null | undefined;
1170
1170
  inactive_reason?: "unknown" | "other" | "patient left on bad terms" | "patient left on good terms" | "practice ended relationship" | null | undefined;
1171
1171
  notes?: string | null | undefined;
@@ -1175,11 +1175,11 @@ export declare const updatePatientSchema: z.ZodObject<{
1175
1175
  preferred_pharmacy_2?: string | null | undefined;
1176
1176
  } | null | undefined;
1177
1177
  emergency_contact?: {
1178
- state?: string | null | undefined;
1179
1178
  first_name?: string | null | undefined;
1180
1179
  last_name?: string | null | undefined;
1181
1180
  phone?: string | null | undefined;
1182
1181
  city?: string | null | undefined;
1182
+ state?: string | null | undefined;
1183
1183
  zip?: string | null | undefined;
1184
1184
  relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
1185
1185
  address_line1?: string | null | undefined;
@@ -1196,23 +1196,23 @@ export declare const updatePatientSchema: z.ZodObject<{
1196
1196
  } | null | undefined;
1197
1197
  }, {
1198
1198
  address?: {
1199
- state: string;
1200
1199
  city: string;
1200
+ state: string;
1201
1201
  zip: string;
1202
1202
  address_line1: string;
1203
1203
  address_line2?: string | null | undefined;
1204
1204
  } | null | undefined;
1205
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1206
1205
  first_name?: string | null | undefined;
1207
1206
  last_name?: string | null | undefined;
1208
1207
  preferred_language?: string | null | undefined;
1209
1208
  sex?: "Male" | "Female" | "Other" | "Unknown" | null | undefined;
1209
+ metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1210
1210
  tags?: string[] | null | undefined;
1211
1211
  middle_name?: string | null | undefined;
1212
1212
  notes?: string | null | undefined;
1213
1213
  actual_name?: string | null | undefined;
1214
1214
  gender_identity?: "unknown" | "man" | "woman" | "transgender_man" | "transgender_woman" | "nonbinary" | "option_not_listed" | "prefer_not_to_say" | "two_spirit" | null | undefined;
1215
- legal_gender_marker?: "X" | "M" | "F" | "U" | null | undefined;
1215
+ legal_gender_marker?: "M" | "F" | "X" | "U" | null | undefined;
1216
1216
  pronouns?: "he_him_his" | "she_her_hers" | "they_them_theirs" | "not_listed" | null | undefined;
1217
1217
  sexual_orientation?: "unknown" | "option_not_listed" | "prefer_not_to_say" | "straight" | "gay" | "bisexual" | "lesbian" | "queer" | "asexual" | null | undefined;
1218
1218
  primary_physician?: number | null | undefined;
@@ -1230,9 +1230,9 @@ export declare const updatePatientSchema: z.ZodObject<{
1230
1230
  email: string;
1231
1231
  }[] | null | undefined;
1232
1232
  guarantor?: {
1233
- state: string;
1234
1233
  address: string;
1235
1234
  city: string;
1235
+ state: string;
1236
1236
  zip: string;
1237
1237
  first_name?: string | null | undefined;
1238
1238
  last_name?: string | null | undefined;
@@ -1242,17 +1242,17 @@ export declare const updatePatientSchema: z.ZodObject<{
1242
1242
  } | null | undefined;
1243
1243
  insurances?: {
1244
1244
  rank: "secondary" | "primary" | "tertiary";
1245
- state?: string | null | undefined;
1246
1245
  address?: string | null | undefined;
1247
- suite?: string | null | undefined;
1248
- extension?: string | null | undefined;
1249
1246
  phone?: string | null | undefined;
1250
1247
  city?: string | null | undefined;
1248
+ state?: string | null | undefined;
1251
1249
  zip?: string | null | undefined;
1250
+ extension?: string | null | undefined;
1252
1251
  carrier?: string | null | undefined;
1253
1252
  member_id?: string | null | undefined;
1254
1253
  group_id?: string | null | undefined;
1255
1254
  plan?: string | null | undefined;
1255
+ suite?: string | null | undefined;
1256
1256
  copay?: number | null | undefined;
1257
1257
  deductible?: number | null | undefined;
1258
1258
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -1264,23 +1264,23 @@ export declare const updatePatientSchema: z.ZodObject<{
1264
1264
  insured_person_zip?: string | null | undefined;
1265
1265
  insured_person_id?: string | null | undefined;
1266
1266
  insured_person_dob?: Date | null | undefined;
1267
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
1267
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
1268
1268
  insured_person_ssn?: string | null | undefined;
1269
1269
  relationship_to_insured?: string | null | undefined;
1270
1270
  }[] | null | undefined;
1271
1271
  deleted_insurances?: {
1272
1272
  rank: "secondary" | "primary" | "tertiary";
1273
- state?: string | null | undefined;
1274
1273
  address?: string | null | undefined;
1275
- suite?: string | null | undefined;
1276
- extension?: string | null | undefined;
1277
1274
  phone?: string | null | undefined;
1278
1275
  city?: string | null | undefined;
1276
+ state?: string | null | undefined;
1279
1277
  zip?: string | null | undefined;
1278
+ extension?: string | null | undefined;
1280
1279
  carrier?: string | null | undefined;
1281
1280
  member_id?: string | null | undefined;
1282
1281
  group_id?: string | null | undefined;
1283
1282
  plan?: string | null | undefined;
1283
+ suite?: string | null | undefined;
1284
1284
  copay?: number | null | undefined;
1285
1285
  deductible?: number | null | undefined;
1286
1286
  payment_program?: "Medicare Part B" | "Medicare Advantage" | "Medicaid" | "Commercial - HMSA" | "Commercial - SFHP" | "Commercial - Other" | "Worker's Compensation" | null | undefined;
@@ -1292,12 +1292,12 @@ export declare const updatePatientSchema: z.ZodObject<{
1292
1292
  insured_person_zip?: string | null | undefined;
1293
1293
  insured_person_id?: string | null | undefined;
1294
1294
  insured_person_dob?: Date | null | undefined;
1295
- insured_person_gender?: "X" | "M" | "F" | "U" | null | undefined;
1295
+ insured_person_gender?: "M" | "F" | "X" | "U" | null | undefined;
1296
1296
  insured_person_ssn?: string | null | undefined;
1297
1297
  relationship_to_insured?: string | null | undefined;
1298
1298
  }[] | null | undefined;
1299
1299
  patient_status?: {
1300
- status: "active" | "inactive" | "deceased" | "prospect";
1300
+ status: "active" | "deceased" | "inactive" | "prospect";
1301
1301
  deceased_date?: Date | null | undefined;
1302
1302
  inactive_reason?: "unknown" | "other" | "patient left on bad terms" | "patient left on good terms" | "practice ended relationship" | null | undefined;
1303
1303
  notes?: string | null | undefined;
@@ -1307,11 +1307,11 @@ export declare const updatePatientSchema: z.ZodObject<{
1307
1307
  preferred_pharmacy_2?: string | null | undefined;
1308
1308
  } | null | undefined;
1309
1309
  emergency_contact?: {
1310
- state?: string | null | undefined;
1311
1310
  first_name?: string | null | undefined;
1312
1311
  last_name?: string | null | undefined;
1313
1312
  phone?: string | null | undefined;
1314
1313
  city?: string | null | undefined;
1314
+ state?: string | null | undefined;
1315
1315
  zip?: string | null | undefined;
1316
1316
  relationship?: "Other" | "Caregiver" | "Child" | "Friend" | "Grandparent" | "Guardian" | "Parent" | "Sibling" | "Spouse" | null | undefined;
1317
1317
  address_line1?: string | null | undefined;