@metriport/ihe-gateway-sdk 0.5.3 → 0.5.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.
package/dist/index.d.ts CHANGED
@@ -4,6 +4,6 @@ export { InboundDocumentQueryResp, InboundDocumentQueryRespFault, inboundDocumen
4
4
  export { InboundDocumentRetrievalReq, inboundDocumentRetrievalReqSchema, OutboundDocumentRetrievalReq, outboundDocumentRetrievalReqSchema, } from "./models/document-retrieval/document-retrieval-requests";
5
5
  export { InboundDocumentRetrievalResp, InboundDocumentRetrievalRespFault, inboundDocumentRetrievalRespSchema, InboundDocumentRetrievalRespSuccessful, isSuccessfulOutboundDocRetrievalResponse, OutboundDocumentRetrievalResp, outboundDocumentRetrievalRespSchema, } from "./models/document-retrieval/document-retrieval-responses";
6
6
  export { InboundPatientDiscoveryReq, inboundPatientDiscoveryReqSchema, OutboundPatientDiscoveryReq, outboundPatientDiscoveryReqSchema, } from "./models/patient-discovery/patient-discovery-requests";
7
- export { InboundPatientDiscoveryResp, inboundPatientDiscoveryRespSchema, OutboundPatientDiscoveryResp, outboundPatientDiscoveryRespSchema, InboundPatientResource, inboundPatientResourceSchema, } from "./models/patient-discovery/patient-discovery-responses";
7
+ export { InboundPatientDiscoveryResp, inboundPatientDiscoveryRespSchema, OutboundPatientDiscoveryResp, OutboundPatientDiscoveryRespSuccessfulSchema, outboundPatientDiscoveryRespSchema, InboundPatientResource, inboundPatientResourceSchema, } from "./models/patient-discovery/patient-discovery-responses";
8
8
  export { BaseErrorResponse, BaseRequest, baseRequestSchema, BaseResponse, DocumentReference, isBaseErrorResponse, NPIString, NPIStringArray, npiStringArraySchema, npiStringSchema, oidStringSchema, OperationOutcome, SamlAttributes, XCAGateway, XCPDGateway, XCPDGateways, } from "./models/shared";
9
9
  //# 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,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,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,GAChC,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,wCAAwC,EACxC,6BAA6B,EAC7B,mCAAmC,GACpC,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,0BAA0B,EAC1B,gCAAgC,EAChC,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,EACjC,4BAA4B,EAC5B,kCAAkC,EAClC,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,SAAS,EACT,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,WAAW,EACX,YAAY,GACb,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,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,GAChC,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,wCAAwC,EACxC,6BAA6B,EAC7B,mCAAmC,GACpC,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,0BAA0B,EAC1B,gCAAgC,EAChC,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,EACjC,4BAA4B,EAC5B,4CAA4C,EAC5C,kCAAkC,EAClC,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,SAAS,EACT,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,WAAW,EACX,YAAY,GACb,MAAM,iBAAiB,CAAC"}
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,2FAKyD;AAHvD,wIAAA,6BAA6B,OAAA;AAE7B,yIAAA,8BAA8B,OAAA;AAEhC,6FAQ0D;AALxD,0IAAA,8BAA8B,OAAA;AAE9B,gJAAA,oCAAoC,OAAA;AAEpC,2IAAA,+BAA+B,OAAA;AAEjC,uGAKiE;AAH/D,gJAAA,iCAAiC,OAAA;AAEjC,iJAAA,kCAAkC,OAAA;AAEpC,yGAQkE;AALhE,kJAAA,kCAAkC,OAAA;AAElC,wJAAA,wCAAwC,OAAA;AAExC,mJAAA,mCAAmC,OAAA;AAErC,oGAK+D;AAH7D,8IAAA,gCAAgC,OAAA;AAEhC,+IAAA,iCAAiC,OAAA;AAEnC,sGAOgE;AAL9D,gJAAA,iCAAiC,OAAA;AAEjC,iJAAA,kCAAkC,OAAA;AAElC,2IAAA,4BAA4B,OAAA;AAE9B,0CAiByB;AAdvB,2GAAA,iBAAiB,OAAA;AAGjB,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,2FAKyD;AAHvD,wIAAA,6BAA6B,OAAA;AAE7B,yIAAA,8BAA8B,OAAA;AAEhC,6FAQ0D;AALxD,0IAAA,8BAA8B,OAAA;AAE9B,gJAAA,oCAAoC,OAAA;AAEpC,2IAAA,+BAA+B,OAAA;AAEjC,uGAKiE;AAH/D,gJAAA,iCAAiC,OAAA;AAEjC,iJAAA,kCAAkC,OAAA;AAEpC,yGAQkE;AALhE,kJAAA,kCAAkC,OAAA;AAElC,wJAAA,wCAAwC,OAAA;AAExC,mJAAA,mCAAmC,OAAA;AAErC,oGAK+D;AAH7D,8IAAA,gCAAgC,OAAA;AAEhC,+IAAA,iCAAiC,OAAA;AAEnC,sGAQgE;AAN9D,gJAAA,iCAAiC,OAAA;AAGjC,iJAAA,kCAAkC,OAAA;AAElC,2IAAA,4BAA4B,OAAA;AAE9B,0CAiByB;AAdvB,2GAAA,iBAAiB,OAAA;AAGjB,6GAAA,mBAAmB,OAAA;AAGnB,8GAAA,oBAAoB,OAAA;AACpB,yGAAA,eAAe,OAAA;AACf,yGAAA,eAAe,OAAA"}
@@ -681,6 +681,552 @@ export declare const inboundPatientDiscoveryRespSchema: z.ZodUnion<[z.ZodObject<
681
681
  } | undefined;
682
682
  }>]>;
