@metriport/shared 0.20.3 → 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/interface/external/ehr/athenahealth/cx-mapping.d.ts +3 -0
- package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/athenahealth/cx-mapping.js +1 -0
- package/dist/interface/external/ehr/athenahealth/cx-mapping.js.map +1 -1
- package/package.json +2 -2
- package/dist/interface/external/athenahealth/appointment.d.ts +0 -63
- package/dist/interface/external/athenahealth/appointment.d.ts.map +0 -1
- package/dist/interface/external/athenahealth/appointment.js +0 -18
- package/dist/interface/external/athenahealth/appointment.js.map +0 -1
- package/dist/interface/external/athenahealth/cx-mapping.d.ts +0 -10
- package/dist/interface/external/athenahealth/cx-mapping.d.ts.map +0 -1
- package/dist/interface/external/athenahealth/cx-mapping.js +0 -8
- package/dist/interface/external/athenahealth/cx-mapping.js.map +0 -1
- package/dist/interface/external/athenahealth/department.d.ts +0 -28
- package/dist/interface/external/athenahealth/department.d.ts.map +0 -1
- package/dist/interface/external/athenahealth/department.js +0 -11
- package/dist/interface/external/athenahealth/department.js.map +0 -1
- package/dist/interface/external/athenahealth/index.d.ts +0 -9
- package/dist/interface/external/athenahealth/index.d.ts.map +0 -1
- package/dist/interface/external/athenahealth/index.js +0 -25
- package/dist/interface/external/athenahealth/index.js.map +0 -1
- package/dist/interface/external/athenahealth/jwt-token.d.ts +0 -34
- package/dist/interface/external/athenahealth/jwt-token.d.ts.map +0 -1
- package/dist/interface/external/athenahealth/jwt-token.js +0 -18
- package/dist/interface/external/athenahealth/jwt-token.js.map +0 -1
- package/dist/interface/external/athenahealth/medication.d.ts +0 -50
- package/dist/interface/external/athenahealth/medication.d.ts.map +0 -1
- package/dist/interface/external/athenahealth/medication.js +0 -19
- package/dist/interface/external/athenahealth/medication.js.map +0 -1
- package/dist/interface/external/athenahealth/problem.d.ts +0 -27
- package/dist/interface/external/athenahealth/problem.d.ts.map +0 -1
- package/dist/interface/external/athenahealth/problem.js +0 -14
- package/dist/interface/external/athenahealth/problem.js.map +0 -1
- package/dist/interface/external/athenahealth/subscription.d.ts +0 -20
- package/dist/interface/external/athenahealth/subscription.d.ts.map +0 -1
- package/dist/interface/external/athenahealth/subscription.js +0 -11
- package/dist/interface/external/athenahealth/subscription.js.map +0 -1
- package/dist/interface/external/athenahealth/vitals.d.ts +0 -82
- package/dist/interface/external/athenahealth/vitals.d.ts.map +0 -1
- package/dist/interface/external/athenahealth/vitals.js +0 -15
- package/dist/interface/external/athenahealth/vitals.js.map +0 -1
- package/dist/interface/external/canvas/appointment.d.ts +0 -68
- package/dist/interface/external/canvas/appointment.d.ts.map +0 -1
- package/dist/interface/external/canvas/appointment.js +0 -15
- package/dist/interface/external/canvas/appointment.js.map +0 -1
- package/dist/interface/external/canvas/index.d.ts +0 -3
- package/dist/interface/external/canvas/index.d.ts.map +0 -1
- package/dist/interface/external/canvas/index.js +0 -19
- package/dist/interface/external/canvas/index.js.map +0 -1
- package/dist/interface/external/canvas/jwt-token.d.ts +0 -31
- package/dist/interface/external/canvas/jwt-token.d.ts.map +0 -1
- package/dist/interface/external/canvas/jwt-token.js +0 -17
- package/dist/interface/external/canvas/jwt-token.js.map +0 -1
- package/dist/interface/external/elation/appointment.d.ts +0 -68
- package/dist/interface/external/elation/appointment.d.ts.map +0 -1
- package/dist/interface/external/elation/appointment.js +0 -15
- package/dist/interface/external/elation/appointment.js.map +0 -1
- package/dist/interface/external/elation/index.d.ts +0 -4
- package/dist/interface/external/elation/index.d.ts.map +0 -1
- package/dist/interface/external/elation/index.js +0 -20
- package/dist/interface/external/elation/index.js.map +0 -1
- package/dist/interface/external/elation/jwt-token.d.ts +0 -20
- package/dist/interface/external/elation/jwt-token.d.ts.map +0 -1
- package/dist/interface/external/elation/jwt-token.js +0 -13
- package/dist/interface/external/elation/jwt-token.js.map +0 -1
- package/dist/interface/external/elation/patient.d.ts +0 -96
- package/dist/interface/external/elation/patient.d.ts.map +0 -1
- package/dist/interface/external/elation/patient.js +0 -33
- package/dist/interface/external/elation/patient.js.map +0 -1
- package/dist/interface/external/shared/ehr/patient.d.ts +0 -250
- package/dist/interface/external/shared/ehr/patient.d.ts.map +0 -1
- package/dist/interface/external/shared/ehr/patient.js +0 -35
- package/dist/interface/external/shared/ehr/patient.js.map +0 -1
|
@@ -3,14 +3,17 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<{
|
|
|
3
3
|
departmentIds: z.ZodArray<z.ZodString, "many">;
|
|
4
4
|
webhookAppointmentDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
5
5
|
backgroundAppointmentsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
appointmentTypesFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6
7
|
}, "strip", z.ZodTypeAny, {
|
|
7
8
|
departmentIds: string[];
|
|
8
9
|
webhookAppointmentDisabled?: boolean | undefined;
|
|
9
10
|
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
11
|
+
appointmentTypesFilter?: string[] | undefined;
|
|
10
12
|
}, {
|
|
11
13
|
departmentIds: string[];
|
|
12
14
|
webhookAppointmentDisabled?: boolean | undefined;
|
|
13
15
|
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
16
|
+
appointmentTypesFilter?: string[] | undefined;
|
|
14
17
|
}>;
|
|
15
18
|
export type AthenaSecondaryMappings = z.infer<typeof athenaSecondaryMappingsSchema>;
|
|
16
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"}
|
|
@@ -6,5 +6,6 @@ exports.athenaSecondaryMappingsSchema = zod_1.z.object({
|
|
|
6
6
|
departmentIds: zod_1.z.string().array(),
|
|
7
7
|
webhookAppointmentDisabled: zod_1.z.boolean().optional(),
|
|
8
8
|
backgroundAppointmentsDisabled: zod_1.z.boolean().optional(),
|
|
9
|
+
appointmentTypesFilter: zod_1.z.string().array().optional(),
|
|
9
10
|
});
|
|
10
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,0BAA0B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAClD,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
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/",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"ts-jest": "29.1.1",
|
|
102
102
|
"typescript": "^4.9.5"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "dc97533da7870ea46157ce741688a0399965ccfe"
|
|
105
105
|
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const bookedAppointmentSchema: z.ZodObject<{
|
|
3
|
-
patientid: z.ZodString;
|
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
patientid: string;
|
|
6
|
-
}, {
|
|
7
|
-
patientid: string;
|
|
8
|
-
}>;
|
|
9
|
-
export type BookedAppointment = z.infer<typeof bookedAppointmentSchema>;
|
|
10
|
-
export declare const bookedAppointmentsSchema: z.ZodObject<{
|
|
11
|
-
appointments: z.ZodArray<z.ZodObject<{
|
|
12
|
-
patientid: z.ZodString;
|
|
13
|
-
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
patientid: string;
|
|
15
|
-
}, {
|
|
16
|
-
patientid: string;
|
|
17
|
-
}>, "many">;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
appointments: {
|
|
20
|
-
patientid: string;
|
|
21
|
-
}[];
|
|
22
|
-
}, {
|
|
23
|
-
appointments: {
|
|
24
|
-
patientid: string;
|
|
25
|
-
}[];
|
|
26
|
-
}>;
|
|
27
|
-
export type BookedAppointments = z.infer<typeof bookedAppointmentsSchema>;
|
|
28
|
-
declare const appointmentEventSchema: z.ZodObject<{
|
|
29
|
-
patientid: z.ZodOptional<z.ZodString>;
|
|
30
|
-
appointmentstatus: z.ZodString;
|
|
31
|
-
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
appointmentstatus: string;
|
|
33
|
-
patientid?: string | undefined;
|
|
34
|
-
}, {
|
|
35
|
-
appointmentstatus: string;
|
|
36
|
-
patientid?: string | undefined;
|
|
37
|
-
}>;
|
|
38
|
-
export type AppointmentEvent = z.infer<typeof appointmentEventSchema>;
|
|
39
|
-
export declare const appointmentEventsSchema: z.ZodObject<{
|
|
40
|
-
appointments: z.ZodArray<z.ZodObject<{
|
|
41
|
-
patientid: z.ZodOptional<z.ZodString>;
|
|
42
|
-
appointmentstatus: z.ZodString;
|
|
43
|
-
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
appointmentstatus: string;
|
|
45
|
-
patientid?: string | undefined;
|
|
46
|
-
}, {
|
|
47
|
-
appointmentstatus: string;
|
|
48
|
-
patientid?: string | undefined;
|
|
49
|
-
}>, "many">;
|
|
50
|
-
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
appointments: {
|
|
52
|
-
appointmentstatus: string;
|
|
53
|
-
patientid?: string | undefined;
|
|
54
|
-
}[];
|
|
55
|
-
}, {
|
|
56
|
-
appointments: {
|
|
57
|
-
appointmentstatus: string;
|
|
58
|
-
patientid?: string | undefined;
|
|
59
|
-
}[];
|
|
60
|
-
}>;
|
|
61
|
-
export type AppointmentEvents = z.infer<typeof appointmentEventsSchema>;
|
|
62
|
-
export {};
|
|
63
|
-
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/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;AACxE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;EAEnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,QAAA,MAAM,sBAAsB;;;;;;;;;EAG1B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;EAElC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.appointmentEventsSchema = exports.bookedAppointmentsSchema = exports.bookedAppointmentSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.bookedAppointmentSchema = zod_1.z.object({
|
|
6
|
-
patientid: zod_1.z.string(),
|
|
7
|
-
});
|
|
8
|
-
exports.bookedAppointmentsSchema = zod_1.z.object({
|
|
9
|
-
appointments: exports.bookedAppointmentSchema.array(),
|
|
10
|
-
});
|
|
11
|
-
const appointmentEventSchema = zod_1.z.object({
|
|
12
|
-
patientid: zod_1.z.string().optional(),
|
|
13
|
-
appointmentstatus: zod_1.z.string(),
|
|
14
|
-
});
|
|
15
|
-
exports.appointmentEventsSchema = zod_1.z.object({
|
|
16
|
-
appointments: appointmentEventSchema.array(),
|
|
17
|
-
});
|
|
18
|
-
//# sourceMappingURL=appointment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/appointment.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,YAAY,EAAE,+BAAuB,CAAC,KAAK,EAAE;CAC9C,CAAC,CAAC;AAGH,MAAM,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE;CAC9B,CAAC,CAAC;AAEU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,YAAY,EAAE,sBAAsB,CAAC,KAAK,EAAE;CAC7C,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const athenaSecondaryMappingsSchema: z.ZodObject<{
|
|
3
|
-
departmentIds: z.ZodArray<z.ZodString, "many">;
|
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
departmentIds: string[];
|
|
6
|
-
}, {
|
|
7
|
-
departmentIds: string[];
|
|
8
|
-
}>;
|
|
9
|
-
export type AthenaSecondaryMappings = z.infer<typeof athenaSecondaryMappingsSchema>;
|
|
10
|
-
//# sourceMappingURL=cx-mapping.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,6BAA6B;;;;;;EAExC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.athenaSecondaryMappingsSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.athenaSecondaryMappingsSchema = zod_1.z.object({
|
|
6
|
-
departmentIds: zod_1.z.string().array(),
|
|
7
|
-
});
|
|
8
|
-
//# sourceMappingURL=cx-mapping.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cx-mapping.js","sourceRoot":"","sources":["../../../../src/interface/external/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;CAClC,CAAC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const departmentSchema: z.ZodObject<{
|
|
3
|
-
departmentid: z.ZodString;
|
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
departmentid: string;
|
|
6
|
-
}, {
|
|
7
|
-
departmentid: string;
|
|
8
|
-
}>;
|
|
9
|
-
export type Department = z.infer<typeof departmentSchema>;
|
|
10
|
-
export declare const departmentsSchema: z.ZodObject<{
|
|
11
|
-
departments: z.ZodArray<z.ZodObject<{
|
|
12
|
-
departmentid: z.ZodString;
|
|
13
|
-
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
departmentid: string;
|
|
15
|
-
}, {
|
|
16
|
-
departmentid: string;
|
|
17
|
-
}>, "many">;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
departments: {
|
|
20
|
-
departmentid: string;
|
|
21
|
-
}[];
|
|
22
|
-
}, {
|
|
23
|
-
departments: {
|
|
24
|
-
departmentid: string;
|
|
25
|
-
}[];
|
|
26
|
-
}>;
|
|
27
|
-
export type Departments = z.infer<typeof departmentsSchema>;
|
|
28
|
-
//# sourceMappingURL=department.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"department.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/department.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB;;;;;;EAE3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;EAE5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.departmentsSchema = exports.departmentSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.departmentSchema = zod_1.z.object({
|
|
6
|
-
departmentid: zod_1.z.string(),
|
|
7
|
-
});
|
|
8
|
-
exports.departmentsSchema = zod_1.z.object({
|
|
9
|
-
departments: exports.departmentSchema.array(),
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=department.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"department.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/department.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC;AAEU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,wBAAgB,CAAC,KAAK,EAAE;CACtC,CAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from "./cx-mapping";
|
|
2
|
-
export * from "./jwt-token";
|
|
3
|
-
export * from "./appointment";
|
|
4
|
-
export * from "./medication";
|
|
5
|
-
export * from "./subscription";
|
|
6
|
-
export * from "./department";
|
|
7
|
-
export * from "./problem";
|
|
8
|
-
export * from "./vitals";
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/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"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./cx-mapping"), exports);
|
|
18
|
-
__exportStar(require("./jwt-token"), exports);
|
|
19
|
-
__exportStar(require("./appointment"), exports);
|
|
20
|
-
__exportStar(require("./medication"), exports);
|
|
21
|
-
__exportStar(require("./subscription"), exports);
|
|
22
|
-
__exportStar(require("./department"), exports);
|
|
23
|
-
__exportStar(require("./problem"), exports);
|
|
24
|
-
__exportStar(require("./vitals"), exports);
|
|
25
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,8CAA4B;AAC5B,gDAA8B;AAC9B,+CAA6B;AAC7B,iDAA+B;AAC/B,+CAA6B;AAC7B,4CAA0B;AAC1B,2CAAyB"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import z from "zod";
|
|
2
|
-
export declare const athenaJwtTokenDataSchema: z.ZodObject<{
|
|
3
|
-
ah_practice: z.ZodString;
|
|
4
|
-
ah_department: z.ZodString;
|
|
5
|
-
source: z.ZodLiteral<"athenahealth">;
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
ah_practice: string;
|
|
8
|
-
ah_department: string;
|
|
9
|
-
source: "athenahealth";
|
|
10
|
-
}, {
|
|
11
|
-
ah_practice: string;
|
|
12
|
-
ah_department: string;
|
|
13
|
-
source: "athenahealth";
|
|
14
|
-
}>;
|
|
15
|
-
export type AthenaJwtTokenData = z.infer<typeof athenaJwtTokenDataSchema>;
|
|
16
|
-
export type AthenaClientJwtTokenData = {
|
|
17
|
-
practiceId: string;
|
|
18
|
-
cxId: string;
|
|
19
|
-
source: "athenahealth-client";
|
|
20
|
-
};
|
|
21
|
-
export declare const athenaClientJwtTokenResponseSchema: z.ZodObject<{
|
|
22
|
-
scope: z.ZodString;
|
|
23
|
-
access_token: z.ZodString;
|
|
24
|
-
expires_in: z.ZodString;
|
|
25
|
-
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
scope: string;
|
|
27
|
-
access_token: string;
|
|
28
|
-
expires_in: string;
|
|
29
|
-
}, {
|
|
30
|
-
scope: string;
|
|
31
|
-
access_token: string;
|
|
32
|
-
expires_in: string;
|
|
33
|
-
}>;
|
|
34
|
-
//# sourceMappingURL=jwt-token.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jwt-token.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/jwt-token.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,qBAAqB,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAI7C,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.athenaClientJwtTokenResponseSchema = exports.athenaJwtTokenDataSchema = void 0;
|
|
7
|
-
const zod_1 = __importDefault(require("zod"));
|
|
8
|
-
exports.athenaJwtTokenDataSchema = zod_1.default.object({
|
|
9
|
-
ah_practice: zod_1.default.string(),
|
|
10
|
-
ah_department: zod_1.default.string(),
|
|
11
|
-
source: zod_1.default.literal("athenahealth"),
|
|
12
|
-
});
|
|
13
|
-
exports.athenaClientJwtTokenResponseSchema = zod_1.default.object({
|
|
14
|
-
scope: zod_1.default.string(),
|
|
15
|
-
access_token: zod_1.default.string(),
|
|
16
|
-
expires_in: zod_1.default.coerce.string(),
|
|
17
|
-
});
|
|
18
|
-
//# sourceMappingURL=jwt-token.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jwt-token.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/jwt-token.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAoB;AAEP,QAAA,wBAAwB,GAAG,aAAC,CAAC,MAAM,CAAC;IAC/C,WAAW,EAAE,aAAC,CAAC,MAAM,EAAE;IACvB,aAAa,EAAE,aAAC,CAAC,MAAM,EAAE;IACzB,MAAM,EAAE,aAAC,CAAC,OAAO,CAAC,cAAc,CAAC;CAClC,CAAC,CAAC;AAUU,QAAA,kCAAkC,GAAG,aAAC,CAAC,MAAM,CAAC;IACzD,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE;IACjB,YAAY,EAAE,aAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,aAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC9B,CAAC,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const createdMedicationSchema: z.ZodObject<{
|
|
3
|
-
success: z.ZodBoolean;
|
|
4
|
-
errormessage: z.ZodOptional<z.ZodString>;
|
|
5
|
-
medicationentryid: z.ZodOptional<z.ZodString>;
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
success: boolean;
|
|
8
|
-
errormessage?: string | undefined;
|
|
9
|
-
medicationentryid?: string | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
success: boolean;
|
|
12
|
-
errormessage?: string | undefined;
|
|
13
|
-
medicationentryid?: string | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
export type CreatedMedication = z.infer<typeof createdMedicationSchema>;
|
|
16
|
-
export declare const createdMedicationSuccessSchema: z.ZodObject<{
|
|
17
|
-
success: z.ZodLiteral<true>;
|
|
18
|
-
medicationentryid: z.ZodString;
|
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
success: true;
|
|
21
|
-
medicationentryid: string;
|
|
22
|
-
}, {
|
|
23
|
-
success: true;
|
|
24
|
-
medicationentryid: string;
|
|
25
|
-
}>;
|
|
26
|
-
export type CreatedMedicationSuccess = z.infer<typeof createdMedicationSuccessSchema>;
|
|
27
|
-
declare const medicationReferenceSchema: z.ZodObject<{
|
|
28
|
-
medication: z.ZodString;
|
|
29
|
-
medicationid: z.ZodNumber;
|
|
30
|
-
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
medication: string;
|
|
32
|
-
medicationid: number;
|
|
33
|
-
}, {
|
|
34
|
-
medication: string;
|
|
35
|
-
medicationid: number;
|
|
36
|
-
}>;
|
|
37
|
-
export type MedicationReference = z.infer<typeof medicationReferenceSchema>;
|
|
38
|
-
export declare const medicationReferencesSchema: z.ZodArray<z.ZodObject<{
|
|
39
|
-
medication: z.ZodString;
|
|
40
|
-
medicationid: z.ZodNumber;
|
|
41
|
-
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
medication: string;
|
|
43
|
-
medicationid: number;
|
|
44
|
-
}, {
|
|
45
|
-
medication: string;
|
|
46
|
-
medicationid: number;
|
|
47
|
-
}>, "many">;
|
|
48
|
-
export type MedicationReferences = z.infer<typeof medicationReferencesSchema>;
|
|
49
|
-
export {};
|
|
50
|
-
//# sourceMappingURL=medication.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"medication.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/medication.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,8BAA8B;;;;;;;;;EAGzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,QAAA,MAAM,yBAAyB;;;;;;;;;EAG7B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,eAAO,MAAM,0BAA0B;;;;;;;;;WAAoC,CAAC;AAC5E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.medicationReferencesSchema = exports.createdMedicationSuccessSchema = exports.createdMedicationSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.createdMedicationSchema = zod_1.z.object({
|
|
6
|
-
success: zod_1.z.boolean(),
|
|
7
|
-
errormessage: zod_1.z.string().optional(),
|
|
8
|
-
medicationentryid: zod_1.z.coerce.string().optional(),
|
|
9
|
-
});
|
|
10
|
-
exports.createdMedicationSuccessSchema = zod_1.z.object({
|
|
11
|
-
success: zod_1.z.literal(true),
|
|
12
|
-
medicationentryid: zod_1.z.coerce.string(),
|
|
13
|
-
});
|
|
14
|
-
const medicationReferenceSchema = zod_1.z.object({
|
|
15
|
-
medication: zod_1.z.string(),
|
|
16
|
-
medicationid: zod_1.z.number(),
|
|
17
|
-
});
|
|
18
|
-
exports.medicationReferencesSchema = medicationReferenceSchema.array();
|
|
19
|
-
//# sourceMappingURL=medication.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"medication.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/medication.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,iBAAiB,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC;AAEU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,OAAO,EAAE,OAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACxB,iBAAiB,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CACrC,CAAC,CAAC;AAGH,MAAM,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC;AAEU,QAAA,0BAA0B,GAAG,yBAAyB,CAAC,KAAK,EAAE,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const createdProblemSchema: z.ZodObject<{
|
|
3
|
-
success: z.ZodBoolean;
|
|
4
|
-
errormessage: z.ZodOptional<z.ZodString>;
|
|
5
|
-
problemid: z.ZodOptional<z.ZodString>;
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
success: boolean;
|
|
8
|
-
errormessage?: string | undefined;
|
|
9
|
-
problemid?: string | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
success: boolean;
|
|
12
|
-
errormessage?: string | undefined;
|
|
13
|
-
problemid?: string | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
export type CreatedProblem = z.infer<typeof createdProblemSchema>;
|
|
16
|
-
export declare const createdProblemSuccessSchema: z.ZodObject<{
|
|
17
|
-
success: z.ZodLiteral<true>;
|
|
18
|
-
problemid: z.ZodString;
|
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
success: true;
|
|
21
|
-
problemid: string;
|
|
22
|
-
}, {
|
|
23
|
-
success: true;
|
|
24
|
-
problemid: string;
|
|
25
|
-
}>;
|
|
26
|
-
export type CreatedProblemSuccess = z.infer<typeof createdProblemSuccessSchema>;
|
|
27
|
-
//# sourceMappingURL=problem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"problem.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/problem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createdProblemSuccessSchema = exports.createdProblemSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.createdProblemSchema = zod_1.z.object({
|
|
6
|
-
success: zod_1.z.boolean(),
|
|
7
|
-
errormessage: zod_1.z.string().optional(),
|
|
8
|
-
problemid: zod_1.z.coerce.string().optional(),
|
|
9
|
-
});
|
|
10
|
-
exports.createdProblemSuccessSchema = zod_1.z.object({
|
|
11
|
-
success: zod_1.z.literal(true),
|
|
12
|
-
problemid: zod_1.z.coerce.string(),
|
|
13
|
-
});
|
|
14
|
-
//# sourceMappingURL=problem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"problem.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/problem.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,OAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACxB,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;CAC7B,CAAC,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export type FeedType = "appointments";
|
|
3
|
-
export type EventType = "ScheduleAppointment";
|
|
4
|
-
export declare const createdSubscriptionSchema: z.ZodObject<{
|
|
5
|
-
success: z.ZodBoolean;
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
success: boolean;
|
|
8
|
-
}, {
|
|
9
|
-
success: boolean;
|
|
10
|
-
}>;
|
|
11
|
-
export type CreatedSubscription = z.infer<typeof createdSubscriptionSchema>;
|
|
12
|
-
export declare const createdSubscriptionSuccessSchema: z.ZodObject<{
|
|
13
|
-
success: z.ZodLiteral<true>;
|
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
success: true;
|
|
16
|
-
}, {
|
|
17
|
-
success: true;
|
|
18
|
-
}>;
|
|
19
|
-
export type CreatedSubscriptionSuccess = z.infer<typeof createdSubscriptionSuccessSchema>;
|
|
20
|
-
//# sourceMappingURL=subscription.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC;AAEtC,MAAM,MAAM,SAAS,GAAG,qBAAqB,CAAC;AAE9C,eAAO,MAAM,yBAAyB;;;;;;EAEpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,eAAO,MAAM,gCAAgC;;;;;;EAE3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createdSubscriptionSuccessSchema = exports.createdSubscriptionSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.createdSubscriptionSchema = zod_1.z.object({
|
|
6
|
-
success: zod_1.z.boolean(),
|
|
7
|
-
});
|
|
8
|
-
exports.createdSubscriptionSuccessSchema = zod_1.z.object({
|
|
9
|
-
success: zod_1.z.literal(true),
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=subscription.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/subscription.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAMX,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;CACrB,CAAC,CAAC;AAEU,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,OAAO,EAAE,OAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CACzB,CAAC,CAAC"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const createdVitalsSchema: z.ZodObject<{
|
|
3
|
-
success: z.ZodBoolean;
|
|
4
|
-
errormessage: z.ZodOptional<z.ZodString>;
|
|
5
|
-
vitalids: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6
|
-
vitalid: z.ZodString;
|
|
7
|
-
clinicalelementid: z.ZodString;
|
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
vitalid: string;
|
|
10
|
-
clinicalelementid: string;
|
|
11
|
-
}, {
|
|
12
|
-
vitalid: string;
|
|
13
|
-
clinicalelementid: string;
|
|
14
|
-
}>, "many">>;
|
|
15
|
-
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
success: boolean;
|
|
17
|
-
errormessage?: string | undefined;
|
|
18
|
-
vitalids?: {
|
|
19
|
-
vitalid: string;
|
|
20
|
-
clinicalelementid: string;
|
|
21
|
-
}[] | undefined;
|
|
22
|
-
}, {
|
|
23
|
-
success: boolean;
|
|
24
|
-
errormessage?: string | undefined;
|
|
25
|
-
vitalids?: {
|
|
26
|
-
vitalid: string;
|
|
27
|
-
clinicalelementid: string;
|
|
28
|
-
}[] | undefined;
|
|
29
|
-
}>;
|
|
30
|
-
export type CreatedVitals = z.infer<typeof createdVitalsSchema>;
|
|
31
|
-
export declare const createdVitalsSuccessSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
32
|
-
success: z.ZodBoolean;
|
|
33
|
-
errormessage: z.ZodOptional<z.ZodString>;
|
|
34
|
-
vitalids: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35
|
-
vitalid: z.ZodString;
|
|
36
|
-
clinicalelementid: z.ZodString;
|
|
37
|
-
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
vitalid: string;
|
|
39
|
-
clinicalelementid: string;
|
|
40
|
-
}, {
|
|
41
|
-
vitalid: string;
|
|
42
|
-
clinicalelementid: string;
|
|
43
|
-
}>, "many">>;
|
|
44
|
-
}, {
|
|
45
|
-
success: z.ZodLiteral<true>;
|
|
46
|
-
vitalids: z.ZodArray<z.ZodObject<{
|
|
47
|
-
vitalid: z.ZodString;
|
|
48
|
-
clinicalelementid: z.ZodString;
|
|
49
|
-
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
vitalid: string;
|
|
51
|
-
clinicalelementid: string;
|
|
52
|
-
}, {
|
|
53
|
-
vitalid: string;
|
|
54
|
-
clinicalelementid: string;
|
|
55
|
-
}>, "many">;
|
|
56
|
-
}>, "strip", z.ZodTypeAny, {
|
|
57
|
-
success: true;
|
|
58
|
-
vitalids: {
|
|
59
|
-
vitalid: string;
|
|
60
|
-
clinicalelementid: string;
|
|
61
|
-
}[];
|
|
62
|
-
errormessage?: string | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
success: true;
|
|
65
|
-
vitalids: {
|
|
66
|
-
vitalid: string;
|
|
67
|
-
clinicalelementid: string;
|
|
68
|
-
}[];
|
|
69
|
-
errormessage?: string | undefined;
|
|
70
|
-
}>;
|
|
71
|
-
export type CreatedVitalsSuccess = z.infer<typeof createdVitalsSuccessSchema>;
|
|
72
|
-
export type VitalsCreateParams = {
|
|
73
|
-
departmentid: string;
|
|
74
|
-
returnvitalids: boolean;
|
|
75
|
-
source: string;
|
|
76
|
-
vitals: {
|
|
77
|
-
[key: string]: string | undefined;
|
|
78
|
-
}[][];
|
|
79
|
-
THIRDPARTYUSERNAME: string | undefined;
|
|
80
|
-
PATIENTFACINGCALL: string | undefined;
|
|
81
|
-
};
|
|
82
|
-
//# sourceMappingURL=vitals.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vitals.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/vitals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;KAAE,EAAE,EAAE,CAAC;IAClD,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createdVitalsSuccessSchema = exports.createdVitalsSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const vitalIdSchema = zod_1.z.object({ vitalid: zod_1.z.coerce.string(), clinicalelementid: zod_1.z.string() });
|
|
6
|
-
exports.createdVitalsSchema = zod_1.z.object({
|
|
7
|
-
success: zod_1.z.boolean(),
|
|
8
|
-
errormessage: zod_1.z.string().optional(),
|
|
9
|
-
vitalids: vitalIdSchema.array().optional(),
|
|
10
|
-
});
|
|
11
|
-
exports.createdVitalsSuccessSchema = exports.createdVitalsSchema.extend({
|
|
12
|
-
success: zod_1.z.literal(true),
|
|
13
|
-
vitalids: vitalIdSchema.array(),
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=vitals.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vitals.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/vitals.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAEjF,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,QAAQ,EAAE,aAAa,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC;AAGU,QAAA,0BAA0B,GAAG,2BAAmB,CAAC,MAAM,CAAC;IACnE,OAAO,EAAE,OAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACxB,QAAQ,EAAE,aAAa,CAAC,KAAK,EAAE;CAChC,CAAC,CAAC"}
|