@metriport/shared 0.33.7 → 0.34.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__/purpose-of-use.test.d.ts +2 -0
- package/dist/common/__tests__/purpose-of-use.test.d.ts.map +1 -0
- package/dist/common/__tests__/purpose-of-use.test.js +24 -0
- package/dist/common/__tests__/purpose-of-use.test.js.map +1 -0
- package/dist/common/purpose-of-use.d.ts +16 -1
- package/dist/common/purpose-of-use.d.ts.map +1 -1
- package/dist/common/purpose-of-use.js +25 -2
- package/dist/common/purpose-of-use.js.map +1 -1
- package/dist/domain/__tests__/cohort-response-dto.test.js +0 -11
- package/dist/domain/__tests__/cohort-response-dto.test.js.map +1 -1
- package/dist/domain/cohort-purpose-of-use-hies.d.ts +2 -1
- package/dist/domain/cohort-purpose-of-use-hies.d.ts.map +1 -1
- package/dist/domain/cohort-purpose-of-use-hies.js +6 -2
- package/dist/domain/cohort-purpose-of-use-hies.js.map +1 -1
- package/dist/domain/cohort.d.ts +9 -1
- package/dist/domain/cohort.d.ts.map +1 -1
- package/dist/domain/cohort.js +16 -2
- package/dist/domain/cohort.js.map +1 -1
- package/dist/domain/patient/patient-settings.d.ts +19 -120
- package/dist/domain/patient/patient-settings.d.ts.map +1 -1
- package/dist/domain/patient/patient-settings.js +7 -24
- package/dist/domain/patient/patient-settings.js.map +1 -1
- package/dist/domain/patient/patient-status.d.ts +4 -12
- package/dist/domain/patient/patient-status.d.ts.map +1 -1
- package/dist/domain/patient/patient-status.js +0 -6
- package/dist/domain/patient/patient-status.js.map +1 -1
- package/dist/external/hl7v2/constants.d.ts +2 -0
- package/dist/external/hl7v2/constants.d.ts.map +1 -1
- package/dist/external/hl7v2/constants.js +15 -2
- package/dist/external/hl7v2/constants.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/interface/internal/adt.d.ts +1 -0
- package/dist/interface/internal/adt.d.ts.map +1 -0
- package/dist/interface/internal/adt.js +2 -0
- package/dist/interface/internal/adt.js.map +1 -0
- package/dist/interface/internal/cohort.d.ts +16 -0
- package/dist/interface/internal/cohort.d.ts.map +1 -1
- package/dist/interface/internal/cohort.js +1 -0
- package/dist/interface/internal/cohort.js.map +1 -1
- package/dist/interface/internal/consolidated.d.ts +37 -0
- package/dist/interface/internal/consolidated.d.ts.map +1 -1
- package/dist/interface/internal/consolidated.js +7 -1
- package/dist/interface/internal/consolidated.js.map +1 -1
- package/dist/interface/internal/index.d.ts +2 -0
- package/dist/interface/internal/index.d.ts.map +1 -1
- package/dist/interface/internal/index.js +2 -0
- package/dist/interface/internal/index.js.map +1 -1
- package/dist/interface/internal/patient-settings.d.ts +108 -0
- package/dist/interface/internal/patient-settings.d.ts.map +1 -0
- package/dist/interface/internal/patient-settings.js +19 -0
- package/dist/interface/internal/patient-settings.js.map +1 -0
- package/dist/interface/internal/patient-status.d.ts +12 -0
- package/dist/interface/internal/patient-status.d.ts.map +1 -0
- package/dist/interface/internal/patient-status.js +9 -0
- package/dist/interface/internal/patient-status.js.map +1 -0
- package/dist/medical/fhir/coding.d.ts +1 -0
- package/dist/medical/fhir/coding.d.ts.map +1 -1
- package/dist/medical/fhir/coding.js +8 -0
- package/dist/medical/fhir/coding.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export { emptyFunction } from "./common/general";
|
|
|
8
8
|
export { metriportOrganization } from "./common/metriport-organization";
|
|
9
9
|
export { isValidUrl } from "./common/net";
|
|
10
10
|
export { normalizeOid } from "./common/normalize-oid";
|
|
11
|
-
export { isAcceptedPurposeOfUse, NO_POU_SPECIFIED, PurposeOfUse } from "./common/purpose-of-use";
|
|
11
|
+
export { isAcceptedPurposeOfUse, isAcceptedTefcaPurposeOfUse, NO_POU_SPECIFIED, PurposeOfUse, TefcaPurposeOfUse, } from "./common/purpose-of-use";
|
|
12
12
|
export * from "./common/retry";
|
|
13
13
|
export { sleep, sleepRandom } from "./common/sleep";
|
|
14
14
|
export * from "./common/sql";
|
|
@@ -44,6 +44,7 @@ export * from "./domain/pagination-v2";
|
|
|
44
44
|
export * from "./domain/patient/patient";
|
|
45
45
|
export * from "./domain/patient/patient-import/schemas";
|
|
46
46
|
export * from "./domain/patient/patient-settings";
|
|
47
|
+
export * from "./domain/patient/patient-status";
|
|
47
48
|
export * from "./domain/rate-limiting";
|
|
48
49
|
export * from "./domain/roster/patient-roster";
|
|
49
50
|
export * from "./domain/roster/roster";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAC9D,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,uBAAuB,E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AAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yCAAyC,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.medical = exports.TooManyRequestsError = exports.NotFoundError = exports.MetriportError = exports.DocumentPatientMismatchError = exports.BadRequestError = exports.metriportCompanyDetails = exports.validateNPI = exports.stringToBoolean = exports.toTitleCase = exports.sleepRandom = exports.sleep = exports.PurposeOfUse = exports.NO_POU_SPECIFIED = exports.isAcceptedPurposeOfUse = exports.normalizeOid = exports.isValidUrl = exports.metriportOrganization = exports.emptyFunction = exports.getDomainFromEmailWithoutTld = exports.validateDateIsAfter1900 = exports.optionalDateSchema = exports.dateSchema = exports.isTrue = exports.toArray = void 0;
|
|
39
|
+
exports.medical = exports.TooManyRequestsError = exports.NotFoundError = exports.MetriportError = exports.DocumentPatientMismatchError = exports.BadRequestError = exports.metriportCompanyDetails = exports.validateNPI = exports.stringToBoolean = exports.toTitleCase = exports.sleepRandom = exports.sleep = exports.TefcaPurposeOfUse = exports.PurposeOfUse = exports.NO_POU_SPECIFIED = exports.isAcceptedTefcaPurposeOfUse = exports.isAcceptedPurposeOfUse = exports.normalizeOid = exports.isValidUrl = exports.metriportOrganization = exports.emptyFunction = exports.getDomainFromEmailWithoutTld = exports.validateDateIsAfter1900 = exports.optionalDateSchema = exports.dateSchema = exports.isTrue = exports.toArray = void 0;
|
|
40
40
|
__exportStar(require("./api/index"), exports);
|
|
41
41
|
var array_1 = require("./common/array");
|
|
42
42
|
Object.defineProperty(exports, "toArray", { enumerable: true, get: function () { return array_1.toArray; } });
|
|
@@ -59,8 +59,10 @@ var normalize_oid_1 = require("./common/normalize-oid");
|
|
|
59
59
|
Object.defineProperty(exports, "normalizeOid", { enumerable: true, get: function () { return normalize_oid_1.normalizeOid; } });
|
|
60
60
|
var purpose_of_use_1 = require("./common/purpose-of-use");
|
|
61
61
|
Object.defineProperty(exports, "isAcceptedPurposeOfUse", { enumerable: true, get: function () { return purpose_of_use_1.isAcceptedPurposeOfUse; } });
|
|
62
|
+
Object.defineProperty(exports, "isAcceptedTefcaPurposeOfUse", { enumerable: true, get: function () { return purpose_of_use_1.isAcceptedTefcaPurposeOfUse; } });
|
|
62
63
|
Object.defineProperty(exports, "NO_POU_SPECIFIED", { enumerable: true, get: function () { return purpose_of_use_1.NO_POU_SPECIFIED; } });
|
|
63
64
|
Object.defineProperty(exports, "PurposeOfUse", { enumerable: true, get: function () { return purpose_of_use_1.PurposeOfUse; } });
|
|
65
|
+
Object.defineProperty(exports, "TefcaPurposeOfUse", { enumerable: true, get: function () { return purpose_of_use_1.TefcaPurposeOfUse; } });
|
|
64
66
|
__exportStar(require("./common/retry"), exports);
|
|
65
67
|
var sleep_1 = require("./common/sleep");
|
|
66
68
|
Object.defineProperty(exports, "sleep", { enumerable: true, get: function () { return sleep_1.sleep; } });
|
|
@@ -102,6 +104,7 @@ __exportStar(require("./domain/pagination-v2"), exports);
|
|
|
102
104
|
__exportStar(require("./domain/patient/patient"), exports);
|
|
103
105
|
__exportStar(require("./domain/patient/patient-import/schemas"), exports);
|
|
104
106
|
__exportStar(require("./domain/patient/patient-settings"), exports);
|
|
107
|
+
__exportStar(require("./domain/patient/patient-status"), exports);
|
|
105
108
|
__exportStar(require("./domain/rate-limiting"), exports);
|
|
106
109
|
__exportStar(require("./domain/roster/patient-roster"), exports);
|
|
107
110
|
__exportStar(require("./domain/roster/roster"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,wCAAyC;AAAhC,gGAAA,OAAO,OAAA;AAChB,4CAA0C;AAAjC,iGAAA,MAAM,OAAA;AACf,sCAAwF;AAA/E,kGAAA,UAAU,OAAA;AAAE,0GAAA,kBAAkB,OAAA;AAAE,+GAAA,uBAAuB,OAAA;AAChE,wCAA8D;AAArD,qHAAA,4BAA4B,OAAA;AACrC,mDAAiC;AACjC,4CAAiD;AAAxC,wGAAA,aAAa,OAAA;AACtB,0EAAwE;AAA/D,+HAAA,qBAAqB,OAAA;AAC9B,oCAA0C;AAAjC,iGAAA,UAAU,OAAA;AACnB,wDAAsD;AAA7C,6GAAA,YAAY,OAAA;AACrB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mapp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oC;AACpC,yDAAuC;AACvC,2DAAyC;AACzC,0EAAwD;AACxD,oEAAkD;AAClD,kEAAgD;AAChD,yDAAuC;AACvC,iEAA+C;AAC/C,yDAAuC;AACvC,gEAA8C;AAC9C,mDAAiC;AACjC,mDAAsD;AAA7C,8GAAA,eAAe,OAAA;AACxB,+EAAiF;AAAxE,yIAAA,4BAA4B,OAAA;AACrC,2DAAyE;AAAhD,iHAAA,cAAc,OAAA;AACvC,+CAAkD;AAAzC,0GAAA,aAAa,OAAA;AACtB,iDAA+B;AAC/B,+DAAiE;AAAxD,yHAAA,oBAAoB,OAAA;AAC7B,6CAA2B;AAC3B,iDAA+B;AAC/B,8CAA4B;AAC5B,QAAY,OAAO,sCAAkB;AACrC,wCAAsB;AACtB,yCAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=adt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adt.d.ts","sourceRoot":"","sources":["../../../src/interface/internal/adt.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adt.js","sourceRoot":"","sources":["../../../src/interface/internal/adt.ts"],"names":[],"mappings":""}
|
|
@@ -5,6 +5,7 @@ declare const cohortSchema: z.ZodObject<{
|
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
color: z.ZodEnum<["red", "green", "blue", "yellow", "purple", "orange", "pink", "brown", "gray", "black", "white"]>;
|
|
7
7
|
description: z.ZodString;
|
|
8
|
+
purposeOfUse: z.ZodEnum<["treatment", "operations"]>;
|
|
8
9
|
settings: z.ZodObject<{
|
|
9
10
|
monitoring: z.ZodObject<{
|
|
10
11
|
adt: z.ZodObject<{
|
|
@@ -146,6 +147,7 @@ declare const cohortSchema: z.ZodObject<{
|
|
|
146
147
|
name: string;
|
|
147
148
|
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
148
149
|
description: string;
|
|
150
|
+
purposeOfUse: "operations" | "treatment";
|
|
149
151
|
settings: {
|
|
150
152
|
monitoring: {
|
|
151
153
|
adt: {
|
|
@@ -177,6 +179,7 @@ declare const cohortSchema: z.ZodObject<{
|
|
|
177
179
|
name: string;
|
|
178
180
|
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
179
181
|
description: string;
|
|
182
|
+
purposeOfUse: "operations" | "treatment";
|
|
180
183
|
settings: {
|
|
181
184
|
monitoring: {
|
|
182
185
|
adt: {
|
|
@@ -211,6 +214,7 @@ export declare const internalCohortsResponseSchema: z.ZodObject<{
|
|
|
211
214
|
name: z.ZodString;
|
|
212
215
|
color: z.ZodEnum<["red", "green", "blue", "yellow", "purple", "orange", "pink", "brown", "gray", "black", "white"]>;
|
|
213
216
|
description: z.ZodString;
|
|
217
|
+
purposeOfUse: z.ZodEnum<["treatment", "operations"]>;
|
|
214
218
|
settings: z.ZodObject<{
|
|
215
219
|
monitoring: z.ZodObject<{
|
|
216
220
|
adt: z.ZodObject<{
|
|
@@ -352,6 +356,7 @@ export declare const internalCohortsResponseSchema: z.ZodObject<{
|
|
|
352
356
|
name: string;
|
|
353
357
|
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
354
358
|
description: string;
|
|
359
|
+
purposeOfUse: "operations" | "treatment";
|
|
355
360
|
settings: {
|
|
356
361
|
monitoring: {
|
|
357
362
|
adt: {
|
|
@@ -383,6 +388,7 @@ export declare const internalCohortsResponseSchema: z.ZodObject<{
|
|
|
383
388
|
name: string;
|
|
384
389
|
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
385
390
|
description: string;
|
|
391
|
+
purposeOfUse: "operations" | "treatment";
|
|
386
392
|
settings: {
|
|
387
393
|
monitoring: {
|
|
388
394
|
adt: {
|
|
@@ -416,6 +422,7 @@ export declare const internalCohortsResponseSchema: z.ZodObject<{
|
|
|
416
422
|
name: string;
|
|
417
423
|
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
418
424
|
description: string;
|
|
425
|
+
purposeOfUse: "operations" | "treatment";
|
|
419
426
|
settings: {
|
|
420
427
|
monitoring: {
|
|
421
428
|
adt: {
|
|
@@ -449,6 +456,7 @@ export declare const internalCohortsResponseSchema: z.ZodObject<{
|
|
|
449
456
|
name: string;
|
|
450
457
|
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
451
458
|
description: string;
|
|
459
|
+
purposeOfUse: "operations" | "treatment";
|
|
452
460
|
settings: {
|
|
453
461
|
monitoring: {
|
|
454
462
|
adt: {
|
|
@@ -483,6 +491,7 @@ export declare const internalCohortWithSizeResponseSchema: z.ZodObject<z.objectU
|
|
|
483
491
|
name: z.ZodString;
|
|
484
492
|
color: z.ZodEnum<["red", "green", "blue", "yellow", "purple", "orange", "pink", "brown", "gray", "black", "white"]>;
|
|
485
493
|
description: z.ZodString;
|
|
494
|
+
purposeOfUse: z.ZodEnum<["treatment", "operations"]>;
|
|
486
495
|
settings: z.ZodObject<{
|
|
487
496
|
monitoring: z.ZodObject<{
|
|
488
497
|
adt: z.ZodObject<{
|
|
@@ -626,6 +635,7 @@ export declare const internalCohortWithSizeResponseSchema: z.ZodObject<z.objectU
|
|
|
626
635
|
name: string;
|
|
627
636
|
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
628
637
|
description: string;
|
|
638
|
+
purposeOfUse: "operations" | "treatment";
|
|
629
639
|
settings: {
|
|
630
640
|
monitoring: {
|
|
631
641
|
adt: {
|
|
@@ -658,6 +668,7 @@ export declare const internalCohortWithSizeResponseSchema: z.ZodObject<z.objectU
|
|
|
658
668
|
name: string;
|
|
659
669
|
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
660
670
|
description: string;
|
|
671
|
+
purposeOfUse: "operations" | "treatment";
|
|
661
672
|
settings: {
|
|
662
673
|
monitoring: {
|
|
663
674
|
adt: {
|
|
@@ -693,6 +704,7 @@ export declare const internalCohortsWithSizeResponseSchema: z.ZodObject<{
|
|
|
693
704
|
name: z.ZodString;
|
|
694
705
|
color: z.ZodEnum<["red", "green", "blue", "yellow", "purple", "orange", "pink", "brown", "gray", "black", "white"]>;
|
|
695
706
|
description: z.ZodString;
|
|
707
|
+
purposeOfUse: z.ZodEnum<["treatment", "operations"]>;
|
|
696
708
|
settings: z.ZodObject<{
|
|
697
709
|
monitoring: z.ZodObject<{
|
|
698
710
|
adt: z.ZodObject<{
|
|
@@ -836,6 +848,7 @@ export declare const internalCohortsWithSizeResponseSchema: z.ZodObject<{
|
|
|
836
848
|
name: string;
|
|
837
849
|
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
838
850
|
description: string;
|
|
851
|
+
purposeOfUse: "operations" | "treatment";
|
|
839
852
|
settings: {
|
|
840
853
|
monitoring: {
|
|
841
854
|
adt: {
|
|
@@ -868,6 +881,7 @@ export declare const internalCohortsWithSizeResponseSchema: z.ZodObject<{
|
|
|
868
881
|
name: string;
|
|
869
882
|
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
870
883
|
description: string;
|
|
884
|
+
purposeOfUse: "operations" | "treatment";
|
|
871
885
|
settings: {
|
|
872
886
|
monitoring: {
|
|
873
887
|
adt: {
|
|
@@ -902,6 +916,7 @@ export declare const internalCohortsWithSizeResponseSchema: z.ZodObject<{
|
|
|
902
916
|
name: string;
|
|
903
917
|
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
904
918
|
description: string;
|
|
919
|
+
purposeOfUse: "operations" | "treatment";
|
|
905
920
|
settings: {
|
|
906
921
|
monitoring: {
|
|
907
922
|
adt: {
|
|
@@ -936,6 +951,7 @@ export declare const internalCohortsWithSizeResponseSchema: z.ZodObject<{
|
|
|
936
951
|
name: string;
|
|
937
952
|
color: "black" | "blue" | "brown" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "white" | "yellow";
|
|
938
953
|
description: string;
|
|
954
|
+
purposeOfUse: "operations" | "treatment";
|
|
939
955
|
settings: {
|
|
940
956
|
monitoring: {
|
|
941
957
|
adt: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cohort.d.ts","sourceRoot":"","sources":["../../../src/interface/internal/cohort.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AA8CpB,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"cohort.d.ts","sourceRoot":"","sources":["../../../src/interface/internal/cohort.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AA8CpB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWhB,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
|
43
43
|
name: zod_1.default.string(),
|
|
44
44
|
color: colorsSchema,
|
|
45
45
|
description: zod_1.default.string(),
|
|
46
|
+
purposeOfUse: zod_1.default.enum(["treatment", "operations"]),
|
|
46
47
|
settings: settingsSchema,
|
|
47
48
|
cxId: zod_1.default.string(),
|
|
48
49
|
createdAt: zod_1.default.coerce.date(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cohort.js","sourceRoot":"","sources":["../../../src/interface/internal/cohort.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAoB;AACpB,gDAAoD;AACpD,yEAGuD;AAEvD,MAAM,YAAY,GAAG,aAAC,CAAC,IAAI,CAAC,sBAAa,CAAC,CAAC;AAE3C,MAAM,iBAAiB,GAAG,aAAC,CAAC,MAAM,CAAC;IACjC,OAAO,EAAE,aAAC,CAAC,OAAO,EAAE;IACpB,SAAS,EAAE,kCAA0B;CACtC,CAAC,CAAC;AAEH,MAAM,sBAAsB,GAAG,aAAC,CAAC,MAAM,CAAC;IACtC,OAAO,EAAE,aAAC,CAAC,OAAO,EAAE;IACpB,SAAS,EAAE,uCAA+B;CAC3C,CAAC,CAAC;AAEH,MAAM,kCAAkC,GAAG,aAAC,CAAC,MAAM,CAAC;IAClD,aAAa,EAAE,aAAC,CAAC,OAAO,EAAE;IAC1B,QAAQ,EAAE,sBAAsB;CACjC,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,aAAC,CAAC,MAAM,CAAC;IAClC,aAAa,EAAE,aAAC,CAAC,OAAO,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,SAAS,GAAG,aAAC,CAAC,MAAM,CAAC;IACzB,OAAO,EAAE,aAAC,CAAC,OAAO,EAAE;CACrB,CAAC,CAAC;AAEH,MAAM,gBAAgB,GAAG,aAAC,CAAC,MAAM,CAAC;IAChC,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,iBAAiB;IACtB,QAAQ,EAAE,kCAAkC;IAC5C,UAAU,EAAE,kBAAk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I,EAAE,aAAC,CAAC,MAAM,CAAC;QACb,QAAQ,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAChC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -126,6 +126,20 @@ export declare const documentQueryProgressInternalSnapshotSchema: z.ZodObject<{
|
|
|
126
126
|
triggerConsolidated: z.ZodOptional<z.ZodBoolean>;
|
|
127
127
|
forceDownload: z.ZodOptional<z.ZodBoolean>;
|
|
128
128
|
}, z.ZodTypeAny, "passthrough">>;
|
|
129
|
+
export declare const consolidatedS3KeysSchema: z.ZodObject<{
|
|
130
|
+
jsonKey: z.ZodString;
|
|
131
|
+
gzipKey: z.ZodString;
|
|
132
|
+
resourceCount: z.ZodNumber;
|
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
|
+
jsonKey: string;
|
|
135
|
+
gzipKey: string;
|
|
136
|
+
resourceCount: number;
|
|
137
|
+
}, {
|
|
138
|
+
jsonKey: string;
|
|
139
|
+
gzipKey: string;
|
|
140
|
+
resourceCount: number;
|
|
141
|
+
}>;
|
|
142
|
+
export type ConsolidatedS3Keys = z.infer<typeof consolidatedS3KeysSchema>;
|
|
129
143
|
export declare const internalSendConsolidatedSchema: z.ZodObject<{
|
|
130
144
|
bundleLocation: z.ZodOptional<z.ZodString>;
|
|
131
145
|
bundleFilename: z.ZodOptional<z.ZodString>;
|
|
@@ -265,6 +279,19 @@ export declare const internalSendConsolidatedSchema: z.ZodObject<{
|
|
|
265
279
|
isConsolidatedQuery: z.ZodOptional<z.ZodBoolean>;
|
|
266
280
|
truncatedGzipKey: z.ZodOptional<z.ZodString>;
|
|
267
281
|
fastLoadGzipKey: z.ZodOptional<z.ZodString>;
|
|
282
|
+
s3Keys: z.ZodOptional<z.ZodObject<{
|
|
283
|
+
jsonKey: z.ZodString;
|
|
284
|
+
gzipKey: z.ZodString;
|
|
285
|
+
resourceCount: z.ZodNumber;
|
|
286
|
+
}, "strip", z.ZodTypeAny, {
|
|
287
|
+
jsonKey: string;
|
|
288
|
+
gzipKey: string;
|
|
289
|
+
resourceCount: number;
|
|
290
|
+
}, {
|
|
291
|
+
jsonKey: string;
|
|
292
|
+
gzipKey: string;
|
|
293
|
+
resourceCount: number;
|
|
294
|
+
}>>;
|
|
268
295
|
}, "strip", z.ZodTypeAny, {
|
|
269
296
|
bundleLocation?: string | undefined;
|
|
270
297
|
bundleFilename?: string | undefined;
|
|
@@ -320,6 +347,11 @@ export declare const internalSendConsolidatedSchema: z.ZodObject<{
|
|
|
320
347
|
isConsolidatedQuery?: boolean | undefined;
|
|
321
348
|
truncatedGzipKey?: string | undefined;
|
|
322
349
|
fastLoadGzipKey?: string | undefined;
|
|
350
|
+
s3Keys?: {
|
|
351
|
+
jsonKey: string;
|
|
352
|
+
gzipKey: string;
|
|
353
|
+
resourceCount: number;
|
|
354
|
+
} | undefined;
|
|
323
355
|
}, {
|
|
324
356
|
bundleLocation?: string | undefined;
|
|
325
357
|
bundleFilename?: string | undefined;
|
|
@@ -375,6 +407,11 @@ export declare const internalSendConsolidatedSchema: z.ZodObject<{
|
|
|
375
407
|
isConsolidatedQuery?: boolean | undefined;
|
|
376
408
|
truncatedGzipKey?: string | undefined;
|
|
377
409
|
fastLoadGzipKey?: string | undefined;
|
|
410
|
+
s3Keys?: {
|
|
411
|
+
jsonKey: string;
|
|
412
|
+
gzipKey: string;
|
|
413
|
+
resourceCount: number;
|
|
414
|
+
} | undefined;
|
|
378
415
|
}>;
|
|
379
416
|
export type InternalSendConsolidated = z.infer<typeof internalSendConsolidatedSchema>;
|
|
380
417
|
//# sourceMappingURL=consolidated.d.ts.map
|
|
@@ -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;AAaxB,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAQxC,CAAC;AAEjB,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;AAaxB,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAQxC,CAAC;AAEjB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAczC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.internalSendConsolidatedSchema = exports.documentQueryProgressInternalSnapshotSchema = void 0;
|
|
3
|
+
exports.internalSendConsolidatedSchema = exports.consolidatedS3KeysSchema = exports.documentQueryProgressInternalSnapshotSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const medical_1 = require("../../medical");
|
|
6
6
|
const documentQueryStatusSchema = zod_1.z.enum(["processing", "completed", "failed"]);
|
|
@@ -20,6 +20,11 @@ exports.documentQueryProgressInternalSnapshotSchema = zod_1.z
|
|
|
20
20
|
forceDownload: zod_1.z.boolean().optional(),
|
|
21
21
|
})
|
|
22
22
|
.passthrough();
|
|
23
|
+
exports.consolidatedS3KeysSchema = zod_1.z.object({
|
|
24
|
+
jsonKey: zod_1.z.string(),
|
|
25
|
+
gzipKey: zod_1.z.string(),
|
|
26
|
+
resourceCount: zod_1.z.number().nonnegative(),
|
|
27
|
+
});
|
|
23
28
|
exports.internalSendConsolidatedSchema = zod_1.z.object({
|
|
24
29
|
bundleLocation: zod_1.z.string().optional(),
|
|
25
30
|
bundleFilename: zod_1.z.string().optional(),
|
|
@@ -33,5 +38,6 @@ exports.internalSendConsolidatedSchema = zod_1.z.object({
|
|
|
33
38
|
isConsolidatedQuery: zod_1.z.boolean().optional(),
|
|
34
39
|
truncatedGzipKey: zod_1.z.string().optional(),
|
|
35
40
|
fastLoadGzipKey: zod_1.z.string().optional(),
|
|
41
|
+
s3Keys: exports.consolidatedS3KeysSchema.optional(),
|
|
36
42
|
});
|
|
37
43
|
//# sourceMappingURL=consolidated.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consolidated.js","sourceRoot":"","sources":["../../../src/interface/internal/consolidated.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,2CAA0F;AAE1F,MAAM,yBAAyB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC;AAEhF,MAAM,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,MAAM,EAAE,yBAAyB;IACjC,KAAK,EAAE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.ts","sourceRoot":"","sources":["../../../src/interface/internal/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
|
|
@@ -18,4 +18,6 @@ __exportStar(require("./consolidated"), exports);
|
|
|
18
18
|
__exportStar(require("./cohort"), exports);
|
|
19
19
|
__exportStar(require("./customer"), exports);
|
|
20
20
|
__exportStar(require("./document-query"), exports);
|
|
21
|
+
__exportStar(require("./patient-settings"), exports);
|
|
22
|
+
__exportStar(require("./patient-status"), exports);
|
|
21
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interface/internal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,2CAAyB;AACzB,6CAA2B;AAC3B,mDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interface/internal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,2CAAyB;AACzB,6CAA2B;AAC3B,mDAAiC;AACjC,qDAAmC;AACnC,mDAAiC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
declare const subscriptionsSchema: z.ZodObject<{
|
|
3
|
+
adt: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
adt?: string[] | undefined;
|
|
6
|
+
}, {
|
|
7
|
+
adt?: string[] | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export type PatientSubscriptions = z.infer<typeof subscriptionsSchema>;
|
|
10
|
+
export declare const patientSettingsSchema: z.ZodObject<{
|
|
11
|
+
subscriptions: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
adt: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
adt?: string[] | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
adt?: string[] | undefined;
|
|
17
|
+
}>>;
|
|
18
|
+
treatmentRelationship: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
subscriptions?: {
|
|
21
|
+
adt?: string[] | undefined;
|
|
22
|
+
} | undefined;
|
|
23
|
+
treatmentRelationship?: boolean | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
subscriptions?: {
|
|
26
|
+
adt?: string[] | undefined;
|
|
27
|
+
} | undefined;
|
|
28
|
+
treatmentRelationship?: boolean | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
export declare const bulkPatientSettingsRequestSchema: z.ZodObject<{
|
|
31
|
+
settings: z.ZodObject<{
|
|
32
|
+
subscriptions: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
adt: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
adt?: string[] | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
adt?: string[] | undefined;
|
|
38
|
+
}>>;
|
|
39
|
+
treatmentRelationship: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
subscriptions?: {
|
|
42
|
+
adt?: string[] | undefined;
|
|
43
|
+
} | undefined;
|
|
44
|
+
treatmentRelationship?: boolean | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
subscriptions?: {
|
|
47
|
+
adt?: string[] | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
treatmentRelationship?: boolean | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
settings: {
|
|
53
|
+
subscriptions?: {
|
|
54
|
+
adt?: string[] | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
treatmentRelationship?: boolean | undefined;
|
|
57
|
+
};
|
|
58
|
+
}, {
|
|
59
|
+
settings: {
|
|
60
|
+
subscriptions?: {
|
|
61
|
+
adt?: string[] | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
treatmentRelationship?: boolean | undefined;
|
|
64
|
+
};
|
|
65
|
+
}>;
|
|
66
|
+
export type BulkPatientSettingsRequest = z.infer<typeof bulkPatientSettingsRequestSchema>;
|
|
67
|
+
export declare const patientSettingsRequestSchema: z.ZodObject<{
|
|
68
|
+
patientIds: z.ZodArray<z.ZodString, "many">;
|
|
69
|
+
settings: z.ZodObject<{
|
|
70
|
+
subscriptions: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
adt: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
adt?: string[] | undefined;
|
|
74
|
+
}, {
|
|
75
|
+
adt?: string[] | undefined;
|
|
76
|
+
}>>;
|
|
77
|
+
treatmentRelationship: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
subscriptions?: {
|
|
80
|
+
adt?: string[] | undefined;
|
|
81
|
+
} | undefined;
|
|
82
|
+
treatmentRelationship?: boolean | undefined;
|
|
83
|
+
}, {
|
|
84
|
+
subscriptions?: {
|
|
85
|
+
adt?: string[] | undefined;
|
|
86
|
+
} | undefined;
|
|
87
|
+
treatmentRelationship?: boolean | undefined;
|
|
88
|
+
}>;
|
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
|
+
patientIds: string[];
|
|
91
|
+
settings: {
|
|
92
|
+
subscriptions?: {
|
|
93
|
+
adt?: string[] | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
treatmentRelationship?: boolean | undefined;
|
|
96
|
+
};
|
|
97
|
+
}, {
|
|
98
|
+
patientIds: string[];
|
|
99
|
+
settings: {
|
|
100
|
+
subscriptions?: {
|
|
101
|
+
adt?: string[] | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
treatmentRelationship?: boolean | undefined;
|
|
104
|
+
};
|
|
105
|
+
}>;
|
|
106
|
+
export type PatientSettingsRequest = z.infer<typeof patientSettingsRequestSchema>;
|
|
107
|
+
export {};
|
|
108
|
+
//# sourceMappingURL=patient-settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-settings.d.ts","sourceRoot":"","sources":["../../../src/interface/internal/patient-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,mBAAmB;;;;;;EAEvB,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEvE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;EAGhC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.patientSettingsRequestSchema = exports.bulkPatientSettingsRequestSchema = exports.patientSettingsSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const subscriptionsSchema = zod_1.z.object({
|
|
6
|
+
adt: zod_1.z.array(zod_1.z.string()).optional(),
|
|
7
|
+
});
|
|
8
|
+
exports.patientSettingsSchema = zod_1.z.object({
|
|
9
|
+
subscriptions: subscriptionsSchema.optional(),
|
|
10
|
+
treatmentRelationship: zod_1.z.boolean().optional(),
|
|
11
|
+
});
|
|
12
|
+
exports.bulkPatientSettingsRequestSchema = zod_1.z.object({
|
|
13
|
+
settings: exports.patientSettingsSchema,
|
|
14
|
+
});
|
|
15
|
+
exports.patientSettingsRequestSchema = zod_1.z.object({
|
|
16
|
+
patientIds: zod_1.z.array(zod_1.z.string()),
|
|
17
|
+
settings: exports.patientSettingsSchema,
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=patient-settings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-settings.js","sourceRoot":"","sources":["../../../src/interface/internal/patient-settings.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,GAAG,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC;AAIU,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,mBAAmB,CAAC,QAAQ,EAAE;IAC7C,qBAAqB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAEU,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,QAAQ,EAAE,QAAA,qBAAqB;CAChC,CAAC,CAAC;AAGU,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAC/B,QAAQ,EAAE,QAAA,qBAAqB;CAChC,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const patientStatusSchema: z.ZodObject<{
|
|
3
|
+
hieOptOut: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
+
treatmentRelationship: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
hieOptOut?: boolean | undefined;
|
|
7
|
+
treatmentRelationship?: boolean | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
hieOptOut?: boolean | undefined;
|
|
10
|
+
treatmentRelationship?: boolean | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
//# sourceMappingURL=patient-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-status.d.ts","sourceRoot":"","sources":["../../../src/interface/internal/patient-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.patientStatusSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.patientStatusSchema = zod_1.z.object({
|
|
6
|
+
hieOptOut: zod_1.z.boolean().optional(),
|
|
7
|
+
treatmentRelationship: zod_1.z.boolean().optional(),
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=patient-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-status.js","sourceRoot":"","sources":["../../../src/interface/internal/patient-status.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,SAAS,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,qBAAqB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC"}
|
|
@@ -7,6 +7,7 @@ type LoincClassDisplayLookup = Record<string, {
|
|
|
7
7
|
export type LoincClass = keyof LoincClassDisplayLookup;
|
|
8
8
|
export declare function isLoinc(system: string | undefined): boolean;
|
|
9
9
|
export declare function isLoincCoding(coding: Coding | undefined): boolean;
|
|
10
|
+
export declare function isSnomed(system: string | undefined): boolean;
|
|
10
11
|
export declare function isActCoding(coding: Coding | undefined): boolean;
|
|
11
12
|
export declare function getLoincCodeClass(loincCode: string): {
|
|
12
13
|
abbreviation: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coding.d.ts","sourceRoot":"","sources":["../../../src/medical/fhir/coding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAK5C,MAAM,MAAM,cAAc,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAInD,KAAK,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAY1F,MAAM,MAAM,UAAU,GAAG,MAAM,uBAAuB,CAAC;AAEvD,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAQ3D;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAKjE;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAE/D;AAED,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,GAChB;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAevD"}
|
|
1
|
+
{"version":3,"file":"coding.d.ts","sourceRoot":"","sources":["../../../src/medical/fhir/coding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAK5C,MAAM,MAAM,cAAc,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAInD,KAAK,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAY1F,MAAM,MAAM,UAAU,GAAG,MAAM,uBAAuB,CAAC;AAEvD,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAQ3D;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAKjE;AAED,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAQ5D;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAE/D;AAED,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,GAChB;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAevD"}
|
|
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.isLoinc = isLoinc;
|
|
7
7
|
exports.isLoincCoding = isLoincCoding;
|
|
8
|
+
exports.isSnomed = isSnomed;
|
|
8
9
|
exports.isActCoding = isActCoding;
|
|
9
10
|
exports.getLoincCodeClass = getLoincCodeClass;
|
|
10
11
|
const constants_1 = require("./constants");
|
|
@@ -28,6 +29,13 @@ function isLoincCoding(coding) {
|
|
|
28
29
|
}
|
|
29
30
|
return false;
|
|
30
31
|
}
|
|
32
|
+
function isSnomed(system) {
|
|
33
|
+
if (system?.toLowerCase().trim().includes(constants_1.SNOMED_CODE) ||
|
|
34
|
+
system?.toLowerCase().trim().includes(constants_1.SNOMED_OID)) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
31
39
|
function isActCoding(coding) {
|
|
32
40
|
return coding?.system?.toLowerCase().trim().includes(constants_1.HL7_ACT_URL.toLowerCase()) ?? false;
|
|
33
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coding.js","sourceRoot":"","sources":["../../../src/medical/fhir/coding.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"coding.js","sourceRoot":"","sources":["../../../src/medical/fhir/coding.ts"],"names":[],"mappings":";;;;;;;;;;AACA,2CAA0F;AAC1F,wGAA4E;AAC5E,8GAAkF;AAQlF,MAAM,oBAAoB,GAAG,sCAAgD,CAAC;AAC9E,MAAM,uBAAuB,GAAG,yCAAsD,CAAC;AAEvF,SAAS,eAAe;IAItB,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,YAAY,EAAE,uBAAuB,EAAE,CAAC;AACpF,CAAC;AAID,iBAAwB,MAA0B;IAChD,IACE,MAAM,EAAE,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,sBAAU,CAAC;QACjD,MAAM,EAAE,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,qBAAS,CAAC,EAChD,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,uBAA8B,MAA0B;IACtD,IAAI,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,kBAAyB,MAA0B;IACjD,IACE,MAAM,EAAE,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,uBAAW,CAAC;QAClD,MAAM,EAAE,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,sBAAU,CAAC,EACjD,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,qBAA4B,MAA0B;IACpD,OAAO,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,uBAAW,CAAC,WAAW,EAAE,CAAC,IAAI,KAAK,CAAC;AAC3F,CAAC;AAED,2BACE,SAAiB;IAEjB,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,eAAe,EAAE,CAAC;IACtD,MAAM,WAAW,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;IACzC,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,kBAAkB,GAAG,YAAY,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAC3D,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;QACL,YAAY,EAAE,WAAW,CAAC,KAAK;QAC/B,OAAO,EAAE,kBAAkB,CAAC,YAAY;KACzC,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "Common code shared across packages - by Metriport Inc.",
|
|
5
5
|
"author": "Metriport Inc. <contact@metriport.com>",
|
|
6
6
|
"homepage": "https://metriport.com/",
|
|
@@ -165,5 +165,5 @@
|
|
|
165
165
|
"ts-jest": "29.4.11",
|
|
166
166
|
"typescript": "6.0.3"
|
|
167
167
|
},
|
|
168
|
-
"gitHead": "
|
|
168
|
+
"gitHead": "5ff26465f430e8a22a2fbfa770f414d78b2aecf9"
|
|
169
169
|
}
|