@metriport/ihe-gateway-sdk 0.1.3 → 0.1.4

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.
@@ -0,0 +1,16 @@
1
+ import { z } from "zod";
2
+ export declare const codingSchema: z.ZodObject<{
3
+ system: z.ZodEffects<z.ZodString, string, string>;
4
+ code: z.ZodEffects<z.ZodString, string, string>;
5
+ display: z.ZodOptional<z.ZodString>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ code: string;
8
+ system: string;
9
+ display?: string | undefined;
10
+ }, {
11
+ code: string;
12
+ system: string;
13
+ display?: string | undefined;
14
+ }>;
15
+ export type Coding = z.infer<typeof codingSchema>;
16
+ //# sourceMappingURL=coding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coding.d.ts","sourceRoot":"","sources":["../../src/models/coding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,YAAY;;;;;;;;;;;;EAIvB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.codingSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const shared_1 = require("./shared");
6
+ exports.codingSchema = zod_1.z.object({
7
+ system: shared_1.oidStringSchema,
8
+ code: shared_1.oidStringSchema,
9
+ display: zod_1.z.string().optional(),
10
+ });
11
+ //# sourceMappingURL=coding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coding.js","sourceRoot":"","sources":["../../src/models/coding.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qCAA2C;AAE9B,QAAA,YAAY,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,MAAM,EAAE,wBAAe;IACvB,IAAI,EAAE,wBAAe;IACrB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { z } from "zod";
2
+ export declare const dateRangeSchema: z.ZodObject<{
3
+ dateFrom: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
4
+ dateTo: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ dateFrom?: string | null | undefined;
7
+ dateTo?: string | null | undefined;
8
+ }, {
9
+ dateFrom?: string | null | undefined;
10
+ dateTo?: string | null | undefined;
11
+ }>;
12
+ export type DateRange = z.infer<typeof dateRangeSchema>;
13
+ //# sourceMappingURL=date.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/models/date.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe;;;;;;;;;EAG1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.dateRangeSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const shared_1 = require("@metriport/shared");
6
+ exports.dateRangeSchema = zod_1.z.object({
7
+ dateFrom: shared_1.optionalDateSchema,
8
+ dateTo: shared_1.optionalDateSchema,
9
+ });
10
+ //# sourceMappingURL=date.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.js","sourceRoot":"","sources":["../../src/models/date.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,8CAAuD;AAE1C,QAAA,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,QAAQ,EAAE,2BAAkB;IAC5B,MAAM,EAAE,2BAAkB;CAC3B,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { Coding } from "./coding";
2
+ import { DateRange } from "./date";
3
+ import { PatientIdentifier } from "./patient-identifier";
4
+ import { OIDString } from "./shared";
5
+ export type DQRequest = {
6
+ orgOid: OIDString;
7
+ patientIdentifier: PatientIdentifier;
8
+ classCode?: Coding;
9
+ practiceSettingCode?: Coding;
10
+ facilityTypeCode?: Coding;
11
+ documentCreationDate?: DateRange;
12
+ serviceDate?: DateRange;
13
+ };
14
+ //# sourceMappingURL=dq-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dq-request.d.ts","sourceRoot":"","sources":["../../src/models/dq-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,EAAE,SAAS,CAAC;IAClB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dq-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dq-request.js","sourceRoot":"","sources":["../../src/models/dq-request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { z } from "zod";
2
+ export declare const patientIdentifierSchema: z.ZodObject<{
3
+ orgOid: z.ZodEffects<z.ZodString, string, string>;
4
+ id: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ orgOid: string;
7
+ id: string;
8
+ }, {
9
+ orgOid: string;
10
+ id: string;
11
+ }>;
12
+ export type PatientIdentifier = z.infer<typeof patientIdentifierSchema>;
13
+ //# sourceMappingURL=patient-identifier.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patient-identifier.d.ts","sourceRoot":"","sources":["../../src/models/patient-identifier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.patientIdentifierSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const shared_1 = require("./shared");
6
+ exports.patientIdentifierSchema = zod_1.z.object({
7
+ orgOid: shared_1.oidStringSchema,
8
+ id: zod_1.z.string(),
9
+ });
10
+ //# sourceMappingURL=patient-identifier.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patient-identifier.js","sourceRoot":"","sources":["../../src/models/patient-identifier.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qCAA2C;AAE9B,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,MAAM,EAAE,wBAAe;IACvB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;CACf,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metriport/ihe-gateway-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "SDK to interact with other IHE Gateways - by Metriport Inc.",
5
5
  "author": "Metriport Inc. <contact@metriport.com>",
6
6
  "homepage": "https://metriport.com/",
@@ -55,9 +55,9 @@
55
55
  "url": "https://github.com/metriport/metriport/issues"
56
56
  },
57
57
  "dependencies": {
58
- "@metriport/shared": "^0.1.3",
58
+ "@metriport/shared": "^0.1.4",
59
59
  "axios": "^1.6.0",
60
60
  "zod": "^3.22.1"
61
61
  },
62
- "gitHead": "da83fddc1808ac96451a13d36b93015adf0f2bc1"
62
+ "gitHead": "92a0f8ac0ba8c57ab8f0d85780f1a6865b724e29"
63
63
  }