@metriport/shared 0.21.0-alpha.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/domain/patient/patient-import.d.ts +6 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/appointment.d.ts +26 -4
- package/dist/interface/external/ehr/athenahealth/appointment.d.ts.map +1 -1
- package/dist/interface/external/ehr/athenahealth/appointment.js +7 -3
- package/dist/interface/external/ehr/athenahealth/appointment.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts +6 -0
- package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/athenahealth/cx-mapping.js +2 -0
- package/dist/interface/external/ehr/athenahealth/cx-mapping.js.map +1 -1
- package/dist/interface/external/ehr/canvas/appointment.d.ts +38 -20
- package/dist/interface/external/ehr/canvas/appointment.d.ts.map +1 -1
- package/dist/interface/external/ehr/canvas/appointment.js +6 -5
- package/dist/interface/external/ehr/canvas/appointment.js.map +1 -1
- package/dist/interface/external/ehr/elation/appointment.d.ts +5 -2
- package/dist/interface/external/ehr/elation/appointment.d.ts.map +1 -1
- package/dist/interface/external/ehr/elation/appointment.js +3 -2
- package/dist/interface/external/ehr/elation/appointment.js.map +1 -1
- package/dist/interface/external/ehr/elation/cx-mapping.d.ts +3 -3
- package/dist/interface/external/ehr/elation/cx-mapping.js +1 -1
- package/dist/interface/external/ehr/elation/cx-mapping.js.map +1 -1
- package/dist/interface/external/ehr/elation/patient.d.ts +6 -6
- package/dist/interface/external/ehr/patient.d.ts +12 -12
- package/dist/medical/webhook/webhook-request.d.ts +59 -72
- package/dist/medical/webhook/webhook-request.d.ts.map +1 -1
- package/dist/medical/webhook/webhook-request.js +2 -11
- package/dist/medical/webhook/webhook-request.js.map +1 -1
- package/package.json +2 -2
- package/dist/domain/patient/patient-import/schemas.d.ts +0 -19
- package/dist/domain/patient/patient-import/schemas.d.ts.map +0 -1
- package/dist/domain/patient/patient-import/schemas.js +0 -35
- package/dist/domain/patient/patient-import/schemas.js.map +0 -1
- package/dist/domain/patient/patient-import/status.d.ts +0 -11
- package/dist/domain/patient/patient-import/status.d.ts.map +0 -1
- package/dist/domain/patient/patient-import/status.js +0 -48
- package/dist/domain/patient/patient-import/status.js.map +0 -1
- package/dist/domain/patient/patient-import/types.d.ts +0 -48
- package/dist/domain/patient/patient-import/types.d.ts.map +0 -1
- package/dist/domain/patient/patient-import/types.js +0 -24
- package/dist/domain/patient/patient-import/types.js.map +0 -1
|
@@ -15,13 +15,13 @@ export declare const patientImportPatientSchema: z.ZodObject<{
|
|
|
15
15
|
email2: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
16
16
|
externalid: z.ZodOptional<z.ZodString>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
state: string;
|
|
18
19
|
dob: string;
|
|
19
20
|
gender: string;
|
|
20
21
|
firstname: string;
|
|
21
22
|
lastname: string;
|
|
22
23
|
zip: string;
|
|
23
24
|
city: string;
|
|
24
|
-
state: string;
|
|
25
25
|
addressline1: string;
|
|
26
26
|
addressline2?: string | undefined;
|
|
27
27
|
phone1?: string | undefined;
|
|
@@ -30,13 +30,13 @@ export declare const patientImportPatientSchema: z.ZodObject<{
|
|
|
30
30
|
email2?: string | undefined;
|
|
31
31
|
externalid?: string | undefined;
|
|
32
32
|
}, {
|
|
33
|
+
state: string;
|
|
33
34
|
dob: string;
|
|
34
35
|
gender: string;
|
|
35
36
|
firstname: string;
|
|
36
37
|
lastname: string;
|
|
37
38
|
zip: string;
|
|
38
39
|
city: string;
|
|
39
|
-
state: string;
|
|
40
40
|
addressline1: string;
|
|
41
41
|
addressline2?: string | undefined;
|
|
42
42
|
phone1?: string | undefined;
|
|
@@ -63,13 +63,13 @@ export declare const patientImportSchema: z.ZodObject<{
|
|
|
63
63
|
email2: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
64
64
|
externalid: z.ZodOptional<z.ZodString>;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
state: string;
|
|
66
67
|
dob: string;
|
|
67
68
|
gender: string;
|
|
68
69
|
firstname: string;
|
|
69
70
|
lastname: string;
|
|
70
71
|
zip: string;
|
|
71
72
|
city: string;
|
|
72
|
-
state: string;
|
|
73
73
|
addressline1: string;
|
|
74
74
|
addressline2?: string | undefined;
|
|
75
75
|
phone1?: string | undefined;
|
|
@@ -78,13 +78,13 @@ export declare const patientImportSchema: z.ZodObject<{
|
|
|
78
78
|
email2?: string | undefined;
|
|
79
79
|
externalid?: string | undefined;
|
|
80
80
|
}, {
|
|
81
|
+
state: string;
|
|
81
82
|
dob: string;
|
|
82
83
|
gender: string;
|
|
83
84
|
firstname: string;
|
|
84
85
|
lastname: string;
|
|
85
86
|
zip: string;
|
|
86
87
|
city: string;
|
|
87
|
-
state: string;
|
|
88
88
|
addressline1: string;
|
|
89
89
|
addressline2?: string | undefined;
|
|
90
90
|
phone1?: string | undefined;
|
|
@@ -95,13 +95,13 @@ export declare const patientImportSchema: z.ZodObject<{
|
|
|
95
95
|
}>, "many">;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
patients: {
|
|
98
|
+
state: string;
|
|
98
99
|
dob: string;
|
|
99
100
|
gender: string;
|
|
100
101
|
firstname: string;
|
|
101
102
|
lastname: string;
|
|
102
103
|
zip: string;
|
|
103
104
|
city: string;
|
|
104
|
-
state: string;
|
|
105
105
|
addressline1: string;
|
|
106
106
|
addressline2?: string | undefined;
|
|
107
107
|
phone1?: string | undefined;
|
|
@@ -112,13 +112,13 @@ export declare const patientImportSchema: z.ZodObject<{
|
|
|
112
112
|
}[];
|
|
113
113
|
}, {
|
|
114
114
|
patients: {
|
|
115
|
+
state: string;
|
|
115
116
|
dob: string;
|
|
116
117
|
gender: string;
|
|
117
118
|
firstname: string;
|
|
118
119
|
lastname: string;
|
|
119
120
|
zip: string;
|
|
120
121
|
city: string;
|
|
121
|
-
state: string;
|
|
122
122
|
addressline1: string;
|
|
123
123
|
addressline2?: string | undefined;
|
|
124
124
|
phone1?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export * from "./domain/gender";
|
|
|
30
30
|
export * from "./domain/jwt-token";
|
|
31
31
|
export { metriportCompanyDetails } from "./domain/metriport";
|
|
32
32
|
export * from "./domain/patient/patient";
|
|
33
|
-
export * from "./domain/patient/patient-import
|
|
33
|
+
export * from "./domain/patient/patient-import";
|
|
34
34
|
export * from "./domain/rate-limiting";
|
|
35
35
|
export * from "./domain/secrets";
|
|
36
36
|
export { BadRequestError } from "./error/bad-request";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAC9D,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB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|
@@ -76,7 +76,7 @@ __exportStar(require("./domain/jwt-token"), exports);
|
|
|
76
76
|
var metriport_1 = require("./domain/metriport");
|
|
77
77
|
Object.defineProperty(exports, "metriportCompanyDetails", { enumerable: true, get: function () { return metriport_1.metriportCompanyDetails; } });
|
|
78
78
|
__exportStar(require("./domain/patient/patient"), exports);
|
|
79
|
-
__exportStar(require("./domain/patient/patient-import
|
|
79
|
+
__exportStar(require("./domain/patient/patient-import"), exports);
|
|
80
80
|
__exportStar(require("./domain/rate-limiting"), exports);
|
|
81
81
|
__exportStar(require("./domain/secrets"), exports);
|
|
82
82
|
var bad_request_1 = require("./error/bad-request");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,wCAAyC;AAAhC,gGAAA,OAAO,OAAA;AAChB,4CAA0C;AAAjC,iGAAA,MAAM,OAAA;AACf,sCAAwF;AAA/E,kGAAA,UAAU,OAAA;AAAE,0GAAA,kBAAkB,OAAA;AAAE,+GAAA,uBAAuB,OAAA;AAChE,wCAA8D;AAArD,qHAAA,4BAA4B,OAAA;AACrC,mDAAiC;AACjC,4CAAiD;AAAxC,wGAAA,aAAa,OAAA;AACtB,0EAAwE;AAA/D,+HAAA,qBAAqB,OAAA;AAC9B,oCAA0C;AAAjC,iGAAA,UAAU,OAAA;AACnB,wDAAsD;AAA7C,6GAAA,YAAY,OAAA;AACrB,0DAAuD;AAA9C,8GAAA,YAAY,OAAA;AACrB,iDAA+B;AAC/B,wCAAoD;AAA3C,8FAAA,KAAK,OAAA;AAAE,oGAAA,WAAW,OAAA;AAC3B,kDAAgC;AAChC,kDAAkD;AAAzC,yGAAA,WAAW,OAAA;AACpB,wCAA6D;AAAxC,wGAAA,eAAe,OAAA;AACpC,sDAAoD;AAA3C,2GAAA,WAAW,OAAA;AACpB,wDA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AApD,oHAAA,uBAAuB,OAAA;AAChC,2DAAyC;AACzC,kEAAgD;AAChD,yDAAuC;AACvC,mDAAiC;AACjC,mDAAsD;AAA7C,8GAAA,eAAe,OAAA;AACxB,2DAAyE;AAAhD,iHAAA,cAAc,OAAA;AACvC,+CAAkD;AAAzC,0GAAA,aAAa,OAAA;AACtB,yCAA+C;AAAtC,uGAAA,aAAa,OAAA;AACtB,+DAAiE;AAAxD,yHAAA,oBAAoB,OAAA;AAC7B,8CAA4B;AAC5B,qDAAqC;AACrC,8CAA4B;AAC5B,8CAA4B;AAC5B,4CAA0B"}
|
|
@@ -1,79 +1,101 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const bookedAppointmentSchema: z.ZodObject<{
|
|
3
3
|
patientid: z.ZodString;
|
|
4
|
+
departmentid: z.ZodString;
|
|
4
5
|
appointmenttypeid: z.ZodString;
|
|
5
6
|
}, "strip", z.ZodTypeAny, {
|
|
6
7
|
patientid: string;
|
|
8
|
+
departmentid: string;
|
|
7
9
|
appointmenttypeid: string;
|
|
8
10
|
}, {
|
|
9
11
|
patientid: string;
|
|
12
|
+
departmentid: string;
|
|
10
13
|
appointmenttypeid: string;
|
|
11
14
|
}>;
|
|
12
15
|
export type BookedAppointment = z.infer<typeof bookedAppointmentSchema>;
|
|
13
|
-
export declare const
|
|
16
|
+
export declare const bookedAppointmentListResponseSchema: z.ZodObject<{
|
|
14
17
|
appointments: z.ZodArray<z.ZodObject<{
|
|
15
18
|
patientid: z.ZodString;
|
|
19
|
+
departmentid: z.ZodString;
|
|
16
20
|
appointmenttypeid: z.ZodString;
|
|
17
21
|
}, "strip", z.ZodTypeAny, {
|
|
18
22
|
patientid: string;
|
|
23
|
+
departmentid: string;
|
|
19
24
|
appointmenttypeid: string;
|
|
20
25
|
}, {
|
|
21
26
|
patientid: string;
|
|
27
|
+
departmentid: string;
|
|
22
28
|
appointmenttypeid: string;
|
|
23
29
|
}>, "many">;
|
|
30
|
+
next: z.ZodOptional<z.ZodString>;
|
|
24
31
|
}, "strip", z.ZodTypeAny, {
|
|
25
32
|
appointments: {
|
|
26
33
|
patientid: string;
|
|
34
|
+
departmentid: string;
|
|
27
35
|
appointmenttypeid: string;
|
|
28
36
|
}[];
|
|
37
|
+
next?: string | undefined;
|
|
29
38
|
}, {
|
|
30
39
|
appointments: {
|
|
31
40
|
patientid: string;
|
|
41
|
+
departmentid: string;
|
|
32
42
|
appointmenttypeid: string;
|
|
33
43
|
}[];
|
|
44
|
+
next?: string | undefined;
|
|
34
45
|
}>;
|
|
35
|
-
export type
|
|
46
|
+
export type BookedAppointmentListResponse = z.infer<typeof bookedAppointmentListResponseSchema>;
|
|
36
47
|
declare const appointmentEventSchema: z.ZodObject<{
|
|
37
48
|
patientid: z.ZodOptional<z.ZodString>;
|
|
49
|
+
departmentid: z.ZodString;
|
|
38
50
|
appointmentstatus: z.ZodString;
|
|
39
51
|
appointmenttypeid: z.ZodString;
|
|
40
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
departmentid: string;
|
|
41
54
|
appointmenttypeid: string;
|
|
42
55
|
appointmentstatus: string;
|
|
43
56
|
patientid?: string | undefined;
|
|
44
57
|
}, {
|
|
58
|
+
departmentid: string;
|
|
45
59
|
appointmenttypeid: string;
|
|
46
60
|
appointmentstatus: string;
|
|
47
61
|
patientid?: string | undefined;
|
|
48
62
|
}>;
|
|
49
63
|
export type AppointmentEvent = z.infer<typeof appointmentEventSchema>;
|
|
50
|
-
export declare const
|
|
64
|
+
export declare const appointmentEventListResponseSchema: z.ZodObject<{
|
|
51
65
|
appointments: z.ZodArray<z.ZodObject<{
|
|
52
66
|
patientid: z.ZodOptional<z.ZodString>;
|
|
67
|
+
departmentid: z.ZodString;
|
|
53
68
|
appointmentstatus: z.ZodString;
|
|
54
69
|
appointmenttypeid: z.ZodString;
|
|
55
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
departmentid: string;
|
|
56
72
|
appointmenttypeid: string;
|
|
57
73
|
appointmentstatus: string;
|
|
58
74
|
patientid?: string | undefined;
|
|
59
75
|
}, {
|
|
76
|
+
departmentid: string;
|
|
60
77
|
appointmenttypeid: string;
|
|
61
78
|
appointmentstatus: string;
|
|
62
79
|
patientid?: string | undefined;
|
|
63
80
|
}>, "many">;
|
|
81
|
+
next: z.ZodOptional<z.ZodString>;
|
|
64
82
|
}, "strip", z.ZodTypeAny, {
|
|
65
83
|
appointments: {
|
|
84
|
+
departmentid: string;
|
|
66
85
|
appointmenttypeid: string;
|
|
67
86
|
appointmentstatus: string;
|
|
68
87
|
patientid?: string | undefined;
|
|
69
88
|
}[];
|
|
89
|
+
next?: string | undefined;
|
|
70
90
|
}, {
|
|
71
91
|
appointments: {
|
|
92
|
+
departmentid: string;
|
|
72
93
|
appointmenttypeid: string;
|
|
73
94
|
appointmentstatus: string;
|
|
74
95
|
patientid?: string | undefined;
|
|
75
96
|
}[];
|
|
97
|
+
next?: string | undefined;
|
|
76
98
|
}>;
|
|
77
|
-
export type
|
|
99
|
+
export type AppointmentEventListResponse = z.infer<typeof appointmentEventListResponseSchema>;
|
|
78
100
|
export {};
|
|
79
101
|
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -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
|
|
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,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG9C,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEhG,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;EAK1B,CAAC;AACH,MAAM,MAAM,gBAAgB,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,20 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.appointmentEventListResponseSchema = exports.bookedAppointmentListResponseSchema = exports.bookedAppointmentSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.bookedAppointmentSchema = zod_1.z.object({
|
|
6
6
|
patientid: zod_1.z.string(),
|
|
7
|
+
departmentid: zod_1.z.string(),
|
|
7
8
|
appointmenttypeid: zod_1.z.string(),
|
|
8
9
|
});
|
|
9
|
-
exports.
|
|
10
|
+
exports.bookedAppointmentListResponseSchema = zod_1.z.object({
|
|
10
11
|
appointments: exports.bookedAppointmentSchema.array(),
|
|
12
|
+
next: zod_1.z.string().optional(),
|
|
11
13
|
});
|
|
12
14
|
const appointmentEventSchema = zod_1.z.object({
|
|
13
15
|
patientid: zod_1.z.string().optional(),
|
|
16
|
+
departmentid: zod_1.z.string(),
|
|
14
17
|
appointmentstatus: zod_1.z.string(),
|
|
15
18
|
appointmenttypeid: zod_1.z.string(),
|
|
16
19
|
});
|
|
17
|
-
exports.
|
|
20
|
+
exports.appointmentEventListResponseSchema = zod_1.z.object({
|
|
18
21
|
appointments: appointmentEventSchema.array(),
|
|
22
|
+
next: zod_1.z.string().optional(),
|
|
19
23
|
});
|
|
20
24
|
//# sourceMappingURL=appointment.js.map
|
|
@@ -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,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE;CAC9B,CAAC,CAAC;AAEU,QAAA,
|
|
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,CAAC,KAAK,EAAE;IAC7C,IAAI,EAAE,OAAC,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,13 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const athenaSecondaryMappingsSchema: z.ZodObject<{
|
|
3
3
|
departmentIds: z.ZodArray<z.ZodString, "many">;
|
|
4
|
+
webhookAppointmentDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
4
5
|
backgroundAppointmentsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
appointmentTypesFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5
7
|
}, "strip", z.ZodTypeAny, {
|
|
6
8
|
departmentIds: string[];
|
|
9
|
+
webhookAppointmentDisabled?: boolean | undefined;
|
|
7
10
|
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
11
|
+
appointmentTypesFilter?: string[] | undefined;
|
|
8
12
|
}, {
|
|
9
13
|
departmentIds: string[];
|
|
14
|
+
webhookAppointmentDisabled?: boolean | undefined;
|
|
10
15
|
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
16
|
+
appointmentTypesFilter?: string[] | undefined;
|
|
11
17
|
}>;
|
|
12
18
|
export type AthenaSecondaryMappings = z.infer<typeof athenaSecondaryMappingsSchema>;
|
|
13
19
|
//# sourceMappingURL=cx-mapping.d.ts.map
|
|
@@ -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;AAExB,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;AAExB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;EAKxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -4,6 +4,8 @@ exports.athenaSecondaryMappingsSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.athenaSecondaryMappingsSchema = zod_1.z.object({
|
|
6
6
|
departmentIds: zod_1.z.string().array(),
|
|
7
|
+
webhookAppointmentDisabled: zod_1.z.boolean().optional(),
|
|
7
8
|
backgroundAppointmentsDisabled: zod_1.z.boolean().optional(),
|
|
9
|
+
appointmentTypesFilter: zod_1.z.string().array().optional(),
|
|
8
10
|
});
|
|
9
11
|
//# 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;AAEX,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;IACjC,8BAA8B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"cx-mapping.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/cx-mapping.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,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,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare const slimBookedAppointmentSchema: z.ZodObject<{
|
|
|
7
7
|
patientId: string;
|
|
8
8
|
}>;
|
|
9
9
|
export type SlimBookedAppointment = z.infer<typeof slimBookedAppointmentSchema>;
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const appointmentSchema: z.ZodObject<{
|
|
11
11
|
resourceType: z.ZodLiteral<"Appointment">;
|
|
12
12
|
participant: z.ZodArray<z.ZodObject<{
|
|
13
13
|
actor: z.ZodObject<{
|
|
@@ -31,9 +31,9 @@ export declare const bookedAppointmentSchema: z.ZodObject<{
|
|
|
31
31
|
reference: string;
|
|
32
32
|
};
|
|
33
33
|
}>, "many">;
|
|
34
|
-
status: z.
|
|
34
|
+
status: z.ZodString;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
status:
|
|
36
|
+
status: string;
|
|
37
37
|
resourceType: "Appointment";
|
|
38
38
|
participant: {
|
|
39
39
|
actor: {
|
|
@@ -42,7 +42,7 @@ export declare const bookedAppointmentSchema: z.ZodObject<{
|
|
|
42
42
|
};
|
|
43
43
|
}[];
|
|
44
44
|
}, {
|
|
45
|
-
status:
|
|
45
|
+
status: string;
|
|
46
46
|
resourceType: "Appointment";
|
|
47
47
|
participant: {
|
|
48
48
|
actor: {
|
|
@@ -51,9 +51,9 @@ export declare const bookedAppointmentSchema: z.ZodObject<{
|
|
|
51
51
|
};
|
|
52
52
|
}[];
|
|
53
53
|
}>;
|
|
54
|
-
export type
|
|
55
|
-
export declare const
|
|
56
|
-
entry: z.ZodArray<z.ZodObject<{
|
|
54
|
+
export type Appointment = z.infer<typeof appointmentSchema>;
|
|
55
|
+
export declare const appointmentListResponseSchema: z.ZodObject<{
|
|
56
|
+
entry: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
57
57
|
resource: z.ZodObject<{
|
|
58
58
|
resourceType: z.ZodLiteral<"Appointment">;
|
|
59
59
|
participant: z.ZodArray<z.ZodObject<{
|
|
@@ -78,9 +78,9 @@ export declare const bookedAppointmentsSchema: z.ZodObject<{
|
|
|
78
78
|
reference: string;
|
|
79
79
|
};
|
|
80
80
|
}>, "many">;
|
|
81
|
-
status: z.
|
|
81
|
+
status: z.ZodString;
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
status:
|
|
83
|
+
status: string;
|
|
84
84
|
resourceType: "Appointment";
|
|
85
85
|
participant: {
|
|
86
86
|
actor: {
|
|
@@ -89,7 +89,7 @@ export declare const bookedAppointmentsSchema: z.ZodObject<{
|
|
|
89
89
|
};
|
|
90
90
|
}[];
|
|
91
91
|
}, {
|
|
92
|
-
status:
|
|
92
|
+
status: string;
|
|
93
93
|
resourceType: "Appointment";
|
|
94
94
|
participant: {
|
|
95
95
|
actor: {
|
|
@@ -100,7 +100,7 @@ export declare const bookedAppointmentsSchema: z.ZodObject<{
|
|
|
100
100
|
}>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
102
|
resource: {
|
|
103
|
-
status:
|
|
103
|
+
status: string;
|
|
104
104
|
resourceType: "Appointment";
|
|
105
105
|
participant: {
|
|
106
106
|
actor: {
|
|
@@ -111,7 +111,7 @@ export declare const bookedAppointmentsSchema: z.ZodObject<{
|
|
|
111
111
|
};
|
|
112
112
|
}, {
|
|
113
113
|
resource: {
|
|
114
|
-
status:
|
|
114
|
+
status: string;
|
|
115
115
|
resourceType: "Appointment";
|
|
116
116
|
participant: {
|
|
117
117
|
actor: {
|
|
@@ -120,11 +120,25 @@ export declare const bookedAppointmentsSchema: z.ZodObject<{
|
|
|
120
120
|
};
|
|
121
121
|
}[];
|
|
122
122
|
};
|
|
123
|
-
}>, "many"
|
|
123
|
+
}>, "many">>;
|
|
124
|
+
link: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
125
|
+
relation: z.ZodString;
|
|
126
|
+
url: z.ZodString;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
url: string;
|
|
129
|
+
relation: string;
|
|
130
|
+
}, {
|
|
131
|
+
url: string;
|
|
132
|
+
relation: string;
|
|
133
|
+
}>, "many">>;
|
|
124
134
|
}, "strip", z.ZodTypeAny, {
|
|
125
|
-
|
|
135
|
+
link?: {
|
|
136
|
+
url: string;
|
|
137
|
+
relation: string;
|
|
138
|
+
}[] | undefined;
|
|
139
|
+
entry?: {
|
|
126
140
|
resource: {
|
|
127
|
-
status:
|
|
141
|
+
status: string;
|
|
128
142
|
resourceType: "Appointment";
|
|
129
143
|
participant: {
|
|
130
144
|
actor: {
|
|
@@ -133,11 +147,15 @@ export declare const bookedAppointmentsSchema: z.ZodObject<{
|
|
|
133
147
|
};
|
|
134
148
|
}[];
|
|
135
149
|
};
|
|
136
|
-
}[];
|
|
150
|
+
}[] | undefined;
|
|
137
151
|
}, {
|
|
138
|
-
|
|
152
|
+
link?: {
|
|
153
|
+
url: string;
|
|
154
|
+
relation: string;
|
|
155
|
+
}[] | undefined;
|
|
156
|
+
entry?: {
|
|
139
157
|
resource: {
|
|
140
|
-
status:
|
|
158
|
+
status: string;
|
|
141
159
|
resourceType: "Appointment";
|
|
142
160
|
participant: {
|
|
143
161
|
actor: {
|
|
@@ -146,7 +164,7 @@ export declare const bookedAppointmentsSchema: z.ZodObject<{
|
|
|
146
164
|
};
|
|
147
165
|
}[];
|
|
148
166
|
};
|
|
149
|
-
}[];
|
|
167
|
+
}[] | undefined;
|
|
150
168
|
}>;
|
|
151
|
-
export type
|
|
169
|
+
export type AppointmentListResponse = z.infer<typeof appointmentListResponseSchema>;
|
|
152
170
|
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/canvas/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B;;;;;;EAEtC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/canvas/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,2BAA2B;;;;;;EAEtC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.appointmentListResponseSchema = exports.appointmentSchema = exports.slimBookedAppointmentSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.slimBookedAppointmentSchema = zod_1.z.object({
|
|
6
6
|
patientId: zod_1.z.string(),
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.appointmentSchema = zod_1.z.object({
|
|
9
9
|
resourceType: zod_1.z.literal("Appointment"),
|
|
10
10
|
participant: zod_1.z
|
|
11
11
|
.object({
|
|
@@ -15,9 +15,10 @@ exports.bookedAppointmentSchema = zod_1.z.object({
|
|
|
15
15
|
}),
|
|
16
16
|
})
|
|
17
17
|
.array(),
|
|
18
|
-
status: zod_1.z.
|
|
18
|
+
status: zod_1.z.string(),
|
|
19
19
|
});
|
|
20
|
-
exports.
|
|
21
|
-
entry: zod_1.z.object({ resource: exports.
|
|
20
|
+
exports.appointmentListResponseSchema = zod_1.z.object({
|
|
21
|
+
entry: zod_1.z.object({ resource: exports.appointmentSchema }).array().optional(),
|
|
22
|
+
link: zod_1.z.object({ relation: zod_1.z.string(), url: zod_1.z.string() }).array().optional(),
|
|
22
23
|
});
|
|
23
24
|
//# sourceMappingURL=appointment.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/canvas/appointment.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAGU,QAAA,
|
|
1
|
+
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/canvas/appointment.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAGU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,OAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IACtC,WAAW,EAAE,OAAC;SACX,MAAM,CAAC;QACN,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC;YACd,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;YACrB,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;SAC1C,CAAC;KACH,CAAC;SACD,KAAK,EAAE;IACV,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAEU,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,yBAAiB,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACnE,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;CAC7E,CAAC,CAAC"}
|
|
@@ -28,7 +28,7 @@ export declare const appointmentSchema: z.ZodObject<{
|
|
|
28
28
|
patient: string | null;
|
|
29
29
|
}>;
|
|
30
30
|
export type Appointment = z.infer<typeof appointmentSchema>;
|
|
31
|
-
export declare const
|
|
31
|
+
export declare const appointmentListResponseSchema: z.ZodObject<{
|
|
32
32
|
results: z.ZodArray<z.ZodObject<{
|
|
33
33
|
patient: z.ZodNullable<z.ZodString>;
|
|
34
34
|
status: z.ZodNullable<z.ZodObject<{
|
|
@@ -49,7 +49,9 @@ export declare const appointmentsSchema: z.ZodObject<{
|
|
|
49
49
|
} | null;
|
|
50
50
|
patient: string | null;
|
|
51
51
|
}>, "many">;
|
|
52
|
+
next: z.ZodNullable<z.ZodString>;
|
|
52
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
next: string | null;
|
|
53
55
|
results: {
|
|
54
56
|
status: {
|
|
55
57
|
status: string;
|
|
@@ -57,6 +59,7 @@ export declare const appointmentsSchema: z.ZodObject<{
|
|
|
57
59
|
patient: string | null;
|
|
58
60
|
}[];
|
|
59
61
|
}, {
|
|
62
|
+
next: string | null;
|
|
60
63
|
results: {
|
|
61
64
|
status: {
|
|
62
65
|
status: string;
|
|
@@ -64,5 +67,5 @@ export declare const appointmentsSchema: z.ZodObject<{
|
|
|
64
67
|
patient: string | null;
|
|
65
68
|
}[];
|
|
66
69
|
}>;
|
|
67
|
-
export type
|
|
70
|
+
export type AppointmentListResponse = z.infer<typeof appointmentListResponseSchema>;
|
|
68
71
|
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;EAG5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;EAG5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.appointmentListResponseSchema = exports.appointmentSchema = exports.bookedAppointmentSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.bookedAppointmentSchema = zod_1.z.object({
|
|
6
6
|
patient: zod_1.z.coerce.string(),
|
|
@@ -9,7 +9,8 @@ exports.appointmentSchema = zod_1.z.object({
|
|
|
9
9
|
patient: zod_1.z.coerce.string().nullable(),
|
|
10
10
|
status: zod_1.z.object({ status: zod_1.z.string() }).nullable(),
|
|
11
11
|
});
|
|
12
|
-
exports.
|
|
12
|
+
exports.appointmentListResponseSchema = zod_1.z.object({
|
|
13
13
|
results: exports.appointmentSchema.array(),
|
|
14
|
+
next: zod_1.z.string().nullable(),
|
|
14
15
|
});
|
|
15
16
|
//# sourceMappingURL=appointment.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/appointment.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAGU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAC;AAEU,QAAA,
|
|
1
|
+
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/elation/appointment.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAGU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAC;AAEU,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,OAAO,EAAE,yBAAiB,CAAC,KAAK,EAAE;IAClC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC"}
|
|
@@ -14,9 +14,10 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<{
|
|
|
14
14
|
webhookPatientPatientProcessingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
webhookAppointmentPatientLinkingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
16
16
|
webhookAppointmentPatientProcessingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
-
|
|
17
|
+
backgroundAppointmentsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
18
18
|
backgroundAppointmentPatientProcessingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
20
21
|
webhooks?: Partial<Record<"patients" | "appointments", {
|
|
21
22
|
url: string;
|
|
22
23
|
signingKey: string;
|
|
@@ -25,9 +26,9 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<{
|
|
|
25
26
|
webhookPatientPatientProcessingEnabled?: boolean | undefined;
|
|
26
27
|
webhookAppointmentPatientLinkingDisabled?: boolean | undefined;
|
|
27
28
|
webhookAppointmentPatientProcessingDisabled?: boolean | undefined;
|
|
28
|
-
backgroundAppointmentPatientLinkingDisabled?: boolean | undefined;
|
|
29
29
|
backgroundAppointmentPatientProcessingDisabled?: boolean | undefined;
|
|
30
30
|
}, {
|
|
31
|
+
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
31
32
|
webhooks?: Partial<Record<"patients" | "appointments", {
|
|
32
33
|
url: string;
|
|
33
34
|
signingKey: string;
|
|
@@ -36,7 +37,6 @@ export declare const elationSecondaryMappingsSchema: z.ZodObject<{
|
|
|
36
37
|
webhookPatientPatientProcessingEnabled?: boolean | undefined;
|
|
37
38
|
webhookAppointmentPatientLinkingDisabled?: boolean | undefined;
|
|
38
39
|
webhookAppointmentPatientProcessingDisabled?: boolean | undefined;
|
|
39
|
-
backgroundAppointmentPatientLinkingDisabled?: boolean | undefined;
|
|
40
40
|
backgroundAppointmentPatientProcessingDisabled?: boolean | undefined;
|
|
41
41
|
}>;
|
|
42
42
|
export type ElationSecondaryMappings = z.infer<typeof elationSecondaryMappingsSchema>;
|
|
@@ -13,7 +13,7 @@ exports.elationSecondaryMappingsSchema = zod_1.z.object({
|
|
|
13
13
|
webhookPatientPatientProcessingEnabled: zod_1.z.boolean().optional(),
|
|
14
14
|
webhookAppointmentPatientLinkingDisabled: zod_1.z.boolean().optional(),
|
|
15
15
|
webhookAppointmentPatientProcessingDisabled: zod_1.z.boolean().optional(),
|
|
16
|
-
|
|
16
|
+
backgroundAppointmentsDisabled: zod_1.z.boolean().optional(),
|
|
17
17
|
backgroundAppointmentPatientProcessingDisabled: zod_1.z.boolean().optional(),
|
|
18
18
|
});
|
|
19
19
|
//# 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,G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