@metriport/shared 0.24.4-alpha.0 → 0.24.4

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 (41) hide show
  1. package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts +304 -2
  2. package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts.map +1 -1
  3. package/dist/interface/external/ehr/athenahealth/cx-mapping.js +5 -2
  4. package/dist/interface/external/ehr/athenahealth/cx-mapping.js.map +1 -1
  5. package/dist/interface/external/ehr/canvas/cx-mapping.d.ts +308 -0
  6. package/dist/interface/external/ehr/canvas/cx-mapping.d.ts.map +1 -0
  7. package/dist/interface/external/ehr/canvas/cx-mapping.js +7 -0
  8. package/dist/interface/external/ehr/canvas/cx-mapping.js.map +1 -0
  9. package/dist/interface/external/ehr/canvas/index.d.ts +1 -0
  10. package/dist/interface/external/ehr/canvas/index.d.ts.map +1 -1
  11. package/dist/interface/external/ehr/canvas/index.js +1 -0
  12. package/dist/interface/external/ehr/canvas/index.js.map +1 -1
  13. package/dist/interface/external/ehr/elation/cx-mapping.d.ts +310 -2
  14. package/dist/interface/external/ehr/elation/cx-mapping.d.ts.map +1 -1
  15. package/dist/interface/external/ehr/elation/cx-mapping.js +7 -2
  16. package/dist/interface/external/ehr/elation/cx-mapping.js.map +1 -1
  17. package/dist/interface/external/ehr/elation/index.d.ts +3 -0
  18. package/dist/interface/external/ehr/elation/index.d.ts.map +1 -1
  19. package/dist/interface/external/ehr/elation/index.js +3 -0
  20. package/dist/interface/external/ehr/elation/index.js.map +1 -1
  21. package/dist/interface/external/ehr/elation/lab.d.ts +10 -0
  22. package/dist/interface/external/ehr/elation/lab.d.ts.map +1 -0
  23. package/dist/interface/external/ehr/elation/lab.js +8 -0
  24. package/dist/interface/external/ehr/elation/lab.js.map +1 -0
  25. package/dist/interface/external/ehr/elation/practice.d.ts +44 -0
  26. package/dist/interface/external/ehr/elation/practice.d.ts.map +1 -0
  27. package/dist/interface/external/ehr/elation/practice.js +13 -0
  28. package/dist/interface/external/ehr/elation/practice.js.map +1 -0
  29. package/dist/interface/external/ehr/elation/vtial.d.ts +10 -0
  30. package/dist/interface/external/ehr/elation/vtial.d.ts.map +1 -0
  31. package/dist/interface/external/ehr/elation/vtial.js +8 -0
  32. package/dist/interface/external/ehr/elation/vtial.js.map +1 -0
  33. package/dist/interface/external/ehr/healthie/cx-mapping.d.ts +304 -2
  34. package/dist/interface/external/ehr/healthie/cx-mapping.d.ts.map +1 -1
  35. package/dist/interface/external/ehr/healthie/cx-mapping.js +5 -2
  36. package/dist/interface/external/ehr/healthie/cx-mapping.js.map +1 -1
  37. package/dist/interface/external/ehr/shared.d.ts +541 -0
  38. package/dist/interface/external/ehr/shared.d.ts.map +1 -0
  39. package/dist/interface/external/ehr/shared.js +46 -0
  40. package/dist/interface/external/ehr/shared.js.map +1 -0
  41. package/package.json +2 -2
@@ -18,4 +18,5 @@ __exportStar(require("./jwt-token"), exports);
18
18
  __exportStar(require("./appointment"), exports);
19
19
  __exportStar(require("./note"), exports);
20
20
  __exportStar(require("./allergen"), exports);