683
683
  export type InboundPatientDiscoveryResp = z.infer<typeof inboundPatientDiscoveryRespSchema>;
684
+ declare const outboundPatientDiscoveryRespSuccessfulSchema: z.ZodObject<{
685
+ id: z.ZodString;
686
+ cxId: z.ZodOptional<z.ZodString>;
687
+ timestamp: z.ZodString;
688
+ patientId: z.ZodOptional<z.ZodString>;
689
+ responseTimestamp: z.ZodString;
690
+ externalGatewayPatient: z.ZodOptional<z.ZodObject<{
691
+ id: z.ZodString;
692
+ system: z.ZodString;
693
+ }, "strip", z.ZodTypeAny, {
694
+ id: string;
695
+ system: string;
696
+ }, {
697
+ id: string;
698
+ system: string;
699
+ }>>;
700
+ operationOutcome: z.ZodOptional<z.ZodObject<{
701
+ resourceType: z.ZodString;
702
+ id: z.ZodString;
703
+ issue: z.ZodArray<z.ZodObject<{
704
+ severity: z.ZodString;
705
+ code: z.ZodString;
706
+ details: z.ZodUnion<[z.ZodObject<{
707
+ coding: z.ZodArray<z.ZodObject<{
708
+ system: z.ZodString;
709
+ code: z.ZodString;
710
+ }, "strip", z.ZodTypeAny, {
711
+ code: string;
712
+ system: string;
713
+ }, {
714
+ code: string;
715
+ system: string;
716
+ }>, "many">;
717
+ }, "strip", z.ZodTypeAny, {
718
+ coding: {
719
+ code: string;
720
+ system: string;
721
+ }[];
722
+ }, {
723
+ coding: {
724
+ code: string;
725
+ system: string;
726
+ }[];
727
+ }>, z.ZodObject<{
728
+ text: z.ZodString;
729
+ }, "strip", z.ZodTypeAny, {
730
+ text: string;
731
+ }, {
732
+ text: string;
733
+ }>]>;
734
+ }, "strip", z.ZodTypeAny, {
735
+ code: string;
736
+ severity: string;
737
+ details: ({
738
+ coding: {
739
+ code: string;
740
+ system: string;
741
+ }[];
742
+ } | {
743
+ text: string;
744
+ }) & ({
745
+ coding: {
746
+ code: string;
747
+ system: string;
748
+ }[];
749
+ } | {
750
+ text: string;
751
+ } | undefined);
752
+ }, {
753
+ code: string;
754
+ severity: string;
755
+ details: ({
756
+ coding: {
757
+ code: string;
758
+ system: string;
759
+ }[];
760
+ } | {
761
+ text: string;
762
+ }) & ({
763
+ coding: {
764
+ code: string;
765
+ system: string;
766
+ }[];
767
+ } | {
768
+ text: string;
769
+ } | undefined);
770
+ }>, "many">;
771
+ }, "strip", z.ZodTypeAny, {
772
+ id: string;
773
+ resourceType: string;
774
+ issue: {
775
+ code: string;
776
+ severity: string;
777
+ details: ({
778
+ coding: {
779
+ code: string;
780
+ system: string;
781
+ }[];
782
+ } | {
783
+ text: string;
784
+ }) & ({
785
+ coding: {
786
+ code: string;
787
+ system: string;
788
+ }[];
789
+ } | {
790
+ text: string;
791
+ } | undefined);
792
+ }[];
793
+ }, {
794
+ id: string;
795
+ resourceType: string;
796
+ issue: {
797
+ code: string;
798
+ severity: string;
799
+ details: ({
800
+ coding: {
801
+ code: string;
802
+ system: string;
803
+ }[];
804
+ } | {
805
+ text: string;
806
+ }) & ({
807
+ coding: {
808
+ code: string;
809
+ system: string;
810
+ }[];
811
+ } | {
812
+ text: string;
813
+ } | undefined);
814
+ }[];
815
+ }>>;
816
+ gateway: z.ZodObject<{
817
+ oid: z.ZodString;
818
+ url: z.ZodOptional<z.ZodString>;
819
+ id: z.ZodOptional<z.ZodString>;
820
+ }, "strip", z.ZodTypeAny, {
821
+ oid: string;
822
+ url?: string | undefined;
823
+ id?: string | undefined;
824
+ }, {
825
+ oid: string;
826
+ url?: string | undefined;
827
+ id?: string | undefined;
828
+ }>;
829
+ patientMatch: z.ZodLiteral<true>;
830
+ gatewayHomeCommunityId: z.ZodString;
831
+ patientResource: z.ZodOptional<z.ZodObject<{
832
+ name: z.ZodOptional<z.ZodArray<z.ZodObject<{
833
+ family: z.ZodOptional<z.ZodString>;
834
+ given: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
835
+ }, "strip", z.ZodTypeAny, {
836
+ family?: string | undefined;
837
+ given?: string[] | undefined;
838
+ }, {
839
+ family?: string | undefined;
840
+ given?: string[] | undefined;
841
+ }>, "many">>;
842
+ gender: z.ZodOptional<z.ZodEnum<["male", "female", "unknown"]>>;
843
+ birthDate: z.ZodOptional<z.ZodString>;
844
+ address: z.ZodArray<z.ZodObject<{
845
+ line: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
846
+ city: z.ZodOptional<z.ZodString>;
847
+ state: z.ZodOptional<z.ZodString>;
848
+ postalCode: z.ZodOptional<z.ZodString>;
849
+ country: z.ZodOptional<z.ZodString>;
850
+ }, "strip", z.ZodTypeAny, {
851
+ line?: string[] | undefined;
852
+ city?: string | undefined;
853
+ state?: string | undefined;
854
+ postalCode?: string | undefined;
855
+ country?: string | undefined;
856
+ }, {
857
+ line?: string[] | undefined;
858
+ city?: string | undefined;
859
+ state?: string | undefined;
860
+ postalCode?: string | undefined;
861
+ country?: string | undefined;
862
+ }>, "many">;
863
+ }, "strip", z.ZodTypeAny, {
864
+ address: {
865
+ line?: string[] | undefined;
866
+ city?: string | undefined;
867
+ state?: string | undefined;
868
+ postalCode?: string | undefined;
869
+ country?: string | undefined;
870
+ }[];
871
+ name?: {
872
+ family?: string | undefined;
873
+ given?: string[] | undefined;
874
+ }[] | undefined;
875
+ gender?: "unknown" | "male" | "female" | undefined;
876
+ birthDate?: string | undefined;
877
+ }, {
878
+ address: {
879
+ line?: string[] | undefined;
880
+ city?: string | undefined;
881
+ state?: string | undefined;
882
+ postalCode?: string | undefined;
883
+ country?: string | undefined;
884
+ }[];
885
+ name?: {
886
+ family?: string | undefined;
887
+ given?: string[] | undefined;
888
+ }[] | undefined;
889
+ gender?: "unknown" | "male" | "female" | undefined;
890
+ birthDate?: string | undefined;
891
+ }>>;
892
+ }, "strip", z.ZodTypeAny, {
893
+ id: string;
894
+ timestamp: string;
895
+ responseTimestamp: string;
896
+ gateway: {
897
+ oid: string;
898
+ url?: string | undefined;
899
+ id?: string | undefined;
900
+ };
901
+ patientMatch: true;
902
+ gatewayHomeCommunityId: string;
903
+ cxId?: string | undefined;
904
+ patientId?: string | undefined;
905
+ externalGatewayPatient?: {
906
+ id: string;
907
+ system: string;
908
+ } | undefined;
909
+ operationOutcome?: {
910
+ id: string;
911
+ resourceType: string;
912
+ issue: {
913
+ code: string;
914
+ severity: string;
915
+ details: ({
916
+ coding: {
917
+ code: string;
918
+ system: string;
919
+ }[];
920
+ } | {
921
+ text: string;
922
+ }) & ({
923
+ coding: {
924
+ code: string;
925
+ system: string;
926
+ }[];
927
+ } | {
928
+ text: string;
929
+ } | undefined);
930
+ }[];
931
+ } | undefined;
932
+ patientResource?: {
933
+ address: {
934
+ line?: string[] | undefined;
935
+ city?: string | undefined;
936
+ state?: string | undefined;
937
+ postalCode?: string | undefined;
938
+ country?: string | undefined;
939
+ }[];
940
+ name?: {
941
+ family?: string | undefined;
942
+ given?: string[] | undefined;
943
+ }[] | undefined;
944
+ gender?: "unknown" | "male" | "female" | undefined;
945
+ birthDate?: string | undefined;
946
+ } | undefined;
947
+ }, {
948
+ id: string;
949
+ timestamp: string;
950
+ responseTimestamp: string;
951
+ gateway: {
952
+ oid: string;
953
+ url?: string | undefined;
954
+ id?: string | undefined;
955
+ };
956
+ patientMatch: true;
957
+ gatewayHomeCommunityId: string;
958
+ cxId?: string | undefined;
959
+ patientId?: string | undefined;
960
+ externalGatewayPatient?: {
961
+ id: string;
962
+ system: string;
963
+ } | undefined;
964
+ operationOutcome?: {
965
+ id: string;
966
+ resourceType: string;
967
+ issue: {
968
+ code: string;
969
+ severity: string;
970
+ details: ({
971
+ coding: {
972
+ code: string;
973
+ system: string;
974
+ }[];
975
+ } | {
976
+ text: string;
977
+ }) & ({
978
+ coding: {
979
+ code: string;
980
+ system: string;
981
+ }[];
982
+ } | {
983
+ text: string;
984
+ } | undefined);
985
+ }[];
986
+ } | undefined;
987
+ patientResource?: {
988
+ address: {
989
+ line?: string[] | undefined;
990
+ city?: string | undefined;
991
+ state?: string | undefined;
992
+ postalCode?: string | undefined;
993
+ country?: string | undefined;
994
+ }[];
995
+ name?: {
996
+ family?: string | undefined;
997
+ given?: string[] | undefined;
998
+ }[] | undefined;
999
+ gender?: "unknown" | "male" | "female" | undefined;
1000
+ birthDate?: string | undefined;
1001
+ } | undefined;
1002
+ }>;
1003
+ export type OutboundPatientDiscoveryRespSuccessfulSchema = z.infer<typeof outboundPatientDiscoveryRespSuccessfulSchema>;
1004
+ declare const outboundPatientDiscoveryRespFaultSchema: z.ZodObject<{
1005
+ id: z.ZodString;
1006
+ cxId: z.ZodOptional<z.ZodString>;
1007
+ timestamp: z.ZodString;
1008
+ patientId: z.ZodString;
1009
+ responseTimestamp: z.ZodString;
1010
+ externalGatewayPatient: z.ZodOptional<z.ZodObject<{
1011
+ id: z.ZodString;
1012
+ system: z.ZodString;
1013
+ }, "strip", z.ZodTypeAny, {
1014
+ id: string;
1015
+ system: string;
1016
+ }, {
1017
+ id: string;
1018
+ system: string;
1019
+ }>>;
1020
+ operationOutcome: z.ZodOptional<z.ZodObject<{
1021
+ resourceType: z.ZodString;
1022
+ id: z.ZodString;
1023
+ issue: z.ZodArray<z.ZodObject<{
1024
+ severity: z.ZodString;
1025
+ code: z.ZodString;
1026
+ details: z.ZodUnion<[z.ZodObject<{
1027
+ coding: z.ZodArray<z.ZodObject<{
1028
+ system: z.ZodString;
1029
+ code: z.ZodString;
1030
+ }, "strip", z.ZodTypeAny, {
1031
+ code: string;
1032
+ system: string;
1033
+ }, {
1034
+ code: string;
1035
+ system: string;
1036
+ }>, "many">;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ coding: {
1039
+ code: string;
1040
+ system: string;
1041
+ }[];
1042
+ }, {
1043
+ coding: {
1044
+ code: string;
1045
+ system: string;
1046
+ }[];
1047
+ }>, z.ZodObject<{
1048
+ text: z.ZodString;
1049
+ }, "strip", z.ZodTypeAny, {
1050
+ text: string;
1051
+ }, {
1052
+ text: string;
1053
+ }>]>;
1054
+ }, "strip", z.ZodTypeAny, {
1055
+ code: string;
1056
+ severity: string;
1057
+ details: ({
1058
+ coding: {
1059
+ code: string;
1060
+ system: string;
1061
+ }[];
1062
+ } | {
1063
+ text: string;
1064
+ }) & ({
1065
+ coding: {
1066
+ code: string;
1067
+ system: string;
1068
+ }[];
1069
+ } | {
1070
+ text: string;
1071
+ } | undefined);
1072
+ }, {
1073
+ code: string;
1074
+ severity: string;
1075
+ details: ({
1076
+ coding: {
1077
+ code: string;
1078
+ system: string;
1079
+ }[];
1080
+ } | {
1081
+ text: string;
1082
+ }) & ({
1083
+ coding: {
1084
+ code: string;
1085
+ system: string;
1086
+ }[];
1087
+ } | {
1088
+ text: string;
1089
+ } | undefined);
1090
+ }>, "many">;
1091
+ }, "strip", z.ZodTypeAny, {
1092
+ id: string;
1093
+ resourceType: string;
1094
+ issue: {
1095
+ code: string;
1096
+ severity: string;
1097
+ details: ({
1098
+ coding: {
1099
+ code: string;
1100
+ system: string;
1101
+ }[];
1102
+ } | {
1103
+ text: string;
1104
+ }) & ({
1105
+ coding: {
1106
+ code: string;
1107
+ system: string;
1108
+ }[];
1109
+ } | {
1110
+ text: string;
1111
+ } | undefined);
1112
+ }[];
1113
+ }, {
1114
+ id: string;
1115
+ resourceType: string;
1116
+ issue: {
1117
+ code: string;
1118
+ severity: string;
1119
+ details: ({
1120
+ coding: {
1121
+ code: string;
1122
+ system: string;
1123
+ }[];
1124
+ } | {
1125
+ text: string;
1126
+ }) & ({
1127
+ coding: {
1128
+ code: string;
1129
+ system: string;
1130
+ }[];
1131
+ } | {
1132
+ text: string;
1133
+ } | undefined);
1134
+ }[];
1135
+ }>>;
1136
+ gateway: z.ZodObject<{
1137
+ oid: z.ZodString;
1138
+ url: z.ZodOptional<z.ZodString>;
1139
+ id: z.ZodOptional<z.ZodString>;
1140
+ }, "strip", z.ZodTypeAny, {
1141
+ oid: string;
1142
+ url?: string | undefined;
1143
+ id?: string | undefined;
1144
+ }, {
1145
+ oid: string;
1146
+ url?: string | undefined;
1147
+ id?: string | undefined;
1148
+ }>;
1149
+ patientMatch: z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<null>]>;
1150
+ }, "strip", z.ZodTypeAny, {
1151
+ id: string;
1152
+ timestamp: string;
1153
+ patientId: string;
1154
+ responseTimestamp: string;
1155
+ gateway: {
1156
+ oid: string;
1157
+ url?: string | undefined;
1158
+ id?: string | undefined;
1159
+ };
1160
+ patientMatch: false | null;
1161
+ cxId?: string | undefined;
1162
+ externalGatewayPatient?: {
1163
+ id: string;
1164
+ system: string;
1165
+ } | undefined;
1166
+ operationOutcome?: {
1167
+ id: string;
1168
+ resourceType: string;
1169
+ issue: {
1170
+ code: string;
1171
+ severity: string;
1172
+ details: ({
1173
+ coding: {
1174
+ code: string;
1175
+ system: string;
1176
+ }[];
1177
+ } | {
1178
+ text: string;
1179
+ }) & ({
1180
+ coding: {
1181
+ code: string;
1182
+ system: string;
1183
+ }[];
1184
+ } | {
1185
+ text: string;
1186
+ } | undefined);
1187
+ }[];
1188
+ } | undefined;
1189
+ }, {
1190
+ id: string;
1191
+ timestamp: string;
1192
+ patientId: string;
1193
+ responseTimestamp: string;
1194
+ gateway: {
1195
+ oid: string;
1196
+ url?: string | undefined;
1197
+ id?: string | undefined;
1198
+ };
1199
+ patientMatch: false | null;
1200
+ cxId?: string | undefined;
1201
+ externalGatewayPatient?: {
1202
+ id: string;
1203
+ system: string;
1204
+ } | undefined;
1205
+ operationOutcome?: {
1206
+ id: string;
1207
+ resourceType: string;
1208
+ issue: {
1209
+ code: string;
1210
+ severity: string;
1211
+ details: ({
1212
+ coding: {
1213
+ code: string;
1214
+ system: string;
1215
+ }[];
1216
+ } | {
1217
+ text: string;
1218
+ }) & ({
1219
+ coding: {
1220
+ code: string;
1221
+ system: string;
1222
+ }[];
1223
+ } | {
1224
+ text: string;
1225
+ } | undefined);
1226
+ }[];
1227
+ } | undefined;
1228
+ }>;
1229
+ export type OutboundPatientDiscoveryRespFaultSchema = z.infer<typeof outboundPatientDiscoveryRespFaultSchema>;
684
1230
  export declare const outboundPatientDiscoveryRespSchema: z.ZodUnion<[z.ZodObject<{
685
1231
  id: z.ZodString;
686
1232
  cxId: z.ZodOptional<z.ZodString>;
@@ -1225,4 +1771,5 @@ export declare const outboundPatientDiscoveryRespSchema: z.ZodUnion<[z.ZodObject
1225
1771
  } | undefined;
1226
1772
  }>]>;
