@metriport/shared 0.24.4-alpha.0 → 0.24.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/appointment.d.ts +28 -0
- package/dist/interface/external/ehr/athenahealth/appointment.d.ts.map +1 -1
- package/dist/interface/external/ehr/athenahealth/appointment.js +7 -1
- package/dist/interface/external/ehr/athenahealth/appointment.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts +304 -2
- package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/athenahealth/cx-mapping.js +5 -2
- package/dist/interface/external/ehr/athenahealth/cx-mapping.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/encounter.d.ts +33 -0
- package/dist/interface/external/ehr/athenahealth/encounter.d.ts.map +1 -0
- package/dist/interface/external/ehr/athenahealth/encounter.js +13 -0
- package/dist/interface/external/ehr/athenahealth/encounter.js.map +1 -0
- package/dist/interface/external/ehr/athenahealth/index.d.ts +1 -0
- package/dist/interface/external/ehr/athenahealth/index.d.ts.map +1 -1
- package/dist/interface/external/ehr/athenahealth/index.js +1 -0
- package/dist/interface/external/ehr/athenahealth/index.js.map +1 -1
- package/dist/interface/external/ehr/canvas/cx-mapping.d.ts +308 -0
- package/dist/interface/external/ehr/canvas/cx-mapping.d.ts.map +1 -0
- package/dist/interface/external/ehr/canvas/cx-mapping.js +7 -0
- package/dist/interface/external/ehr/canvas/cx-mapping.js.map +1 -0
- package/dist/interface/external/ehr/canvas/index.d.ts +1 -0
- package/dist/interface/external/ehr/canvas/index.d.ts.map +1 -1
- package/dist/interface/external/ehr/canvas/index.js +1 -0
- package/dist/interface/external/ehr/canvas/index.js.map +1 -1
- package/dist/interface/external/ehr/elation/cx-mapping.d.ts +310 -2
- package/dist/interface/external/ehr/elation/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/elation/cx-mapping.js +7 -2
- package/dist/interface/external/ehr/elation/cx-mapping.js.map +1 -1
- package/dist/interface/external/ehr/elation/index.d.ts +4 -0
- package/dist/interface/external/ehr/elation/index.d.ts.map +1 -1
- package/dist/interface/external/ehr/elation/index.js +4 -0
- package/dist/interface/external/ehr/elation/index.js.map +1 -1
- package/dist/interface/external/ehr/elation/lab.d.ts +10 -0
- package/dist/interface/external/ehr/elation/lab.d.ts.map +1 -0
- package/dist/interface/external/ehr/elation/lab.js +8 -0
- package/dist/interface/external/ehr/elation/lab.js.map +1 -0
- package/dist/interface/external/ehr/elation/note.d.ts +10 -0
- package/dist/interface/external/ehr/elation/note.d.ts.map +1 -0
- package/dist/interface/external/ehr/elation/note.js +8 -0
- package/dist/interface/external/ehr/elation/note.js.map +1 -0
- package/dist/interface/external/ehr/elation/practice.d.ts +44 -0
- package/dist/interface/external/ehr/elation/practice.d.ts.map +1 -0
- package/dist/interface/external/ehr/elation/practice.js +13 -0
- package/dist/interface/external/ehr/elation/practice.js.map +1 -0
- package/dist/interface/external/ehr/elation/vtial.d.ts +10 -0
- package/dist/interface/external/ehr/elation/vtial.d.ts.map +1 -0
- package/dist/interface/external/ehr/elation/vtial.js +8 -0
- package/dist/interface/external/ehr/elation/vtial.js.map +1 -0
- package/dist/interface/external/ehr/fhir-resource.d.ts +4 -4
- package/dist/interface/external/ehr/fhir-resource.d.ts.map +1 -1
- package/dist/interface/external/ehr/fhir-resource.js +5 -5
- package/dist/interface/external/ehr/fhir-resource.js.map +1 -1
- package/dist/interface/external/ehr/healthie/cx-mapping.d.ts +304 -2
- package/dist/interface/external/ehr/healthie/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/cx-mapping.js +5 -2
- package/dist/interface/external/ehr/healthie/cx-mapping.js.map +1 -1
- package/dist/interface/external/ehr/shared.d.ts +541 -0
- package/dist/interface/external/ehr/shared.d.ts.map +1 -0
- package/dist/interface/external/ehr/shared.js +46 -0
- package/dist/interface/external/ehr/shared.js.map +1 -0
- package/package.json +2 -2
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const appointmentSchema: z.ZodObject<{
|
|
3
|
+
patientid: z.ZodString;
|
|
4
|
+
departmentid: z.ZodString;
|
|
5
|
+
appointmenttypeid: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
patientid: string;
|
|
8
|
+
departmentid: string;
|
|
9
|
+
appointmenttypeid: string;
|
|
10
|
+
}, {
|
|
11
|
+
patientid: string;
|
|
12
|
+
departmentid: string;
|
|
13
|
+
appointmenttypeid: string;
|
|
14
|
+
}>;
|
|
15
|
+
export type Appointment = z.infer<typeof appointmentSchema>;
|
|
16
|
+
export declare const appointmentsSchema: z.ZodArray<z.ZodObject<{
|
|
17
|
+
patientid: z.ZodString;
|
|
18
|
+
departmentid: z.ZodString;
|
|
19
|
+
appointmenttypeid: z.ZodString;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
patientid: string;
|
|
22
|
+
departmentid: string;
|
|
23
|
+
appointmenttypeid: string;
|
|
24
|
+
}, {
|
|
25
|
+
patientid: string;
|
|
26
|
+
departmentid: string;
|
|
27
|
+
appointmenttypeid: string;
|
|
28
|
+
}>, "many">;
|
|
29
|
+
export type Appointments = z.infer<typeof appointmentsSchema>;
|
|
2
30
|
export declare const bookedAppointmentSchema: z.ZodObject<{
|
|
3
31
|
patientid: z.ZodString;
|
|
4
32
|
departmentid: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/appointment.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;AACxE,eAAO,MAA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,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.appointmentEventListResponseSchema = exports.bookedAppointmentListResponseSchema = exports.bookedAppointmentSchema = void 0;
|
|
3
|
+
exports.appointmentEventListResponseSchema = exports.bookedAppointmentListResponseSchema = exports.bookedAppointmentSchema = exports.appointmentsSchema = exports.appointmentSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
exports.appointmentSchema = zod_1.z.object({
|
|
6
|
+
patientid: zod_1.z.string(),
|
|
7
|
+
departmentid: zod_1.z.string(),
|
|
8
|
+
appointmenttypeid: zod_1.z.string(),
|
|
9
|
+
});
|
|
10
|
+
exports.appointmentsSchema = exports.appointmentSchema.array();
|
|
5
11
|
exports.bookedAppointmentSchema = zod_1.z.object({
|
|
6
12
|
patientid: zod_1.z.string(),
|
|
7
13
|
departmentid: zod_1.z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/appointment.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE;CAC9B,CAAC,CAAC;AAEU,QAAA,mCAAmC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1D,YAAY,EAAE,+BAAuB,C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C,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAGH,MAAM,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC7B,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE;CAC9B,CAAC,CAAC;AAEU,QAAA,kCAAkC,GAAG,OAAC,CAAC,MAAM,CAAC;IACzD,YAAY,EAAE,sBAAsB,CAAC,KAAK,EAAE;IAC5C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC"}
|
|
@@ -1,16 +1,318 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const athenaSecondaryMappingsSchema: z.ZodObject<{
|
|
2
|
+
export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
3
|
departmentIds: z.ZodArray<z.ZodString, "many">;
|
|
4
4
|
webhookAppointmentDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
5
5
|
backgroundAppointmentsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
6
6
|
appointmentTypesFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7
|
-
},
|
|
7
|
+
}, {
|
|
8
|
+
writeBackEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
writeBackFilters: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
lab: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
loincCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12
|
+
minCountPerCode: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
relativeDateRange: z.ZodOptional<z.ZodObject<{
|
|
14
|
+
days: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
months: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
years: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
days?: number | undefined;
|
|
19
|
+
months?: number | undefined;
|
|
20
|
+
years?: number | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
days?: number | undefined;
|
|
23
|
+
months?: number | undefined;
|
|
24
|
+
years?: number | undefined;
|
|
25
|
+
}>>;
|
|
26
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
loincCodes?: string[] | undefined;
|
|
29
|
+
minCountPerCode?: number | undefined;
|
|
30
|
+
relativeDateRange?: {
|
|
31
|
+
days?: number | undefined;
|
|
32
|
+
months?: number | undefined;
|
|
33
|
+
years?: number | undefined;
|
|
34
|
+
} | undefined;
|
|
35
|
+
disabled?: boolean | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
loincCodes?: string[] | undefined;
|
|
38
|
+
minCountPerCode?: number | undefined;
|
|
39
|
+
relativeDateRange?: {
|
|
40
|
+
days?: number | undefined;
|
|
41
|
+
months?: number | undefined;
|
|
42
|
+
years?: number | undefined;
|
|
43
|
+
} | undefined;
|
|
44
|
+
disabled?: boolean | undefined;
|
|
45
|
+
}>>;
|
|
46
|
+
labPanel: z.ZodOptional<z.ZodObject<{
|
|
47
|
+
loincCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
48
|
+
minCountPerCode: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
relativeDateRange: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
days: z.ZodOptional<z.ZodNumber>;
|
|
51
|
+
months: z.ZodOptional<z.ZodNumber>;
|
|
52
|
+
years: z.ZodOptional<z.ZodNumber>;
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
days?: number | undefined;
|
|
55
|
+
months?: number | undefined;
|
|
56
|
+
years?: number | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
days?: number | undefined;
|
|
59
|
+
months?: number | undefined;
|
|
60
|
+
years?: number | undefined;
|
|
61
|
+
}>>;
|
|
62
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
loincCodes?: string[] | undefined;
|
|
65
|
+
minCountPerCode?: number | undefined;
|
|
66
|
+
relativeDateRange?: {
|
|
67
|
+
days?: number | undefined;
|
|
68
|
+
months?: number | undefined;
|
|
69
|
+
years?: number | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
disabled?: boolean | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
loincCodes?: string[] | undefined;
|
|
74
|
+
minCountPerCode?: number | undefined;
|
|
75
|
+
relativeDateRange?: {
|
|
76
|
+
days?: number | undefined;
|
|
77
|
+
months?: number | undefined;
|
|
78
|
+
years?: number | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
disabled?: boolean | undefined;
|
|
81
|
+
}>>;
|
|
82
|
+
problems: z.ZodOptional<z.ZodObject<{
|
|
83
|
+
chronicityFilter: z.ZodOptional<z.ZodEnum<["all", "chronic", "non-chronic"]>>;
|
|
84
|
+
relativeDateRange: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
days: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
months: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
years: z.ZodOptional<z.ZodNumber>;
|
|
88
|
+
}, "strip", z.ZodTypeAny, {
|
|
89
|
+
days?: number | undefined;
|
|
90
|
+
months?: number | undefined;
|
|
91
|
+
years?: number | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
days?: number | undefined;
|
|
94
|
+
months?: number | undefined;
|
|
95
|
+
years?: number | undefined;
|
|
96
|
+
}>>;
|
|
97
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
|
99
|
+
relativeDateRange?: {
|
|
100
|
+
days?: number | undefined;
|
|
101
|
+
months?: number | undefined;
|
|
102
|
+
years?: number | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
disabled?: boolean | undefined;
|
|
105
|
+
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
106
|
+
}, {
|
|
107
|
+
relativeDateRange?: {
|
|
108
|
+
days?: number | undefined;
|
|
109
|
+
months?: number | undefined;
|
|
110
|
+
years?: number | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
disabled?: boolean | undefined;
|
|
113
|
+
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
114
|
+
}>>;
|
|
115
|
+
vital: z.ZodOptional<z.ZodObject<{
|
|
116
|
+
loincCodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
117
|
+
relativeDateRange: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
days: z.ZodOptional<z.ZodNumber>;
|
|
119
|
+
months: z.ZodOptional<z.ZodNumber>;
|
|
120
|
+
years: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
|
122
|
+
days?: number | undefined;
|
|
123
|
+
months?: number | undefined;
|
|
124
|
+
years?: number | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
days?: number | undefined;
|
|
127
|
+
months?: number | undefined;
|
|
128
|
+
years?: number | undefined;
|
|
129
|
+
}>>;
|
|
130
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
+
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
loincCodes?: string[] | undefined;
|
|
133
|
+
relativeDateRange?: {
|
|
134
|
+
days?: number | undefined;
|
|
135
|
+
months?: number | undefined;
|
|
136
|
+
years?: number | undefined;
|
|
137
|
+
} | undefined;
|
|
138
|
+
disabled?: boolean | undefined;
|
|
139
|
+
}, {
|
|
140
|
+
loincCodes?: string[] | undefined;
|
|
141
|
+
relativeDateRange?: {
|
|
142
|
+
days?: number | undefined;
|
|
143
|
+
months?: number | undefined;
|
|
144
|
+
years?: number | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
disabled?: boolean | undefined;
|
|
147
|
+
}>>;
|
|
148
|
+
}, "strip", z.ZodTypeAny, {
|
|
149
|
+
lab?: {
|
|
150
|
+
loincCodes?: string[] | undefined;
|
|
151
|
+
minCountPerCode?: number | undefined;
|
|
152
|
+
relativeDateRange?: {
|
|
153
|
+
days?: number | undefined;
|
|
154
|
+
months?: number | undefined;
|
|
155
|
+
years?: number | undefined;
|
|
156
|
+
} | undefined;
|
|
157
|
+
disabled?: boolean | undefined;
|
|
158
|
+
} | undefined;
|
|
159
|
+
labPanel?: {
|
|
160
|
+
loincCodes?: string[] | undefined;
|
|
161
|
+
minCountPerCode?: number | undefined;
|
|
162
|
+
relativeDateRange?: {
|
|
163
|
+
days?: number | undefined;
|
|
164
|
+
months?: number | undefined;
|
|
165
|
+
years?: number | undefined;
|
|
166
|
+
} | undefined;
|
|
167
|
+
disabled?: boolean | undefined;
|
|
168
|
+
} | undefined;
|
|
169
|
+
problems?: {
|
|
170
|
+
relativeDateRange?: {
|
|
171
|
+
days?: number | undefined;
|
|
172
|
+
months?: number | undefined;
|
|
173
|
+
years?: number | undefined;
|
|
174
|
+
} | undefined;
|
|
175
|
+
disabled?: boolean | undefined;
|
|
176
|
+
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
177
|
+
} | undefined;
|
|
178
|
+
vital?: {
|
|
179
|
+
loincCodes?: string[] | undefined;
|
|
180
|
+
relativeDateRange?: {
|
|
181
|
+
days?: number | undefined;
|
|
182
|
+
months?: number | undefined;
|
|
183
|
+
years?: number | undefined;
|
|
184
|
+
} | undefined;
|
|
185
|
+
disabled?: boolean | undefined;
|
|
186
|
+
} | undefined;
|
|
187
|
+
}, {
|
|
188
|
+
lab?: {
|
|
189
|
+
loincCodes?: string[] | undefined;
|
|
190
|
+
minCountPerCode?: number | undefined;
|
|
191
|
+
relativeDateRange?: {
|
|
192
|
+
days?: number | undefined;
|
|
193
|
+
months?: number | undefined;
|
|
194
|
+
years?: number | undefined;
|
|
195
|
+
} | undefined;
|
|
196
|
+
disabled?: boolean | undefined;
|
|
197
|
+
} | undefined;
|
|
198
|
+
labPanel?: {
|
|
199
|
+
loincCodes?: string[] | undefined;
|
|
200
|
+
minCountPerCode?: number | undefined;
|
|
201
|
+
relativeDateRange?: {
|
|
202
|
+
days?: number | undefined;
|
|
203
|
+
months?: number | undefined;
|
|
204
|
+
years?: number | undefined;
|
|
205
|
+
} | undefined;
|
|
206
|
+
disabled?: boolean | undefined;
|
|
207
|
+
} | undefined;
|
|
208
|
+
problems?: {
|
|
209
|
+
relativeDateRange?: {
|
|
210
|
+
days?: number | undefined;
|
|
211
|
+
months?: number | undefined;
|
|
212
|
+
years?: number | undefined;
|
|
213
|
+
} | undefined;
|
|
214
|
+
disabled?: boolean | undefined;
|
|
215
|
+
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
216
|
+
} | undefined;
|
|
217
|
+
vital?: {
|
|
218
|
+
loincCodes?: string[] | undefined;
|
|
219
|
+
relativeDateRange?: {
|
|
220
|
+
days?: number | undefined;
|
|
221
|
+
months?: number | undefined;
|
|
222
|
+
years?: number | undefined;
|
|
223
|
+
} | undefined;
|
|
224
|
+
disabled?: boolean | undefined;
|
|
225
|
+
} | undefined;
|
|
226
|
+
}>>;
|
|
227
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8
228
|
departmentIds: string[];
|
|
229
|
+
writeBackEnabled?: boolean | undefined;
|
|
230
|
+
writeBackFilters?: {
|
|
231
|
+
lab?: {
|
|
232
|
+
loincCodes?: string[] | undefined;
|
|
233
|
+
minCountPerCode?: number | undefined;
|
|
234
|
+
relativeDateRange?: {
|
|
235
|
+
days?: number | undefined;
|
|
236
|
+
months?: number | undefined;
|
|
237
|
+
years?: number | undefined;
|
|
238
|
+
} | undefined;
|
|
239
|
+
disabled?: boolean | undefined;
|
|
240
|
+
} | undefined;
|
|
241
|
+
labPanel?: {
|
|
242
|
+
loincCodes?: string[] | undefined;
|
|
243
|
+
minCountPerCode?: number | undefined;
|
|
244
|
+
relativeDateRange?: {
|
|
245
|
+
days?: number | undefined;
|
|
246
|
+
months?: number | undefined;
|
|
247
|
+
years?: number | undefined;
|
|
248
|
+
} | undefined;
|
|
249
|
+
disabled?: boolean | undefined;
|
|
250
|
+
} | undefined;
|
|
251
|
+
problems?: {
|
|
252
|
+
relativeDateRange?: {
|
|
253
|
+
days?: number | undefined;
|
|
254
|
+
months?: number | undefined;
|
|
255
|
+
years?: number | undefined;
|
|
256
|
+
} | undefined;
|
|
257
|
+
disabled?: boolean | undefined;
|
|
258
|
+
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
259
|
+
} | undefined;
|
|
260
|
+
vital?: {
|
|
261
|
+
loincCodes?: string[] | undefined;
|
|
262
|
+
relativeDateRange?: {
|
|
263
|
+
days?: number | undefined;
|
|
264
|
+
months?: number | undefined;
|
|
265
|
+
years?: number | undefined;
|
|
266
|
+
} | undefined;
|
|
267
|
+
disabled?: boolean | undefined;
|
|
268
|
+
} | undefined;
|
|
269
|
+
} | undefined;
|
|
9
270
|
webhookAppointmentDisabled?: boolean | undefined;
|
|
10
271
|
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
11
272
|
appointmentTypesFilter?: string[] | undefined;
|
|
12
273
|
}, {
|
|
13
274
|
departmentIds: string[];
|
|
275
|
+
writeBackEnabled?: boolean | undefined;
|
|
276
|
+
writeBackFilters?: {
|
|
277
|
+
lab?: {
|
|
278
|
+
loincCodes?: string[] | undefined;
|
|
279
|
+
minCountPerCode?: number | undefined;
|
|
280
|
+
relativeDateRange?: {
|
|
281
|
+
days?: number | undefined;
|
|
282
|
+
months?: number | undefined;
|
|
283
|
+
years?: number | undefined;
|
|
284
|
+
} | undefined;
|
|
285
|
+
disabled?: boolean | undefined;
|
|
286
|
+
} | undefined;
|
|
287
|
+
labPanel?: {
|
|
288
|
+
loincCodes?: string[] | undefined;
|
|
289
|
+
minCountPerCode?: number | undefined;
|
|
290
|
+
relativeDateRange?: {
|
|
291
|
+
days?: number | undefined;
|
|
292
|
+
months?: number | undefined;
|
|
293
|
+
years?: number | undefined;
|
|
294
|
+
} | undefined;
|
|
295
|
+
disabled?: boolean | undefined;
|
|
296
|
+
} | undefined;
|
|
297
|
+
problems?: {
|
|
298
|
+
relativeDateRange?: {
|
|
299
|
+
days?: number | undefined;
|
|
300
|
+
months?: number | undefined;
|
|
301
|
+
years?: number | undefined;
|
|
302
|
+
} | undefined;
|
|
303
|
+
disabled?: boolean | undefined;
|
|
304
|
+
chronicityFilter?: "all" | "chronic" | "non-chronic" | undefined;
|
|
305
|
+
} | undefined;
|
|
306
|
+
vital?: {
|
|
307
|
+
loincCodes?: string[] | undefined;
|
|
308
|
+
relativeDateRange?: {
|
|
309
|
+
days?: number | undefined;
|
|
310
|
+
months?: number | undefined;
|
|
311
|
+
years?: number | undefined;
|
|
312
|
+
} | undefined;
|
|
313
|
+
disabled?: boolean | undefined;
|
|
314
|
+
} | undefined;
|
|
315
|
+
} | undefined;
|
|
14
316
|
webhookAppointmentDisabled?: boolean | undefined;
|
|
15
317
|
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
16
318
|
appointmentTypesFilter?: 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;
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOV,CAAC;AACjC,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.athenaSecondaryMappingsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
|
|
5
|
+
const shared_1 = require("../shared");
|
|
6
|
+
exports.athenaSecondaryMappingsSchema = zod_1.z
|
|
7
|
+
.object({
|
|
6
8
|
departmentIds: zod_1.z.string().array(),
|
|
7
9
|
webhookAppointmentDisabled: zod_1.z.boolean().optional(),
|
|
8
10
|
backgroundAppointmentsDisabled: zod_1.z.boolean().optional(),
|
|
9
11
|
appointmentTypesFilter: zod_1.z.string().array().optional(),
|
|
10
|
-
})
|
|
12
|
+
})
|
|
13
|
+
.merge(shared_1.writeBackFiltersSchema);
|
|
11
14
|
//# sourceMappingURL=cx-mapping.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cx-mapping.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/cx-mapping.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;
|
|
1
|
+
{"version":3,"file":"cx-mapping.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/cx-mapping.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sCAAmD;AAEtC,QAAA,6BAA6B,GAAG,OAAC;KAC3C,MAAM,CAAC;IACN,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;IACjC,0BAA0B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAClD,8BAA8B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtD,sBAAsB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;CACtD,CAAC;KACD,KAAK,CAAC,+BAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
declare const encounterSchema: z.ZodObject<{
|
|
3
|
+
appointmentid: z.ZodString;
|
|
4
|
+
status: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
status: string;
|
|
7
|
+
appointmentid: string;
|
|
8
|
+
}, {
|
|
9
|
+
status: string;
|
|
10
|
+
appointmentid: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type Encounter = z.infer<typeof encounterSchema>;
|
|
13
|
+
export declare const encountersSchema: z.ZodArray<z.ZodObject<{
|
|
14
|
+
appointmentid: z.ZodString;
|
|
15
|
+
status: z.ZodString;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
status: string;
|
|
18
|
+
appointmentid: string;
|
|
19
|
+
}, {
|
|
20
|
+
status: string;
|
|
21
|
+
appointmentid: string;
|
|
22
|
+
}>, "many">;
|
|
23
|
+
export type Encounters = z.infer<typeof encountersSchema>;
|
|
24
|
+
export declare const encounterSummarySchema: z.ZodObject<{
|
|
25
|
+
summaryhtml: z.ZodString;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
summaryhtml: string;
|
|
28
|
+
}, {
|
|
29
|
+
summaryhtml: string;
|
|
30
|
+
}>;
|
|
31
|
+
export type EncounterSummary = z.infer<typeof encounterSummarySchema>;
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=encounter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encounter.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/encounter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,eAAe;;;;;;;;;EAGnB,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,gBAAgB;;;;;;;;;WAA0B,CAAC;AACxD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.encounterSummarySchema = exports.encountersSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const encounterSchema = zod_1.z.object({
|
|
6
|
+
appointmentid: zod_1.z.coerce.string(),
|
|
7
|
+
status: zod_1.z.string(),
|
|
8
|
+
});
|
|
9
|
+
exports.encountersSchema = encounterSchema.array();
|
|
10
|
+
exports.encounterSummarySchema = zod_1.z.object({
|
|
11
|
+
summaryhtml: zod_1.z.string(),
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=encounter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encounter.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/encounter.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/B,aAAa,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAChC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAGU,QAAA,gBAAgB,GAAG,eAAe,CAAC,KAAK,EAAE,CAAC;AAG3C,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC"}
|
|
@@ -28,4 +28,5 @@ __exportStar(require("./vaccine"), exports);
|
|
|
28
28
|
__exportStar(require("./clinical-document"), exports);
|
|
29
29
|
__exportStar(require("./allergy"), exports);
|
|
30
30
|
__exportStar(require("./surgical-history"), exports);
|
|
31
|
+
__exportStar(require("./encounter"), exports);
|
|
31
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,8CAA4B;AAC5B,gDAA8B;AAC9B,+CAA6B;AAC7B,iDAA+B;AAC/B,+CAA6B;AAC7B,4CAA0B;AAC1B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,4CAA0B;AAC1B,sDAAoC;AACpC,4CAA0B;AAC1B,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,8CAA4B;AAC5B,gDAA8B;AAC9B,+CAA6B;AAC7B,iDAA+B;AAC/B,+CAA6B;AAC7B,4CAA0B;AAC1B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,4CAA0B;AAC1B,sDAAoC;AACpC,4CAA0B;AAC1B,qDAAmC;AACnC,8CAA4B"}
|