21
+ __exportStar(require("./cx-mapping"), exports);
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/canvas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,gDAA8B;AAC9B,yCAAuB;AACvB,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/canvas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,gDAA8B;AAC9B,yCAAuB;AACvB,6CAA2B;AAC3B,+CAA6B"}
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- export declare const elationSecondaryMappingsSchema: z.ZodObject<{
2
+ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.extendShape<{
3
3
  webhooks: z.ZodOptional<z.ZodRecord<z.ZodEnum<["appointments", "patients"]>, z.ZodObject<{
4
4
  url: z.ZodString;
5
5
  signingKey: z.ZodString;
@@ -16,7 +16,270 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<{
16
16
  webhookAppointmentPatientProcessingDisabled: z.ZodOptional<z.ZodBoolean>;
17
17
  backgroundAppointmentsDisabled: z.ZodOptional<z.ZodBoolean>;
18
18
  backgroundAppointmentPatientProcessingDisabled: z.ZodOptional<z.ZodBoolean>;
19
- }, "strip", z.ZodTypeAny, {
19
+ defaultPracticeId: z.ZodOptional<z.ZodString>;
20
+ defaultPhysicianId: z.ZodOptional<z.ZodString>;
21
+ }, {
22
+ writeBackEnabled: z.ZodOptional<z.ZodBoolean>;
23
+ writeBackFilters: z.ZodOptional<z.ZodObject<{
24
+ lab: z.ZodOptional<z.ZodObject<{
25
+ loincCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26
+ minCountPerCode: z.ZodOptional<z.ZodNumber>;
27
+ relativeDateRange: z.ZodOptional<z.ZodObject<{
28
+ days: z.ZodOptional<z.ZodNumber>;
29
+ months: z.ZodOptional<z.ZodNumber>;
30
+ years: z.ZodOptional<z.ZodNumber>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ days?: number | undefined;
33
+ months?: number | undefined;
34
+ years?: number | undefined;
35
+ }, {
36
+ days?: number | undefined;
37
+ months?: number | undefined;
38
+ years?: number | undefined;
39
+ }>>;
40
+ disabled: z.ZodOptional<z.ZodBoolean>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ loincCodes?: string[] | undefined;
43
+ minCountPerCode?: number | undefined;
44
+ relativeDateRange?: {
45
+ days?: number | undefined;
46
+ months?: number | undefined;
47
+ years?: number | undefined;
48
+ } | undefined;
49
+ disabled?: boolean | undefined;
50
+ }, {
51
+ loincCodes?: string[] | undefined;
52
+ minCountPerCode?: number | undefined;
53
+ relativeDateRange?: {
54
+ days?: number | undefined;
55
+ months?: number | undefined;
56
+ years?: number | undefined;
57
+ } | undefined;
58
+ disabled?: boolean | undefined;
59
+ }>>;
60
+ labPanel: z.ZodOptional<z.ZodObject<{
61
+ loincCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62
+ minCountPerCode: z.ZodOptional<z.ZodNumber>;
63
+ relativeDateRange: z.ZodOptional<z.ZodObject<{
64
+ days: z.ZodOptional<z.ZodNumber>;
65
+ months: z.ZodOptional<z.ZodNumber>;
66
+ years: z.ZodOptional<z.ZodNumber>;
67
+ }, "strip", z.ZodTypeAny, {
68
+ days?: number | undefined;
69
+ months?: number | undefined;
70
+ years?: number | undefined;
71
+ }, {
72
+ days?: number | undefined;
73
+ months?: number | undefined;
74
+ years?: number | undefined;
75
+ }>>;
76
+ disabled: z.ZodOptional<z.ZodBoolean>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ loincCodes?: string[] | undefined;
79
+ minCountPerCode?: number | undefined;
80
+ relativeDateRange?: {
81
+ days?: number | undefined;
82
+ months?: number | undefined;
83
+ years?: number | undefined;
84
+ } | undefined;
85
+ disabled?: boolean | undefined;
86
+ }, {
87
+ loincCodes?: string[] | undefined;
88
+ minCountPerCode?: number | undefined;
89
+ relativeDateRange?: {
90
+ days?: number | undefined;
91
+ months?: number | undefined;
92
+ years?: number | undefined;
93
+ } | undefined;
94
+ disabled?: boolean | undefined;
95
+ }>>;
96
+ problems: z.ZodOptional<z.ZodObject<{
97
+ chronicityFilter: z.ZodOptional<z.ZodEnum<["all", "chronic", "non-chronic"]>>;
98
+ relativeDateRange: z.ZodOptional<z.ZodObject<{
99
+ days: z.ZodOptional<z.ZodNumber>;
100
+ months: z.ZodOptional<z.ZodNumber>;
101
+ years: z.ZodOptional<z.ZodNumber>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ days?: number | undefined;
104
+ months?: number | undefined;
105
+ years?: number | undefined;
106
+ }, {
107
+ days?: number | undefined;
108
+ months?: number | undefined;
109
+ years?: number | undefined;
110
+ }>>;
111
+ disabled: z.ZodOptional<z.ZodBoolean>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ relativeDateRange?: {
114
+ days?: number | undefined;
115
+ months?: number | undefined;
116
+ years?: number | undefined;
117
+ } | undefined;
118
+ disabled?: boolean | undefined;
119
+ chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
120
+ }, {
121
+ relativeDateRange?: {
122
+ days?: number | undefined;
123
+ months?: number | undefined;
124
+ years?: number | undefined;
125
+ } | undefined;
126
+ disabled?: boolean | undefined;
127
+ chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
128
+ }>>;
129
+ vital: z.ZodOptional<z.ZodObject<{
130
+ loincCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
131
+ relativeDateRange: z.ZodOptional<z.ZodObject<{
132
+ days: z.ZodOptional<z.ZodNumber>;
133
+ months: z.ZodOptional<z.ZodNumber>;
134
+ years: z.ZodOptional<z.ZodNumber>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ days?: number | undefined;
137
+ months?: number | undefined;
138
+ years?: number | undefined;
139
+ }, {
140
+ days?: number | undefined;
141
+ months?: number | undefined;
142
+ years?: number | undefined;
143
+ }>>;
144
+ disabled: z.ZodOptional<z.ZodBoolean>;
145
+ }, "strip", z.ZodTypeAny, {
146
+ loincCodes?: string[] | undefined;
147
+ relativeDateRange?: {
148
+ days?: number | undefined;
149
+ months?: number | undefined;
150
+ years?: number | undefined;
151
+ } | undefined;
152
+ disabled?: boolean | undefined;
153
+ }, {
154
+ loincCodes?: string[] | undefined;
155
+ relativeDateRange?: {
156
+ days?: number | undefined;
157
+ months?: number | undefined;
158
+ years?: number | undefined;
159
+ } | undefined;
160
+ disabled?: boolean | undefined;
161
+ }>>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ lab?: {
164
+ loincCodes?: string[] | undefined;
165
+ minCountPerCode?: number | undefined;
166
+ relativeDateRange?: {
167
+ days?: number | undefined;
168
+ months?: number | undefined;
169
+ years?: number | undefined;
170
+ } | undefined;
171
+ disabled?: boolean | undefined;
172
+ } | undefined;
173
+ labPanel?: {
174
+ loincCodes?: string[] | undefined;
175
+ minCountPerCode?: number | undefined;
176
+ relativeDateRange?: {
177
+ days?: number | undefined;
178
+ months?: number | undefined;
179
+ years?: number | undefined;
180
+ } | undefined;
181
+ disabled?: boolean | undefined;
182
+ } | undefined;
183
+ problems?: {
184
+ relativeDateRange?: {
185
+ days?: number | undefined;
186
+ months?: number | undefined;
187
+ years?: number | undefined;
188
+ } | undefined;
189
+ disabled?: boolean | undefined;
190
+ chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
191
+ } | undefined;
192
+ vital?: {
193
+ loincCodes?: string[] | undefined;
194
+ relativeDateRange?: {
195
+ days?: number | undefined;
196
+ months?: number | undefined;
197
+ years?: number | undefined;
198
+ } | undefined;
199
+ disabled?: boolean | undefined;
200
+ } | undefined;
201
+ }, {
202
+ lab?: {
203
+ loincCodes?: string[] | undefined;
204
+ minCountPerCode?: number | undefined;
205
+ relativeDateRange?: {
206
+ days?: number | undefined;
207
+ months?: number | undefined;
208
+ years?: number | undefined;
209
+ } | undefined;
210
+ disabled?: boolean | undefined;
211
+ } | undefined;
212
+ labPanel?: {
213
+ loincCodes?: string[] | undefined;
214
+ minCountPerCode?: number | undefined;
215
+ relativeDateRange?: {
216
+ days?: number | undefined;
217
+ months?: number | undefined;
218
+ years?: number | undefined;
219
+ } | undefined;
220
+ disabled?: boolean | undefined;
221
+ } | undefined;
222
+ problems?: {
223
+ relativeDateRange?: {
224
+ days?: number | undefined;
225
+ months?: number | undefined;
226
+ years?: number | undefined;
227
+ } | undefined;
228
+ disabled?: boolean | undefined;
229
+ chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
230
+ } | undefined;
231
+ vital?: {
232
+ loincCodes?: string[] | undefined;
233
+ relativeDateRange?: {
234
+ days?: number | undefined;
235
+ months?: number | undefined;
236
+ years?: number | undefined;
237
+ } | undefined;
238
+ disabled?: boolean | undefined;
239
+ } | undefined;
240
+ }>>;
241
+ }>, "strip", z.ZodTypeAny, {
242
+ writeBackEnabled?: boolean | undefined;
243
+ writeBackFilters?: {
244
+ lab?: {
245
+ loincCodes?: string[] | undefined;
246
+ minCountPerCode?: number | undefined;
247
+ relativeDateRange?: {
248
+ days?: number | undefined;
249
+ months?: number | undefined;
250
+ years?: number | undefined;
251
+ } | undefined;
252
+ disabled?: boolean | undefined;
253
+ } | undefined;
254
+ labPanel?: {
255
+ loincCodes?: string[] | undefined;
256
+ minCountPerCode?: number | undefined;
257
+ relativeDateRange?: {
258
+ days?: number | undefined;
259
+ months?: number | undefined;
260
+ years?: number | undefined;
261
+ } | undefined;
262
+ disabled?: boolean | undefined;
263
+ } | undefined;
264
+ problems?: {
265
+ relativeDateRange?: {
266
+ days?: number | undefined;
267
+ months?: number | undefined;
268
+ years?: number | undefined;
269
+ } | undefined;
270
+ disabled?: boolean | undefined;
271
+ chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
272
+ } | undefined;
273
+ vital?: {
274
+ loincCodes?: string[] | undefined;
275
+ relativeDateRange?: {
276
+ days?: number | undefined;
277
+ months?: number | undefined;
278
+ years?: number | undefined;
279
+ } | undefined;
280
+ disabled?: boolean | undefined;
281
+ } | undefined;
282
+ } | undefined;
20
283
  backgroundAppointmentsDisabled?: boolean | undefined;
21
284
  webhooks?: Partial<Record<"patients" | "appointments", {
22
285
  url: string;
@@ -27,7 +290,50 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<{
27
290
  webhookAppointmentPatientLinkingDisabled?: boolean | undefined;
28
291
  webhookAppointmentPatientProcessingDisabled?: boolean | undefined;
29
292
  backgroundAppointmentPatientProcessingDisabled?: boolean | undefined;
293
+ defaultPracticeId?: string | undefined;
294
+ defaultPhysicianId?: string | undefined;
30
295
  }, {
296
+ writeBackEnabled?: boolean | undefined;
297
+ writeBackFilters?: {
298
+ lab?: {
299
+ loincCodes?: string[] | undefined;
300
+ minCountPerCode?: number | undefined;
301
+ relativeDateRange?: {
302
+ days?: number | undefined;
303
+ months?: number | undefined;
304
+ years?: number | undefined;
305
+ } | undefined;
306
+ disabled?: boolean | undefined;
307
+ } | undefined;
308
+ labPanel?: {
309
+ loincCodes?: string[] | undefined;
310
+ minCountPerCode?: number | undefined;
311
+ relativeDateRange?: {
312
+ days?: number | undefined;
313
+ months?: number | undefined;
314
+ years?: number | undefined;
315
+ } | undefined;
316
+ disabled?: boolean | undefined;
317
+ } | undefined;
318
+ problems?: {
319
+ relativeDateRange?: {
320
+ days?: number | undefined;
321
+ months?: number | undefined;
322
+ years?: number | undefined;
323
+ } | undefined;
324
+ disabled?: boolean | undefined;
325
+ chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
326
+ } | undefined;
327
+ vital?: {
328
+ loincCodes?: string[] | undefined;
329
+ relativeDateRange?: {
330
+ days?: number | undefined;
331
+ months?: number | undefined;
332
+ years?: number | undefined;
333
+ } | undefined;
334
+ disabled?: boolean | undefined;
335
+ } | undefined;
336
+ } | undefined;
31
337
  backgroundAppointmentsDisabled?: boolean | undefined;
32
338
  webhooks?: Partial<Record<"patients" | "appointments", {
33
339
  url: string;
@@ -38,6 +344,8 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<{
38
344
  webhookAppointmentPatientLinkingDisabled?: boolean | undefined;
39
345
  webhookAppointmentPatientProcessingDisabled?: boolean | undefined;
40
346
  backgroundAppointmentPatientProcessingDisabled?: boolean | undefined;
347
+ defaultPracticeId?: string | undefined;
348
+ defaultPhysicianId?: string | undefined;
41
349
  }>;
42
350
  export type ElationSecondaryMappings = z.infer<typeof elationSecondaryMappingsSchema>;
43
351
  //# sourceMappingURL=cx-mapping.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
1
+ {"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYX,CAAC;AACjC,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
@@ -3,11 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.elationSecondaryMappingsSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const subscription_1 = require("./subscription");
6
+ const shared_1 = require("../shared");
6
7
  const webhookSchema = zod_1.z.object({
7
8
  url: zod_1.z.string(),
8
9
  signingKey: zod_1.z.string(),
9
10
  });
10
- exports.elationSecondaryMappingsSchema = zod_1.z.object({
11
+ exports.elationSecondaryMappingsSchema = zod_1.z
12
+ .object({
11
13
  webhooks: zod_1.z.record(zod_1.z.enum(subscription_1.subscriptionResources), webhookSchema).optional(),
12
14
  webhookPatientPatientLinkingDisabled: zod_1.z.boolean().optional(),
13
15
  webhookPatientPatientProcessingEnabled: zod_1.z.boolean().optional(),
@@ -15,5 +17,8 @@ exports.elationSecondaryMappingsSchema = zod_1.z.object({
15
17
  webhookAppointmentPatientProcessingDisabled: zod_1.z.boolean().optional(),
16
18
  backgroundAppointmentsDisabled: zod_1.z.boolean().optional(),
17
19
  backgroundAppointmentPatientProcessingDisabled: zod_1.z.boolean().optional(),
18
- });
20
+ defaultPracticeId: zod_1.z.string().optional(),
21
+ defaultPhysicianId: zod_1.z.string().optional(),
22
+ })
23
+ .merge(shared_1.writeBackFiltersSchema);
19
24
  //# sourceMappingURL=cx-mapping.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cx-mapping.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/cx-mapping.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAuD;AAEvD,MAAM,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC;AAEU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,IAAI,CAAC,oCAAqB,CAAC,EAAE,aAAa,CAAC,CAAC,QAAQ,EAAE;IAC3E,oCAAoC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC5D,sCAAsC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9D,wCAAwC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChE,2CAA2C,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnE,8BAA8B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtD,8CAA8C,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACvE,CAAC,CAAC"}
1
+ {"version":3,"file":"cx-mapping.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/cx-mapping.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAuD;AACvD,sCAAmD;AAEnD,MAAM,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC;AAEU,QAAA,8BAA8B,GAAG,OAAC;KAC5C,MAAM,CAAC;IACN,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,IAAI,CAAC,oCAAqB,CAAC,EAAE,aAAa,CAAC,CAAC,QAAQ,EAAE;IAC3E,oCAAoC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC5D,sCAAsC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9D,wCAAwC,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChE,2CAA2C,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnE,8BAA8B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtD,8CAA8C,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtE,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC1C,CAAC;KACD,KAAK,CAAC,+BAAsB,CAAC,CAAC"}
@@ -6,4 +6,7 @@ export * from "./subscription";
6
6
  export * from "./cx-mapping";
7
7
  export * from "./event";
8
8
  export * from "./ccda";
9
+ export * from "./vtial";
10
+ export * from "./lab";
11
+ export * from "./practice";
9
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC"}
@@ -22,4 +22,7 @@ __exportStar(require("./subscription"), exports);
22
22
  __exportStar(require("./cx-mapping"), exports);
23
23
  __exportStar(require("./event"), exports);
24
24
  __exportStar(require("./ccda"), exports);
25
+ __exportStar(require("./vtial"), exports);
26
+ __exportStar(require("./lab"), exports);
27
+ __exportStar(require("./practice"), exports);
25
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4CAA0B;AAC1B,8CAA4B;AAC5B,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4CAA0B;AAC1B,8CAA4B;AAC5B,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,0CAAwB;AACxB,wCAAsB;AACtB,6CAA2B"}
@@ -0,0 +1,10 @@
1
+ import { z } from "zod";
2
+ export declare const createdLabSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ id: string;
6
+ }, {
7
+ id: string;
8
+ }>;
9
+ export type CreatedLab = z.infer<typeof createdLabSchema>;
10
+ //# sourceMappingURL=lab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lab.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/lab.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createdLabSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.createdLabSchema = zod_1.z.object({
6
+ id: zod_1.z.coerce.string(),
7
+ });
8
+ //# sourceMappingURL=lab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lab.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/lab.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC"}
@@ -0,0 +1,44 @@
1
+ import { z } from "zod";
2
+ export declare const practiceSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ physicians: z.ZodArray<z.ZodString, "many">;
5
+ status: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ id: string;
8
+ status: string;
9
+ physicians: string[];
10
+ }, {
11
+ id: string;
12
+ status: string;
13
+ physicians: string[];
14
+ }>;
15
+ export type Practice = z.infer<typeof practiceSchema>;
16
+ export declare const practicesSchema: z.ZodObject<{
17
+ results: z.ZodArray<z.ZodObject<{
18
+ id: z.ZodString;
19
+ physicians: z.ZodArray<z.ZodString, "many">;
20
+ status: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ id: string;
23
+ status: string;
24
+ physicians: string[];
25
+ }, {
26
+ id: string;
27
+ status: string;
28
+ physicians: string[];
29
+ }>, "many">;
30
+ }, "strip", z.ZodTypeAny, {
31
+ results: {
32
+ id: string;
33
+ status: string;
34
+ physicians: string[];
35
+ }[];
36
+ }, {
37
+ results: {
38
+ id: string;
39
+ status: string;
40
+ physicians: string[];
41
+ }[];
42
+ }>;
43
+ export type Practices = z.infer<typeof practicesSchema>;
44
+ //# sourceMappingURL=practice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"practice.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/practice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;;;EAIzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;EAE1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.practicesSchema = exports.practiceSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.practiceSchema = zod_1.z.object({
6
+ id: zod_1.z.coerce.string(),
7
+ physicians: zod_1.z.coerce.string().array(),
8
+ status: zod_1.z.string(),
9
+ });
10
+ exports.practicesSchema = zod_1.z.object({
11
+ results: zod_1.z.array(exports.practiceSchema),
12
+ });
13
+ //# sourceMappingURL=practice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"practice.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/practice.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IACrB,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;IACrC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAGU,QAAA,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAc,CAAC;CACjC,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { z } from "zod";
2
+ export declare const createdVitalSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ id: string;
6
+ }, {
7
+ id: string;
8
+ }>;
9
+ export type CreatedVital = z.infer<typeof createdVitalSchema>;
10
+ //# sourceMappingURL=vtial.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vtial.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/vtial.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createdVitalSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.createdVitalSchema = zod_1.z.object({
6
+ id: zod_1.z.coerce.string(),
7
+ });
8
+ //# sourceMappingURL=vtial.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vtial.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/vtial.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,EAAE,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC"}