@metriport/shared 0.23.6 → 0.23.7

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 (69) hide show
  1. package/dist/common/date.d.ts +16 -0
  2. package/dist/common/date.d.ts.map +1 -1
  3. package/dist/common/date.js +63 -1
  4. package/dist/common/date.js.map +1 -1
  5. package/dist/common/titleCase.d.ts +2 -0
  6. package/dist/common/titleCase.d.ts.map +1 -0
  7. package/dist/common/titleCase.js +10 -0
  8. package/dist/common/titleCase.js.map +1 -0
  9. package/dist/domain/address/__tests__/normalize-zip.test.d.ts +2 -0
  10. package/dist/domain/address/__tests__/normalize-zip.test.d.ts.map +1 -0
  11. package/dist/domain/address/__tests__/normalize-zip.test.js +83 -0
  12. package/dist/domain/address/__tests__/normalize-zip.test.js.map +1 -0
  13. package/dist/domain/organization.d.ts +87 -0
  14. package/dist/domain/organization.d.ts.map +1 -0
  15. package/dist/domain/organization.js +39 -0
  16. package/dist/domain/organization.js.map +1 -0
  17. package/dist/domain/patient/patient-import.d.ts +6 -6
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +1 -0
  21. package/dist/index.js.map +1 -1
  22. package/dist/interface/external/athenahealth/index.d.ts +0 -1
  23. package/dist/interface/external/athenahealth/index.d.ts.map +1 -1
  24. package/dist/interface/external/athenahealth/index.js +0 -1
  25. package/dist/interface/external/athenahealth/index.js.map +1 -1
  26. package/dist/interface/external/athenahealth/jwt-token.d.ts +11 -2
  27. package/dist/interface/external/athenahealth/jwt-token.d.ts.map +1 -1
  28. package/dist/interface/external/athenahealth/jwt-token.js +6 -1
  29. package/dist/interface/external/athenahealth/jwt-token.js.map +1 -1
  30. package/dist/interface/external/athenahealth/patient.d.ts +32 -238
  31. package/dist/interface/external/athenahealth/patient.d.ts.map +1 -1
  32. package/dist/interface/external/athenahealth/patient.js +11 -30
  33. package/dist/interface/external/athenahealth/patient.js.map +1 -1
  34. package/dist/interface/external/ehr/patient.d.ts +12 -12
  35. package/dist/interface/external/elation/patient.d.ts +18 -18
  36. package/dist/interface/external/elation/subscription.d.ts +2 -0
  37. package/dist/interface/external/elation/subscription.d.ts.map +1 -0
  38. package/dist/interface/external/elation/subscription.js +3 -0
  39. package/dist/interface/external/elation/subscription.js.map +1 -0
  40. package/dist/interface/external/shared/ehr/patient.d.ts +32 -32
  41. package/dist/interface/schema/feedback.d.ts +2 -2
  42. package/dist/medical/fhir/bundle.d.ts +3 -0
  43. package/dist/medical/fhir/bundle.d.ts.map +1 -1
  44. package/dist/medical/fhir/bundle.js.map +1 -1
  45. package/dist/util/duration.d.ts +10 -0
  46. package/dist/util/duration.d.ts.map +1 -0
  47. package/dist/util/duration.js +20 -0
  48. package/dist/util/duration.js.map +1 -0
  49. package/dist/validators/driver-license/__tests__/index.test.d.ts +2 -0
  50. package/dist/validators/driver-license/__tests__/index.test.d.ts.map +1 -0
  51. package/dist/validators/driver-license/__tests__/index.test.js +87 -0
  52. package/dist/validators/driver-license/__tests__/index.test.js.map +1 -0
  53. package/dist/validators/driver-license/ca-dl.d.ts +6 -0
  54. package/dist/validators/driver-license/ca-dl.d.ts.map +1 -0
  55. package/dist/validators/driver-license/ca-dl.js +87 -0
  56. package/dist/validators/driver-license/ca-dl.js.map +1 -0
  57. package/dist/validators/driver-license/index.d.ts +18 -0
  58. package/dist/validators/driver-license/index.d.ts.map +1 -0
  59. package/dist/validators/driver-license/index.js +86 -0
  60. package/dist/validators/driver-license/index.js.map +1 -0
  61. package/dist/validators/driver-license/interfaces.d.ts +33 -0
  62. package/dist/validators/driver-license/interfaces.d.ts.map +1 -0
  63. package/dist/validators/driver-license/interfaces.js +3 -0
  64. package/dist/validators/driver-license/interfaces.js.map +1 -0
  65. package/dist/validators/driver-license/us-dl.d.ts +6 -0
  66. package/dist/validators/driver-license/us-dl.d.ts.map +1 -0
  67. package/dist/validators/driver-license/us-dl.js +471 -0
  68. package/dist/validators/driver-license/us-dl.js.map +1 -0
  69. package/package.json +6 -2
