@metriport/shared 0.26.4 → 0.26.5
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.
- package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts +12 -5
- package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/athenahealth/patient.d.ts +6 -6
- package/dist/interface/external/ehr/athenahealth/patient.js +1 -1
- package/dist/interface/external/ehr/athenahealth/patient.js.map +1 -1
- package/dist/interface/external/ehr/canvas/cx-mapping.d.ts +12 -5
- package/dist/interface/external/ehr/canvas/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/elation/cx-mapping.d.ts +12 -5
- package/dist/interface/external/ehr/elation/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/cx-mapping.d.ts +12 -5
- package/dist/interface/external/ehr/healthie/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/shared.d.ts +20 -8
- package/dist/interface/external/ehr/shared.d.ts.map +1 -1
- package/dist/interface/external/ehr/shared.js +2 -1
- package/dist/interface/external/ehr/shared.js.map +1 -1
- package/package.json +2 -2
|
@@ -90,6 +90,7 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
90
90
|
problem: z.ZodOptional<z.ZodObject<{
|
|
91
91
|
stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
92
92
|
latestOnly: z.ZodOptional<z.ZodBoolean>;
|
|
93
|
+
earliestOnly: z.ZodOptional<z.ZodBoolean>;
|
|
93
94
|
chronicityFilter: z.ZodOptional<z.ZodEnum<["all", "chronic", "non-chronic"]>>;
|
|
94
95
|
relativeDateRange: z.ZodOptional<z.ZodObject<{
|
|
95
96
|
days: z.ZodOptional<z.ZodNumber>;
|
|
@@ -114,6 +115,7 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
114
115
|
disabled?: boolean | undefined;
|
|
115
116
|
stringFilters?: string[] | undefined;
|
|
116
117
|
latestOnly?: boolean | undefined;
|
|
118
|
+
earliestOnly?: boolean | undefined;
|
|
117
119
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
118
120
|
}, {
|
|
119
121
|
relativeDateRange?: {
|
|
@@ -124,6 +126,7 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
124
126
|
disabled?: boolean | undefined;
|
|
125
127
|
stringFilters?: string[] | undefined;
|
|
126
128
|
latestOnly?: boolean | undefined;
|
|
129
|
+
earliestOnly?: boolean | undefined;
|
|
127
130
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
128
131
|
}>>;
|
|
129
132
|
vital: z.ZodOptional<z.ZodObject<{
|
|
@@ -162,7 +165,7 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
162
165
|
disabled?: boolean | undefined;
|
|
163
166
|
latestOnly?: boolean | undefined;
|
|
164
167
|
}>>;
|
|
165
|
-
|
|
168
|
+
medicationStatement: z.ZodOptional<z.ZodObject<{
|
|
166
169
|
rxnormCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
167
170
|
absoluteDate: z.ZodOptional<z.ZodString>;
|
|
168
171
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -207,6 +210,7 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
207
210
|
disabled?: boolean | undefined;
|
|
208
211
|
stringFilters?: string[] | undefined;
|
|
209
212
|
latestOnly?: boolean | undefined;
|
|
213
|
+
earliestOnly?: boolean | undefined;
|
|
210
214
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
211
215
|
} | undefined;
|
|
212
216
|
vital?: {
|
|
@@ -219,7 +223,7 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
219
223
|
disabled?: boolean | undefined;
|
|
220
224
|
latestOnly?: boolean | undefined;
|
|
221
225
|
} | undefined;
|
|
222
|
-
|
|
226
|
+
medicationStatement?: {
|
|
223
227
|
absoluteDate?: string | undefined;
|
|
224
228
|
disabled?: boolean | undefined;
|
|
225
229
|
rxnormCodes?: string[] | undefined;
|
|
@@ -256,6 +260,7 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
256
260
|
disabled?: boolean | undefined;
|
|
257
261
|
stringFilters?: string[] | undefined;
|
|
258
262
|
latestOnly?: boolean | undefined;
|
|
263
|
+
earliestOnly?: boolean | undefined;
|
|
259
264
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
260
265
|
} | undefined;
|
|
261
266
|
vital?: {
|
|
@@ -268,7 +273,7 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
268
273
|
disabled?: boolean | undefined;
|
|
269
274
|
latestOnly?: boolean | undefined;
|
|
270
275
|
} | undefined;
|
|
271
|
-
|
|
276
|
+
medicationStatement?: {
|
|
272
277
|
absoluteDate?: string | undefined;
|
|
273
278
|
disabled?: boolean | undefined;
|
|
274
279
|
rxnormCodes?: string[] | undefined;
|
|
@@ -309,6 +314,7 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
309
314
|
disabled?: boolean | undefined;
|
|
310
315
|
stringFilters?: string[] | undefined;
|
|
311
316
|
latestOnly?: boolean | undefined;
|
|
317
|
+
earliestOnly?: boolean | undefined;
|
|
312
318
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
313
319
|
} | undefined;
|
|
314
320
|
vital?: {
|
|
@@ -321,7 +327,7 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
321
327
|
disabled?: boolean | undefined;
|
|
322
328
|
latestOnly?: boolean | undefined;
|
|
323
329
|
} | undefined;
|
|
324
|
-
|
|
330
|
+
medicationStatement?: {
|
|
325
331
|
absoluteDate?: string | undefined;
|
|
326
332
|
disabled?: boolean | undefined;
|
|
327
333
|
rxnormCodes?: string[] | undefined;
|
|
@@ -367,6 +373,7 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
367
373
|
disabled?: boolean | undefined;
|
|
368
374
|
stringFilters?: string[] | undefined;
|
|
369
375
|
latestOnly?: boolean | undefined;
|
|
376
|
+
earliestOnly?: boolean | undefined;
|
|
370
377
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
371
378
|
} | undefined;
|
|
372
379
|
vital?: {
|
|
@@ -379,7 +386,7 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
379
386
|
disabled?: boolean | undefined;
|
|
380
387
|
latestOnly?: boolean | undefined;
|
|
381
388
|
} | undefined;
|
|
382
|
-
|
|
389
|
+
medicationStatement?: {
|
|
383
390
|
absoluteDate?: string | undefined;
|
|
384
391
|
disabled?: boolean | undefined;
|
|
385
392
|
rxnormCodes?: string[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASV,CAAC;AACjC,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -27,21 +27,21 @@ export declare const athenaOnePatientSchema: z.ZodObject<{
|
|
|
27
27
|
customfieldvalue?: string | undefined;
|
|
28
28
|
optionid?: string | undefined;
|
|
29
29
|
}>, "many">;
|
|
30
|
-
primarydepartmentid: z.ZodString
|
|
30
|
+
primarydepartmentid: z.ZodOptional<z.ZodString>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
customfields: {
|
|
33
33
|
customfieldid: string;
|
|
34
34
|
customfieldvalue?: string | undefined;
|
|
35
35
|
optionid?: string | undefined;
|
|
36
36
|
}[];
|
|
37
|
-
primarydepartmentid
|
|
37
|
+
primarydepartmentid?: string | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
customfields: {
|
|
40
40
|
customfieldid: string;
|
|
41
41
|
customfieldvalue?: string | undefined;
|
|
42
42
|
optionid?: string | undefined;
|
|
43
43
|
}[];
|
|
44
|
-
primarydepartmentid
|
|
44
|
+
primarydepartmentid?: string | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
export type AthenaOnePatient = z.infer<typeof athenaOnePatientSchema>;
|
|
47
47
|
export declare const athenaOnePatientsSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -58,21 +58,21 @@ export declare const athenaOnePatientsSchema: z.ZodArray<z.ZodObject<{
|
|
|
58
58
|
customfieldvalue?: string | undefined;
|
|
59
59
|
optionid?: string | undefined;
|
|
60
60
|
}>, "many">;
|
|
61
|
-
primarydepartmentid: z.ZodString
|
|
61
|
+
primarydepartmentid: z.ZodOptional<z.ZodString>;
|
|
62
62
|
}, "strip", z.ZodTypeAny, {
|
|
63
63
|
customfields: {
|
|
64
64
|
customfieldid: string;
|
|
65
65
|
customfieldvalue?: string | undefined;
|
|
66
66
|
optionid?: string | undefined;
|
|
67
67
|
}[];
|
|
68
|
-
primarydepartmentid
|
|
68
|
+
primarydepartmentid?: string | undefined;
|
|
69
69
|
}, {
|
|
70
70
|
customfields: {
|
|
71
71
|
customfieldid: string;
|
|
72
72
|
customfieldvalue?: string | undefined;
|
|
73
73
|
optionid?: string | undefined;
|
|
74
74
|
}[];
|
|
75
|
-
primarydepartmentid
|
|
75
|
+
primarydepartmentid?: string | undefined;
|
|
76
76
|
}>, "many">;
|
|
77
77
|
export type AthenaOnePatients = z.infer<typeof athenaOnePatientsSchema>;
|
|
78
78
|
//# sourceMappingURL=patient.d.ts.map
|
|
@@ -9,7 +9,7 @@ exports.patientCustomFieldSchema = zod_1.z.object({
|
|
|
9
9
|
});
|
|
10
10
|
exports.athenaOnePatientSchema = zod_1.z.object({
|
|
11
11
|
customfields: exports.patientCustomFieldSchema.array(),
|
|
12
|
-
primarydepartmentid: zod_1.z.string(),
|
|
12
|
+
primarydepartmentid: zod_1.z.string().optional(),
|
|
13
13
|
});
|
|
14
14
|
exports.athenaOnePatientsSchema = exports.athenaOnePatientSchema.array();
|
|
15
15
|
//# sourceMappingURL=patient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patient.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/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,CAAC,QAAQ,EAAE;IACvC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAEU,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,YAAY,EAAE,gCAAwB,CAAC,KAAK,EAAE;IAC9C,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"patient.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/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,CAAC,QAAQ,EAAE;IACvC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAEU,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,YAAY,EAAE,gCAAwB,CAAC,KAAK,EAAE;IAC9C,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC;AAEU,QAAA,uBAAuB,GAAG,8BAAsB,CAAC,KAAK,EAAE,CAAC"}
|
|
@@ -83,6 +83,7 @@ export declare const canvasSecondaryMappingsSchema: z.ZodOptional<z.ZodObject<z.
|
|
|
83
83
|
problem: z.ZodOptional<z.ZodObject<{
|
|
84
84
|
stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
85
85
|
latestOnly: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
earliestOnly: z.ZodOptional<z.ZodBoolean>;
|
|
86
87
|
chronicityFilter: z.ZodOptional<z.ZodEnum<["all", "chronic", "non-chronic"]>>;
|
|
87
88
|
relativeDateRange: z.ZodOptional<z.ZodObject<{
|
|
88
89
|
days: z.ZodOptional<z.ZodNumber>;
|
|
@@ -107,6 +108,7 @@ export declare const canvasSecondaryMappingsSchema: z.ZodOptional<z.ZodObject<z.
|
|
|
107
108
|
disabled?: boolean | undefined;
|
|
108
109
|
stringFilters?: string[] | undefined;
|
|
109
110
|
latestOnly?: boolean | undefined;
|
|
111
|
+
earliestOnly?: boolean | undefined;
|
|
110
112
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
111
113
|
}, {
|
|
112
114
|
relativeDateRange?: {
|
|
@@ -117,6 +119,7 @@ export declare const canvasSecondaryMappingsSchema: z.ZodOptional<z.ZodObject<z.
|
|
|
117
119
|
disabled?: boolean | undefined;
|
|
118
120
|
stringFilters?: string[] | undefined;
|
|
119
121
|
latestOnly?: boolean | undefined;
|
|
122
|
+
earliestOnly?: boolean | undefined;
|
|
120
123
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
121
124
|
}>>;
|
|
122
125
|
vital: z.ZodOptional<z.ZodObject<{
|
|
@@ -155,7 +158,7 @@ export declare const canvasSecondaryMappingsSchema: z.ZodOptional<z.ZodObject<z.
|
|
|
155
158
|
disabled?: boolean | undefined;
|
|
156
159
|
latestOnly?: boolean | undefined;
|
|
157
160
|
}>>;
|
|
158
|
-
|
|
161
|
+
medicationStatement: z.ZodOptional<z.ZodObject<{
|
|
159
162
|
rxnormCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
160
163
|
absoluteDate: z.ZodOptional<z.ZodString>;
|
|
161
164
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -200,6 +203,7 @@ export declare const canvasSecondaryMappingsSchema: z.ZodOptional<z.ZodObject<z.
|
|
|
200
203
|
disabled?: boolean | undefined;
|
|
201
204
|
stringFilters?: string[] | undefined;
|
|
202
205
|
latestOnly?: boolean | undefined;
|
|
206
|
+
earliestOnly?: boolean | undefined;
|
|
203
207
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
204
208
|
} | undefined;
|
|
205
209
|
vital?: {
|
|
@@ -212,7 +216,7 @@ export declare const canvasSecondaryMappingsSchema: z.ZodOptional<z.ZodObject<z.
|
|
|
212
216
|
disabled?: boolean | undefined;
|
|
213
217
|
latestOnly?: boolean | undefined;
|
|
214
218
|
} | undefined;
|
|
215
|
-
|
|
219
|
+
medicationStatement?: {
|
|
216
220
|
absoluteDate?: string | undefined;
|
|
217
221
|
disabled?: boolean | undefined;
|
|
218
222
|
rxnormCodes?: string[] | undefined;
|
|
@@ -249,6 +253,7 @@ export declare const canvasSecondaryMappingsSchema: z.ZodOptional<z.ZodObject<z.
|
|
|
249
253
|
disabled?: boolean | undefined;
|
|
250
254
|
stringFilters?: string[] | undefined;
|
|
251
255
|
latestOnly?: boolean | undefined;
|
|
256
|
+
earliestOnly?: boolean | undefined;
|
|
252
257
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
253
258
|
} | undefined;
|
|
254
259
|
vital?: {
|
|
@@ -261,7 +266,7 @@ export declare const canvasSecondaryMappingsSchema: z.ZodOptional<z.ZodObject<z.
|
|
|
261
266
|
disabled?: boolean | undefined;
|
|
262
267
|
latestOnly?: boolean | undefined;
|
|
263
268
|
} | undefined;
|
|
264
|
-
|
|
269
|
+
medicationStatement?: {
|
|
265
270
|
absoluteDate?: string | undefined;
|
|
266
271
|
disabled?: boolean | undefined;
|
|
267
272
|
rxnormCodes?: string[] | undefined;
|
|
@@ -301,6 +306,7 @@ export declare const canvasSecondaryMappingsSchema: z.ZodOptional<z.ZodObject<z.
|
|
|
301
306
|
disabled?: boolean | undefined;
|
|
302
307
|
stringFilters?: string[] | undefined;
|
|
303
308
|
latestOnly?: boolean | undefined;
|
|
309
|
+
earliestOnly?: boolean | undefined;
|
|
304
310
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
305
311
|
} | undefined;
|
|
306
312
|
vital?: {
|
|
@@ -313,7 +319,7 @@ export declare const canvasSecondaryMappingsSchema: z.ZodOptional<z.ZodObject<z.
|
|
|
313
319
|
disabled?: boolean | undefined;
|
|
314
320
|
latestOnly?: boolean | undefined;
|
|
315
321
|
} | undefined;
|
|
316
|
-
|
|
322
|
+
medicationStatement?: {
|
|
317
323
|
absoluteDate?: string | undefined;
|
|
318
324
|
disabled?: boolean | undefined;
|
|
319
325
|
rxnormCodes?: string[] | undefined;
|
|
@@ -353,6 +359,7 @@ export declare const canvasSecondaryMappingsSchema: z.ZodOptional<z.ZodObject<z.
|
|
|
353
359
|
disabled?: boolean | undefined;
|
|
354
360
|
stringFilters?: string[] | undefined;
|
|
355
361
|
latestOnly?: boolean | undefined;
|
|
362
|
+
earliestOnly?: boolean | undefined;
|
|
356
363
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
357
364
|
} | undefined;
|
|
358
365
|
vital?: {
|
|
@@ -365,7 +372,7 @@ export declare const canvasSecondaryMappingsSchema: z.ZodOptional<z.ZodObject<z.
|
|
|
365
372
|
disabled?: boolean | undefined;
|
|
366
373
|
latestOnly?: boolean | undefined;
|
|
367
374
|
} | undefined;
|
|
368
|
-
|
|
375
|
+
medicationStatement?: {
|
|
369
376
|
absoluteDate?: string | undefined;
|
|
370
377
|
disabled?: boolean | undefined;
|
|
371
378
|
rxnormCodes?: string[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/canvas/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/canvas/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAwD,CAAC;AACnG,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -102,6 +102,7 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ex
|
|
|
102
102
|
problem: z.ZodOptional<z.ZodObject<{
|
|
103
103
|
stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
104
104
|
latestOnly: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
+
earliestOnly: z.ZodOptional<z.ZodBoolean>;
|
|
105
106
|
chronicityFilter: z.ZodOptional<z.ZodEnum<["all", "chronic", "non-chronic"]>>;
|
|
106
107
|
relativeDateRange: z.ZodOptional<z.ZodObject<{
|
|
107
108
|
days: z.ZodOptional<z.ZodNumber>;
|
|
@@ -126,6 +127,7 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ex
|
|
|
126
127
|
disabled?: boolean | undefined;
|
|
127
128
|
stringFilters?: string[] | undefined;
|
|
128
129
|
latestOnly?: boolean | undefined;
|
|
130
|
+
earliestOnly?: boolean | undefined;
|
|
129
131
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
130
132
|
}, {
|
|
131
133
|
relativeDateRange?: {
|
|
@@ -136,6 +138,7 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ex
|
|
|
136
138
|
disabled?: boolean | undefined;
|
|
137
139
|
stringFilters?: string[] | undefined;
|
|
138
140
|
latestOnly?: boolean | undefined;
|
|
141
|
+
earliestOnly?: boolean | undefined;
|
|
139
142
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
140
143
|
}>>;
|
|
141
144
|
vital: z.ZodOptional<z.ZodObject<{
|
|
@@ -174,7 +177,7 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ex
|
|
|
174
177
|
disabled?: boolean | undefined;
|
|
175
178
|
latestOnly?: boolean | undefined;
|
|
176
179
|
}>>;
|
|
177
|
-
|
|
180
|
+
medicationStatement: z.ZodOptional<z.ZodObject<{
|
|
178
181
|
rxnormCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
179
182
|
absoluteDate: z.ZodOptional<z.ZodString>;
|
|
180
183
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -219,6 +222,7 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ex
|
|
|
219
222
|
disabled?: boolean | undefined;
|
|
220
223
|
stringFilters?: string[] | undefined;
|
|
221
224
|
latestOnly?: boolean | undefined;
|
|
225
|
+
earliestOnly?: boolean | undefined;
|
|
222
226
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
223
227
|
} | undefined;
|
|
224
228
|
vital?: {
|
|
@@ -231,7 +235,7 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ex
|
|
|
231
235
|
disabled?: boolean | undefined;
|
|
232
236
|
latestOnly?: boolean | undefined;
|
|
233
237
|
} | undefined;
|
|
234
|
-
|
|
238
|
+
medicationStatement?: {
|
|
235
239
|
absoluteDate?: string | undefined;
|
|
236
240
|
disabled?: boolean | undefined;
|
|
237
241
|
rxnormCodes?: string[] | undefined;
|
|
@@ -268,6 +272,7 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ex
|
|
|
268
272
|
disabled?: boolean | undefined;
|
|
269
273
|
stringFilters?: string[] | undefined;
|
|
270
274
|
latestOnly?: boolean | undefined;
|
|
275
|
+
earliestOnly?: boolean | undefined;
|
|
271
276
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
272
277
|
} | undefined;
|
|
273
278
|
vital?: {
|
|
@@ -280,7 +285,7 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ex
|
|
|
280
285
|
disabled?: boolean | undefined;
|
|
281
286
|
latestOnly?: boolean | undefined;
|
|
282
287
|
} | undefined;
|
|
283
|
-
|
|
288
|
+
medicationStatement?: {
|
|
284
289
|
absoluteDate?: string | undefined;
|
|
285
290
|
disabled?: boolean | undefined;
|
|
286
291
|
rxnormCodes?: string[] | undefined;
|
|
@@ -320,6 +325,7 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ex
|
|
|
320
325
|
disabled?: boolean | undefined;
|
|
321
326
|
stringFilters?: string[] | undefined;
|
|
322
327
|
latestOnly?: boolean | undefined;
|
|
328
|
+
earliestOnly?: boolean | undefined;
|
|
323
329
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
324
330
|
} | undefined;
|
|
325
331
|
vital?: {
|
|
@@ -332,7 +338,7 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ex
|
|
|
332
338
|
disabled?: boolean | undefined;
|
|
333
339
|
latestOnly?: boolean | undefined;
|
|
334
340
|
} | undefined;
|
|
335
|
-
|
|
341
|
+
medicationStatement?: {
|
|
336
342
|
absoluteDate?: string | undefined;
|
|
337
343
|
disabled?: boolean | undefined;
|
|
338
344
|
rxnormCodes?: string[] | undefined;
|
|
@@ -384,6 +390,7 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ex
|
|
|
384
390
|
disabled?: boolean | undefined;
|
|
385
391
|
stringFilters?: string[] | undefined;
|
|
386
392
|
latestOnly?: boolean | undefined;
|
|
393
|
+
earliestOnly?: boolean | undefined;
|
|
387
394
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
388
395
|
} | undefined;
|
|
389
396
|
vital?: {
|
|
@@ -396,7 +403,7 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ex
|
|
|
396
403
|
disabled?: boolean | undefined;
|
|
397
404
|
latestOnly?: boolean | undefined;
|
|
398
405
|
} | undefined;
|
|
399
|
-
|
|
406
|
+
medicationStatement?: {
|
|
400
407
|
absoluteDate?: string | undefined;
|
|
401
408
|
disabled?: boolean | undefined;
|
|
402
409
|
rxnormCodes?: string[] | undefined;
|
|
@@ -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;AASxB,eAAO,MAAM,8BAA8B
|
|
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"}
|
|
@@ -103,6 +103,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
103
103
|
problem: z.ZodOptional<z.ZodObject<{
|
|
104
104
|
stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
105
105
|
latestOnly: z.ZodOptional<z.ZodBoolean>;
|
|
106
|
+
earliestOnly: z.ZodOptional<z.ZodBoolean>;
|
|
106
107
|
chronicityFilter: z.ZodOptional<z.ZodEnum<["all", "chronic", "non-chronic"]>>;
|
|
107
108
|
relativeDateRange: z.ZodOptional<z.ZodObject<{
|
|
108
109
|
days: z.ZodOptional<z.ZodNumber>;
|
|
@@ -127,6 +128,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
127
128
|
disabled?: boolean | undefined;
|
|
128
129
|
stringFilters?: string[] | undefined;
|
|
129
130
|
latestOnly?: boolean | undefined;
|
|
131
|
+
earliestOnly?: boolean | undefined;
|
|
130
132
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
131
133
|
}, {
|
|
132
134
|
relativeDateRange?: {
|
|
@@ -137,6 +139,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
137
139
|
disabled?: boolean | undefined;
|
|
138
140
|
stringFilters?: string[] | undefined;
|
|
139
141
|
latestOnly?: boolean | undefined;
|
|
142
|
+
earliestOnly?: boolean | undefined;
|
|
140
143
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
141
144
|
}>>;
|
|
142
145
|
vital: z.ZodOptional<z.ZodObject<{
|
|
@@ -175,7 +178,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
175
178
|
disabled?: boolean | undefined;
|
|
176
179
|
latestOnly?: boolean | undefined;
|
|
177
180
|
}>>;
|
|
178
|
-
|
|
181
|
+
medicationStatement: z.ZodOptional<z.ZodObject<{
|
|
179
182
|
rxnormCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
180
183
|
absoluteDate: z.ZodOptional<z.ZodString>;
|
|
181
184
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -220,6 +223,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
220
223
|
disabled?: boolean | undefined;
|
|
221
224
|
stringFilters?: string[] | undefined;
|
|
222
225
|
latestOnly?: boolean | undefined;
|
|
226
|
+
earliestOnly?: boolean | undefined;
|
|
223
227
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
224
228
|
} | undefined;
|
|
225
229
|
vital?: {
|
|
@@ -232,7 +236,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
232
236
|
disabled?: boolean | undefined;
|
|
233
237
|
latestOnly?: boolean | undefined;
|
|
234
238
|
} | undefined;
|
|
235
|
-
|
|
239
|
+
medicationStatement?: {
|
|
236
240
|
absoluteDate?: string | undefined;
|
|
237
241
|
disabled?: boolean | undefined;
|
|
238
242
|
rxnormCodes?: string[] | undefined;
|
|
@@ -269,6 +273,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
269
273
|
disabled?: boolean | undefined;
|
|
270
274
|
stringFilters?: string[] | undefined;
|
|
271
275
|
latestOnly?: boolean | undefined;
|
|
276
|
+
earliestOnly?: boolean | undefined;
|
|
272
277
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
273
278
|
} | undefined;
|
|
274
279
|
vital?: {
|
|
@@ -281,7 +286,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
281
286
|
disabled?: boolean | undefined;
|
|
282
287
|
latestOnly?: boolean | undefined;
|
|
283
288
|
} | undefined;
|
|
284
|
-
|
|
289
|
+
medicationStatement?: {
|
|
285
290
|
absoluteDate?: string | undefined;
|
|
286
291
|
disabled?: boolean | undefined;
|
|
287
292
|
rxnormCodes?: string[] | undefined;
|
|
@@ -321,6 +326,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
321
326
|
disabled?: boolean | undefined;
|
|
322
327
|
stringFilters?: string[] | undefined;
|
|
323
328
|
latestOnly?: boolean | undefined;
|
|
329
|
+
earliestOnly?: boolean | undefined;
|
|
324
330
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
325
331
|
} | undefined;
|
|
326
332
|
vital?: {
|
|
@@ -333,7 +339,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
333
339
|
disabled?: boolean | undefined;
|
|
334
340
|
latestOnly?: boolean | undefined;
|
|
335
341
|
} | undefined;
|
|
336
|
-
|
|
342
|
+
medicationStatement?: {
|
|
337
343
|
absoluteDate?: string | undefined;
|
|
338
344
|
disabled?: boolean | undefined;
|
|
339
345
|
rxnormCodes?: string[] | undefined;
|
|
@@ -386,6 +392,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
386
392
|
disabled?: boolean | undefined;
|
|
387
393
|
stringFilters?: string[] | undefined;
|
|
388
394
|
latestOnly?: boolean | undefined;
|
|
395
|
+
earliestOnly?: boolean | undefined;
|
|
389
396
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
390
397
|
} | undefined;
|
|
391
398
|
vital?: {
|
|
@@ -398,7 +405,7 @@ export declare const healthieSecondaryMappingsSchema: z.ZodObject<z.objectUtil.e
|
|
|
398
405
|
disabled?: boolean | undefined;
|
|
399
406
|
latestOnly?: boolean | undefined;
|
|
400
407
|
} | undefined;
|
|
401
|
-
|
|
408
|
+
medicationStatement?: {
|
|
402
409
|
absoluteDate?: string | undefined;
|
|
403
410
|
disabled?: boolean | undefined;
|
|
404
411
|
rxnormCodes?: string[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/healthie/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaZ,CAAC;AACjC,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -95,6 +95,7 @@ export declare const writeBackFiltersPerResourceTypeSchema: z.ZodObject<{
|
|
|
95
95
|
problem: z.ZodOptional<z.ZodObject<{
|
|
96
96
|
stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
97
97
|
latestOnly: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
+
earliestOnly: z.ZodOptional<z.ZodBoolean>;
|
|
98
99
|
chronicityFilter: z.ZodOptional<z.ZodEnum<["all", "chronic", "non-chronic"]>>;
|
|
99
100
|
relativeDateRange: z.ZodOptional<z.ZodObject<{
|
|
100
101
|
days: z.ZodOptional<z.ZodNumber>;
|
|
@@ -119,6 +120,7 @@ export declare const writeBackFiltersPerResourceTypeSchema: z.ZodObject<{
|
|
|
119
120
|
disabled?: boolean | undefined;
|
|
120
121
|
stringFilters?: string[] | undefined;
|
|
121
122
|
latestOnly?: boolean | undefined;
|
|
123
|
+
earliestOnly?: boolean | undefined;
|
|
122
124
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
123
125
|
}, {
|
|
124
126
|
relativeDateRange?: {
|
|
@@ -129,6 +131,7 @@ export declare const writeBackFiltersPerResourceTypeSchema: z.ZodObject<{
|
|
|
129
131
|
disabled?: boolean | undefined;
|
|
130
132
|
stringFilters?: string[] | undefined;
|
|
131
133
|
latestOnly?: boolean | undefined;
|
|
134
|
+
earliestOnly?: boolean | undefined;
|
|
132
135
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
133
136
|
}>>;
|
|
134
137
|
vital: z.ZodOptional<z.ZodObject<{
|
|
@@ -167,7 +170,7 @@ export declare const writeBackFiltersPerResourceTypeSchema: z.ZodObject<{
|
|
|
167
170
|
disabled?: boolean | undefined;
|
|
168
171
|
latestOnly?: boolean | undefined;
|
|
169
172
|
}>>;
|
|
170
|
-
|
|
173
|
+
medicationStatement: z.ZodOptional<z.ZodObject<{
|
|
171
174
|
rxnormCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
172
175
|
absoluteDate: z.ZodOptional<z.ZodString>;
|
|
173
176
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -212,6 +215,7 @@ export declare const writeBackFiltersPerResourceTypeSchema: z.ZodObject<{
|
|
|
212
215
|
disabled?: boolean | undefined;
|
|
213
216
|
stringFilters?: string[] | undefined;
|
|
214
217
|
latestOnly?: boolean | undefined;
|
|
218
|
+
earliestOnly?: boolean | undefined;
|
|
215
219
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
216
220
|
} | undefined;
|
|
217
221
|
vital?: {
|
|
@@ -224,7 +228,7 @@ export declare const writeBackFiltersPerResourceTypeSchema: z.ZodObject<{
|
|
|
224
228
|
disabled?: boolean | undefined;
|
|
225
229
|
latestOnly?: boolean | undefined;
|
|
226
230
|
} | undefined;
|
|
227
|
-
|
|
231
|
+
medicationStatement?: {
|
|
228
232
|
absoluteDate?: string | undefined;
|
|
229
233
|
disabled?: boolean | undefined;
|
|
230
234
|
rxnormCodes?: string[] | undefined;
|
|
@@ -261,6 +265,7 @@ export declare const writeBackFiltersPerResourceTypeSchema: z.ZodObject<{
|
|
|
261
265
|
disabled?: boolean | undefined;
|
|
262
266
|
stringFilters?: string[] | undefined;
|
|
263
267
|
latestOnly?: boolean | undefined;
|
|
268
|
+
earliestOnly?: boolean | undefined;
|
|
264
269
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
265
270
|
} | undefined;
|
|
266
271
|
vital?: {
|
|
@@ -273,7 +278,7 @@ export declare const writeBackFiltersPerResourceTypeSchema: z.ZodObject<{
|
|
|
273
278
|
disabled?: boolean | undefined;
|
|
274
279
|
latestOnly?: boolean | undefined;
|
|
275
280
|
} | undefined;
|
|
276
|
-
|
|
281
|
+
medicationStatement?: {
|
|
277
282
|
absoluteDate?: string | undefined;
|
|
278
283
|
disabled?: boolean | undefined;
|
|
279
284
|
rxnormCodes?: string[] | undefined;
|
|
@@ -364,6 +369,7 @@ export declare const writeBackFiltersSchema: z.ZodObject<{
|
|
|
364
369
|
problem: z.ZodOptional<z.ZodObject<{
|
|
365
370
|
stringFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
366
371
|
latestOnly: z.ZodOptional<z.ZodBoolean>;
|
|
372
|
+
earliestOnly: z.ZodOptional<z.ZodBoolean>;
|
|
367
373
|
chronicityFilter: z.ZodOptional<z.ZodEnum<["all", "chronic", "non-chronic"]>>;
|
|
368
374
|
relativeDateRange: z.ZodOptional<z.ZodObject<{
|
|
369
375
|
days: z.ZodOptional<z.ZodNumber>;
|
|
@@ -388,6 +394,7 @@ export declare const writeBackFiltersSchema: z.ZodObject<{
|
|
|
388
394
|
disabled?: boolean | undefined;
|
|
389
395
|
stringFilters?: string[] | undefined;
|
|
390
396
|
latestOnly?: boolean | undefined;
|
|
397
|
+
earliestOnly?: boolean | undefined;
|
|
391
398
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
392
399
|
}, {
|
|
393
400
|
relativeDateRange?: {
|
|
@@ -398,6 +405,7 @@ export declare const writeBackFiltersSchema: z.ZodObject<{
|
|
|
398
405
|
disabled?: boolean | undefined;
|
|
399
406
|
stringFilters?: string[] | undefined;
|
|
400
407
|
latestOnly?: boolean | undefined;
|
|
408
|
+
earliestOnly?: boolean | undefined;
|
|
401
409
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
402
410
|
}>>;
|
|
403
411
|
vital: z.ZodOptional<z.ZodObject<{
|
|
@@ -436,7 +444,7 @@ export declare const writeBackFiltersSchema: z.ZodObject<{
|
|
|
436
444
|
disabled?: boolean | undefined;
|
|
437
445
|
latestOnly?: boolean | undefined;
|
|
438
446
|
}>>;
|
|
439
|
-
|
|
447
|
+
medicationStatement: z.ZodOptional<z.ZodObject<{
|
|
440
448
|
rxnormCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
441
449
|
absoluteDate: z.ZodOptional<z.ZodString>;
|
|
442
450
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -481,6 +489,7 @@ export declare const writeBackFiltersSchema: z.ZodObject<{
|
|
|
481
489
|
disabled?: boolean | undefined;
|
|
482
490
|
stringFilters?: string[] | undefined;
|
|
483
491
|
latestOnly?: boolean | undefined;
|
|
492
|
+
earliestOnly?: boolean | undefined;
|
|
484
493
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
485
494
|
} | undefined;
|
|
486
495
|
vital?: {
|
|
@@ -493,7 +502,7 @@ export declare const writeBackFiltersSchema: z.ZodObject<{
|
|
|
493
502
|
disabled?: boolean | undefined;
|
|
494
503
|
latestOnly?: boolean | undefined;
|
|
495
504
|
} | undefined;
|
|
496
|
-
|
|
505
|
+
medicationStatement?: {
|
|
497
506
|
absoluteDate?: string | undefined;
|
|
498
507
|
disabled?: boolean | undefined;
|
|
499
508
|
rxnormCodes?: string[] | undefined;
|
|
@@ -530,6 +539,7 @@ export declare const writeBackFiltersSchema: z.ZodObject<{
|
|
|
530
539
|
disabled?: boolean | undefined;
|
|
531
540
|
stringFilters?: string[] | undefined;
|
|
532
541
|
latestOnly?: boolean | undefined;
|
|
542
|
+
earliestOnly?: boolean | undefined;
|
|
533
543
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
534
544
|
} | undefined;
|
|
535
545
|
vital?: {
|
|
@@ -542,7 +552,7 @@ export declare const writeBackFiltersSchema: z.ZodObject<{
|
|
|
542
552
|
disabled?: boolean | undefined;
|
|
543
553
|
latestOnly?: boolean | undefined;
|
|
544
554
|
} | undefined;
|
|
545
|
-
|
|
555
|
+
medicationStatement?: {
|
|
546
556
|
absoluteDate?: string | undefined;
|
|
547
557
|
disabled?: boolean | undefined;
|
|
548
558
|
rxnormCodes?: string[] | undefined;
|
|
@@ -582,6 +592,7 @@ export declare const writeBackFiltersSchema: z.ZodObject<{
|
|
|
582
592
|
disabled?: boolean | undefined;
|
|
583
593
|
stringFilters?: string[] | undefined;
|
|
584
594
|
latestOnly?: boolean | undefined;
|
|
595
|
+
earliestOnly?: boolean | undefined;
|
|
585
596
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
586
597
|
} | undefined;
|
|
587
598
|
vital?: {
|
|
@@ -594,7 +605,7 @@ export declare const writeBackFiltersSchema: z.ZodObject<{
|
|
|
594
605
|
disabled?: boolean | undefined;
|
|
595
606
|
latestOnly?: boolean | undefined;
|
|
596
607
|
} | undefined;
|
|
597
|
-
|
|
608
|
+
medicationStatement?: {
|
|
598
609
|
absoluteDate?: string | undefined;
|
|
599
610
|
disabled?: boolean | undefined;
|
|
600
611
|
rxnormCodes?: string[] | undefined;
|
|
@@ -634,6 +645,7 @@ export declare const writeBackFiltersSchema: z.ZodObject<{
|
|
|
634
645
|
disabled?: boolean | undefined;
|
|
635
646
|
stringFilters?: string[] | undefined;
|
|
636
647
|
latestOnly?: boolean | undefined;
|
|
648
|
+
earliestOnly?: boolean | undefined;
|
|
637
649
|
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
638
650
|
} | undefined;
|
|
639
651
|
vital?: {
|
|
@@ -646,7 +658,7 @@ export declare const writeBackFiltersSchema: z.ZodObject<{
|
|
|
646
658
|
disabled?: boolean | undefined;
|
|
647
659
|
latestOnly?: boolean | undefined;
|
|
648
660
|
} | undefined;
|
|
649
|
-
|
|
661
|
+
medicationStatement?: {
|
|
650
662
|
absoluteDate?: string | undefined;
|
|
651
663
|
disabled?: boolean | undefined;
|
|
652
664
|
rxnormCodes?: string[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/ehr/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;EAIlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,qCAAqC
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/ehr/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EA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MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC"}
|
|
@@ -30,6 +30,7 @@ exports.writeBackFiltersPerResourceTypeSchema = zod_1.z.object({
|
|
|
30
30
|
.object({
|
|
31
31
|
stringFilters: zod_1.z.string().array().optional(),
|
|
32
32
|
latestOnly: zod_1.z.boolean().optional(),
|
|
33
|
+
earliestOnly: zod_1.z.boolean().optional(),
|
|
33
34
|
chronicityFilter: zod_1.z.enum(["all", "chronic", "non-chronic"]).optional(),
|
|
34
35
|
relativeDateRange: exports.relativeDateRangeSchema.optional(),
|
|
35
36
|
disabled: zod_1.z.boolean().optional(),
|
|
@@ -43,7 +44,7 @@ exports.writeBackFiltersPerResourceTypeSchema = zod_1.z.object({
|
|
|
43
44
|
disabled: zod_1.z.boolean().optional(),
|
|
44
45
|
})
|
|
45
46
|
.optional(),
|
|
46
|
-
|
|
47
|
+
medicationStatement: zod_1.z
|
|
47
48
|
.object({
|
|
48
49
|
rxnormCodes: zod_1.z.string().array().optional(),
|
|
49
50
|
absoluteDate: zod_1.z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../src/interface/external/ehr/shared.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC;AAGU,QAAA,qCAAqC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5D,GAAG,EAAE,OAAC;SACH,MAAM,CAAC;QACN,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,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AQ,EAAE;IACb,KAAK,EAAE,OAAC;SACL,MAAM,CAAC;QACN,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QACzC,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAClC,iBAAiB,EAAE,+BAAuB,CAAC,QAAQ,EAAE;QACrD,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;KACjC,CAAC;SACD,QAAQ,EAAE;IACb,mBAAmB,EAAE,OAAC;SACnB,MAAM,CAAC;QACN,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QAC1C,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;KACjC,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAC;AAGU,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,gBAAgB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxC,gBAAgB,EAAE,6CAAqC,CAAC,QAAQ,EAAE;CACnE,CAAC,CAAC;AAGH,gDAAgD;AACnC,QAAA,qCAAqC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5D,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/shared",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.5",
|
|
4
4
|
"description": "Common code shared across packages - by Metriport Inc.",
|
|
5
5
|
"author": "Metriport Inc. <contact@metriport.com>",
|
|
6
6
|
"homepage": "https://metriport.com/",
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"ts-jest": "29.1.1",
|
|
116
116
|
"typescript": "^4.9.5"
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "bef38fce5ea71635e47ed0ad7042cf570f67d0be"
|
|
119
119
|
}
|