@metriport/shared 0.14.6 → 0.14.7

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.
Files changed (33) hide show
  1. package/dist/common/date.d.ts.map +1 -1
  2. package/dist/common/date.js.map +1 -1
  3. package/dist/common/xml-parser.d.ts +2 -2
  4. package/dist/common/xml-parser.d.ts.map +1 -1
  5. package/dist/common/xml-parser.js.map +1 -1
  6. package/dist/interface/external/athenahealth/index.d.ts +2 -0
  7. package/dist/interface/external/athenahealth/index.d.ts.map +1 -1
  8. package/dist/interface/external/athenahealth/index.js +2 -0
  9. package/dist/interface/external/athenahealth/index.js.map +1 -1
  10. package/dist/interface/external/athenahealth/jwt-token.d.ts +24 -0
  11. package/dist/interface/external/athenahealth/jwt-token.d.ts.map +1 -1
  12. package/dist/interface/external/athenahealth/jwt-token.js +10 -0
  13. package/dist/interface/external/athenahealth/jwt-token.js.map +1 -1
  14. package/dist/interface/external/elation/appointment.d.ts +5 -5
  15. package/dist/interface/external/elation/appointment.d.ts.map +1 -1
  16. package/dist/interface/external/elation/appointment.js +1 -4
  17. package/dist/interface/external/elation/appointment.js.map +1 -1
  18. package/dist/interface/external/elation/patient.d.ts +5 -5
  19. package/dist/interface/external/elation/patient.js +1 -1
  20. package/dist/interface/external/elation/patient.js.map +1 -1
  21. package/dist/interface/internal/consolidated.d.ts +0 -3
  22. package/dist/interface/internal/consolidated.d.ts.map +1 -1
  23. package/dist/interface/internal/consolidated.js +0 -1
  24. package/dist/interface/internal/consolidated.js.map +1 -1
  25. package/package.json +12 -2
  26. package/dist/common/titleCase.d.ts +0 -2
  27. package/dist/common/titleCase.d.ts.map +0 -1
  28. package/dist/common/titleCase.js +0 -10
  29. package/dist/common/titleCase.js.map +0 -1
  30. package/dist/interface/external/index.d.ts +0 -2
  31. package/dist/interface/external/index.d.ts.map +0 -1
  32. package/dist/interface/external/index.js +0 -18
  33. package/dist/interface/external/index.js.map +0 -1
@@ -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;AAG1C,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"}
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;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CAAC,CAAC;AAChD,CAAC;AARD,4BAQC"}
@@ -1,3 +1,3 @@
1
- import { XMLParser, X2jOptionsOptional } from "fast-xml-parser";
2
- export declare function createXMLParser(options?: X2jOptionsOptional): XMLParser;
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,SAAS,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEhE,wBAAgB,eAAe,CAAC,OAAO,GAAE,kBAAuB,GAAG,SAAS,CAY3E"}
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,qDAAgE;AAEhE,SAAgB,eAAe,CAAC,UAA8B,EAAE;IAC9D,MAAM,cAAc,GAAuB;QACzC,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
+ {"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"}
@@ -5,4 +5,6 @@ export * from "./appointment";
5
5
  export * from "./medication";
6
6
  export * from "./subscription";
7
7
  export * from "./department";
8
+ export * from "./problem";
9
+ export * from "./vitals";
8
10
  //# sourceMappingURL=index.d.ts.map
@@ -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;CACvB,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"}
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  declare const appointmentSchema: z.ZodObject<{
3
- patient: z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>;
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: number | null;
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.ZodEffects<z.ZodNumber, string, number>>;
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: number | null;
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: number | null;
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;;;;;;;;;;;;;;;;;;;EAUrB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAExC,CAAC"}
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;SACP,MAAM,EAAE;SACR,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC;SAC1B,QAAQ,EAAE;IACb,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"}
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;IACzB,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,EAA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AQ,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUzC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
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,eAAe,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACvC,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"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metriport/shared",
3
- "version": "0.14.6",
3
+ "version": "0.14.7",
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/",
@@ -70,8 +70,18 @@
70
70
  "test": "jest --runInBand --detectOpenHandles --passWithNoTests",
71
71
  "test:e2e": "E2E=true jest --runInBand --detectOpenHandles --passWithNoTests"
72
72
  },
73
+ "dependencies": {
74
+ "@medplum/core": "^2.2.10",
75
+ "axios": "^1.4.0",
76
+ "dayjs": "^1.11.9",
77
+ "fast-xml-parser": "^4.4.1",
78
+ "http-status": "^1.7.0",
79
+ "lodash": "^4.17.21",
80
+ "zod": "^3.22.1"
81
+ },
73
82
  "devDependencies": {
74
83
  "@faker-js/faker": "^8.0.2",
84
+ "@medplum/fhirtypes": "^2.2.10",
75
85
  "@tsconfig/recommended": "^1.0.2",
76
86
  "@types/jest": "29.5.3",
77
87
  "@typescript-eslint/eslint-plugin": "^5.48.2",
@@ -83,5 +93,5 @@
83
93
  "ts-jest": "29.1.1",
84
94
  "typescript": "^4.9.5"
85
95
  },
86
- "gitHead": "d02df8fb901eefd47694da54c894f25fab14b542"
96
+ "gitHead": "79df67adfd8ac7fb3bdd8daa339ae31f2920677f"
87
97
  }
@@ -1,2 +0,0 @@
1
- export declare function toTitleCase(str: string): string;
2
- //# sourceMappingURL=titleCase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"titleCase.d.ts","sourceRoot":"","sources":["../../src/common/titleCase.ts"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAG/C"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toTitleCase = void 0;
4
- const lodash_1 = require("lodash");
5
- function toTitleCase(str) {
6
- const trimmedStr = str.trim();
7
- return (0, lodash_1.startCase)(trimmedStr.toLowerCase());
8
- }
9
- exports.toTitleCase = toTitleCase;
10
- //# sourceMappingURL=titleCase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"titleCase.js","sourceRoot":"","sources":["../../src/common/titleCase.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AAEnC,SAAgB,WAAW,CAAC,GAAW;IACrC,MAAM,UAAU,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC;IAC9B,OAAO,IAAA,kBAAS,EAAC,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;AAC7C,CAAC;AAHD,kCAGC"}
@@ -1,2 +0,0 @@
1
- export * from "./athenahealth";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/external/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -1,18 +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("./athenahealth"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interface/external/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}