1227
1773
  export type OutboundPatientDiscoveryResp = z.infer<typeof outboundPatientDiscoveryRespSchema>;
1774
+ export {};
1228
1775
  //# 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;AAQzB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAyBlF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAG7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"patient-discovery-responses.js","sourceRoot":"","sources":["../../../src/models/patient-discovery/patient-discovery-responses.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,sCAKmB;AAEN,QAAA,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,CAAC;SACJ,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;KACtC,CAAC,CACH;SACA,QAAQ,EAAE;IACb,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,KAAK,CACd,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QACpC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACjC,OAAO,EAAE,C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,CAAC,CAAC;AAEL,MAAM,uCAAuC,GAAG,yCAAyC,CAAC,MAAM,CAAC;IAC/F,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;CACnD,CAAC,CAAC;AAEU,QAAA,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC;IACxD,4CAA4C;IAC5C,uCAAuC;CACxC,CAAC,CAAC"}
1
+ {"version":3,"file":"patient-discovery-responses.js","sourceRoot":"","sources":["../../../src/models/patient-discovery/patient-discovery-responses.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,sCAKmB;AAEN,QAAA,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,CAAC;SACJ,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;KACtC,CAAC,CACH;SACA,QAAQ,EAAE;IACb,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,KAAK,CACd,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QACpC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,UAAU,EAAE,CAAC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M,CAAC;IACN,eAAe,EAAE,oCAA4B,CAAC,QAAQ,EAAE;CACzD,CAAC,CAAC;AAKL,MAAM,uCAAuC,GAAG,yCAAyC,CAAC,MAAM,CAAC;IAC/F,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;CACnD,CAAC,CAAC;AAKU,QAAA,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC;IACxD,4CAA4C;IAC5C,uCAAuC;CACxC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metriport/ihe-gateway-sdk",
3
- "version": "0.5.3",
3
+ "version": "0.5.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.4.9",
58
+ "@metriport/shared": "^0.4.10",
59
59
  "axios": "^1.6.0",
60
60
  "zod": "^3.22.1"
61
61
  },
62
- "gitHead": "140a22ddeed9d5ef121c69e5db16add8c7cfa3d8"
62
+ "gitHead": "ca5472006bd05f66103718f6b7722f05b049fc8f"
63
63
  }