@metriport/api-sdk 6.0.1-alpha.3 → 6.0.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/package.json +3 -3
  2. package/dist/devices/client/metriport.d.ts +0 -155
  3. package/dist/devices/client/metriport.d.ts.map +0 -1
  4. package/dist/devices/client/metriport.js +0 -225
  5. package/dist/devices/client/metriport.js.map +0 -1
  6. package/dist/devices/client/models/get-connect-token-response.d.ts +0 -4
  7. package/dist/devices/client/models/get-connect-token-response.d.ts.map +0 -1
  8. package/dist/devices/client/models/get-connect-token-response.js +0 -3
  9. package/dist/devices/client/models/get-connect-token-response.js.map +0 -1
  10. package/dist/devices/client/models/get-connected-users-response.d.ts +0 -5
  11. package/dist/devices/client/models/get-connected-users-response.d.ts.map +0 -1
  12. package/dist/devices/client/models/get-connected-users-response.js +0 -3
  13. package/dist/devices/client/models/get-connected-users-response.js.map +0 -1
  14. package/dist/devices/client/models/get-metriport-user-id-response.d.ts +0 -4
  15. package/dist/devices/client/models/get-metriport-user-id-response.d.ts.map +0 -1
  16. package/dist/devices/client/models/get-metriport-user-id-response.js +0 -3
  17. package/dist/devices/client/models/get-metriport-user-id-response.js.map +0 -1
  18. package/dist/devices/client/models/settings-response.d.ts +0 -6
  19. package/dist/devices/client/models/settings-response.d.ts.map +0 -1
  20. package/dist/devices/client/models/settings-response.js +0 -3
  21. package/dist/devices/client/models/settings-response.js.map +0 -1
  22. package/dist/devices/client/models/webhook-status-response.d.ts +0 -7
  23. package/dist/devices/client/models/webhook-status-response.d.ts.map +0 -1
  24. package/dist/devices/client/models/webhook-status-response.js +0 -3
  25. package/dist/devices/client/models/webhook-status-response.js.map +0 -1
  26. package/dist/devices/client/util/date-util.d.ts +0 -2
  27. package/dist/devices/client/util/date-util.d.ts.map +0 -1
  28. package/dist/devices/client/util/date-util.js +0 -17
  29. package/dist/devices/client/util/date-util.js.map +0 -1
  30. package/dist/devices/models/activity.d.ts +0 -22
  31. package/dist/devices/models/activity.d.ts.map +0 -1
  32. package/dist/devices/models/activity.js +0 -3
  33. package/dist/devices/models/activity.js.map +0 -1
  34. package/dist/devices/models/biometrics.d.ts +0 -16
  35. package/dist/devices/models/biometrics.d.ts.map +0 -1
  36. package/dist/devices/models/biometrics.js +0 -3
  37. package/dist/devices/models/biometrics.js.map +0 -1
  38. package/dist/devices/models/body.d.ts +0 -13
  39. package/dist/devices/models/body.d.ts.map +0 -1
  40. package/dist/devices/models/body.js +0 -3
  41. package/dist/devices/models/body.js.map +0 -1
  42. package/dist/devices/models/common/activity-durations.d.ts +0 -19
  43. package/dist/devices/models/common/activity-durations.d.ts.map +0 -1
  44. package/dist/devices/models/common/activity-durations.js +0 -3
  45. package/dist/devices/models/common/activity-durations.js.map +0 -1
  46. package/dist/devices/models/common/activity-log.d.ts +0 -32
  47. package/dist/devices/models/common/activity-log.d.ts.map +0 -1
  48. package/dist/devices/models/common/activity-log.js +0 -3
  49. package/dist/devices/models/common/activity-log.js.map +0 -1
  50. package/dist/devices/models/common/activity-movement.d.ts +0 -16
  51. package/dist/devices/models/common/activity-movement.d.ts.map +0 -1
  52. package/dist/devices/models/common/activity-movement.js +0 -3
  53. package/dist/devices/models/common/activity-movement.js.map +0 -1
  54. package/dist/devices/models/common/aminos.d.ts +0 -23
  55. package/dist/devices/models/common/aminos.d.ts.map +0 -1
  56. package/dist/devices/models/common/aminos.js +0 -3
  57. package/dist/devices/models/common/aminos.js.map +0 -1
  58. package/dist/devices/models/common/blood-glucose.d.ts +0 -6
  59. package/dist/devices/models/common/blood-glucose.d.ts.map +0 -1
  60. package/dist/devices/models/common/blood-glucose.js +0 -3
  61. package/dist/devices/models/common/blood-glucose.js.map +0 -1
  62. package/dist/devices/models/common/blood-pressure.d.ts +0 -10
  63. package/dist/devices/models/common/blood-pressure.d.ts.map +0 -1
  64. package/dist/devices/models/common/blood-pressure.js +0 -3
  65. package/dist/devices/models/common/blood-pressure.js.map +0 -1
  66. package/dist/devices/models/common/connected-user-info.d.ts +0 -6
  67. package/dist/devices/models/common/connected-user-info.d.ts.map +0 -1
  68. package/dist/devices/models/common/connected-user-info.js +0 -3
  69. package/dist/devices/models/common/connected-user-info.js.map +0 -1
  70. package/dist/devices/models/common/energy-expenditure.d.ts +0 -7
  71. package/dist/devices/models/common/energy-expenditure.d.ts.map +0 -1
  72. package/dist/devices/models/common/energy-expenditure.js +0 -3
  73. package/dist/devices/models/common/energy-expenditure.js.map +0 -1
  74. package/dist/devices/models/common/food.d.ts +0 -15
  75. package/dist/devices/models/common/food.d.ts.map +0 -1
  76. package/dist/devices/models/common/food.js +0 -3
  77. package/dist/devices/models/common/food.js.map +0 -1
  78. package/dist/devices/models/common/heart-rate-variability.d.ts +0 -12
  79. package/dist/devices/models/common/heart-rate-variability.d.ts.map +0 -1
  80. package/dist/devices/models/common/heart-rate-variability.js +0 -3
  81. package/dist/devices/models/common/heart-rate-variability.js.map +0 -1
  82. package/dist/devices/models/common/heart-rate.d.ts +0 -9
  83. package/dist/devices/models/common/heart-rate.d.ts.map +0 -1
  84. package/dist/devices/models/common/heart-rate.js +0 -3
  85. package/dist/devices/models/common/heart-rate.js.map +0 -1
  86. package/dist/devices/models/common/lat-lon.d.ts +0 -5
  87. package/dist/devices/models/common/lat-lon.d.ts.map +0 -1
  88. package/dist/devices/models/common/lat-lon.js +0 -3
  89. package/dist/devices/models/common/lat-lon.js.map +0 -1
  90. package/dist/devices/models/common/macros.d.ts +0 -14
  91. package/dist/devices/models/common/macros.d.ts.map +0 -1
  92. package/dist/devices/models/common/macros.js +0 -3
  93. package/dist/devices/models/common/macros.js.map +0 -1
  94. package/dist/devices/models/common/metadata.d.ts +0 -10
  95. package/dist/devices/models/common/metadata.d.ts.map +0 -1
  96. package/dist/devices/models/common/metadata.js +0 -3
  97. package/dist/devices/models/common/metadata.js.map +0 -1
  98. package/dist/devices/models/common/micros.d.ts +0 -28
  99. package/dist/devices/models/common/micros.d.ts.map +0 -1
  100. package/dist/devices/models/common/micros.js +0 -3
  101. package/dist/devices/models/common/micros.js.map +0 -1
  102. package/dist/devices/models/common/provider-source.d.ts +0 -12
  103. package/dist/devices/models/common/provider-source.d.ts.map +0 -1
  104. package/dist/devices/models/common/provider-source.js +0 -16
  105. package/dist/devices/models/common/provider-source.js.map +0 -1
  106. package/dist/devices/models/common/respiration.d.ts +0 -15
  107. package/dist/devices/models/common/respiration.d.ts.map +0 -1
  108. package/dist/devices/models/common/respiration.js +0 -3
  109. package/dist/devices/models/common/respiration.js.map +0 -1
  110. package/dist/devices/models/common/sample.d.ts +0 -7
  111. package/dist/devices/models/common/sample.d.ts.map +0 -1
  112. package/dist/devices/models/common/sample.js +0 -3
  113. package/dist/devices/models/common/sample.js.map +0 -1
  114. package/dist/devices/models/common/sex.d.ts +0 -2
  115. package/dist/devices/models/common/sex.d.ts.map +0 -1
  116. package/dist/devices/models/common/sex.js +0 -3
  117. package/dist/devices/models/common/sex.js.map +0 -1
  118. package/dist/devices/models/common/source-info.d.ts +0 -8
  119. package/dist/devices/models/common/source-info.d.ts.map +0 -1
  120. package/dist/devices/models/common/source-info.js +0 -3
  121. package/dist/devices/models/common/source-info.js.map +0 -1
  122. package/dist/devices/models/common/source-type.d.ts +0 -5
  123. package/dist/devices/models/common/source-type.d.ts.map +0 -1
  124. package/dist/devices/models/common/source-type.js +0 -9
  125. package/dist/devices/models/common/source-type.js.map +0 -1
  126. package/dist/devices/models/common/temperature.d.ts +0 -13
  127. package/dist/devices/models/common/temperature.d.ts.map +0 -1
  128. package/dist/devices/models/common/temperature.js +0 -3
  129. package/dist/devices/models/common/temperature.js.map +0 -1
  130. package/dist/devices/models/metriport-data.d.ts +0 -5
  131. package/dist/devices/models/metriport-data.d.ts.map +0 -1
  132. package/dist/devices/models/metriport-data.js +0 -3
  133. package/dist/devices/models/metriport-data.js.map +0 -1
  134. package/dist/devices/models/nutrition.d.ts +0 -14
  135. package/dist/devices/models/nutrition.d.ts.map +0 -1
  136. package/dist/devices/models/nutrition.js +0 -3
  137. package/dist/devices/models/nutrition.js.map +0 -1
  138. package/dist/devices/models/sleep.d.ts +0 -28
  139. package/dist/devices/models/sleep.d.ts.map +0 -1
  140. package/dist/devices/models/sleep.js +0 -3
  141. package/dist/devices/models/sleep.js.map +0 -1
  142. package/dist/devices/models/user.d.ts +0 -14
  143. package/dist/devices/models/user.d.ts.map +0 -1
  144. package/dist/devices/models/user.js +0 -3
  145. package/dist/devices/models/user.js.map +0 -1
  146. package/dist/index.d.ts +0 -22
  147. package/dist/index.d.ts.map +0 -1
  148. package/dist/index.js +0 -47
  149. package/dist/index.js.map +0 -1
  150. package/dist/medical/client/metriport.d.ts +0 -152
  151. package/dist/medical/client/metriport.d.ts.map +0 -1
  152. package/dist/medical/client/metriport.js +0 -290
  153. package/dist/medical/client/metriport.js.map +0 -1
  154. package/dist/medical/models/common/address.d.ts +0 -25
  155. package/dist/medical/models/common/address.d.ts.map +0 -1
  156. package/dist/medical/models/common/address.js +0 -21
  157. package/dist/medical/models/common/address.js.map +0 -1
  158. package/dist/medical/models/common/base-update.d.ts +0 -16
  159. package/dist/medical/models/common/base-update.d.ts.map +0 -1
  160. package/dist/medical/models/common/base-update.js +0 -13
  161. package/dist/medical/models/common/base-update.js.map +0 -1
  162. package/dist/medical/models/common/medical-data-source.d.ts +0 -4
  163. package/dist/medical/models/common/medical-data-source.d.ts.map +0 -1
  164. package/dist/medical/models/common/medical-data-source.js +0 -8
  165. package/dist/medical/models/common/medical-data-source.js.map +0 -1
  166. package/dist/medical/models/common/us-data.d.ts +0 -56
  167. package/dist/medical/models/common/us-data.d.ts.map +0 -1
  168. package/dist/medical/models/common/us-data.js +0 -60
  169. package/dist/medical/models/common/us-data.js.map +0 -1
  170. package/dist/medical/models/demographics.d.ts +0 -317
  171. package/dist/medical/models/demographics.d.ts.map +0 -1
  172. package/dist/medical/models/demographics.js +0 -50
  173. package/dist/medical/models/demographics.js.map +0 -1
  174. package/dist/medical/models/document.d.ts +0 -271
  175. package/dist/medical/models/document.d.ts.map +0 -1
  176. package/dist/medical/models/document.js +0 -41
  177. package/dist/medical/models/document.js.map +0 -1
  178. package/dist/medical/models/facility.d.ts +0 -214
  179. package/dist/medical/models/facility.d.ts.map +0 -1
  180. package/dist/medical/models/facility.js +0 -22
  181. package/dist/medical/models/facility.js.map +0 -1
  182. package/dist/medical/models/organization.d.ts +0 -115
  183. package/dist/medical/models/organization.d.ts.map +0 -1
  184. package/dist/medical/models/organization.js +0 -23
  185. package/dist/medical/models/organization.js.map +0 -1
  186. package/dist/medical/models/patient.d.ts +0 -1097
  187. package/dist/medical/models/patient.d.ts.map +0 -1
  188. package/dist/medical/models/patient.js +0 -15
  189. package/dist/medical/models/patient.js.map +0 -1
  190. package/dist/shared.d.ts +0 -14
  191. package/dist/shared.d.ts.map +0 -1
  192. package/dist/shared.js +0 -28
  193. package/dist/shared.js.map +0 -1
