@metriport/shared 0.27.2 → 0.28.1-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/domain/address/zip.d.ts +1 -0
- package/dist/domain/address/zip.d.ts.map +1 -1
- package/dist/domain/address/zip.js +8 -1
- package/dist/domain/address/zip.js.map +1 -1
- package/dist/domain/cohort.d.ts +16 -34
- package/dist/domain/cohort.d.ts.map +1 -1
- package/dist/domain/cohort.js +5 -18
- package/dist/domain/cohort.js.map +1 -1
- package/dist/domain/tcm-encounter.d.ts +4 -4
- package/dist/error/bad-request.d.ts +2 -2
- package/dist/error/bad-request.d.ts.map +1 -1
- package/dist/error/bad-request.js.map +1 -1
- package/dist/error/too-many-requests.d.ts +2 -2
- package/dist/error/too-many-requests.d.ts.map +1 -1
- package/dist/error/too-many-requests.js.map +1 -1
- package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts +19 -0
- package/dist/interface/external/ehr/athenahealth/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/athenahealth/family-history.d.ts +85 -82
- package/dist/interface/external/ehr/athenahealth/family-history.d.ts.map +1 -1
- package/dist/interface/external/ehr/athenahealth/family-history.js +7 -9
- package/dist/interface/external/ehr/athenahealth/family-history.js.map +1 -1
- package/dist/interface/external/ehr/canvas/cx-mapping.d.ts +28 -2
- package/dist/interface/external/ehr/canvas/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/canvas/cx-mapping.js +6 -1
- package/dist/interface/external/ehr/canvas/cx-mapping.js.map +1 -1
- package/dist/interface/external/ehr/elation/cx-mapping.d.ts +23 -4
- package/dist/interface/external/ehr/elation/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/allergy.d.ts +105 -0
- package/dist/interface/external/ehr/healthie/allergy.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/allergy.js +8 -1
- package/dist/interface/external/ehr/healthie/allergy.js.map +1 -1
- package/dist/interface/external/ehr/healthie/condition.d.ts +147 -0
- package/dist/interface/external/ehr/healthie/condition.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/condition.js +22 -1
- package/dist/interface/external/ehr/healthie/condition.js.map +1 -1
- package/dist/interface/external/ehr/healthie/cx-mapping.d.ts +23 -4
- package/dist/interface/external/ehr/healthie/cx-mapping.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/medication.d.ts +80 -0
- package/dist/interface/external/ehr/healthie/medication.d.ts.map +1 -1
- package/dist/interface/external/ehr/healthie/medication.js +15 -1
- package/dist/interface/external/ehr/healthie/medication.js.map +1 -1
- package/dist/interface/external/ehr/shared.d.ts +32 -0
- package/dist/interface/external/ehr/shared.d.ts.map +1 -1
- package/dist/interface/external/ehr/shared.js +5 -0
- package/dist/interface/external/ehr/shared.js.map +1 -1
- package/dist/medical/fhir/constants.d.ts +1 -0
- package/dist/medical/fhir/constants.d.ts.map +1 -1
- package/dist/medical/fhir/constants.js +2 -1
- package/dist/medical/fhir/constants.js.map +1 -1
- package/dist/medical/webhook/webhook-request.d.ts +32 -32
- package/dist/net/retry.d.ts +3 -0
- package/dist/net/retry.d.ts.map +1 -1
- package/dist/net/retry.js +3 -0
- package/dist/net/retry.js.map +1 -1
- package/package.json +2 -2
|
@@ -3,6 +3,7 @@ export declare const knownInvalidZipCodes: string[];
|
|
|
3
3
|
export declare function isValidZipCode(zipCode: string): boolean;
|
|
4
4
|
export declare function isValidZipCodeLength(zipCode: string): boolean;
|
|
5
5
|
export declare function isValidZipCodeStrict(zipCode: string): boolean;
|
|
6
|
+
export declare function normalizeZipCodeRelaxed(zipCode?: string | undefined, normalizeFn?: typeof normalizeZipCodeNew): string | undefined;
|
|
6
7
|
export declare function normalizeZipCodeNew(zipCode: string, normalizeFn?: typeof normalizeZipCodeNewSafe): string;
|
|
7
8
|
export declare function normalizeZipCodeNewSafe(zipCode: string): string | undefined;
|
|
8
9
|
//# sourceMappingURL=zip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zip.d.ts","sourceRoot":"","sources":["../../../src/domain/address/zip.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,IAAI,CAAC;AAE3B,eAAO,MAAM,oBAAoB,UAchC,CAAC;AAIF,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAOvD;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAG7D;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAI7D;AAGD,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,EACf,WAAW,iCAA0B,GACpC,MAAM,CAIR;AAID,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAW3E"}
|
|
1
|
+
{"version":3,"file":"zip.d.ts","sourceRoot":"","sources":["../../../src/domain/address/zip.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,IAAI,CAAC;AAE3B,eAAO,MAAM,oBAAoB,UAchC,CAAC;AAIF,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAOvD;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAG7D;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAI7D;AAGD,wBAAgB,uBAAuB,CACrC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,EAC5B,WAAW,6BAAsB,GAChC,MAAM,GAAG,SAAS,CAGpB;AAGD,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,EACf,WAAW,iCAA0B,GACpC,MAAM,CAIR;AAID,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAW3E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.normalizeZipCodeNewSafe = exports.normalizeZipCodeNew = exports.isValidZipCodeStrict = exports.isValidZipCodeLength = exports.isValidZipCode = exports.knownInvalidZipCodes = exports.zipLength = void 0;
|
|
3
|
+
exports.normalizeZipCodeNewSafe = exports.normalizeZipCodeNew = exports.normalizeZipCodeRelaxed = exports.isValidZipCodeStrict = exports.isValidZipCodeLength = exports.isValidZipCode = exports.knownInvalidZipCodes = exports.zipLength = void 0;
|
|
4
4
|
const metriport_error_1 = require("../../error/metriport-error");
|
|
5
5
|
exports.zipLength = 5;
|
|
6
6
|
exports.knownInvalidZipCodes = [
|
|
@@ -47,6 +47,13 @@ function isValidZipCodeStrict(zipCode) {
|
|
|
47
47
|
}
|
|
48
48
|
exports.isValidZipCodeStrict = isValidZipCodeStrict;
|
|
49
49
|
// TODO 2330 Move/merge this to normalizeZipCode
|
|
50
|
+
function normalizeZipCodeRelaxed(zipCode, normalizeFn = normalizeZipCodeNew) {
|
|
51
|
+
if (!zipCode)
|
|
52
|
+
return undefined;
|
|
53
|
+
return normalizeFn(zipCode);
|
|
54
|
+
}
|
|
55
|
+
exports.normalizeZipCodeRelaxed = normalizeZipCodeRelaxed;
|
|
56
|
+
// TODO 2330 Move/merge this to normalizeZipCode
|
|
50
57
|
function normalizeZipCodeNew(zipCode, normalizeFn = normalizeZipCodeNewSafe) {
|
|
51
58
|
const zipOrUndefined = normalizeFn(zipCode);
|
|
52
59
|
if (!zipOrUndefined)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zip.js","sourceRoot":"","sources":["../../../src/domain/address/zip.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAEhD,QAAA,SAAS,GAAG,CAAC,CAAC;AAEd,QAAA,oBAAoB,GAAG;IAClC,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IAC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AAO,SAAS,CAAC;IACxC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC;QAAE,OAAO,SAAS,CAAC;IACrD,IAAI,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,SAAS,CAAC;IACrF,MAAM,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1C,IAAI,CAAC,QAAQ;QAAE,OAAO,UAAU,CAAC;IACjC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,QAAQ,CAAC;IAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,SAAS,CAAC;IAC1C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAC1D,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC9B,CAAC;AAXD,0DAWC"}
|
package/dist/domain/cohort.d.ts
CHANGED
|
@@ -1,27 +1,16 @@
|
|
|
1
1
|
import { DeepPartial } from "../common/merge-settings";
|
|
2
2
|
import { BaseDomain } from "./base-domain";
|
|
3
3
|
import { BaseDTO } from "./baseDto";
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* WARNING IF UPDATING THIS FILE, YOU MUST UPDATE THE ROUTE SCHEMAS FILES TOO
|
|
7
|
-
*
|
|
8
|
-
* WARNING IF UPDATING THIS FILE, YOU MUST UPDATE THE ROUTE SCHEMAS FILES TOO
|
|
9
|
-
*
|
|
10
|
-
* WARNING IF UPDATING THIS FILE, YOU MUST UPDATE THE ROUTE SCHEMAS FILES TOO
|
|
11
|
-
*
|
|
12
|
-
* See @metriport/api/src/routes/medical/schemas/cohort.ts
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
4
|
export declare const COHORT_COLORS: readonly ["red", "green", "blue", "yellow", "purple", "orange", "pink", "brown", "gray", "black", "white"];
|
|
16
5
|
export declare const COHORT_FREQUENCIES: readonly ["monthly", "biweekly", "weekly"];
|
|
17
6
|
export declare const DEFAULT_COLOR = "white";
|
|
18
7
|
export declare const DEFAULT_FREQUENCY = "monthly";
|
|
19
8
|
export declare const DEFAULT_SCHEDULE: Schedule;
|
|
20
|
-
export declare const DEFAULT_SCHEDULE_HIE: Schedule;
|
|
21
9
|
export declare const DEFAULT_NOTIFICATION: Notification;
|
|
22
10
|
export declare const DEFAULT_NOTIFICATION_SCHEDULE: NotificationSchedule;
|
|
23
11
|
export declare const DEFAULT_MONITORING: MonitoringSettings;
|
|
24
|
-
export declare const
|
|
12
|
+
export declare const DEFAULT_OVERRIDES: Overrides;
|
|
13
|
+
export declare const DEFAULT_SETTINGS: Settings;
|
|
25
14
|
export type CohortColors = (typeof COHORT_COLORS)[number];
|
|
26
15
|
export type CohortFrequency = (typeof COHORT_FREQUENCIES)[number];
|
|
27
16
|
export type Schedule = {
|
|
@@ -44,6 +33,7 @@ export type MonitoringSettings = {
|
|
|
44
33
|
pharmacy: NotificationSchedule;
|
|
45
34
|
laboratory: Notification;
|
|
46
35
|
};
|
|
36
|
+
export type AllOptionalMonitoringSettings = DeepPartial<MonitoringSettings>;
|
|
47
37
|
export type Overrides = Record<string, boolean> | undefined;
|
|
48
38
|
export type Settings = {
|
|
49
39
|
monitoring: MonitoringSettings;
|
|
@@ -52,9 +42,8 @@ export type Settings = {
|
|
|
52
42
|
export type SettingsWithoutOverrides = {
|
|
53
43
|
monitoring: MonitoringSettings;
|
|
54
44
|
};
|
|
55
|
-
export type
|
|
45
|
+
export type AllOptionalSettings = DeepPartial<Settings>;
|
|
56
46
|
export type AllOptionalSettingsWithoutOverrides = DeepPartial<SettingsWithoutOverrides>;
|
|
57
|
-
export type AllOptionalSettingsWithOverrides = DeepPartial<Settings>;
|
|
58
47
|
export type Cohort = BaseDomain & {
|
|
59
48
|
name: string;
|
|
60
49
|
color: CohortColors;
|
|
@@ -62,42 +51,35 @@ export type Cohort = BaseDomain & {
|
|
|
62
51
|
settings: Settings;
|
|
63
52
|
cxId: string;
|
|
64
53
|
};
|
|
65
|
-
export type
|
|
66
|
-
|
|
67
|
-
settings: SettingsWithoutOverrides;
|
|
68
|
-
};
|
|
69
|
-
export type CohortCreateRequest = Pick<Cohort, "name"> & Partial<Pick<Cohort, "description" | "color">> & {
|
|
70
|
-
settings?: SettingsWithoutOverrides;
|
|
54
|
+
export type CohortWithSize = Cohort & {
|
|
55
|
+
size: number;
|
|
71
56
|
};
|
|
72
|
-
export type CohortCreateCmd =
|
|
57
|
+
export type CohortCreateCmd = Pick<Cohort, "name"> & Partial<Pick<Cohort, "description" | "color" | "settings">> & {
|
|
73
58
|
cxId: string;
|
|
74
59
|
};
|
|
75
|
-
export type
|
|
76
|
-
settings?: AllOptionalSettingsWithoutOverrides;
|
|
77
|
-
eTag?: string;
|
|
78
|
-
};
|
|
79
|
-
export type CohortUpdateCmd = Omit<CohortUpdateRequestWithoutOverrides, "settings"> & {
|
|
60
|
+
export type CohortUpdateCmd = Partial<Pick<Cohort, "name" | "description" | "color">> & {
|
|
80
61
|
id: string;
|
|
81
62
|
cxId: string;
|
|
82
63
|
eTag?: string;
|
|
83
|
-
settings?:
|
|
64
|
+
settings?: AllOptionalSettings;
|
|
84
65
|
};
|
|
66
|
+
export type CohortUpdateRequestWithoutSettings = Omit<CohortUpdateCmd, "cxId" | "settings">;
|
|
85
67
|
export type CohortResponse = BaseDTO & {
|
|
86
68
|
name: string;
|
|
87
69
|
description: string;
|
|
88
70
|
color: CohortColors;
|
|
71
|
+
settings: Settings;
|
|
72
|
+
};
|
|
73
|
+
export type CohortResponseWithoutOverrides = Omit<CohortResponse, "settings"> & {
|
|
89
74
|
settings: SettingsWithoutOverrides;
|
|
90
75
|
};
|
|
91
76
|
export type CohortWithSizeResponse = CohortResponse & {
|
|
92
77
|
size: number;
|
|
93
78
|
};
|
|
94
|
-
export type
|
|
95
|
-
|
|
79
|
+
export type CohortWithSizeResponseWithoutOverrides = Omit<CohortWithSizeResponse, "settings"> & {
|
|
80
|
+
settings: SettingsWithoutOverrides;
|
|
96
81
|
};
|
|
97
|
-
export declare function responseDtoFromCohort(cohort:
|
|
98
|
-
eTag: string;
|
|
99
|
-
id: string;
|
|
100
|
-
}): CohortResponse;
|
|
82
|
+
export declare function responseDtoFromCohort(cohort: Cohort): CohortResponseWithoutOverrides;
|
|
101
83
|
export declare const cohortPatientMaxPageSize = 100;
|
|
102
84
|
export declare function normalizeCohortName(name: string): string;
|
|
103
85
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cohort.d.ts","sourceRoot":"","sources":["../../src/domain/cohort.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cohort.d.ts","sourceRoot":"","sources":["../../src/domain/cohort.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAa,MAAM,WAAW,CAAC;AAE/C,eAAO,MAAM,aAAa,4GAYhB,CAAC;AAEX,eAAO,MAAM,kBAAkB,4CAA6C,CAAC;AAE7E,eAAO,MAAM,aAAa,UAAU,CAAC;AACrC,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAE3C,eAAO,MAAM,gBAAgB,EAAE,QAG9B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,YAElC,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,oBAG3C,CAAC;AAMF,eAAO,MAAM,kBAAkB,EAAE,kBAKhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,SAAc,CAAC;AAE/C,eAAO,MAAM,gBAAgB,EAAE,QAG9B,CAAC;AAGF,MAAM,MAAM,YAAY,GAAG,CA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AAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,8BAA8B,CAWpF;AAED,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAE5C,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAMxD"}
|
package/dist/domain/cohort.js
CHANGED
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.normalizeCohortName = exports.cohortPatientMaxPageSize = exports.responseDtoFromCohort = exports.DEFAULT_SETTINGS = exports.
|
|
3
|
+
exports.normalizeCohortName = exports.cohortPatientMaxPageSize = exports.responseDtoFromCohort = exports.DEFAULT_SETTINGS = exports.DEFAULT_OVERRIDES = exports.DEFAULT_MONITORING = exports.DEFAULT_NOTIFICATION_SCHEDULE = exports.DEFAULT_NOTIFICATION = exports.DEFAULT_SCHEDULE = exports.DEFAULT_FREQUENCY = exports.DEFAULT_COLOR = exports.COHORT_FREQUENCIES = exports.COHORT_COLORS = void 0;
|
|
4
4
|
const lodash_1 = require("lodash");
|
|
5
5
|
const bad_request_1 = require("../error/bad-request");
|
|
6
6
|
const baseDto_1 = require("./baseDto");
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* WARNING IF UPDATING THIS FILE, YOU MUST UPDATE THE ROUTE SCHEMAS FILES TOO
|
|
10
|
-
*
|
|
11
|
-
* WARNING IF UPDATING THIS FILE, YOU MUST UPDATE THE ROUTE SCHEMAS FILES TOO
|
|
12
|
-
*
|
|
13
|
-
* WARNING IF UPDATING THIS FILE, YOU MUST UPDATE THE ROUTE SCHEMAS FILES TOO
|
|
14
|
-
*
|
|
15
|
-
* See @metriport/api/src/routes/medical/schemas/cohort.ts
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
7
|
exports.COHORT_COLORS = [
|
|
19
8
|
"red",
|
|
20
9
|
"green",
|
|
@@ -35,15 +24,11 @@ exports.DEFAULT_SCHEDULE = {
|
|
|
35
24
|
enabled: false,
|
|
36
25
|
frequency: exports.DEFAULT_FREQUENCY,
|
|
37
26
|
};
|
|
38
|
-
exports.DEFAULT_SCHEDULE_HIE = {
|
|
39
|
-
enabled: false,
|
|
40
|
-
frequency: exports.DEFAULT_FREQUENCY,
|
|
41
|
-
};
|
|
42
27
|
exports.DEFAULT_NOTIFICATION = {
|
|
43
28
|
notifications: false,
|
|
44
29
|
};
|
|
45
30
|
exports.DEFAULT_NOTIFICATION_SCHEDULE = {
|
|
46
|
-
|
|
31
|
+
...exports.DEFAULT_NOTIFICATION,
|
|
47
32
|
schedule: exports.DEFAULT_SCHEDULE,
|
|
48
33
|
};
|
|
49
34
|
const DEFAULT_ADT = {
|
|
@@ -51,12 +36,14 @@ const DEFAULT_ADT = {
|
|
|
51
36
|
};
|
|
52
37
|
exports.DEFAULT_MONITORING = {
|
|
53
38
|
adt: (0, lodash_1.cloneDeep)(DEFAULT_ADT),
|
|
54
|
-
hie: (0, lodash_1.cloneDeep)(exports.
|
|
39
|
+
hie: (0, lodash_1.cloneDeep)(exports.DEFAULT_SCHEDULE),
|
|
55
40
|
pharmacy: (0, lodash_1.cloneDeep)(exports.DEFAULT_NOTIFICATION_SCHEDULE),
|
|
56
41
|
laboratory: (0, lodash_1.cloneDeep)(exports.DEFAULT_NOTIFICATION),
|
|
57
42
|
};
|
|
43
|
+
exports.DEFAULT_OVERRIDES = {};
|
|
58
44
|
exports.DEFAULT_SETTINGS = {
|
|
59
45
|
monitoring: exports.DEFAULT_MONITORING,
|
|
46
|
+
overrides: exports.DEFAULT_OVERRIDES,
|
|
60
47
|
};
|
|
61
48
|
function responseDtoFromCohort(cohort) {
|
|
62
49
|
//eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cohort.js","sourceRoot":"","sources":["../../src/domain/cohort.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;
|
|
1
|
+
{"version":3,"file":"cohort.js","sour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C;IAEtF,OAAO;QACL,GAAG,IAAA,mBAAS,EAAC,EAAE,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;QAClD,IAAI,EAAE,MAAM,CAAC,IAAI;QACjB,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,QAAQ,EAAE,wBAAwB;KACnC,CAAC;AACJ,CAAC;AAXD,sDAWC;AACD,0BAA0B;AACb,QAAA,wBAAwB,GAAG,GAAG,CAAC;AAE5C,SAAgB,mBAAmB,CAAC,IAAY;IAC9C,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;IAC5B,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;QACxB,MAAM,IAAI,6BAAe,CAAC,6BAA6B,CAAC,CAAC;KAC1D;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAND,kDAMC"}
|
|
@@ -273,10 +273,10 @@ export declare const tcmEncounterResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
|
273
273
|
eTag: z.ZodString;
|
|
274
274
|
}>, "strict", z.ZodTypeAny, {
|
|
275
275
|
id: string;
|
|
276
|
-
|
|
276
|
+
eTag: string;
|
|
277
277
|
createdAt: string;
|
|
278
278
|
updatedAt: string;
|
|
279
|
-
|
|
279
|
+
cxId: string;
|
|
280
280
|
patientId: string;
|
|
281
281
|
facilityName: string;
|
|
282
282
|
latestEvent: "Admitted" | "Transferred" | "Discharged";
|
|
@@ -295,10 +295,10 @@ export declare const tcmEncounterResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
|
295
295
|
dischargeSummaryPath?: string | undefined;
|
|
296
296
|
}, {
|
|
297
297
|
id: string;
|
|
298
|
-
|
|
298
|
+
eTag: string;
|
|
299
299
|
createdAt: string;
|
|
300
300
|
updatedAt: string;
|
|
301
|
-
|
|
301
|
+
cxId: string;
|
|
302
302
|
patientId: string;
|
|
303
303
|
latestEvent: "Admitted" | "Transferred" | "Discharged";
|
|
304
304
|
patientName: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MetriportError } from "./metriport-error";
|
|
1
|
+
import { AdditionalInfo, MetriportError } from "./metriport-error";
|
|
2
2
|
export declare class BadRequestError extends MetriportError {
|
|
3
|
-
constructor(message?: string, cause?: unknown, additionalInfo?:
|
|
3
|
+
constructor(message?: string, cause?: unknown, additionalInfo?: AdditionalInfo);
|
|
4
4
|
}
|
|
5
5
|
//# sourceMappingURL=bad-request.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bad-request.d.ts","sourceRoot":"","sources":["../../src/error/bad-request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"bad-request.d.ts","sourceRoot":"","sources":["../../src/error/bad-request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAInE,qBAAa,eAAgB,SAAQ,cAAc;gBAE/C,OAAO,SAAmE,EAC1E,KAAK,CAAC,EAAE,OAAO,EACf,cAAc,CAAC,EAAE,cAAc;CAMlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bad-request.js","sourceRoot":"","sources":["../../src/error/bad-request.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"bad-request.js","sourceRoot":"","sources":["../../src/error/bad-request.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAqC;AACrC,uDAAmE;AAEnE,MAAM,aAAa,GAAG,qBAAU,CAAC,WAAW,CAAC;AAE7C,MAAa,eAAgB,SAAQ,gCAAc;IACjD,YACE,OAAO,GAAG,gEAAgE,EAC1E,KAAe,EACf,cAA+B;QAE/B,KAAK,CAAC,OAAO,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC;QACtC,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAVD,0CAUC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MetriportError } from "./metriport-error";
|
|
1
|
+
import { AdditionalInfo, MetriportError } from "./metriport-error";
|
|
2
2
|
export declare class TooManyRequestsError extends MetriportError {
|
|
3
|
-
constructor(message?: string, cause?: unknown, additionalInfo?:
|
|
3
|
+
constructor(message?: string, cause?: unknown, additionalInfo?: AdditionalInfo);
|
|
4
4
|
}
|
|
5
5
|
//# sourceMappingURL=too-many-requests.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"too-many-requests.d.ts","sourceRoot":"","sources":["../../src/error/too-many-requests.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"too-many-requests.d.ts","sourceRoot":"","sources":["../../src/error/too-many-requests.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAInE,qBAAa,oBAAqB,SAAQ,cAAc;gBAEpD,OAAO,SAAyD,EAChE,KAAK,CAAC,EAAE,OAAO,EACf,cAAc,CAAC,EAAE,cAAc;CAMlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"too-many-requests.js","sourceRoot":"","sources":["../../src/error/too-many-requests.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"too-many-requests.js","sourceRoot":"","sources":["../../src/error/too-many-requests.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAqC;AACrC,uDAAmE;AAEnE,MAAM,aAAa,GAAG,qBAAU,CAAC,iBAAiB,CAAC;AAEnD,MAAa,oBAAqB,SAAQ,gCAAc;IACtD,YACE,OAAO,GAAG,sDAAsD,EAChE,KAAe,EACf,cAA+B;QAE/B,KAAK,CAAC,OAAO,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC;QACtC,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACpC,CAAC;CACF;AAVD,oDAUC"}
|
|
@@ -201,6 +201,13 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
201
201
|
}, {
|
|
202
202
|
disabled?: boolean | undefined;
|
|
203
203
|
}>>;
|
|
204
|
+
familyMemberHistory: z.ZodOptional<z.ZodObject<{
|
|
205
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
206
|
+
}, "strip", z.ZodTypeAny, {
|
|
207
|
+
disabled?: boolean | undefined;
|
|
208
|
+
}, {
|
|
209
|
+
disabled?: boolean | undefined;
|
|
210
|
+
}>>;
|
|
204
211
|
}, "strip", z.ZodTypeAny, {
|
|
205
212
|
lab?: {
|
|
206
213
|
loincCodes?: string[] | undefined;
|
|
@@ -260,6 +267,9 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
260
267
|
allergy?: {
|
|
261
268
|
disabled?: boolean | undefined;
|
|
262
269
|
} | undefined;
|
|
270
|
+
familyMemberHistory?: {
|
|
271
|
+
disabled?: boolean | undefined;
|
|
272
|
+
} | undefined;
|
|
263
273
|
}, {
|
|
264
274
|
lab?: {
|
|
265
275
|
loincCodes?: string[] | undefined;
|
|
@@ -319,6 +329,9 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
319
329
|
allergy?: {
|
|
320
330
|
disabled?: boolean | undefined;
|
|
321
331
|
} | undefined;
|
|
332
|
+
familyMemberHistory?: {
|
|
333
|
+
disabled?: boolean | undefined;
|
|
334
|
+
} | undefined;
|
|
322
335
|
}>>;
|
|
323
336
|
}>, "strip", z.ZodTypeAny, {
|
|
324
337
|
departmentIds: string[];
|
|
@@ -382,6 +395,9 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
382
395
|
allergy?: {
|
|
383
396
|
disabled?: boolean | undefined;
|
|
384
397
|
} | undefined;
|
|
398
|
+
familyMemberHistory?: {
|
|
399
|
+
disabled?: boolean | undefined;
|
|
400
|
+
} | undefined;
|
|
385
401
|
} | undefined;
|
|
386
402
|
webhookAppointmentDisabled?: boolean | undefined;
|
|
387
403
|
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
@@ -450,6 +466,9 @@ export declare const athenaSecondaryMappingsSchema: z.ZodObject<z.objectUtil.ext
|
|
|
450
466
|
allergy?: {
|
|
451
467
|
disabled?: boolean | undefined;
|
|
452
468
|
} | undefined;
|
|
469
|
+
familyMemberHistory?: {
|
|
470
|
+
disabled?: boolean | undefined;
|
|
471
|
+
} | undefined;
|
|
453
472
|
} | undefined;
|
|
454
473
|
webhookAppointmentDisabled?: boolean | undefined;
|
|
455
474
|
backgroundAppointmentsDisabled?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"cx-mapping.d.ts","sourceRoot":"","sources":["../../../../../src/interface/external/ehr/athenahealth/cx-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASV,CAAC;AACjC,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|