@metriport/shared 0.14.6-alpha.0 → 0.14.7-alpha.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/common/__tests__/boolean.test copy.d.ts +2 -0
- package/dist/common/__tests__/boolean.test copy.d.ts.map +1 -0
- package/dist/common/__tests__/boolean.test copy.js +46 -0
- package/dist/common/__tests__/boolean.test copy.js.map +1 -0
- package/dist/common/__tests__/date.test.d.ts +2 -0
- package/dist/common/__tests__/date.test.d.ts.map +1 -0
- package/dist/common/__tests__/date.test.js +12 -0
- package/dist/common/__tests__/date.test.js.map +1 -0
- package/dist/common/date.d.ts +1 -0
- package/dist/common/date.d.ts.map +1 -1
- package/dist/common/date.js +7 -1
- package/dist/common/date.js.map +1 -1
- package/dist/common/xml-parser.d.ts +2 -2
- package/dist/common/xml-parser.d.ts.map +1 -1
- package/dist/common/xml-parser.js.map +1 -1
- package/dist/interface/external/athenahealth/index.d.ts +2 -0
- package/dist/interface/external/athenahealth/index.d.ts.map +1 -1
- package/dist/interface/external/athenahealth/index.js +2 -0
- package/dist/interface/external/athenahealth/index.js.map +1 -1
- package/dist/interface/external/athenahealth/jwt-token.d.ts +24 -0
- package/dist/interface/external/athenahealth/jwt-token.d.ts.map +1 -1
- package/dist/interface/external/athenahealth/jwt-token.js +10 -0
- package/dist/interface/external/athenahealth/jwt-token.js.map +1 -1
- package/dist/interface/external/athenahealth/problem.d.ts +16 -0
- package/dist/interface/external/athenahealth/problem.d.ts.map +1 -0
- package/dist/interface/external/athenahealth/problem.js +10 -0
- package/dist/interface/external/athenahealth/problem.js.map +1 -0
- package/dist/interface/external/athenahealth/vitals.d.ts +26 -0
- package/dist/interface/external/athenahealth/vitals.d.ts.map +1 -0
- package/dist/interface/external/athenahealth/vitals.js +10 -0
- package/dist/interface/external/athenahealth/vitals.js.map +1 -0
- package/dist/interface/external/elation/appointment.d.ts +5 -5
- package/dist/interface/external/elation/appointment.d.ts.map +1 -1
- package/dist/interface/external/elation/appointment.js +1 -4
- package/dist/interface/external/elation/appointment.js.map +1 -1
- package/dist/interface/external/elation/patient.d.ts +5 -5
- package/dist/interface/external/elation/patient.js +1 -1
- package/dist/interface/external/elation/patient.js.map +1 -1
- package/dist/interface/internal/consolidated.d.ts +0 -3
- package/dist/interface/internal/consolidated.d.ts.map +1 -1
- package/dist/interface/internal/consolidated.js +0 -1
- package/dist/interface/internal/consolidated.js.map +1 -1
- package/dist/medical/webhook/webhook-request.d.ts +490 -0
- package/dist/medical/webhook/webhook-request.d.ts.map +1 -1
- package/dist/medical/webhook/webhook-request.js +33 -3
- package/dist/medical/webhook/webhook-request.js.map +1 -1
- package/package.json +12 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boolean.test copy.d.ts","sourceRoot":"","sources":["../../../src/common/__tests__/boolean.test copy.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const faker_1 = require("@faker-js/faker");
|
|
4
|
+
const boolean_1 = require("../boolean");
|
|
5
|
+
describe("isTrue", () => {
|
|
6
|
+
it("returns false when it gets null value", async () => {
|
|
7
|
+
expect((0, boolean_1.isTrue)(null)).toEqual(false);
|
|
8
|
+
});
|
|
9
|
+
it("returns false when it gets undefined value", async () => {
|
|
10
|
+
expect((0, boolean_1.isTrue)(undefined)).toEqual(false);
|
|
11
|
+
});
|
|
12
|
+
it("returns false when it gets object", async () => {
|
|
13
|
+
expect((0, boolean_1.isTrue)({})).toEqual(false);
|
|
14
|
+
});
|
|
15
|
+
it("returns false when it gets empty string", async () => {
|
|
16
|
+
expect((0, boolean_1.isTrue)("")).toEqual(false);
|
|
17
|
+
});
|
|
18
|
+
it("returns false when it gets string diff than 'true'", async () => {
|
|
19
|
+
expect((0, boolean_1.isTrue)(faker_1.faker.string.alpha())).toEqual(false);
|
|
20
|
+
});
|
|
21
|
+
it("returns true when it gets string 'true' in fixed caps", async () => {
|
|
22
|
+
expect((0, boolean_1.isTrue)("true")).toEqual(true);
|
|
23
|
+
});
|
|
24
|
+
it("returns true when it gets string 'true' in various caps", async () => {
|
|
25
|
+
expect((0, boolean_1.isTrue)("tRuE")).toEqual(true);
|
|
26
|
+
});
|
|
27
|
+
it("returns true when it gets string 'true' with prefix", async () => {
|
|
28
|
+
expect((0, boolean_1.isTrue)(" true")).toEqual(true);
|
|
29
|
+
});
|
|
30
|
+
it("returns true when it gets string 'true' with suffix", async () => {
|
|
31
|
+
expect((0, boolean_1.isTrue)("true ")).toEqual(true);
|
|
32
|
+
});
|
|
33
|
+
it("returns true when it gets boolean 'true'", async () => {
|
|
34
|
+
expect((0, boolean_1.isTrue)(true)).toEqual(true);
|
|
35
|
+
});
|
|
36
|
+
it("returns false when it gets boolean 'false'", async () => {
|
|
37
|
+
expect((0, boolean_1.isTrue)(false)).toEqual(false);
|
|
38
|
+
});
|
|
39
|
+
it("returns true when it gets object Boolean 'true'", async () => {
|
|
40
|
+
expect((0, boolean_1.isTrue)(Boolean(true))).toEqual(true);
|
|
41
|
+
});
|
|
42
|
+
it("returns false when it gets object Boolean 'false'", async () => {
|
|
43
|
+
expect((0, boolean_1.isTrue)(Boolean(false))).toEqual(false);
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
//# sourceMappingURL=boolean.test%20copy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"boolean.test copy.js","sourceRoot":"","sources":["../../../src/common/__tests__/boolean.test copy.ts"],"names":[],"mappings":";;AAAA,2CAAwC;AACxC,wCAAoC;AAEpC,QAAQ,CAAC,QAAQ,EAAE,GAAG,EAAE;IACtB,EAAE,CAAC,uCAAuC,EAAE,KAAK,IAAI,EAAE;QACrD,MAAM,CAAC,IAAA,gBAAM,EAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACtC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,4CAA4C,EAAE,KAAK,IAAI,EAAE;QAC1D,MAAM,CAAC,IAAA,gBAAM,EAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mCAAmC,EAAE,KAAK,IAAI,EAAE;QACjD,MAAM,CAAC,IAAA,gBAAM,EAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,yCAAyC,EAAE,KAAK,IAAI,EAAE;QACvD,MAAM,CAAC,IAAA,gBAAM,EAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oDAAoD,EAAE,KAAK,IAAI,EAAE;QAClE,MAAM,CAAC,IAAA,gBAAM,EAAC,aAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,uDAAuD,EAAE,KAAK,IAAI,EAAE;QACrE,MAAM,CAAC,IAAA,gBAAM,EAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,yDAAyD,EAAE,KAAK,IAAI,EAAE;QACvE,MAAM,CAAC,IAAA,gBAAM,EAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qDAAqD,EAAE,KAAK,IAAI,EAAE;QACnE,MAAM,CAAC,IAAA,gBAAM,EAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qDAAqD,EAAE,KAAK,IAAI,EAAE;QACnE,MAAM,CAAC,IAAA,gBAAM,EAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,0CAA0C,EAAE,KAAK,IAAI,EAAE;QACxD,MAAM,CAAC,IAAA,gBAAM,EAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,4CAA4C,EAAE,KAAK,IAAI,EAAE;QAC1D,MAAM,CAAC,IAAA,gBAAM,EAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACvC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iDAAiD,EAAE,KAAK,IAAI,EAAE;QAC/D,MAAM,CAAC,IAAA,gBAAM,EAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mDAAmD,EAAE,KAAK,IAAI,EAAE;QACjE,MAAM,CAAC,IAAA,gBAAM,EAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.test.d.ts","sourceRoot":"","sources":["../../../src/common/__tests__/date.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const date_1 = require("../date");
|
|
4
|
+
describe("shared date functions", () => {
|
|
5
|
+
describe("isValidISODate", () => {
|
|
6
|
+
it("returns true for dates from E2E tests", async () => {
|
|
7
|
+
expect((0, date_1.isValidISODate)("2024-12-18T03:50:00.006Z")).toEqual(true);
|
|
8
|
+
expect((0, date_1.isValidISODate)("2024-12-18T04:18:01.263Z")).toEqual(true);
|
|
9
|
+
});
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=date.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.test.js","sourceRoot":"","sources":["../../../src/common/__tests__/date.test.ts"],"names":[],"mappings":";;AAAA,kCAAyC;AAEzC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;QAC9B,EAAE,CAAC,uCAAuC,EAAE,KAAK,IAAI,EAAE;YACrD,MAAM,CAAC,IAAA,qBAAc,EAAC,0BAA0B,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACjE,MAAM,CAAC,IAAA,qBAAc,EAAC,0BAA0B,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACnE,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/common/date.d.ts
CHANGED
|
@@ -9,4 +9,5 @@ export declare const optionalDateSchema: z.ZodEffects<z.ZodOptional<z.ZodNullabl
|
|
|
9
9
|
export declare const dateSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
10
10
|
export declare function elapsedTimeFromNow(date?: Date, format?: dayjs.UnitTypeLong): number;
|
|
11
11
|
export declare function buildDayjs(date?: ConfigType, format?: string, strict?: boolean): dayjs.Dayjs;
|
|
12
|
+
export declare function sortDate(date1: ConfigType, date2: ConfigType, sortingOrder?: "asc" | "desc"): number;
|
|
12
13
|
//# sourceMappingURL=date.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/common/date.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/common/date.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAqB,CAAC,EAAE,MAAM,KAAK,CAAC;AAK3C,eAAO,MAAM,QAAQ,eAAe,CAAC;AAErC,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEpD;AAMD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAK7D;AACD,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAGjE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAQrE;AAID,eAAO,MAAM,kBAAkB,+GAIiB,CAAC;AAEjD,eAAO,MAAM,UAAU,2CAA0D,CAAC;AAElF,wBAAgB,kBAAkB,CAChC,IAAI,CAAC,EAAE,IAAI,EACX,MAAM,GAAE,KAAK,CAAC,YAA4B,GACzC,MAAM,CAER;AAED,wBAAgB,UAAU,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC,KAAK,CAE5F;AAED,wBAAgB,QAAQ,CACtB,KAAK,EAAE,UAAU,EACjB,KAAK,EAAE,UAAU,EACjB,YAAY,GAAE,KAAK,GAAG,MAAc,GACnC,MAAM,CAIR"}
|
package/dist/common/date.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.buildDayjs = exports.elapsedTimeFromNow = exports.dateSchema = exports.optionalDateSchema = exports.validateDateRange = exports.validateIsPastOrPresentSafe = exports.validateIsPastOrPresent = exports.isValidISODate = exports.ISO_DATE = void 0;
|
|
6
|
+
exports.sortDate = exports.buildDayjs = exports.elapsedTimeFromNow = exports.dateSchema = exports.optionalDateSchema = exports.validateDateRange = exports.validateIsPastOrPresentSafe = exports.validateIsPastOrPresent = exports.isValidISODate = exports.ISO_DATE = void 0;
|
|
7
7
|
const dayjs_1 = __importDefault(require("dayjs"));
|
|
8
8
|
const utc_1 = __importDefault(require("dayjs/plugin/utc"));
|
|
9
9
|
const zod_1 = require("zod");
|
|
@@ -55,4 +55,10 @@ function buildDayjs(date, format, strict) {
|
|
|
55
55
|
return dayjs_1.default.utc(date, format, strict);
|
|
56
56
|
}
|
|
57
57
|
exports.buildDayjs = buildDayjs;
|
|
58
|
+
function sortDate(date1, date2, sortingOrder = "asc") {
|
|
59
|
+
return sortingOrder === "desc"
|
|
60
|
+
? buildDayjs(date1).diff(buildDayjs(date2))
|
|
61
|
+
: buildDayjs(date2).diff(buildDayjs(date1));
|
|
62
|
+
}
|
|
63
|
+
exports.sortDate = sortDate;
|
|
58
64
|
//# sourceMappingURL=date.js.map
|
package/dist/common/date.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.js","sourceRoot":"","sources":["../../src/common/date.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0C;AAC1C,2DAAmC;
|
|
1
|
+
{"version":3,"file":"date.js","sourceRoot":"","sources":["../../src/common/date.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0C;AAC1C,2DAAmC;AACnC,6BAA2C;AAC3C,sDAAuD;AAEvD,eAAK,CAAC,MAAM,CAAC,aAAG,CAAC,CAAC;AAEL,QAAA,QAAQ,GAAG,YAAY,CAAC;AAErC,SAAgB,cAAc,CAAC,IAAY;IACzC,OAAO,UAAU,CAAC,IAAI,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;AACpD,CAAC;AAFD,wCAEC;AAED,SAAS,sBAAsB,CAAC,IAA+B;IAC7D,OAAO,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAC5C,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAY;IAClD,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,EAAE;QACtC,MAAM,IAAI,6BAAe,CAAC,6BAA6B,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;KAC/E;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AALD,0DAKC;AACD,SAAgB,2BAA2B,CAAC,IAAY;IACtD,IAAI,IAAA,eAAK,EAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAA,eAAK,GAAE,CAAC;QAAE,OAAO,KAAK,CAAC;IAC/C,OAAO,IAAI,CAAC;AACd,CAAC;AAHD,kEAGC;AAED,SAAgB,iBAAiB,CAAC,KAAa,EAAE,GAAW;IAC1D,IAAI,IAAA,eAAK,EAAC,KAAK,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QAC7B,MAAM,IAAI,6BAAe,CAAC,kDAAkD,EAAE,SAAS,EAAE;YACvF,KAAK;YACL,GAAG;SACJ,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AARD,8CAQC;AAED,MAAM,aAAa,GAAsB,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAE5D,QAAA,kBAAkB,GAAG,OAAC;KAChC,MAAM,EAAE;KACR,IAAI,EAAE;KACN,OAAO,EAAE;KACT,MAAM,CAAC,sBAAsB,EAAE,aAAa,CAAC,CAAC;AAEpC,QAAA,UAAU,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,MAAM,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;AAElF,SAAgB,kBAAkB,CAChC,IAAW,EACX,SAA6B,aAAa;IAE1C,OAAO,UAAU,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC;AACrD,CAAC;AALD,gDAKC;AAED,SAAgB,UAAU,CAAC,IAAiB,EAAE,MAAe,EAAE,MAAgB;IAC7E,OAAO,eAAK,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AACzC,CAAC;AAFD,gCAEC;AAED,SAAgB,QAAQ,CACtB,KAAiB,EACjB,KAAiB,EACjB,eAA+B,KAAK;IAEpC,OAAO,YAAY,KAAK,MAAM;QAC5B,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAC3C,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;AAChD,CAAC;AARD,4BAQC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function createXMLParser(options?:
|
|
1
|
+
import { X2jOptions, XMLParser } from "fast-xml-parser";
|
|
2
|
+
export declare function createXMLParser(options?: X2jOptions): XMLParser;
|
|
3
3
|
//# sourceMappingURL=xml-parser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xml-parser.d.ts","sourceRoot":"","sources":["../../src/common/xml-parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"xml-parser.d.ts","sourceRoot":"","sources":["../../src/common/xml-parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAExD,wBAAgB,eAAe,CAAC,OAAO,GAAE,UAAe,GAAG,SAAS,CAYnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xml-parser.js","sourceRoot":"","sources":["../../src/common/xml-parser.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"xml-parser.js","sourceRoot":"","sources":["../../src/common/xml-parser.ts"],"names":[],"mappings":";;;AAAA,qDAAwD;AAExD,SAAgB,eAAe,CAAC,UAAsB,EAAE;IACtD,MAAM,cAAc,GAAe;QACjC,kBAAkB,EAAE;YAClB,GAAG,EAAE,KAAK;YACV,YAAY,EAAE,KAAK;SACpB;KACF,CAAC;IAEF,sDAAsD;IACtD,MAAM,aAAa,GAAG,EAAE,GAAG,cAAc,EAAE,GAAG,OAAO,EAAE,CAAC;IAExD,OAAO,IAAI,2BAAS,CAAC,aAAa,CAAC,CAAC;AACtC,CAAC;AAZD,0CAYC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,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"}
|
|
@@ -21,4 +21,6 @@ __exportStar(require("./appointment"), exports);
|
|
|
21
21
|
__exportStar(require("./medication"), exports);
|
|
22
22
|
__exportStar(require("./subscription"), exports);
|
|
23
23
|
__exportStar(require("./department"), exports);
|
|
24
|
+
__exportStar(require("./problem"), exports);
|
|
25
|
+
__exportStar(require("./vitals"), exports);
|
|
24
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,+CAA6B;AAC7B,8CAA4B;AAC5B,gDAA8B;AAC9B,+CAA6B;AAC7B,iDAA+B;AAC/B,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,+CAA6B;AAC7B,8CAA4B;AAC5B,gDAA8B;AAC9B,+CAA6B;AAC7B,iDAA+B;AAC/B,+CAA6B;AAC7B,4CAA0B;AAC1B,2CAAyB"}
|
|
@@ -1,5 +1,29 @@
|
|
|
1
|
+
import z from "zod";
|
|
1
2
|
export type AthenaJwtTokenData = {
|
|
2
3
|
ah_practice: string;
|
|
3
4
|
ah_department: string;
|
|
5
|
+
source: "athenahealth";
|
|
6
|
+
};
|
|
7
|
+
export type AthenaClientJwtTokenData = {
|
|
8
|
+
practiceId: string;
|
|
9
|
+
cxId: string;
|
|
10
|
+
source: "athenahealth-client";
|
|
11
|
+
};
|
|
12
|
+
export declare const athenaClientJwtTokenResponseSchema: z.ZodObject<{
|
|
13
|
+
scope: z.ZodString;
|
|
14
|
+
access_token: z.ZodString;
|
|
15
|
+
expires_in: z.ZodString;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
scope: string;
|
|
18
|
+
access_token: string;
|
|
19
|
+
expires_in: string;
|
|
20
|
+
}, {
|
|
21
|
+
scope: string;
|
|
22
|
+
access_token: string;
|
|
23
|
+
expires_in: string;
|
|
24
|
+
}>;
|
|
25
|
+
export type AthenaClientJwtTokenInfo = {
|
|
26
|
+
access_token: string;
|
|
27
|
+
exp: Date;
|
|
4
28
|
};
|
|
5
29
|
//# sourceMappingURL=jwt-token.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwt-token.d.ts","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/jwt-token.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;
|
|
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,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC;CACxB,CAAC;AAEF,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;AAEH,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,IAAI,CAAC;CACX,CAAC"}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.athenaClientJwtTokenResponseSchema = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
exports.athenaClientJwtTokenResponseSchema = zod_1.default.object({
|
|
9
|
+
scope: zod_1.default.string(),
|
|
10
|
+
access_token: zod_1.default.string(),
|
|
11
|
+
expires_in: zod_1.default.string(),
|
|
12
|
+
});
|
|
3
13
|
//# sourceMappingURL=jwt-token.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwt-token.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/jwt-token.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"jwt-token.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/jwt-token.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAoB;AAcP,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,EAAE;CACvB,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const problemCreateResponseSchema: 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 ProblemCreateResponse = z.infer<typeof problemCreateResponseSchema>;
|
|
16
|
+
//# sourceMappingURL=problem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,2BAA2B;;;;;;;;;;;;EAItC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.problemCreateResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.problemCreateResponseSchema = 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
|
+
//# sourceMappingURL=problem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"problem.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/problem.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,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"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const vitalsCreateResponseSchema: z.ZodObject<{
|
|
3
|
+
success: z.ZodBoolean;
|
|
4
|
+
errormessage: z.ZodOptional<z.ZodString>;
|
|
5
|
+
vitalsid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
success: boolean;
|
|
8
|
+
errormessage?: string | undefined;
|
|
9
|
+
vitalsid?: string[] | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
success: boolean;
|
|
12
|
+
errormessage?: string | undefined;
|
|
13
|
+
vitalsid?: string[] | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type VitalsCreateResponse = z.infer<typeof vitalsCreateResponseSchema>;
|
|
16
|
+
export type VitalsCreateParams = {
|
|
17
|
+
departmentid: string;
|
|
18
|
+
returnvitalsid: boolean;
|
|
19
|
+
source: string;
|
|
20
|
+
vitals: {
|
|
21
|
+
[key: string]: string | undefined;
|
|
22
|
+
}[][];
|
|
23
|
+
THIRDPARTYUSERNAME: string | undefined;
|
|
24
|
+
PATIENTFACINGCALL: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=vitals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.vitalsCreateResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.vitalsCreateResponseSchema = zod_1.z.object({
|
|
6
|
+
success: zod_1.z.boolean(),
|
|
7
|
+
errormessage: zod_1.z.string().optional(),
|
|
8
|
+
vitalsid: zod_1.z.string().array().optional(),
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=vitals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vitals.js","sourceRoot":"","sources":["../../../../src/interface/external/athenahealth/vitals.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
declare const appointmentSchema: z.ZodObject<{
|
|
3
|
-
patient: z.ZodNullable<z.
|
|
3
|
+
patient: z.ZodNullable<z.ZodString>;
|
|
4
4
|
status: z.ZodNullable<z.ZodObject<{
|
|
5
5
|
status: z.ZodString;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -17,12 +17,12 @@ declare const appointmentSchema: z.ZodObject<{
|
|
|
17
17
|
status: {
|
|
18
18
|
status: string;
|
|
19
19
|
} | null;
|
|
20
|
-
patient:
|
|
20
|
+
patient: string | null;
|
|
21
21
|
}>;
|
|
22
22
|
export type Appointment = z.infer<typeof appointmentSchema>;
|
|
23
23
|
export declare const appointmentsGetResponseSchema: z.ZodObject<{
|
|
24
24
|
results: z.ZodArray<z.ZodObject<{
|
|
25
|
-
patient: z.ZodNullable<z.
|
|
25
|
+
patient: z.ZodNullable<z.ZodString>;
|
|
26
26
|
status: z.ZodNullable<z.ZodObject<{
|
|
27
27
|
status: z.ZodString;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -39,7 +39,7 @@ export declare const appointmentsGetResponseSchema: z.ZodObject<{
|
|
|
39
39
|
status: {
|
|
40
40
|
status: string;
|
|
41
41
|
} | null;
|
|
42
|
-
patient:
|
|
42
|
+
patient: string | null;
|
|
43
43
|
}>, "many">;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
results: {
|
|
@@ -53,7 +53,7 @@ export declare const appointmentsGetResponseSchema: z.ZodObject<{
|
|
|
53
53
|
status: {
|
|
54
54
|
status: string;
|
|
55
55
|
} | null;
|
|
56
|
-
patient:
|
|
56
|
+
patient: string | null;
|
|
57
57
|
}[];
|
|
58
58
|
}>;
|
|
59
59
|
export {};
|
|
@@ -1 +1 @@
|
|
|
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,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;
|
|
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,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;EAOrB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAExC,CAAC"}
|
|
@@ -3,10 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.appointmentsGetResponseSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const appointmentSchema = zod_1.z.object({
|
|
6
|
-
patient: zod_1.z
|
|
7
|
-
.number()
|
|
8
|
-
.transform(val => `${val}`)
|
|
9
|
-
.nullable(),
|
|
6
|
+
patient: zod_1.z.coerce.string().nullable(),
|
|
10
7
|
status: zod_1.z
|
|
11
8
|
.object({
|
|
12
9
|
status: zod_1.z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../src/interface/external/elation/appointment.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACjC,OAAO,EAAE,OAAC
|
|
1
|
+
{"version":3,"file":"appointment.js","sourceRoot":"","sources":["../../../../src/interface/external/elation/appointment.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACjC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,MAAM,EAAE,OAAC;SACN,MAAM,CAAC;QACN,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;KACnB,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAC;AAEU,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,OAAO,EAAE,iBAAiB,CAAC,KAAK,EAAE;CACnC,CAAC,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare const patientResourceSchema: z.ZodObject<{
|
|
|
7
7
|
address: z.ZodObject<{
|
|
8
8
|
state: z.ZodString;
|
|
9
9
|
address_line1: z.ZodString;
|
|
10
|
-
address_line2: z.ZodString
|
|
10
|
+
address_line2: z.ZodNullable<z.ZodString>;
|
|
11
11
|
city: z.ZodString;
|
|
12
12
|
zip: z.ZodString;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -15,13 +15,13 @@ export declare const patientResourceSchema: z.ZodObject<{
|
|
|
15
15
|
zip: string;
|
|
16
16
|
city: string;
|
|
17
17
|
address_line1: string;
|
|
18
|
-
address_line2: string;
|
|
18
|
+
address_line2: string | null;
|
|
19
19
|
}, {
|
|
20
20
|
state: string;
|
|
21
21
|
zip: string;
|
|
22
22
|
city: string;
|
|
23
23
|
address_line1: string;
|
|
24
|
-
address_line2: string;
|
|
24
|
+
address_line2: string | null;
|
|
25
25
|
}>;
|
|
26
26
|
dob: z.ZodString;
|
|
27
27
|
phones: z.ZodArray<z.ZodObject<{
|
|
@@ -46,7 +46,7 @@ export declare const patientResourceSchema: z.ZodObject<{
|
|
|
46
46
|
zip: string;
|
|
47
47
|
city: string;
|
|
48
48
|
address_line1: string;
|
|
49
|
-
address_line2: string;
|
|
49
|
+
address_line2: string | null;
|
|
50
50
|
};
|
|
51
51
|
first_name: string;
|
|
52
52
|
last_name: string;
|
|
@@ -66,7 +66,7 @@ export declare const patientResourceSchema: z.ZodObject<{
|
|
|
66
66
|
zip: string;
|
|
67
67
|
city: string;
|
|
68
68
|
address_line1: string;
|
|
69
|
-
address_line2: string;
|
|
69
|
+
address_line2: string | null;
|
|
70
70
|
};
|
|
71
71
|
first_name: string;
|
|
72
72
|
last_name: string;
|
|
@@ -5,7 +5,7 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const address = zod_1.z.object({
|
|
6
6
|
state: zod_1.z.string(),
|
|
7
7
|
address_line1: zod_1.z.string(),
|
|
8
|
-
address_line2: zod_1.z.string(),
|
|
8
|
+
address_line2: zod_1.z.string().nullable(),
|
|
9
9
|
city: zod_1.z.string(),
|
|
10
10
|
zip: zod_1.z.string(),
|
|
11
11
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patient.js","sourceRoot":"","sources":["../../../../src/interface/external/elation/patient.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,OAAO,GAAG,OAAC,CAAC,MAAM,CAAC;IACvB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"patient.js","sourceRoot":"","sources":["../../../../src/interface/external/elation/patient.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,OAAO,GAAG,OAAC,CAAC,MAAM,CAAC;IACvB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEH,MAAM,KAAK,GAAG,OAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,KAAK,GAAG,OAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEU,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,OAAO;IACP,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,MAAM,EAAE,KAAK,CAAC,KAAK,EAAE;IACrB,MAAM,EAAE,KAAK,CAAC,KAAK,EAAE;IACrB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC;AAIH,MAAM,QAAQ,GAAG,OAAC,CAAC,MAAM,CAAC;IACxB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC"}
|
|
@@ -4,7 +4,6 @@ export declare const internalSendConsolidatedSchema: z.ZodObject<{
|
|
|
4
4
|
bundleFilename: z.ZodString;
|
|
5
5
|
requestId: z.ZodString;
|
|
6
6
|
conversionType: z.ZodOptional<z.ZodEnum<["html", "pdf", "json"]>>;
|
|
7
|
-
generateAiBrief: z.ZodOptional<z.ZodBoolean>;
|
|
8
7
|
resources: z.ZodOptional<z.ZodArray<z.ZodEnum<["Account", "AllergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "BodyStructure", "CarePlan", "CareTeam", "ChargeItem", "Claim", "ClaimResponse", "ClinicalImpression", "Communication", "CommunicationRequest", "Composition", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EnrollmentRequest", "EpisodeOfCare", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GuidanceResponse", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "Invoice", "List", "MeasureReport", "Media", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "MolecularSequence", "NutritionOrder", "Observation", "Person", "Procedure", "Provenance", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchSubject", "RiskAssessment", "ServiceRequest", "Specimen", "AdverseEvent", "Task", "Location", "Organization", "Patient", "Practitioner"]>, "many">>;
|
|
9
8
|
dateFrom: z.ZodOptional<z.ZodString>;
|
|
10
9
|
dateTo: z.ZodOptional<z.ZodString>;
|
|
@@ -14,7 +13,6 @@ export declare const internalSendConsolidatedSchema: z.ZodObject<{
|
|
|
14
13
|
bundleLocation: string;
|
|
15
14
|
bundleFilename: string;
|
|
16
15
|
conversionType?: "html" | "pdf" | "json" | undefined;
|
|
17
|
-
generateAiBrief?: boolean | undefined;
|
|
18
16
|
resources?: ("Organization" | "Account" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "BodyStructure" | "CarePlan" | "CareTeam" | "ChargeItem" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "Communication" | "CommunicationRequest" | "Composition" | "Condition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceRequest" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "Encounter" | "EnrollmentRequest" | "EpisodeOfCare" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "Goal" | "GuidanceResponse" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "Invoice" | "List" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Person" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "AdverseEvent" | "Task" | "Location" | "Patient" | "Practitioner")[] | undefined;
|
|
19
17
|
dateFrom?: string | undefined;
|
|
20
18
|
dateTo?: string | undefined;
|
|
@@ -24,7 +22,6 @@ export declare const internalSendConsolidatedSchema: z.ZodObject<{
|
|
|
24
22
|
bundleLocation: string;
|
|
25
23
|
bundleFilename: string;
|
|
26
24
|
conversionType?: "html" | "pdf" | "json" | undefined;
|
|
27
|
-
generateAiBrief?: boolean | undefined;
|
|
28
25
|
resources?: ("Organization" | "Account" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "BodyStructure" | "CarePlan" | "CareTeam" | "ChargeItem" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "Communication" | "CommunicationRequest" | "Composition" | "Condition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceRequest" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "Encounter" | "EnrollmentRequest" | "EpisodeOfCare" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "Goal" | "GuidanceResponse" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "Invoice" | "List" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Person" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "AdverseEvent" | "Task" | "Location" | "Patient" | "Practitioner")[] | undefined;
|
|
29
26
|
dateFrom?: string | undefined;
|
|
30
27
|
dateTo?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consolidated.d.ts","sourceRoot":"","sources":["../../../src/interface/internal/consolidated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,8BAA8B
|
|
1
|
+
{"version":3,"file":"consolidated.d.ts","sourceRoot":"","sources":["../../../src/interface/internal/consolidated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;EASzC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
|
@@ -8,7 +8,6 @@ exports.internalSendConsolidatedSchema = zod_1.z.object({
|
|
|
8
8
|
bundleFilename: zod_1.z.string(),
|
|
9
9
|
requestId: zod_1.z.string(),
|
|
10
10
|
conversionType: zod_1.z.enum(medical_1.consolidationConversionType).optional(),
|
|
11
|
-
generateAiBrief: zod_1.z.boolean().optional(),
|
|
12
11
|
resources: zod_1.z.array(zod_1.z.enum(medical_1.resourceTypeForConsolidation)).optional(),
|
|
13
12
|
dateFrom: zod_1.z.string().optional(),
|
|
14
13
|
dateTo: zod_1.z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consolidated.js","sourceRoot":"","sources":["../../../src/interface/internal/consolidated.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2CAA0F;AAE7E,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;IAC1B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;IAC1B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,cAAc,EAAE,OAAC,CAAC,IAAI,CAAC,qCAA2B,CAAC,CAAC,QAAQ,EAAE;IAC9D,
|
|
1
|
+
{"version":3,"file":"consolidated.js","sourceRoot":"","sources":["../../../src/interface/internal/consolidated.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2CAA0F;AAE7E,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;IAC1B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE;IAC1B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,cAAc,EAAE,OAAC,CAAC,IAAI,CAAC,qCAA2B,CAAC,CAAC,QAAQ,EAAE;IAC9D,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,IAAI,CAAC,sCAA4B,CAAC,CAAC,CAAC,QAAQ,EAAE;IACnE,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,aAAa,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC"}
|