@metriport/ihe-gateway-sdk 0.29.6 → 0.29.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.
package/dist/index.d.ts CHANGED
@@ -6,6 +6,6 @@ export { InboundDocumentRetrievalReq, inboundDocumentRetrievalReqSchema, Outboun
6
6
  export { InboundDocumentRetrievalResp, InboundDocumentRetrievalRespFault, inboundDocumentRetrievalRespSchema, InboundDocumentRetrievalRespSuccessful, isSuccessfulInboundDocRetrievalResponse, isSuccessfulOutboundDocRetrievalResponse, OutboundDocumentRetrievalResp, outboundDocumentRetrievalRespSchema, toSafeCaptureContext as toSafeCaptureContextDocumentRetrieval, } from "./models/document-retrieval/document-retrieval-responses";
7
7
  export { Address, Gender, Name, PatientResource, patientResourceSchema, PersonalIdentifier, Telecom, } from "./models/patient-discovery/patient";
8
8
  export { InboundPatientDiscoveryReq, inboundPatientDiscoveryReqSchema, OutboundPatientDiscoveryReq, outboundPatientDiscoveryReqSchema, } from "./models/patient-discovery/patient-discovery-requests";
9
- export { InboundPatientDiscoveryResp, inboundPatientDiscoveryRespSchema, isNonErroringOutboundPatientDiscoveryResponse, isSuccessfulInboundPatientDiscoveryResponse, isSuccessfulOutboundPatientDiscoveryResponse, OutboundPatientDiscoveryResp, outboundPatientDiscoveryRespFaultSchema, OutboundPatientDiscoveryRespFaultSchema, outboundPatientDiscoveryRespSchema, outboundPatientDiscoveryRespSuccessfulSchema, OutboundPatientDiscoveryRespSuccessfulSchema, toSafeCaptureContext, } from "./models/patient-discovery/patient-discovery-responses";
9
+ export { InboundPatientDiscoveryResp, inboundPatientDiscoveryRespSchema, isSuccessfulInboundPatientDiscoveryResponse, isSuccessfulOutboundPatientDiscoveryResponse, OutboundPatientDiscoveryResp, outboundPatientDiscoveryRespFaultSchema, OutboundPatientDiscoveryRespFaultSchema, outboundPatientDiscoveryRespSchema, outboundPatientDiscoveryRespSuccessfulSchema, OutboundPatientDiscoveryRespSuccessfulSchema, } from "./models/patient-discovery/patient-discovery-responses";
10
10
  export { BaseErrorResponse, BaseRequest, baseRequestSchema, BaseResponse, Coding, DocumentReference, Issue, isBaseErrorResponse, NPIString, NPIStringArray, npiStringArraySchema, npiStringSchema, oidStringSchema, OperationOutcome, SamlAttributes, SubjectRole, XCAGateway, XCPDGateway, XCPDPatientId, } from "./models/shared";
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,4BAA4B,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,qCAAqC,EACrC,+BAA+B,EAC/B,wBAAwB,EACxB,8BAA8B,GAC/B,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,EAC9B,kCAAkC,EAClC,oCAAoC,EACpC,yBAAyB,EACzB,+BAA+B,EAC/B,oBAAoB,IAAI,iCAAiC,GAC1D,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,EACjC,4BAA4B,EAC5B,kCAAkC,GACnC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,sCAAsC,EACtC,uCAAuC,EACvC,wCAAwC,EACxC,6BAA6B,EAC7B,mCAAmC,EACnC,oBAAoB,IAAI,qCAAqC,GAC9D,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,OAAO,EACP,MAAM,EACN,IAAI,EACJ,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,OAAO,GACR,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,0BAA0B,EAC1B,gCAAgC,EAChC,2BAA2B,EAC3B,iCAAiC,GA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AAoB,IAAI,qCAAqC,GAC9D,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,OAAO,EACP,MAAM,EACN,IAAI,EACJ,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,OAAO,GACR,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,0BAA0B,EAC1B,gCAAgC,EAChC,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,EACjC,2CAA2C,EAC3C,4CAA4C,EAC5C,4BAA4B,EAC5B,uCAAuC,EACvC,uCAAuC,EACvC,kCAAkC,EAClC,4CAA4C,EAC5C,4CAA4C,GAC7C,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,MAAM,EACN,iBAAiB,EACjB,KAAK,EACL,mBAAmB,EACnB,SAAS,EACT,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,UAAU,EACV,WAAW,EACX,aAAa,GACd,MAAM,iBAAiB,CAAC"}
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.oidStringSchema = exports.npiStringSchema = exports.npiStringArraySchema = exports.isBaseErrorResponse = exports.baseRequestSchema = exports.toSafeCaptureContext = exports.outboundPatientDiscoveryRespSuccessfulSchema = exports.outboundPatientDiscoveryRespSchema = exports.outboundPatientDiscoveryRespFaultSchema = exports.isSuccessfulOutboundPatientDiscoveryResponse = exports.isSuccessfulInboundPatientDiscoveryResponse = exports.isNonErroringOutboundPatientDiscoveryResponse = exports.inboundPatientDiscoveryRespSchema = exports.outboundPatientDiscoveryReqSchema = exports.inboundPatientDiscoveryReqSchema = exports.patientResourceSchema = exports.toSafeCaptureContextDocumentRetrieval = exports.outboundDocumentRetrievalRespSchema = exports.isSuccessfulOutboundDocRetrievalResponse = exports.isSuccessfulInboundDocRetrievalResponse = exports.inboundDocumentRetrievalRespSchema = exports.outboundDocumentRetrievalReqSchema = exports.inboundDocumentRetrievalReqSchema = exports.toSafeCaptureContextDocumentQuery = exports.outboundDocumentQueryRespSchema = exports.isSuccessfulOutboundDocQueryResponse = exports.inboundDocumentQueryRespSchema = exports.outboundDocumentQueryReqSchema = exports.inboundSpecificDocumentQueryReqSchema = exports.inboundDocumentQueryReqSchema = exports.STABLE_DOCUMENT_TYPE_UUID = exports.ON_DEMAND_DOCUMENT_TYPE_UUID = exports.IHEGateway = void 0;
3
+ exports.oidStringSchema = exports.npiStringSchema = exports.npiStringArraySchema = exports.isBaseErrorResponse = exports.baseRequestSchema = exports.outboundPatientDiscoveryRespSuccessfulSchema = exports.outboundPatientDiscoveryRespSchema = exports.outboundPatientDiscoveryRespFaultSchema = exports.isSuccessfulOutboundPatientDiscoveryResponse = exports.isSuccessfulInboundPatientDiscoveryResponse = exports.inboundPatientDiscoveryRespSchema = exports.outboundPatientDiscoveryReqSchema = exports.inboundPatientDiscoveryReqSchema = exports.patientResourceSchema = exports.toSafeCaptureContextDocumentRetrieval = exports.outboundDocumentRetrievalRespSchema = exports.isSuccessfulOutboundDocRetrievalResponse = exports.isSuccessfulInboundDocRetrievalResponse = exports.inboundDocumentRetrievalRespSchema = exports.outboundDocumentRetrievalReqSchema = exports.inboundDocumentRetrievalReqSchema = exports.toSafeCaptureContextDocumentQuery = exports.outboundDocumentQueryRespSchema = exports.isSuccessfulOutboundDocQueryResponse = exports.inboundDocumentQueryRespSchema = exports.outboundDocumentQueryReqSchema = exports.inboundSpecificDocumentQueryReqSchema = exports.inboundDocumentQueryReqSchema = exports.STABLE_DOCUMENT_TYPE_UUID = exports.ON_DEMAND_DOCUMENT_TYPE_UUID = exports.IHEGateway = void 0;
4
4
  var ihe_gateway_1 = require("./client/ihe-gateway");
5
5
  Object.defineProperty(exports, "IHEGateway", { enumerable: true, get: function () { return ihe_gateway_1.IHEGateway; } });
6
6
  var constants_1 = require("./common/constants");
@@ -31,13 +31,11 @@ Object.defineProperty(exports, "inboundPatientDiscoveryReqSchema", { enumerable:
31
31
  Object.defineProperty(exports, "outboundPatientDiscoveryReqSchema", { enumerable: true, get: function () { return patient_discovery_requests_1.outboundPatientDiscoveryReqSchema; } });
32
32
  var patient_discovery_responses_1 = require("./models/patient-discovery/patient-discovery-responses");
33
33
  Object.defineProperty(exports, "inboundPatientDiscoveryRespSchema", { enumerable: true, get: function () { return patient_discovery_responses_1.inboundPatientDiscoveryRespSchema; } });
34
- Object.defineProperty(exports, "isNonErroringOutboundPatientDiscoveryResponse", { enumerable: true, get: function () { return patient_discovery_responses_1.isNonErroringOutboundPatientDiscoveryResponse; } });
35
34
  Object.defineProperty(exports, "isSuccessfulInboundPatientDiscoveryResponse", { enumerable: true, get: function () { return patient_discovery_responses_1.isSuccessfulInboundPatientDiscoveryResponse; } });
36
35
  Object.defineProperty(exports, "isSuccessfulOutboundPatientDiscoveryResponse", { enumerable: true, get: function () { return patient_discovery_responses_1.isSuccessfulOutboundPatientDiscoveryResponse; } });
37
36
  Object.defineProperty(exports, "outboundPatientDiscoveryRespFaultSchema", { enumerable: true, get: function () { return patient_discovery_responses_1.outboundPatientDiscoveryRespFaultSchema; } });
38
37
  Object.defineProperty(exports, "outboundPatientDiscoveryRespSchema", { enumerable: true, get: function () { return patient_discovery_responses_1.outboundPatientDiscoveryRespSchema; } });
39
38
  Object.defineProperty(exports, "outboundPatientDiscoveryRespSuccessfulSchema", { enumerable: true, get: function () { return patient_discovery_responses_1.outboundPatientDiscoveryRespSuccessfulSchema; } });
40
- Object.defineProperty(exports, "toSafeCaptureContext", { enumerable: true, get: function () { return patient_discovery_responses_1.toSafeCaptureContext; } });
41
39
  var shared_1 = require("./models/shared");
42
40
  Object.defineProperty(exports, "baseRequestSchema", { enumerable: true, get: function () { return shared_1.baseRequestSchema; } });
43
41
  Object.defineProperty(exports, "isBaseErrorResponse", { enumerable: true, get: function () { return shared_1.isBaseErrorResponse; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,oDAAkD;AAAzC,yGAAA,UAAU,OAAA;AACnB,gDAA6F;AAApF,yHAAA,4BAA4B,OAAA;AAAE,sHAAA,yBAAyB,OAAA;AAChE,2FAOyD;AALvD,wIAAA,6BAA6B,OAAA;AAC7B,gJAAA,qCAAqC,OAAA;AAGrC,yIAAA,8BAA8B,OAAA;AAEhC,6FAS0D;AANxD,0IAAA,8BAA8B,OAAA;AAE9B,gJAAA,oCAAoC,OAAA;AAEpC,2IAAA,+BAA+B,OAAA;AAC/B,6IAAA,oBAAoB,OAAqC;AAE3D,uGAKiE;AAH/D,gJAAA,iCAAiC,OAAA;AAEjC,iJAAA,kCAAkC,OAAA;AAEpC,yGAUkE;AAPhE,kJAAA,kCAAkC,OAAA;AAElC,uJAAA,uCAAuC,OAAA;AACvC,wJAAA,wCAAwC,OAAA;AAExC,mJAAA,mCAAmC,OAAA;AACnC,qJAAA,oBAAoB,OAAyC;AAE/D,8DAQ4C;AAH1C,gHAAA,qBAAqB,OAAA;AAIvB,oGAK+D;AAH7D,8IAAA,gCAAgC,OAAA;AAEhC,+IAAA,iCAAiC,OAAA;AAEnC,sGAagE;AAX9D,gJAAA,iCAAiC,OAAA;AACjC,4JAAA,6CAA6C,OAAA;AAC7C,0JAAA,2CAA2C,OAAA;AAC3C,2JAAA,4CAA4C,OAAA;AAE5C,sJAAA,uCAAuC,OAAA;AAEvC,iJAAA,kCAAkC,OAAA;AAClC,2JAAA,4CAA4C,OAAA;AAE5C,mIAAA,oBAAoB,OAAA;AAEtB,0CAoByB;AAjBvB,2GAAA,iBAAiB,OAAA;AAKjB,6GAAA,mBAAmB,OAAA;AAGnB,8GAAA,oBAAoB,OAAA;AACpB,yGAAA,eAAe,OAAA;AACf,yGAAA,eAAe,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,oDAAkD;AAAzC,yGAAA,UAAU,OAAA;AACnB,gDAA6F;AAApF,yHAAA,4BAA4B,OAAA;AAAE,sHAAA,yBAAyB,OAAA;AAChE,2FAOyD;AALvD,wIAAA,6BAA6B,OAAA;AAC7B,gJAAA,qCAAqC,OAAA;AAGrC,yIAAA,8BAA8B,OAAA;AAEhC,6FAS0D;AANxD,0IAAA,8BAA8B,OAAA;AAE9B,gJAAA,oCAAoC,OAAA;AAEpC,2IAAA,+BAA+B,OAAA;AAC/B,6IAAA,oBAAoB,OAAqC;AAE3D,uGAKiE;AAH/D,gJAAA,iCAAiC,OAAA;AAEjC,iJAAA,kCAAkC,OAAA;AAEpC,yGAUkE;AAPhE,kJAAA,kCAAkC,OAAA;AAElC,uJAAA,uCAAuC,OAAA;AACvC,wJAAA,wCAAwC,OAAA;AAExC,mJAAA,mCAAmC,OAAA;AACnC,qJAAA,oBAAoB,OAAyC;AAE/D,8DAQ4C;AAH1C,gHAAA,qBAAqB,OAAA;AAIvB,oGAK+D;AAH7D,8IAAA,gCAAgC,OAAA;AAEhC,+IAAA,iCAAiC,OAAA;AAEnC,sGAWgE;AAT9D,gJAAA,iCAAiC,OAAA;AACjC,0JAAA,2CAA2C,OAAA;AAC3C,2JAAA,4CAA4C,OAAA;AAE5C,sJAAA,uCAAuC,OAAA;AAEvC,iJAAA,kCAAkC,OAAA;AAClC,2JAAA,4CAA4C,OAAA;AAG9C,0CAoByB;AAjBvB,2GAAA,iBAAiB,OAAA;AAKjB,6GAAA,mBAAmB,OAAA;AAGnB,8GAAA,oBAAoB,OAAA;AACpB,yGAAA,eAAe,OAAA;AACf,yGAAA,eAAe,OAAA"}
@@ -2485,8 +2485,5 @@ export declare const outboundPatientDiscoveryRespSchema: z.ZodUnion<[z.ZodObject
2485
2485
  export type OutboundPatientDiscoveryResp = z.infer<typeof outboundPatientDiscoveryRespSchema>;
2486
2486
  export declare function isSuccessfulInboundPatientDiscoveryResponse(response: InboundPatientDiscoveryResp): response is InboundPatientDiscoveryRespSuccess;
2487
2487
  export declare function isSuccessfulOutboundPatientDiscoveryResponse(response: OutboundPatientDiscoveryResp): response is OutboundPatientDiscoveryRespSuccessfulSchema;
2488
- export declare function isNonErroringOutboundPatientDiscoveryResponse(response: OutboundPatientDiscoveryResp): response is OutboundPatientDiscoveryResp;
2489
- /** Safe context for logging/capture: no PHI (no patientResource, no patient identifiers). */
2490
- export declare function toSafeCaptureContext(response: OutboundPatientDiscoveryResp): Record<string, unknown>;
2491
2488
  export {};
2492
2489
  //# sourceMappingURL=patient-discovery-responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patient-discovery-responses.d.ts","sourceRoot":"","sources":["../../../src/models/patient-discovery/patient-discovery-responses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAezB,QAAA,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK7C,CAAC;AAYL,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAG7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,wBAAgB,2CAA2C,CACzD,QAAQ,EAAE,2BAA2B,GACpC,QAAQ,IAAI,kCAAkC,CAEhD;AAED,wBAAgB,4CAA4C,CAC1D,QAAQ,EAAE,4BAA4B,GACrC,QAAQ,IAAI,4CAA4C,CAE1D;AAED,wBAAgB,6CAA6C,CAC3D,QAAQ,EAAE,4BAA4B,GACrC,QAAQ,IAAI,4BAA4B,CAE1C;AAED,6FAA6F;AAC7F,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,4BAA4B,GACrC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAgBzB"}
1
+ {"version":3,"file":"patient-discovery-responses.d.ts","sourceRoot":"","sources":["../../../src/models/patient-discovery/patient-discovery-responses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAezB,QAAA,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAG7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,wBAAgB,2CAA2C,CACzD,QAAQ,EAAE,2BAA2B,GACpC,QAAQ,IAAI,kCAAkC,CAEhD;AAED,wBAAgB,4CAA4C,CAC1D,QAAQ,EAAE,4BAA4B,GACrC,QAAQ,IAAI,4CAA4C,CAE1D"}
@@ -36,8 +36,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.outboundPatientDiscoveryRespSchema = exports.outboundPatientDiscoveryRespFaultSchema = exports.outboundPatientDiscoveryRespSuccessfulSchema = exports.inboundPatientDiscoveryRespSchema = void 0;
37
37
  exports.isSuccessfulInboundPatientDiscoveryResponse = isSuccessfulInboundPatientDiscoveryResponse;
38
38
  exports.isSuccessfulOutboundPatientDiscoveryResponse = isSuccessfulOutboundPatientDiscoveryResponse;
39
- exports.isNonErroringOutboundPatientDiscoveryResponse = isNonErroringOutboundPatientDiscoveryResponse;
40
- exports.toSafeCaptureContext = toSafeCaptureContext;
41
39
  const z = __importStar(require("zod"));
42
40
  const shared_1 = require("../shared");
43
41
  const patient_1 = require("./patient");
@@ -86,24 +84,4 @@ function isSuccessfulInboundPatientDiscoveryResponse(response) {
86
84
  function isSuccessfulOutboundPatientDiscoveryResponse(response) {
87
85
  return "patientResource" in response;
88
86
  }
89
- function isNonErroringOutboundPatientDiscoveryResponse(response) {
90
- return response.patientMatch != null;
91
- }
92
- /** Safe context for logging/capture: no PHI (no patientResource, no patient identifiers). */
93
- function toSafeCaptureContext(response) {
94
- const { gateway, patientMatch } = response;
95
- const gatewayHomeCommunityId = "gatewayHomeCommunityId" in response ? response.gatewayHomeCommunityId : undefined;
96
- return {
97
- id: response.id,
98
- requestChunkId: response.requestChunkId,
99
- timestamp: response.timestamp,
100
- responseTimestamp: response.responseTimestamp,
101
- requestTimestamp: response.requestTimestamp,
102
- duration: response.duration,
103
- responseHttpStatusCode: response.responseHttpStatusCode,
104
- patientMatch,
105
- gatewayHomeCommunityId,
106
- gateway: gateway ? { oid: gateway.oid, url: gateway.url, id: gateway.id } : undefined,
107
- };
108
- }
109
87
  //# sourceMappingURL=patient-discovery-responses.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"patient-discovery-responses.js","sourceRoot":"","sources":["../../../src/models/patient-discovery/patient-discovery-responses.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,gCAAY;AACzB,sCAKmB;AACnB,uCAAkD;AAElD,MAAM,2CAA2C,GAAG,2BAAkB,CAAC,MAAM,CAAC;IAC5E,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,IAA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4C;IAC5C,QAAA,uCAAuC;CACxC,CAAC,CAAC;AAIH,qDACE,QAAqC;IAErC,OAAO,iBAAiB,IAAI,QAAQ,CAAC;AACvC,CAAC;AAED,sDACE,QAAsC;IAEtC,OAAO,iBAAiB,IAAI,QAAQ,CAAC;AACvC,CAAC;AAED,uDACE,QAAsC;IAEtC,OAAO,QAAQ,CAAC,YAAY,IAAI,IAAI,CAAC;AACvC,CAAC;AAED,6FAA6F;AAC7F,8BACE,QAAsC;IAEtC,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,QAAQ,CAAC;IAC3C,MAAM,sBAAsB,GAC1B,wBAAwB,IAAI,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;IACrF,OAAO;QACL,EAAE,EAAE,QAAQ,CAAC,EAAE;QACf,cAAc,EAAE,QAAQ,CAAC,cAAc;QACvC,SAAS,EAAE,QAAQ,CAAC,SAAS;QAC7B,iBAAiB,EAAE,QAAQ,CAAC,iBAAiB;QAC7C,gBAAgB,EAAE,QAAQ,CAAC,gBAAgB;QAC3C,QAAQ,EAAE,QAAQ,CAAC,QAAQ;QAC3B,sBAAsB,EAAE,QAAQ,CAAC,sBAAsB;QACvD,YAAY;QACZ,sBAAsB;QACtB,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE,EAAE,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS;KACtF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"patient-discovery-responses.js","sourceRoot":"","sources":["../../../src/models/patient-discovery/patient-discovery-responses.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,gCAAY;AACzB,sCAKmB;AACnB,uCAAkD;AAElD,MAAM,2CAA2C,GAAG,2BAA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AAUQ,QAAA,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC;IACxD,QAAA,4CAA4C;IAC5C,QAAA,uCAAuC;CACxC,CAAC,CAAC;AAIH,qDACE,QAAqC;IAErC,OAAO,iBAAiB,IAAI,QAAQ,CAAC;AACvC,CAAC;AAED,sDACE,QAAsC;IAEtC,OAAO,iBAAiB,IAAI,QAAQ,CAAC;AACvC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metriport/ihe-gateway-sdk",
3
- "version": "0.29.6",
3
+ "version": "0.29.7",
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/",
@@ -57,9 +57,9 @@
57
57
  "url": "https://github.com/metriport/metriport/issues"
58
58
  },
59
59
  "dependencies": {
60
- "@metriport/shared": "^0.34.6",
60
+ "@metriport/shared": "^0.34.7",
61
61
  "axios": "^1.15.0",
62
62
  "zod": "^3.22.1"
63
63
  },
64
- "gitHead": "d19066226f2078c1756c34a61e972a3f81cd4771"
64
+ "gitHead": "1158930e11f75eb494fbcfe9e3ac1758e79c9bf0"
65
65
  }