@@ -1,250 +1,44 @@
1
1
  import { z } from "zod";
2
- export declare const patientSchema: z.ZodObject<{
3
- gender: z.ZodString;
4
- name: z.ZodOptional<z.ZodArray<z.ZodObject<{
5
- family: z.ZodString;
6
- given: z.ZodArray<z.ZodString, "many">;
7
- }, "strip", z.ZodTypeAny, {
8
- family: string;
9
- given: string[];
10
- }, {
11
- family: string;
12
- given: string[];
13
- }>, "many">>;
14
- address: z.ZodOptional<z.ZodArray<z.ZodObject<{
15
- state: z.ZodOptional<z.ZodString>;
16
- line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
- city: z.ZodOptional<z.ZodString>;
18
- postalCode: z.ZodOptional<z.ZodString>;
19
- country: z.ZodOptional<z.ZodString>;
20
- }, "strip", z.ZodTypeAny, {
21
- state?: string | undefined;
22
- city?: string | undefined;
23
- line?: string[] | undefined;
24
- postalCode?: string | undefined;
25
- country?: string | undefined;
26
- }, {
27
- state?: string | undefined;
28
- city?: string | undefined;
29
- line?: string[] | undefined;
30
- postalCode?: string | undefined;
31
- country?: string | undefined;
32
- }>, "many">>;
33
- birthDate: z.ZodString;
34
- telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
35
- value: z.ZodString;
36
- system: z.ZodEnum<["phone", "email"]>;
37
- }, "strip", z.ZodTypeAny, {
38
- value: string;
39
- system: "phone" | "email";
40
- }, {
41
- value: string;
42
- system: "phone" | "email";
43
- }>, "many">>;
2
+ export declare const patientCustomFieldSchema: z.ZodObject<{
3
+ customfieldid: z.ZodString;
4
+ customfieldvalue: z.ZodString;
5
+ optionid: z.ZodOptional<z.ZodString>;
44
6
  }, "strip", z.ZodTypeAny, {
45
- gender: string;
46
- birthDate: string;
47
- name?: {
48
- family: string;
49
- given: string[];
50
- }[] | undefined;
51
- address?: {
52
- state?: string | undefined;
53
- city?: string | undefined;
54
- line?: string[] | undefined;
55
- postalCode?: string | undefined;
56
- country?: string | undefined;
57
- }[] | undefined;
58
- telecom?: {
59
- value: string;
60
- system: "phone" | "email";
61
- }[] | undefined;
7
+ customfieldid: string;
8
+ customfieldvalue: string;
9
+ optionid?: string | undefined;
62
10
  }, {
63
- gender: string;
64
- birthDate: string;
65
- name?: {
66
- family: string;
67
- given: string[];
68
- }[] | undefined;
69
- address?: {
70
- state?: string | undefined;
71
- city?: string | undefined;
72
- line?: string[] | undefined;
73
- postalCode?: string | undefined;
74
- country?: string | undefined;
75
- }[] | undefined;
76
- telecom?: {
77
- value: string;
78
- system: "phone" | "email";
79
- }[] | undefined;
11
+ customfieldid: string;
12
+ customfieldvalue: string;
13
+ optionid?: string | undefined;
80
14
  }>;
