@metriport/shared 0.23.7 → 0.23.8
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/common/__tests__/date.test.js +116 -68
- package/dist/common/__tests__/date.test.js.map +1 -1
- package/dist/common/date.d.ts +5 -1
- package/dist/common/date.d.ts.map +1 -1
- package/dist/common/date.js +6 -2
- package/dist/common/date.js.map +1 -1
- package/dist/domain/jwt-token.d.ts +1 -0
- package/dist/domain/jwt-token.d.ts.map +1 -1
- package/dist/error/shared.d.ts.map +1 -1
- package/dist/error/shared.js +2 -0
- package/dist/error/shared.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/allergy.d.ts +206 -0
- package/dist/interface/external/ehr/athenahealth/allergy.d.ts.map +1 -0
- package/dist/interface/external/ehr/athenahealth/allergy.js +44 -0
- package/dist/interface/external/ehr/athenahealth/allergy.js.map +1 -0
- package/dist/interface/external/ehr/athenahealth/clinical-document.d.ts +27 -0
- package/dist/interface/external/ehr/athenahealth/clinical-document.d.ts.map +1 -0
- package/dist/interface/external/ehr/athenahealth/clinical-document.js +14 -0
- package/dist/interface/external/ehr/athenahealth/clinical-document.js.map +1 -0
- package/dist/interface/external/ehr/athenahealth/index.d.ts +5 -0
- package/dist/interface/external/ehr/athenahealth/index.d.ts.map +1 -1
- package/dist/interface/external/ehr/athenahealth/index.js +5 -0
- package/dist/interface/external/ehr/athenahealth/index.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/lab-result.d.ts +27 -0
- package/dist/interface/external/ehr/athenahealth/lab-result.d.ts.map +1 -0
- package/dist/interface/external/ehr/athenahealth/lab-result.js +14 -0
- package/dist/interface/external/ehr/athenahealth/lab-result.js.map +1 -0
- package/dist/interface/external/ehr/athenahealth/medication.d.ts +19 -6
- package/dist/interface/external/ehr/athenahealth/medication.d.ts.map +1 -1
- package/dist/interface/external/ehr/athenahealth/medication.js +1 -1
- package/dist/interface/external/ehr/athenahealth/medication.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/surgical-history.d.ts +27 -0
- package/dist/interface/external/ehr/athenahealth/surgical-history.d.ts.map +1 -0
- package/dist/interface/external/ehr/athenahealth/surgical-history.js +14 -0
- package/dist/interface/external/ehr/athenahealth/surgical-history.js.map +1 -0
- package/dist/interface/external/ehr/athenahealth/vaccine.d.ts +18 -0
- package/dist/interface/external/ehr/athenahealth/vaccine.d.ts.map +1 -0
- package/dist/interface/external/ehr/athenahealth/vaccine.js +11 -0
- package/dist/interface/external/ehr/athenahealth/vaccine.js.map +1 -0
- package/dist/interface/external/ehr/athenahealth/vitals.d.ts +2 -17
- package/dist/interface/external/ehr/athenahealth/vitals.d.ts.map +1 -1
- package/dist/interface/external/ehr/athenahealth/vitals.js +2 -2
- package/dist/interface/external/ehr/athenahealth/vitals.js.map +1 -1
- package/dist/interface/external/ehr/fhir-resource.d.ts +69 -0
- package/dist/interface/external/ehr/fhir-resource.d.ts.map +1 -1
- package/dist/interface/external/ehr/fhir-resource.js +12 -1
- package/dist/interface/external/ehr/fhir-resource.js.map +1 -1
- package/dist/net/error.d.ts +2 -2
- package/dist/net/error.d.ts.map +1 -1
- package/dist/net/error.js +5 -1
- package/dist/net/error.js.map +1 -1
- package/package.json +2 -2
- package/dist/common/titleCase.d.ts +0 -2
- package/dist/common/titleCase.d.ts.map +0 -1
- package/dist/common/titleCase.js +0 -10
- package/dist/common/titleCase.js.map +0 -1
- package/dist/domain/address/__tests__/normalize-zip.test.d.ts +0 -2
- package/dist/domain/address/__tests__/normalize-zip.test.d.ts.map +0 -1
- package/dist/domain/address/__tests__/normalize-zip.test.js +0 -83
- package/dist/domain/address/__tests__/normalize-zip.test.js.map +0 -1
- package/dist/domain/patient/patient-import.d.ts +0 -131
- package/dist/domain/patient/patient-import.d.ts.map +0 -1
- package/dist/domain/patient/patient-import.js +0 -32
- package/dist/domain/patient/patient-import.js.map +0 -1
- 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/patient.d.ts +0 -44
- package/dist/interface/external/athenahealth/patient.d.ts.map +0 -1
- package/dist/interface/external/athenahealth/patient.js +0 -15
- package/dist/interface/external/athenahealth/patient.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/ehr/resource-diff.d.ts +0 -7
- package/dist/interface/external/ehr/resource-diff.d.ts.map +0 -1
- package/dist/interface/external/ehr/resource-diff.js +0 -12
- package/dist/interface/external/ehr/resource-diff.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/elation/subscription.d.ts +0 -2
- package/dist/interface/external/elation/subscription.d.ts.map +0 -1
- package/dist/interface/external/elation/subscription.js +0 -3
- package/dist/interface/external/elation/subscription.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
- package/dist/validators/driver-license/__tests__/index.test.d.ts +0 -2
- package/dist/validators/driver-license/__tests__/index.test.d.ts.map +0 -1
- package/dist/validators/driver-license/__tests__/index.test.js +0 -87
- package/dist/validators/driver-license/__tests__/index.test.js.map +0 -1
- package/dist/validators/driver-license/ca-dl.d.ts +0 -6
- package/dist/validators/driver-license/ca-dl.d.ts.map +0 -1
- package/dist/validators/driver-license/ca-dl.js +0 -87
- package/dist/validators/driver-license/ca-dl.js.map +0 -1
- package/dist/validators/driver-license/index.d.ts +0 -18
- package/dist/validators/driver-license/index.d.ts.map +0 -1
- package/dist/validators/driver-license/index.js +0 -86
- package/dist/validators/driver-license/index.js.map +0 -1
- package/dist/validators/driver-license/interfaces.d.ts +0 -33
- package/dist/validators/driver-license/interfaces.d.ts.map +0 -1
- package/dist/validators/driver-license/interfaces.js +0 -3
- package/dist/validators/driver-license/interfaces.js.map +0 -1
- package/dist/validators/driver-license/us-dl.d.ts +0 -6
- package/dist/validators/driver-license/us-dl.d.ts.map +0 -1
- package/dist/validators/driver-license/us-dl.js +0 -471
- package/dist/validators/driver-license/us-dl.js.map +0 -1
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const patientCustomFieldSchema: z.ZodObject<{
|
|
3
|
-
customfieldid: z.ZodString;
|
|
4
|
-
customfieldvalue: z.ZodString;
|
|
5
|
-
optionid: z.ZodOptional<z.ZodString>;
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
customfieldid: string;
|
|
8
|
-
customfieldvalue: string;
|
|
9
|
-
optionid?: string | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
customfieldid: string;
|
|
12
|
-
customfieldvalue: string;
|
|
13
|
-
optionid?: string | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
export type PatientCustomField = z.infer<typeof patientCustomFieldSchema>;
|
|
16
|
-
export declare const patientsCustomFieldsSchema: z.ZodArray<z.ZodObject<{
|
|
17
|
-
customfields: z.ZodArray<z.ZodObject<{
|
|
18
|
-
customfieldid: z.ZodString;
|
|
19
|
-
customfieldvalue: z.ZodString;
|
|
20
|
-
optionid: z.ZodOptional<z.ZodString>;
|
|
21
|
-
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
customfieldid: string;
|
|
23
|
-
customfieldvalue: string;
|
|
24
|
-
optionid?: string | undefined;
|
|
25
|
-
}, {
|
|
26
|
-
customfieldid: string;
|
|
27
|
-
customfieldvalue: string;
|
|
28
|
-
optionid?: string | undefined;
|
|
29
|
-
}>, "many">;
|
|
30
|
-
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
customfields: {
|
|
32
|
-
customfieldid: string;
|
|
33
|
-
customfieldvalue: string;
|
|
34
|
-
optionid?: string | undefined;
|
|
35
|
-
}[];
|
|
36
|
-
}, {
|
|
37
|
-
customfields: {
|
|
38
|
-
customfieldid: string;
|
|
39
|
-
customfieldvalue: string;
|
|
40
|
-
optionid?: string | undefined;
|
|
41
|
-
}[];
|
|
42
|
-
}>, "many">;
|
|
43
|
-
export type PatientsCustomFields = z.infer<typeof patientsCustomFieldsSchema>;
|
|
44
|
-
//# sourceMappingURL=patient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"patient.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/patient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;WAI7B,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.patientsCustomFieldsSchema = exports.patientCustomFieldSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.patientCustomFieldSchema = zod_1.z.object({
|
|
6
|
-
customfieldid: zod_1.z.string(),
|
|
7
|
-
customfieldvalue: zod_1.z.string(),
|
|
8
|
-
optionid: zod_1.z.string().optional(),
|
|
9
|
-
});
|
|
10
|
-
exports.patientsCustomFieldsSchema = zod_1.z
|
|
11
|
-
.object({
|
|
12
|
-
customfields: exports.patientCustomFieldSchema.array(),
|
|
13
|
-
})
|
|
14
|
-
.array();
|
|
15
|
-
//# sourceMappingURL=patient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"patient.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/patient.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAEU,QAAA,0BAA0B,GAAG,OAAC;KACxC,MAAM,CAAC;IACN,YAAY,EAAE,gCAAwB,CAAC,KAAK,EAAE;CAC/C,CAAC;KACD,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"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const bookedAppointmentSchema: z.ZodObject<{
|
|
3
|
-
patient: z.ZodString;
|
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
patient: string;
|
|
6
|
-
}, {
|
|
7
|
-
patient: string;
|
|
8
|
-
}>;
|
|
9
|
-
export type BookedAppointment = z.infer<typeof bookedAppointmentSchema>;
|
|
10
|
-
export declare const appointmentSchema: z.ZodObject<{
|
|
11
|
-
patient: z.ZodNullable<z.ZodString>;
|
|
12
|
-
status: z.ZodNullable<z.ZodObject<{
|
|
13
|
-
status: z.ZodString;
|
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
status: string;
|
|
16
|
-
}, {
|
|
17
|
-
status: string;
|
|
18
|
-
}>>;
|
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
status: {
|
|
21
|
-
status: string;
|
|
22
|
-
} | null;
|
|
23
|
-
patient: string | null;
|
|
24
|
-
}, {
|
|
25
|
-
status: {
|
|
26
|
-
status: string;
|
|
27
|
-
} | null;
|
|
28
|
-
patient: string | null;
|
|
29
|
-
}>;
|
|
30
|
-
export type Appointment = z.infer<typeof appointmentSchema>;
|
|
31
|
-
export declare const appointmentsSchema: z.ZodObject<{
|
|
32
|
-
results: z.ZodArray<z.ZodObject<{
|
|
33
|
-
patient: z.ZodNullable<z.ZodString>;
|
|
34
|
-
status: z.ZodNullable<z.ZodObject<{
|
|
35
|
-
status: z.ZodString;
|
|
36
|
-
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
status: string;
|
|
38
|
-
}, {
|
|
39
|
-
status: string;
|
|
40
|
-
}>>;
|
|
41
|
-
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
status: {
|
|
43
|
-
status: string;
|
|
44
|
-
} | null;
|
|
45
|
-
patient: string | null;
|
|
46
|
-
}, {
|
|
47
|
-
status: {
|
|
48
|
-
status: string;
|
|
49
|
-
} | null;
|
|
50
|
-
patient: string | null;
|
|
51
|
-
}>, "many">;
|
|
52
|
-
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
results: {
|
|
54
|
-
status: {
|
|
55
|
-
status: string;
|
|
56
|
-
} | null;
|
|
57
|
-
patient: string | null;
|
|
58
|
-
}[];
|
|
59
|
-
}, {
|
|
60
|
-
results: {
|
|
61
|
-
status: {
|
|
62
|
-
status: string;
|
|
63
|
-
} | null;
|
|
64
|
-
patient: string | null;
|
|
65
|
-
}[];
|
|
66
|
-
}>;
|
|
67
|
-
export type Appointments = z.infer<typeof appointmentsSchema>;
|
|
68
|
-
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/canvas/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,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.appointmentsSchema = exports.appointmentSchema = exports.bookedAppointmentSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.bookedAppointmentSchema = zod_1.z.object({
|
|
6
|
-
patient: zod_1.z.coerce.string(),
|
|
7
|
-
});
|
|
8
|
-
exports.appointmentSchema = zod_1.z.object({
|
|
9
|
-
patient: zod_1.z.coerce.string().nullable(),
|
|
10
|
-
status: zod_1.z.object({ status: zod_1.z.string() }).nullable(),
|
|
11
|
-
});
|
|
12
|
-
exports.appointmentsSchema = zod_1.z.object({
|
|
13
|
-
results: exports.appointmentSchema.array(),
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=appointment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../src/interface/external/canvas/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,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,OAAO,EAAE,yBAAiB,CAAC,KAAK,EAAE;CACnC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/canvas/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
|
|
@@ -1,19 +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("./jwt-token"), exports);
|
|
18
|
-
__exportStar(require("./appointment"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/external/canvas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,gDAA8B"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import z from "zod";
|
|
2
|
-
export declare const canvasJwtTokenDataSchema: z.ZodObject<{
|
|
3
|
-
practiceId: z.ZodString;
|
|
4
|
-
source: z.ZodLiteral<"canvas">;
|
|
5
|
-
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
source: "canvas";
|
|
7
|
-
practiceId: string;
|
|
8
|
-
}, {
|
|
9
|
-
source: "canvas";
|
|
10
|
-
practiceId: string;
|
|
11
|
-
}>;
|
|
12
|
-
export type CanvasJwtTokenData = z.infer<typeof canvasJwtTokenDataSchema>;
|
|
13
|
-
export type CanvasClientJwtTokenData = {
|
|
14
|
-
practiceId: string;
|
|
15
|
-
cxId: string;
|
|
16
|
-
source: "canvas-client";
|
|
17
|
-
};
|
|
18
|
-
export declare const canvasClientJwtTokenResponseSchema: z.ZodObject<{
|
|
19
|
-
scope: z.ZodString;
|
|
20
|
-
access_token: z.ZodString;
|
|
21
|
-
expires_in: z.ZodString;
|
|
22
|
-
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
scope: string;
|
|
24
|
-
access_token: string;
|
|
25
|
-
expires_in: string;
|
|
26
|
-
}, {
|
|
27
|
-
scope: string;
|
|
28
|
-
access_token: string;
|
|
29
|
-
expires_in: string;
|
|
30
|
-
}>;
|
|
31
|
-
//# sourceMappingURL=jwt-token.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jwt-token.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/canvas/jwt-token.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,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,eAAe,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAI7C,CAAC"}
|
|
@@ -1,17 +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.canvasClientJwtTokenResponseSchema = exports.canvasJwtTokenDataSchema = void 0;
|
|
7
|
-
const zod_1 = __importDefault(require("zod"));
|
|
8
|
-
exports.canvasJwtTokenDataSchema = zod_1.default.object({
|
|
9
|
-
practiceId: zod_1.default.string(),
|
|
10
|
-
source: zod_1.default.literal("canvas"),
|
|
11
|
-
});
|
|
12
|
-
exports.canvasClientJwtTokenResponseSchema = zod_1.default.object({
|
|
13
|
-
scope: zod_1.default.string(),
|
|
14
|
-
access_token: zod_1.default.string(),
|
|
15
|
-
expires_in: zod_1.default.coerce.string(),
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=jwt-token.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jwt-token.js","sourceRoot":"","sources":["../../../../src/interface/external/canvas/jwt-token.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAoB;AAEP,QAAA,wBAAwB,GAAG,aAAC,CAAC,MAAM,CAAC;IAC/C,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE;IACtB,MAAM,EAAE,aAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;CAC5B,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,7 +0,0 @@
|
|
|
1
|
-
export declare const ResourceDiffDirection: {
|
|
2
|
-
readonly METRIPORT_ONLY: "metriport-only";
|
|
3
|
-
readonly CANVAS_ONLY: "canvas-only";
|
|
4
|
-
};
|
|
5
|
-
export type ResourceDiffDirection = (typeof ResourceDiffDirection)[keyof typeof ResourceDiffDirection];
|
|
6
|
-
export declare function isResourceDiffDirection(direction: string): direction is ResourceDiffDirection;
|
|
7
|
-
//# sourceMappingURL=resource-diff.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource-diff.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/ehr/resource-diff.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB;;;CAGxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAC/B,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AACrE,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,IAAI,qBAAqB,CAE7F"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isResourceDiffDirection = exports.ResourceDiffDirection = void 0;
|
|
4
|
-
exports.ResourceDiffDirection = {
|
|
5
|
-
METRIPORT_ONLY: "metriport-only",
|
|
6
|
-
CANVAS_ONLY: "canvas-only",
|
|
7
|
-
};
|
|
8
|
-
function isResourceDiffDirection(direction) {
|
|
9
|
-
return Object.values(exports.ResourceDiffDirection).includes(direction);
|
|
10
|
-
}
|
|
11
|
-
exports.isResourceDiffDirection = isResourceDiffDirection;
|
|
12
|
-
//# sourceMappingURL=resource-diff.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource-diff.js","sourceRoot":"","sources":["../../../../src/interface/external/ehr/resource-diff.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG;IACnC,cAAc,EAAE,gBAAgB;IAChC,WAAW,EAAE,aAAa;CAClB,CAAC;AAGX,SAAgB,uBAAuB,CAAC,SAAiB;IACvD,OAAO,MAAM,CAAC,MAAM,CAAC,6BAAqB,CAAC,CAAC,QAAQ,CAAC,SAAkC,CAAC,CAAC;AAC3F,CAAC;AAFD,0DAEC"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const bookedAppointmentSchema: z.ZodObject<{
|
|
3
|
-
patient: z.ZodString;
|
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
patient: string;
|
|
6
|
-
}, {
|
|
7
|
-
patient: string;
|
|
8
|
-
}>;
|
|
9
|
-
export type BookedAppointment = z.infer<typeof bookedAppointmentSchema>;
|
|
10
|
-
export declare const appointmentSchema: z.ZodObject<{
|
|
11
|
-
patient: z.ZodNullable<z.ZodString>;
|
|
12
|
-
status: z.ZodNullable<z.ZodObject<{
|
|
13
|
-
status: z.ZodString;
|
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
status: string;
|
|
16
|
-
}, {
|
|
17
|
-
status: string;
|
|
18
|
-
}>>;
|
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
status: {
|
|
21
|
-
status: string;
|
|
22
|
-
} | null;
|
|
23
|
-
patient: string | null;
|
|
24
|
-
}, {
|
|
25
|
-
status: {
|
|
26
|
-
status: string;
|
|
27
|
-
} | null;
|
|
28
|
-
patient: string | null;
|
|
29
|
-
}>;
|
|
30
|
-
export type Appointment = z.infer<typeof appointmentSchema>;
|
|
31
|
-
export declare const appointmentsSchema: z.ZodObject<{
|
|
32
|
-
results: z.ZodArray<z.ZodObject<{
|
|
33
|
-
patient: z.ZodNullable<z.ZodString>;
|
|
34
|
-
status: z.ZodNullable<z.ZodObject<{
|
|
35
|
-
status: z.ZodString;
|
|
36
|
-
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
status: string;
|
|
38
|
-
}, {
|
|
39
|
-
status: string;
|
|
40
|
-
}>>;
|
|
41
|
-
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
status: {
|
|
43
|
-
status: string;
|
|
44
|
-
} | null;
|
|
45
|
-
patient: string | null;
|
|
46
|
-
}, {
|
|
47
|
-
status: {
|
|
48
|
-
status: string;
|
|
49
|
-
} | null;
|
|
50
|
-
patient: string | null;
|
|
51
|
-
}>, "many">;
|
|
52
|
-
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
results: {
|
|
54
|
-
status: {
|
|
55
|
-
status: string;
|
|
56
|
-
} | null;
|
|
57
|
-
patient: string | null;
|
|
58
|
-
}[];
|
|
59
|
-
}, {
|
|
60
|
-
results: {
|
|
61
|
-
status: {
|
|
62
|
-
status: string;
|
|
63
|
-
} | null;
|
|
64
|
-
patient: string | null;
|
|
65
|
-
}[];
|
|
66
|
-
}>;
|
|
67
|
-
export type Appointments = z.infer<typeof appointmentsSchema>;
|
|
68
|
-
//# sourceMappingURL=appointment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/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,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.appointmentsSchema = exports.appointmentSchema = exports.bookedAppointmentSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.bookedAppointmentSchema = zod_1.z.object({
|
|
6
|
-
patient: zod_1.z.coerce.string(),
|
|
7
|
-
});
|
|
8
|
-
exports.appointmentSchema = zod_1.z.object({
|
|
9
|
-
patient: zod_1.z.coerce.string().nullable(),
|
|
10
|
-
status: zod_1.z.object({ status: zod_1.z.string() }).nullable(),
|
|
11
|
-
});
|
|
12
|
-
exports.appointmentsSchema = zod_1.z.object({
|
|
13
|
-
results: exports.appointmentSchema.array(),
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=appointment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../src/interface/external/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,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,OAAO,EAAE,yBAAiB,CAAC,KAAK,EAAE;CACnC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/elation/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
|
|
@@ -1,20 +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("./appointment"), exports);
|
|
18
|
-
__exportStar(require("./patient"), exports);
|
|
19
|
-
__exportStar(require("./jwt-token"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/external/elation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4CAA0B;AAC1B,8CAA4B"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import z from "zod";
|
|
2
|
-
export type ElationClientJwtTokenData = {
|
|
3
|
-
practiceId: string;
|
|
4
|
-
cxId: string;
|
|
5
|
-
source: "elation-client";
|
|
6
|
-
};
|
|
7
|
-
export declare const elationClientJwtTokenResponseSchema: z.ZodObject<{
|
|
8
|
-
scope: z.ZodString;
|
|
9
|
-
access_token: z.ZodString;
|
|
10
|
-
expires_in: z.ZodString;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
scope: string;
|
|
13
|
-
access_token: string;
|
|
14
|
-
expires_in: string;
|
|
15
|
-
}, {
|
|
16
|
-
scope: string;
|
|
17
|
-
access_token: string;
|
|
18
|
-
expires_in: string;
|
|
19
|
-
}>;
|
|
20
|
-
//# sourceMappingURL=jwt-token.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jwt-token.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/elation/jwt-token.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,MAAM,yBAAyB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,gBAAgB,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;EAI9C,CAAC"}
|