@@ -1,1097 +0,0 @@
1
- import { z } from "zod";
2
- export declare const patientCreateSchema: z.ZodObject<{
3
- firstName: z.ZodString;
4
- lastName: z.ZodString;
5
- dob: z.ZodEffects<z.ZodString, string, string>;
6
- genderAtBirth: z.ZodEnum<["F", "M"]>;
7
- personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
8
- value: z.ZodString;
9
- period: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
10
- start: z.ZodString;
11
- end: z.ZodOptional<z.ZodString>;
12
- }, "strip", z.ZodTypeAny, {
13
- start: string;
14
- end?: string | undefined;
15
- }, {
16
- start: string;
17
- end?: string | undefined;
18
- }>, z.ZodObject<{
19
- start: z.ZodOptional<z.ZodString>;
20
- end: z.ZodString;
21
- }, "strip", z.ZodTypeAny, {
22
- end: string;
23
- start?: string | undefined;
24
- }, {
25
- end: string;
26
- start?: string | undefined;
27
- }>]>>;
28
- assigner: z.ZodOptional<z.ZodString>;
29
- type: z.ZodLiteral<"driversLicense">;
30
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
31
- }, "strip", z.ZodTypeAny, {
32
- type: "driversLicense";
33
- value: string;
34
- state: import("./common/us-data").USState;
35
- period?: {
36
- start: string;
37
- end?: string | undefined;
38
- } | {
39
- end: string;
40
- start?: string | undefined;
41
- } | undefined;
42
- assigner?: string | undefined;
43
- }, {
44
- type: "driversLicense";
45
- value: string;
46
- state: import("./common/us-data").USState;
47
- period?: {
48
- start: string;
49
- end?: string | undefined;
50
- } | {
51
- end: string;
52
- start?: string | undefined;
53
- } | undefined;
54
- assigner?: string | undefined;
55
- }>, "many">>;
56
- address: z.ZodUnion<[z.ZodArray<z.ZodObject<{
57
- addressLine1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
58
- addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
59
- city: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
60
- state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
61
- zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
62
- country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
63
- }, "strip", z.ZodTypeAny, {
64
- zip: string;
65
- country: string;
66
- addressLine1?: string | undefined;
67
- addressLine2?: string | undefined;
68
- city?: string | undefined;
69
- state?: string | undefined;
70
- }, {
71
- zip: string;
72
- addressLine1?: string | undefined;
73
- addressLine2?: string | undefined;
74
- city?: string | undefined;
75
- state?: string | undefined;
76
- country?: string | undefined;
77
- }>, "many">, z.ZodObject<{
78
- addressLine1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
79
- addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
80
- city: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
81
- state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
82
- zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
83
- country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
84
- }, "strip", z.ZodTypeAny, {
85
- zip: string;
86
- country: string;
87
- addressLine1?: string | undefined;
88
- addressLine2?: string | undefined;
89
- city?: string | undefined;
90
- state?: string | undefined;
91
- }, {
92
- zip: string;
93
- addressLine1?: string | undefined;
94
- addressLine2?: string | undefined;
95
- city?: string | undefined;
96
- state?: string | undefined;
97
- country?: string | undefined;
98
- }>]>;
99
- contact: z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
100
- phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
101
- email: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
102
- }, "strip", z.ZodTypeAny, {
103
- phone?: string | undefined;
104
- email?: string | undefined;
105
- }, {
106
- phone?: string | undefined;
107
- email?: string | undefined;
108
- }>, {
109
- phone?: string | undefined;
110
- email?: string | undefined;
111
- }, {
112
- phone?: string | undefined;
113
- email?: string | undefined;
114
- }>, "many">>, z.ZodOptional<z.ZodEffects<z.ZodObject<{
115
- phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
116
- email: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
117
- }, "strip", z.ZodTypeAny, {
118
- phone?: string | undefined;
119
- email?: string | undefined;
120
- }, {
121
- phone?: string | undefined;
122
- email?: string | undefined;
123
- }>, {
124
- phone?: string | undefined;
125
- email?: string | undefined;
126
- }, {
127
- phone?: string | undefined;
128
- email?: string | undefined;
129
- }>>]>;
130
- }, "strip", z.ZodTypeAny, {
131
- address: ({
132
- zip: string;
133
- country: string;
134
- addressLine1?: string | undefined;
135
- addressLine2?: string | undefined;
136
- city?: string | undefined;
137
- state?: string | undefined;
138
- } | {
139
- zip: string;
140
- country: string;
141
- addressLine1?: string | undefined;
142
- addressLine2?: string | undefined;
143
- city?: string | undefined;
144
- state?: string | undefined;
145
- }[]) & ({
146
- zip: string;
147
- country: string;
148
- addressLine1?: string | undefined;
149
- addressLine2?: string | undefined;
150
- city?: string | undefined;
151
- state?: string | undefined;
152
- } | {
153
- zip: string;
154
- country: string;
155
- addressLine1?: string | undefined;
156
- addressLine2?: string | undefined;
157
- city?: string | undefined;
158
- state?: string | undefined;
159
- }[] | undefined);
160
- firstName: string;
161
- lastName: string;
162
- dob: string;
163
- genderAtBirth: "F" | "M";
164
- personalIdentifiers?: {
165
- type: "driversLicense";
166
- value: string;
167
- state: import("./common/us-data").USState;
168
- period?: {
169
- start: string;
170
- end?: string | undefined;
171
- } | {
172
- end: string;
173
- start?: string | undefined;
174
- } | undefined;
175
- assigner?: string | undefined;
176
- }[] | undefined;
177
- contact?: {
178
- phone?: string | undefined;
179
- email?: string | undefined;
180
- } | {
181
- phone?: string | undefined;
182
- email?: string | undefined;
183
- }[] | undefined;
184
- }, {
185
- address: ({
186
- zip: string;
187
- addressLine1?: string | undefined;
188
- addressLine2?: string | undefined;
189
- city?: string | undefined;
190
- state?: string | undefined;
191
- country?: string | undefined;
192
- } | {
193
- zip: string;
194
- addressLine1?: string | undefined;
195
- addressLine2?: string | undefined;
196
- city?: string | undefined;
197
- state?: string | undefined;
198
- country?: string | undefined;
199
- }[]) & ({
200
- zip: string;
201
- addressLine1?: string | undefined;
202
- addressLine2?: string | undefined;
203
- city?: string | undefined;
204
- state?: string | undefined;
205
- country?: string | undefined;
206
- } | {
207
- zip: string;
208
- addressLine1?: string | undefined;
209
- addressLine2?: string | undefined;
210
- city?: string | undefined;
211
- state?: string | undefined;
212
- country?: string | undefined;
213
- }[] | undefined);
214
- firstName: string;
215
- lastName: string;
216
- dob: string;
217
- genderAtBirth: "F" | "M";
218
- personalIdentifiers?: {
219
- type: "driversLicense";
220
- value: string;
221
- state: import("./common/us-data").USState;
222
- period?: {
223
- start: string;
224
- end?: string | undefined;
225
- } | {
226
- end: string;
227
- start?: string | undefined;
228
- } | undefined;
229
- assigner?: string | undefined;
230
- }[] | undefined;
231
- contact?: {
232
- phone?: string | undefined;
233
- email?: string | undefined;
234
- } | {
235
- phone?: string | undefined;
236
- email?: string | undefined;
237
- }[] | undefined;
238
- }>;
239
- export type PatientCreate = z.infer<typeof patientCreateSchema>;
240
- export declare const patientUpdateSchema: z.ZodObject<{
241
- address: z.ZodUnion<[z.ZodArray<z.ZodObject<{
242
- addressLine1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
243
- addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
244
- city: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
245
- state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
246
- zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
247
- country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
248
- }, "strip", z.ZodTypeAny, {
249
- zip: string;
250
- country: string;
251
- addressLine1?: string | undefined;
252
- addressLine2?: string | undefined;
253
- city?: string | undefined;
254
- state?: string | undefined;
255
- }, {
256
- zip: string;
257
- addressLine1?: string | undefined;
258
- addressLine2?: string | undefined;
259
- city?: string | undefined;
260
- state?: string | undefined;
261
- country?: string | undefined;
262
- }>, "many">, z.ZodObject<{
263
- addressLine1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
264
- addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
265
- city: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
266
- state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
267
- zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
268
- country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
269
- }, "strip", z.ZodTypeAny, {
270
- zip: string;
271
- country: string;
272
- addressLine1?: string | undefined;
273
- addressLine2?: string | undefined;
274
- city?: string | undefined;
275
- state?: string | undefined;
276
- }, {
277
- zip: string;
278
- addressLine1?: string | undefined;
279
- addressLine2?: string | undefined;
280
- city?: string | undefined;
281
- state?: string | undefined;
282
- country?: string | undefined;
283
- }>]>;
284
- firstName: z.ZodString;
285
- lastName: z.ZodString;
286
- dob: z.ZodEffects<z.ZodString, string, string>;
287
- genderAtBirth: z.ZodEnum<["F", "M"]>;
288
- personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
289
- value: z.ZodString;
290
- period: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
291
- start: z.ZodString;
292
- end: z.ZodOptional<z.ZodString>;
293
- }, "strip", z.ZodTypeAny, {
294
- start: string;
295
- end?: string | undefined;
296
- }, {
297
- start: string;
298
- end?: string | undefined;
299
- }>, z.ZodObject<{
300
- start: z.ZodOptional<z.ZodString>;
301
- end: z.ZodString;
302
- }, "strip", z.ZodTypeAny, {
303
- end: string;
304
- start?: string | undefined;
305
- }, {
306
- end: string;
307
- start?: string | undefined;
308
- }>]>>;
309
- assigner: z.ZodOptional<z.ZodString>;
310
- type: z.ZodLiteral<"driversLicense">;
311
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
312
- }, "strip", z.ZodTypeAny, {
313
- type: "driversLicense";
314
- value: string;
315
- state: import("./common/us-data").USState;
316
- period?: {
317
- start: string;
318
- end?: string | undefined;
319
- } | {
320
- end: string;
321
- start?: string | undefined;
322
- } | undefined;
323
- assigner?: string | undefined;
324
- }, {
325
- type: "driversLicense";
326
- value: string;
327
- state: import("./common/us-data").USState;
328
- period?: {
329
- start: string;
330
- end?: string | undefined;
331
- } | {
332
- end: string;
333
- start?: string | undefined;
334
- } | undefined;
335
- assigner?: string | undefined;
336
- }>, "many">>;
337
- contact: z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
338
- phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
339
- email: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
340
- }, "strip", z.ZodTypeAny, {
341
- phone?: string | undefined;
342
- email?: string | undefined;
343
- }, {
344
- phone?: string | undefined;
345
- email?: string | undefined;
346
- }>, {
347
- phone?: string | undefined;
348
- email?: string | undefined;
349
- }, {
350
- phone?: string | undefined;
351
- email?: string | undefined;
352
- }>, "many">>, z.ZodOptional<z.ZodEffects<z.ZodObject<{
353
- phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
354
- email: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
355
- }, "strip", z.ZodTypeAny, {
356
- phone?: string | undefined;
357
- email?: string | undefined;
358
- }, {
359
- phone?: string | undefined;
360
- email?: string | undefined;
361
- }>, {
362
- phone?: string | undefined;
363
- email?: string | undefined;
364
- }, {
365
- phone?: string | undefined;
366
- email?: string | undefined;
367
- }>>]>;
368
- id: z.ZodString;
369
- eTag: z.ZodOptional<z.ZodString>;
370
- }, "strip", z.ZodTypeAny, {
371
- id: string;
372
- address: ({
373
- zip: string;
374
- country: string;
375
- addressLine1?: string | undefined;
376
- addressLine2?: string | undefined;
377
- city?: string | undefined;
378
- state?: string | undefined;
379
- } | {
380
- zip: string;
381
- country: string;
382
- addressLine1?: string | undefined;
383
- addressLine2?: string | undefined;
384
- city?: string | undefined;
385
- state?: string | undefined;
386
- }[]) & ({
387
- zip: string;
388
- country: string;
389
- addressLine1?: string | undefined;
390
- addressLine2?: string | undefined;
391
- city?: string | undefined;
392
- state?: string | undefined;
393
- } | {
394
- zip: string;
395
- country: string;
396
- addressLine1?: string | undefined;
397
- addressLine2?: string | undefined;
398
- city?: string | undefined;
399
- state?: string | undefined;
400
- }[] | undefined);
401
- firstName: string;
402
- lastName: string;
403
- dob: string;
404
- genderAtBirth: "F" | "M";
405
- personalIdentifiers?: {
406
- type: "driversLicense";
407
- value: string;
408
- state: import("./common/us-data").USState;
409
- period?: {
410
- start: string;
411
- end?: string | undefined;
412
- } | {
413
- end: string;
414
- start?: string | undefined;
415
- } | undefined;
416
- assigner?: string | undefined;
417
- }[] | undefined;
418
- contact?: {
419
- phone?: string | undefined;
420
- email?: string | undefined;
421
- } | {
422
- phone?: string | undefined;
423
- email?: string | undefined;
424
- }[] | undefined;
425
- eTag?: string | undefined;
426
- }, {
427
- id: string;
428
- address: ({
429
- zip: string;
430
- addressLine1?: string | undefined;
431
- addressLine2?: string | undefined;
432
- city?: string | undefined;
433
- state?: string | undefined;
434
- country?: string | undefined;
435
- } | {
436
- zip: string;
437
- addressLine1?: string | undefined;
438
- addressLine2?: string | undefined;
439
- city?: string | undefined;
440
- state?: string | undefined;
441
- country?: string | undefined;
442
- }[]) & ({
443
- zip: string;
444
- addressLine1?: string | undefined;
445
- addressLine2?: string | undefined;
446
- city?: string | undefined;
447
- state?: string | undefined;
448
- country?: string | undefined;
449
- } | {
450
- zip: string;
451
- addressLine1?: string | undefined;
452
- addressLine2?: string | undefined;
453
- city?: string | undefined;
454
- state?: string | undefined;
455
- country?: string | undefined;
456
- }[] | undefined);
457
- firstName: string;
458
- lastName: string;
459
- dob: string;
460
- genderAtBirth: "F" | "M";
461
- personalIdentifiers?: {
462
- type: "driversLicense";
463
- value: string;
464
- state: import("./common/us-data").USState;
465
- period?: {
466
- start: string;
467
- end?: string | undefined;
468
- } | {
469
- end: string;
470
- start?: string | undefined;
471
- } | undefined;
472
- assigner?: string | undefined;
473
- }[] | undefined;
474
- contact?: {
475
- phone?: string | undefined;
476
- email?: string | undefined;
477
- } | {
478
- phone?: string | undefined;
479
- email?: string | undefined;
480
- }[] | undefined;
481
- eTag?: string | undefined;
482
- }>;
483
- export type PatientUpdate = z.infer<typeof patientUpdateSchema>;
484
- export declare const patientSchema: z.ZodObject<{
485
- id: z.ZodString;
486
- eTag: z.ZodOptional<z.ZodString>;
487
- address: z.ZodUnion<[z.ZodArray<z.ZodObject<{
488
- addressLine1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
489
- addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
490
- city: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
491
- state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
492
- zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
493
- country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
494
- }, "strip", z.ZodTypeAny, {
495
- zip: string;
496
- country: string;
497
- addressLine1?: string | undefined;
498
- addressLine2?: string | undefined;
499
- city?: string | undefined;
500
- state?: string | undefined;
501
- }, {
502
- zip: string;
503
- addressLine1?: string | undefined;
504
- addressLine2?: string | undefined;
505
- city?: string | undefined;
506
- state?: string | undefined;
507
- country?: string | undefined;
508
- }>, "many">, z.ZodObject<{
509
- addressLine1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
510
- addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
511
- city: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
512
- state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
513
- zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
514
- country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
515
- }, "strip", z.ZodTypeAny, {
516
- zip: string;
517
- country: string;
518
- addressLine1?: string | undefined;
519
- addressLine2?: string | undefined;
520
- city?: string | undefined;
521
- state?: string | undefined;
522
- }, {
523
- zip: string;
524
- addressLine1?: string | undefined;
525
- addressLine2?: string | undefined;
526
- city?: string | undefined;
527
- state?: string | undefined;
528
- country?: string | undefined;
529
- }>]>;
530
- firstName: z.ZodString;
531
- lastName: z.ZodString;
532
- dob: z.ZodEffects<z.ZodString, string, string>;
533
- genderAtBirth: z.ZodEnum<["F", "M"]>;
534
- personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
535
- value: z.ZodString;
536
- period: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
537
- start: z.ZodString;
538
- end: z.ZodOptional<z.ZodString>;
539
- }, "strip", z.ZodTypeAny, {
540
- start: string;
541
- end?: string | undefined;
542
- }, {
543
- start: string;
544
- end?: string | undefined;
545
- }>, z.ZodObject<{
546
- start: z.ZodOptional<z.ZodString>;
547
- end: z.ZodString;
548
- }, "strip", z.ZodTypeAny, {
549
- end: string;
550
- start?: string | undefined;
551
- }, {
552
- end: string;
553
- start?: string | undefined;
554
- }>]>>;
555
- assigner: z.ZodOptional<z.ZodString>;
556
- type: z.ZodLiteral<"driversLicense">;
557
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
558
- }, "strip", z.ZodTypeAny, {
559
- type: "driversLicense";
560
- value: string;
561
- state: import("./common/us-data").USState;
562
- period?: {
563
- start: string;
564
- end?: string | undefined;
565
- } | {
566
- end: string;
567
- start?: string | undefined;
568
- } | undefined;
569
- assigner?: string | undefined;
570
- }, {
571
- type: "driversLicense";
572
- value: string;
573
- state: import("./common/us-data").USState;
574
- period?: {
575
- start: string;
576
- end?: string | undefined;
577
- } | {
578
- end: string;
579
- start?: string | undefined;
580
- } | undefined;
581
- assigner?: string | undefined;
582
- }>, "many">>;
583
- contact: z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
584
- phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
585
- email: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
586
- }, "strip", z.ZodTypeAny, {
587
- phone?: string | undefined;
588
- email?: string | undefined;
589
- }, {
590
- phone?: string | undefined;
591
- email?: string | undefined;
592
- }>, {
593
- phone?: string | undefined;
594
- email?: string | undefined;
595
- }, {
596
- phone?: string | undefined;
597
- email?: string | undefined;
598
- }>, "many">>, z.ZodOptional<z.ZodEffects<z.ZodObject<{
599
- phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
600
- email: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
601
- }, "strip", z.ZodTypeAny, {
602
- phone?: string | undefined;
603
- email?: string | undefined;
604
- }, {
605
- phone?: string | undefined;
606
- email?: string | undefined;
607
- }>, {
608
- phone?: string | undefined;
609
- email?: string | undefined;
610
- }, {
611
- phone?: string | undefined;
612
- email?: string | undefined;
613
- }>>]>;
614
- facilityIds: z.ZodArray<z.ZodString, "many">;
615
- }, "strip", z.ZodTypeAny, {
616
- id: string;
617
- address: ({
618
- zip: string;
619
- country: string;
620
- addressLine1?: string | undefined;
621
- addressLine2?: string | undefined;
622
- city?: string | undefined;
623
- state?: string | undefined;
624
- } | {
625
- zip: string;
626
- country: string;
627
- addressLine1?: string | undefined;
628
- addressLine2?: string | undefined;
629
- city?: string | undefined;
630
- state?: string | undefined;
631
- }[]) & ({
632
- zip: string;
633
- country: string;
634
- addressLine1?: string | undefined;
635
- addressLine2?: string | undefined;
636
- city?: string | undefined;
637
- state?: string | undefined;
638
- } | {
639
- zip: string;
640
- country: string;
641
- addressLine1?: string | undefined;
642
- addressLine2?: string | undefined;
643
- city?: string | undefined;
644
- state?: string | undefined;
645
- }[] | undefined);
646
- firstName: string;
647
- lastName: string;
648
- dob: string;
649
- genderAtBirth: "F" | "M";
650
- facilityIds: string[];
651
- eTag?: string | undefined;
652
- personalIdentifiers?: {
653
- type: "driversLicense";
654
- value: string;
655
- state: import("./common/us-data").USState;
656
- period?: {
657
- start: string;
658
- end?: string | undefined;
659
- } | {
660
- end: string;
661
- start?: string | undefined;
662
- } | undefined;
663
- assigner?: string | undefined;
664
- }[] | undefined;
665
- contact?: {
666
- phone?: string | undefined;
667
- email?: string | undefined;
668
- } | {
669
- phone?: string | undefined;
670
- email?: string | undefined;
671
- }[] | undefined;
672
- }, {
673
- id: string;
674
- address: ({
675
- zip: string;
676
- addressLine1?: string | undefined;
677
- addressLine2?: string | undefined;
678
- city?: string | undefined;
679
- state?: string | undefined;
680
- country?: string | undefined;
681
- } | {
682
- zip: string;
683
- addressLine1?: string | undefined;
684
- addressLine2?: string | undefined;
685
- city?: string | undefined;
686
- state?: string | undefined;
687
- country?: string | undefined;
688
- }[]) & ({
689
- zip: string;
690
- addressLine1?: string | undefined;
691
- addressLine2?: string | undefined;
692
- city?: string | undefined;
693
- state?: string | undefined;
694
- country?: string | undefined;
695
- } | {
696
- zip: string;
697
- addressLine1?: string | undefined;
698
- addressLine2?: string | undefined;
699
- city?: string | undefined;
700
- state?: string | undefined;
701
- country?: string | undefined;
702
- }[] | undefined);
703
- firstName: string;
704
- lastName: string;
705
- dob: string;
706
- genderAtBirth: "F" | "M";
707
- facilityIds: string[];
708
- eTag?: string | undefined;
709
- personalIdentifiers?: {
710
- type: "driversLicense";
711
- value: string;
712
- state: import("./common/us-data").USState;
713
- period?: {
714
- start: string;
715
- end?: string | undefined;
716
- } | {
717
- end: string;
718
- start?: string | undefined;
719
- } | undefined;
720
- assigner?: string | undefined;
721
- }[] | undefined;
722
- contact?: {
723
- phone?: string | undefined;
724
- email?: string | undefined;
725
- } | {
726
- phone?: string | undefined;
727
- email?: string | undefined;
728
- }[] | undefined;
729
- }>;
730
- export type Patient = z.infer<typeof patientSchema>;
731
- export declare const patientListSchema: z.ZodObject<{
732
- patients: z.ZodArray<z.ZodObject<{
733
- id: z.ZodString;
734
- eTag: z.ZodOptional<z.ZodString>;
735
- address: z.ZodUnion<[z.ZodArray<z.ZodObject<{
736
- addressLine1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
737
- addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
738
- city: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
739
- state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
740
- zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
741
- country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
742
- }, "strip", z.ZodTypeAny, {
743
- zip: string;
744
- country: string;
745
- addressLine1?: string | undefined;
746
- addressLine2?: string | undefined;
747
- city?: string | undefined;
748
- state?: string | undefined;
749
- }, {
750
- zip: string;
751
- addressLine1?: string | undefined;
752
- addressLine2?: string | undefined;
753
- city?: string | undefined;
754
- state?: string | undefined;
755
- country?: string | undefined;
756
- }>, "many">, z.ZodObject<{
757
- addressLine1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
758
- addressLine2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
759
- city: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
760
- state: z.ZodUnion<[z.ZodNativeEnum<typeof import("./common/us-data").USState>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
761
- zip: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
762
- country: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>>;
763
- }, "strip", z.ZodTypeAny, {
764
- zip: string;
765
- country: string;
766
- addressLine1?: string | undefined;
767
- addressLine2?: string | undefined;
768
- city?: string | undefined;
769
- state?: string | undefined;
770
- }, {
771
- zip: string;
772
- addressLine1?: string | undefined;
773
- addressLine2?: string | undefined;
774
- city?: string | undefined;
775
- state?: string | undefined;
776
- country?: string | undefined;
777
- }>]>;
778
- firstName: z.ZodString;
779
- lastName: z.ZodString;
780
- dob: z.ZodEffects<z.ZodString, string, string>;
781
- genderAtBirth: z.ZodEnum<["F", "M"]>;
782
- personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
783
- value: z.ZodString;
784
- period: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
785
- start: z.ZodString;
786
- end: z.ZodOptional<z.ZodString>;
787
- }, "strip", z.ZodTypeAny, {
788
- start: string;
789
- end?: string | undefined;
790
- }, {
791
- start: string;
792
- end?: string | undefined;
793
- }>, z.ZodObject<{
794
- start: z.ZodOptional<z.ZodString>;
795
- end: z.ZodString;
796
- }, "strip", z.ZodTypeAny, {
797
- end: string;
798
- start?: string | undefined;
799
- }, {
800
- end: string;
801
- start?: string | undefined;
802
- }>]>>;
803
- assigner: z.ZodOptional<z.ZodString>;
804
- type: z.ZodLiteral<"driversLicense">;
805
- state: z.ZodNativeEnum<typeof import("./common/us-data").USState>;
806
- }, "strip", z.ZodTypeAny, {
807
- type: "driversLicense";
808
- value: string;
809
- state: import("./common/us-data").USState;
810
- period?: {
811
- start: string;
812
- end?: string | undefined;
813
- } | {
814
- end: string;
815
- start?: string | undefined;
816
- } | undefined;
817
- assigner?: string | undefined;
818
- }, {
819
- type: "driversLicense";
820
- value: string;
821
- state: import("./common/us-data").USState;
822
- period?: {
823
- start: string;
824
- end?: string | undefined;
825
- } | {
826
- end: string;
827
- start?: string | undefined;
828
- } | undefined;
829
- assigner?: string | undefined;
830
- }>, "many">>;
831
- contact: z.ZodUnion<[z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
832
- phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
833
- email: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
834
- }, "strip", z.ZodTypeAny, {
835
- phone?: string | undefined;
836
- email?: string | undefined;
837
- }, {
838
- phone?: string | undefined;
839
- email?: string | undefined;
840
- }>, {
841
- phone?: string | undefined;
842
- email?: string | undefined;
843
- }, {
844
- phone?: string | undefined;
845
- email?: string | undefined;
846
- }>, "many">>, z.ZodOptional<z.ZodEffects<z.ZodObject<{
847
- phone: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
848
- email: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>]>;
849
- }, "strip", z.ZodTypeAny, {
850
- phone?: string | undefined;
851
- email?: string | undefined;
852
- }, {
853
- phone?: string | undefined;
854
- email?: string | undefined;
855
- }>, {
856
- phone?: string | undefined;
857
- email?: string | undefined;
858
- }, {
859
- phone?: string | undefined;
860
- email?: string | undefined;
861
- }>>]>;
862
- facilityIds: z.ZodArray<z.ZodString, "many">;
863
- }, "strip", z.ZodTypeAny, {
864
- id: string;
865
- address: ({
866
- zip: string;
867
- country: string;
868
- addressLine1?: string | undefined;
869
- addressLine2?: string | undefined;
870
- city?: string | undefined;
871
- state?: string | undefined;
872
- } | {
873
- zip: string;
874
- country: string;
875
- addressLine1?: string | undefined;
876
- addressLine2?: string | undefined;
877
- city?: string | undefined;
878
- state?: string | undefined;
879
- }[]) & ({
880
- zip: string;
881
- country: string;
882
- addressLine1?: string | undefined;
883
- addressLine2?: string | undefined;
884
- city?: string | undefined;
885
- state?: string | undefined;
886
- } | {
887
- zip: string;
888
- country: string;
889
- addressLine1?: string | undefined;
890
- addressLine2?: string | undefined;
891
- city?: string | undefined;
892
- state?: string | undefined;
893
- }[] | undefined);
894
- firstName: string;
895
- lastName: string;
896
- dob: string;
897
- genderAtBirth: "F" | "M";
898
- facilityIds: string[];
899
- eTag?: string | undefined;
900
- personalIdentifiers?: {
901
- type: "driversLicense";
902
- value: string;
903
- state: import("./common/us-data").USState;
904
- period?: {
905
- start: string;
906
- end?: string | undefined;
907
- } | {
908
- end: string;
909
- start?: string | undefined;
910
- } | undefined;
911
- assigner?: string | undefined;
912
- }[] | undefined;
913
- contact?: {
914
- phone?: string | undefined;
915
- email?: string | undefined;
916
- } | {
917
- phone?: string | undefined;
918
- email?: string | undefined;
919
- }[] | undefined;
920
- }, {
921
- id: string;
922
- address: ({
923
- zip: string;
924
- addressLine1?: string | undefined;
925
- addressLine2?: string | undefined;
926
- city?: string | undefined;
927
- state?: string | undefined;
928
- country?: string | undefined;
929
- } | {
930
- zip: string;
931
- addressLine1?: string | undefined;
932
- addressLine2?: string | undefined;
933
- city?: string | undefined;
934
- state?: string | undefined;
935
- country?: string | undefined;
936
- }[]) & ({
937
- zip: string;
938
- addressLine1?: string | undefined;
939
- addressLine2?: string | undefined;
940
- city?: string | undefined;
941
- state?: string | undefined;
942
- country?: string | undefined;
943
- } | {
944
- zip: string;
945
- addressLine1?: string | undefined;
946
- addressLine2?: string | undefined;
947
- city?: string | undefined;
948
- state?: string | undefined;
949
- country?: string | undefined;
950
- }[] | undefined);
951
- firstName: string;
952
- lastName: string;
953
- dob: string;
954
- genderAtBirth: "F" | "M";
955
- facilityIds: string[];
956
- eTag?: string | undefined;
957
- personalIdentifiers?: {
958
- type: "driversLicense";
959
- value: string;
960
- state: import("./common/us-data").USState;
961
- period?: {
962
- start: string;
963
- end?: string | undefined;
964
- } | {
965
- end: string;
966
- start?: string | undefined;
967
- } | undefined;
968
- assigner?: string | undefined;
969
- }[] | undefined;
970
- contact?: {
971
- phone?: string | undefined;
972
- email?: string | undefined;
973
- } | {
974
- phone?: string | undefined;
975
- email?: string | undefined;
976
- }[] | undefined;
977
- }>, "many">;
978
- }, "strip", z.ZodTypeAny, {
979
- patients: {
980
- id: string;
981
- address: ({
982
- zip: string;
983
- country: string;
984
- addressLine1?: string | undefined;
985
- addressLine2?: string | undefined;
986
- city?: string | undefined;
987
- state?: string | undefined;
988
- } | {
989
- zip: string;
990
- country: string;
991
- addressLine1?: string | undefined;
992
- addressLine2?: string | undefined;
993
- city?: string | undefined;
994
- state?: string | undefined;
995
- }[]) & ({
996
- zip: string;
997
- country: string;
998
- addressLine1?: string | undefined;
999
- addressLine2?: string | undefined;
1000
- city?: string | undefined;
1001
- state?: string | undefined;
1002
- } | {
1003
- zip: string;
1004
- country: string;
1005
- addressLine1?: string | undefined;
1006
- addressLine2?: string | undefined;
1007
- city?: string | undefined;
1008
- state?: string | undefined;
1009
- }[] | undefined);
1010
- firstName: string;
1011
- lastName: string;
1012
- dob: string;
1013
- genderAtBirth: "F" | "M";
1014
- facilityIds: string[];
1015
- eTag?: string | undefined;
1016
- personalIdentifiers?: {
1017
- type: "driversLicense";
1018
- value: string;
1019
- state: import("./common/us-data").USState;
1020
- period?: {
1021
- start: string;
1022
- end?: string | undefined;
1023
- } | {
1024
- end: string;
1025
- start?: string | undefined;
1026
- } | undefined;
1027
- assigner?: string | undefined;
1028
- }[] | undefined;
1029
- contact?: {
1030
- phone?: string | undefined;
1031
- email?: string | undefined;
1032
- } | {
1033
- phone?: string | undefined;
1034
- email?: string | undefined;
1035
- }[] | undefined;
1036
- }[];
1037
- }, {
1038
- patients: {
1039
- id: string;
1040
- address: ({
1041
- zip: string;
1042
- addressLine1?: string | undefined;
1043
- addressLine2?: string | undefined;
1044
- city?: string | undefined;
1045
- state?: string | undefined;
1046
- country?: string | undefined;
1047
- } | {
1048
- zip: string;
1049
- addressLine1?: string | undefined;
1050
- addressLine2?: string | undefined;
1051
- city?: string | undefined;
1052
- state?: string | undefined;
1053
- country?: string | undefined;
1054
- }[]) & ({
1055
- zip: string;
1056
- addressLine1?: string | undefined;
1057
- addressLine2?: string | undefined;
1058
- city?: string | undefined;
1059
- state?: string | undefined;
1060
- country?: string | undefined;
1061
- } | {
1062
- zip: string;
1063
- addressLine1?: string | undefined;
1064
- addressLine2?: string | undefined;
1065
- city?: string | undefined;
1066
- state?: string | undefined;
1067
- country?: string | undefined;
1068
- }[] | undefined);
1069
- firstName: string;
1070
- lastName: string;
1071
- dob: string;
1072
- genderAtBirth: "F" | "M";
1073
- facilityIds: string[];
1074
- eTag?: string | undefined;
1075
- personalIdentifiers?: {
1076
- type: "driversLicense";
1077
- value: string;
1078
- state: import("./common/us-data").USState;
1079
- period?: {
1080
- start: string;
1081
- end?: string | undefined;
1082
- } | {
1083
- end: string;
1084
- start?: string | undefined;
1085
- } | undefined;
1086
- assigner?: string | undefined;
1087
- }[] | undefined;
1088
- contact?: {
1089
- phone?: string | undefined;
1090
- email?: string | undefined;
1091
- } | {
1092
- phone?: string | undefined;
1093
- email?: string | undefined;
1094
- }[] | undefined;
1095
- }[];
1096
- }>;
1097
- //# sourceMappingURL=patient.d.ts.map