81
- export type Patient = z.infer<typeof patientSchema>;
82
- export declare const patientSearchSchema: z.ZodObject<{
83
- entry: z.ZodArray<z.ZodObject<{
84
- resource: z.ZodObject<{
85
- gender: z.ZodString;
86
- name: z.ZodOptional<z.ZodArray<z.ZodObject<{
87
- family: z.ZodString;
88
- given: z.ZodArray<z.ZodString, "many">;
89
- }, "strip", z.ZodTypeAny, {
90
- family: string;
91
- given: string[];
92
- }, {
93
- family: string;
94
- given: string[];
95
- }>, "many">>;
96
- address: z.ZodOptional<z.ZodArray<z.ZodObject<{
97
- state: z.ZodOptional<z.ZodString>;
98
- line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
99
- city: z.ZodOptional<z.ZodString>;
100
- postalCode: z.ZodOptional<z.ZodString>;
101
- country: z.ZodOptional<z.ZodString>;
102
- }, "strip", z.ZodTypeAny, {
103
- state?: string | undefined;
104
- city?: string | undefined;
105
- line?: string[] | undefined;
106
- postalCode?: string | undefined;
107
- country?: string | undefined;
108
- }, {
109
- state?: string | undefined;
110
- city?: string | undefined;
111
- line?: string[] | undefined;
112
- postalCode?: string | undefined;
113
- country?: string | undefined;
114
- }>, "many">>;
115
- birthDate: z.ZodString;
116
- telecom: z.ZodOptional<z.ZodArray<z.ZodObject<{
117
- value: z.ZodString;
118
- system: z.ZodEnum<["phone", "email"]>;
119
- }, "strip", z.ZodTypeAny, {
120
- value: string;
121
- system: "phone" | "email";
122
- }, {
123
- value: string;
124
- system: "phone" | "email";
125
- }>, "many">>;
126
- }, "strip", z.ZodTypeAny, {
127
- gender: string;
128
- birthDate: string;
129
- name?: {
130
- family: string;
131
- given: string[];
132
- }[] | undefined;
133
- address?: {
134
- state?: string | undefined;
135
- city?: string | undefined;
136
- line?: string[] | undefined;
137
- postalCode?: string | undefined;
138
- country?: string | undefined;
139
- }[] | undefined;
140
- telecom?: {
141
- value: string;
142
- system: "phone" | "email";
143
- }[] | undefined;
144
- }, {
145
- gender: string;
146
- birthDate: string;
147
- name?: {
148
- family: string;
149
- given: string[];
150
- }[] | undefined;
151
- address?: {
152
- state?: string | undefined;
153
- city?: string | undefined;
154
- line?: string[] | undefined;
155
- postalCode?: string | undefined;
156
- country?: string | undefined;
157
- }[] | undefined;
158
- telecom?: {
159
- value: string;
160
- system: "phone" | "email";
161
- }[] | undefined;
162
- }>;
15
+ export type PatientCustomField = z.infer<typeof patientCustomFieldSchema>;
16
+ export declare const patientsCustomFieldsSchema: z.ZodArray<z.ZodObject<{
17
+ customfields: z.ZodArray<z.ZodObject<{
18
+ customfieldid: z.ZodString;
19
+ customfieldvalue: z.ZodString;
20
+ optionid: z.ZodOptional<z.ZodString>;
163
21
  }, "strip", z.ZodTypeAny, {
164
- resource: {
165
- gender: string;
166
- birthDate: string;
167
- name?: {
168
- family: string;
169
- given: string[];
170
- }[] | undefined;
171
- address?: {
172
- state?: string | undefined;
173
- city?: string | undefined;
174
- line?: string[] | undefined;
175
- postalCode?: string | undefined;
176
- country?: string | undefined;
177
- }[] | undefined;
178
- telecom?: {
179
- value: string;
180
- system: "phone" | "email";
181
- }[] | undefined;
182
- };
22
+ customfieldid: string;
23
+ customfieldvalue: string;
24
+ optionid?: string | undefined;
183
25
  }, {
184
- resource: {
185
- gender: string;
186
- birthDate: string;
187
- name?: {
188
- family: string;
189
- given: string[];
190
- }[] | undefined;
191
- address?: {
192
- state?: string | undefined;
193
- city?: string | undefined;
194
- line?: string[] | undefined;
195
- postalCode?: string | undefined;
196
- country?: string | undefined;
197
- }[] | undefined;
198
- telecom?: {
199
- value: string;
200
- system: "phone" | "email";
201
- }[] | undefined;
202
- };
26
+ customfieldid: string;
27
+ customfieldvalue: string;
28
+ optionid?: string | undefined;
203
29
  }>, "many">;
204
30
  }, "strip", z.ZodTypeAny, {
205
- entry: {
206
- resource: {
207
- gender: string;
208
- birthDate: string;
209
- name?: {
210
- family: string;
211
- given: string[];
212
- }[] | undefined;
213
- address?: {
214
- state?: string | undefined;
215
- city?: string | undefined;
216
- line?: string[] | undefined;
217
- postalCode?: string | undefined;
218
- country?: string | undefined;
219
- }[] | undefined;
220
- telecom?: {
221
- value: string;
222
- system: "phone" | "email";
223
- }[] | undefined;
224
- };
31
+ customfields: {
32
+ customfieldid: string;
33
+ customfieldvalue: string;
34
+ optionid?: string | undefined;
225
35
  }[];
226
36
  }, {
227
- entry: {
228
- resource: {
229
- gender: string;
230
- birthDate: string;
231
- name?: {
232
- family: string;
233
- given: string[];
234
- }[] | undefined;
235
- address?: {
236
- state?: string | undefined;
237
- city?: string | undefined;
238
- line?: string[] | undefined;
239
- postalCode?: string | undefined;
240
- country?: string | undefined;
241
- }[] | undefined;
242
- telecom?: {
243
- value: string;
244
- system: "phone" | "email";
245
- }[] | undefined;
246
- };
37
+ customfields: {
38
+ customfieldid: string;
39
+ customfieldvalue: string;
40
+ optionid?: string | undefined;
247
41
  }[];
248
- }>;
249
- export type PatientSearch = z.infer<typeof patientSearchSchema>;
42
+ }>, "many">;
43
+ export type PatientsCustomFields = z.infer<typeof patientsCustomFieldsSchema>;
250
44
  //# sourceMappingURL=patient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patient.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/patient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoBxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACpD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"patient.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/patient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;WAI7B,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -1,34 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.patientSearchSchema = exports.patientSchema = void 0;
3
+ exports.patientsCustomFieldsSchema = exports.patientCustomFieldSchema = void 0;
4
4
  const zod_1 = require("zod");
5
- const address = zod_1.z.object({
6
- state: zod_1.z.string().optional(),
7
- line: zod_1.z.string().array().optional(),
8
- city: zod_1.z.string().optional(),
9
- postalCode: zod_1.z.string().optional(),
10
- country: zod_1.z.string().optional(),
11
- });
12
- const telecome = zod_1.z.object({
13
- value: zod_1.z.string(),
14
- system: zod_1.z.enum(["phone", "email"]),
15
- });
16
- const name = zod_1.z.object({
17
- family: zod_1.z.string(),
18
- given: zod_1.z.string().array(),
19
- });
20
- exports.patientSchema = zod_1.z.object({
21
- gender: zod_1.z.string(),
22
- name: name.array().optional(),
23
- address: address.array().optional(),
24
- birthDate: zod_1.z.string(),
25
- telecom: telecome.array().optional(),
26
- });
27
- exports.patientSearchSchema = zod_1.z.object({
28
- entry: zod_1.z
29
- .object({
30
- resource: exports.patientSchema,
31
- })
32
- .array(),
33
- });
5
+ exports.patientCustomFieldSchema = zod_1.z.object({
6
+ customfieldid: zod_1.z.string(),
7
+ customfieldvalue: zod_1.z.string(),
8
+ optionid: zod_1.z.string().optional(),
9
+ });
10
+ exports.patientsCustomFieldsSchema = zod_1.z
11
+ .object({
12
+ customfields: exports.patientCustomFieldSchema.array(),
13
+ })
14
+ .array();
34
15
  //# sourceMappingURL=patient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"patient.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/patient.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,OAAO,GAAG,OAAC,CAAC,MAAM,CAAC;IACvB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC;AAEH,MAAM,QAAQ,GAAG,OAAC,CAAC,MAAM,CAAC;IACxB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;CACnC,CAAC,CAAC;AAEH,MAAM,IAAI,GAAG,OAAC,CAAC,MAAM,CAAC;IACpB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;CAC1B,CAAC,CAAC;AAEU,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC7B,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC;AAGU,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,OAAC;SACL,MAAM,CAAC;QACN,QAAQ,EAAE,qBAAa;KACxB,CAAC;SACD,KAAK,EAAE;CACX,CAAC,CAAC"}
1
+ {"version":3,"file":"patient.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/patient.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAEU,QAAA,0BAA0B,GAAG,OAAC;KACxC,MAAM,CAAC;IACN,YAAY,EAAE,gCAAwB,CAAC,KAAK,EAAE;CAC/C,CAAC;KACD,KAAK,EAAE,CAAC"}
@@ -20,14 +20,14 @@ export declare const patientSchema: z.ZodObject<{
20
20
  }, "strip", z.ZodTypeAny, {
21
21
  country?: string | undefined;
22
22
  state?: string | undefined;
23
- line?: string[] | undefined;
24
23
  city?: string | undefined;
24
+ line?: string[] | undefined;
25
25
  postalCode?: string | undefined;
26
26
  }, {
27
27
  country?: string | undefined;
28
28
  state?: string | undefined;
29
- line?: string[] | undefined;
30
29
  city?: string | undefined;
30
+ line?: string[] | undefined;
31
31
  postalCode?: string | undefined;
32
32
  }>, "many">>;
33
33
  birthDate: z.ZodString;
@@ -51,8 +51,8 @@ export declare const patientSchema: z.ZodObject<{
51
51
  address?: {
52
52
  country?: string | undefined;
53
53
  state?: string | undefined;
54
- line?: string[] | undefined;
55
54
  city?: string | undefined;
55
+ line?: string[] | undefined;
56
56
  postalCode?: string | undefined;
57
57
  }[] | undefined;
58
58
  telecom?: {
@@ -69,8 +69,8 @@ export declare const patientSchema: z.ZodObject<{
69
69
  address?: {
70
70
  country?: string | undefined;
71
71
  state?: string | undefined;
72
- line?: string[] | undefined;
73
72
  city?: string | undefined;
73
+ line?: string[] | undefined;
74
74
  postalCode?: string | undefined;
75
75
  }[] | undefined;
76
76
  telecom?: {
@@ -102,14 +102,14 @@ export declare const patientSearchSchema: z.ZodObject<{
102
102
  }, "strip", z.ZodTypeAny, {
103
103
  country?: string | undefined;
104
104
  state?: string | undefined;
105
- line?: string[] | undefined;
106
105
  city?: string | undefined;
106
+ line?: string[] | undefined;
107
107
  postalCode?: string | undefined;
108
108
  }, {
109
109
  country?: string | undefined;
110
110
  state?: string | undefined;
111
- line?: string[] | undefined;
112
111
  city?: string | undefined;
112
+ line?: string[] | undefined;
113
113
  postalCode?: string | undefined;
114
114
  }>, "many">>;
115
115
  birthDate: z.ZodString;
@@ -133,8 +133,8 @@ export declare const patientSearchSchema: z.ZodObject<{
133
133
  address?: {
134
134
  country?: string | undefined;
135
135
  state?: string | undefined;
136
- line?: string[] | undefined;
137
136
  city?: string | undefined;
137
+ line?: string[] | undefined;
138
138
  postalCode?: string | undefined;
139
139
  }[] | undefined;
140
140
  telecom?: {
@@ -151,8 +151,8 @@ export declare const patientSearchSchema: z.ZodObject<{
151
151
  address?: {
152
152
  country?: string | undefined;
153
153
  state?: string | undefined;
154
- line?: string[] | undefined;
155
154
  city?: string | undefined;
155
+ line?: string[] | undefined;
156
156
  postalCode?: string | undefined;
157
157
  }[] | undefined;
158
158
  telecom?: {
@@ -171,8 +171,8 @@ export declare const patientSearchSchema: z.ZodObject<{
171
171
  address?: {
172
172
  country?: string | undefined;
173
173
  state?: string | undefined;
174
- line?: string[] | undefined;
175
174
  city?: string | undefined;
175
+ line?: string[] | undefined;
176
176
  postalCode?: string | undefined;
177
177
  }[] | undefined;
178
178
  telecom?: {
@@ -191,8 +191,8 @@ export declare const patientSearchSchema: z.ZodObject<{
191
191
  address?: {
192
192
  country?: string | undefined;
193
193
  state?: string | undefined;
194
- line?: string[] | undefined;
195
194
  city?: string | undefined;
195
+ line?: string[] | undefined;
196
196
  postalCode?: string | undefined;
197
197
  }[] | undefined;
198
198
  telecom?: {
@@ -213,8 +213,8 @@ export declare const patientSearchSchema: z.ZodObject<{
213
213
  address?: {
214
214
  country?: string | undefined;
215
215
  state?: string | undefined;
216
- line?: string[] | undefined;
217
216
  city?: string | undefined;
217
+ line?: string[] | undefined;
218
218
  postalCode?: string | undefined;
219
219
  }[] | undefined;
220
220
  telecom?: {
@@ -235,8 +235,8 @@ export declare const patientSearchSchema: z.ZodObject<{
235
235
  address?: {
236
236
  country?: string | undefined;
237
237
  state?: string | undefined;
238
- line?: string[] | undefined;
239
238
  city?: string | undefined;
239
+ line?: string[] | undefined;
240
240
  postalCode?: string | undefined;
241
241
  }[] | undefined;
242
242
  telecom?: {
@@ -12,16 +12,16 @@ export declare const patientSchema: z.ZodObject<{
12
12
  zip: z.ZodNullable<z.ZodString>;
13
13
  }, "strip", z.ZodTypeAny, {
14
14
  state: string | null;
15
- zip: string | null;
16
- city: string | null;
17
15
  address_line1: string | null;
18
16
  address_line2: string | null;
17
+ city: string | null;
18
+ zip: string | null;
19
19
  }, {
20
20
  state: string | null;
21
- zip: string | null;
22
- city: string | null;
23
21
  address_line1: string | null;
24
22
  address_line2: string | null;
23
+ city: string | null;
24
+ zip: string | null;
25
25
  }>>;
26
26
  dob: z.ZodString;
27
27
  phones: z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -40,19 +40,19 @@ export declare const patientSchema: z.ZodObject<{
40
40
  }>, "many">>;
41
41
  ssn: z.ZodNullable<z.ZodString>;
42
42
  }, "strip", z.ZodTypeAny, {
43
- dob: string;
44
43
  ssn: string | null;
44
+ first_name: string | null;
45
+ last_name: string | null;
46
+ middle_name: string | null;
47
+ sex: string;
45
48
  address: {
46
49
  state: string | null;
47
- zip: string | null;
48
- city: string | null;
49
50
  address_line1: string | null;
50
51
  address_line2: string | null;
52
+ city: string | null;
53
+ zip: string | null;
51
54
  } | null;
52
- first_name: string | null;
53
- last_name: string | null;
54
- middle_name: string | null;
55
- sex: string;
55
+ dob: string;
56
56
  phones: {
57
57
  phone: string;
58
58
  }[] | null;
@@ -60,19 +60,19 @@ export declare const patientSchema: z.ZodObject<{
60
60
  email: string;
61
61
  }[] | null;
62
62
  }, {
63
- dob: string;
64
63
  ssn: string | null;
64
+ first_name: string | null;
65
+ last_name: string | null;
66
+ middle_name: string | null;
67
+ sex: string;
65
68
  address: {
66
69
  state: string | null;
67
- zip: string | null;
68
- city: string | null;
69
70
  address_line1: string | null;
70
71
  address_line2: string | null;
72
+ city: string | null;
73
+ zip: string | null;
71
74
  } | null;
72
- first_name: string | null;
73
- last_name: string | null;
74
- middle_name: string | null;
75
- sex: string;
75
+ dob: string;
76
76
  phones: {
77
77
  phone: string;
78
78
  }[] | null;
@@ -0,0 +1,2 @@
1
+ export type Resource = "appointments";
2
+ //# sourceMappingURL=subscription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/elation/subscription.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=subscription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../../src/interface/external/elation/subscription.ts"],"names":[],"mappings":""}