1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <process
|
---|
3 | name="NhinSubjectDiscovery"
|
---|
4 | targetNamespace="urn:gov:hhs:fha:nhinc:gateway:nhinbpel:nhinsubjectdiscovery"
|
---|
5 | xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
|
---|
6 | xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
---|
7 | xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
|
---|
8 | xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
|
---|
9 | xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling"
|
---|
10 | xmlns:tns="urn:gov:hhs:fha:nhinc:gateway:nhinbpel:nhinsubjectdiscovery"
|
---|
11 | xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions"
|
---|
12 | xmlns:hl7="urn:hl7-org:v3"
|
---|
13 | xmlns:nccommon="urn:gov:hhs:fha:nhinc:common:nhinccommon"
|
---|
14 | xmlns:propacc="urn:gov:hhs:fha:nhinc:common:propertyaccess"
|
---|
15 | xmlns:conninfo="urn:gov:hhs:fha:nhinc:common:connectionmanagerinfo"
|
---|
16 | xmlns:ncadapter="urn:gov:hhs:fha:nhinc:common:nhinccommonadapter"
|
---|
17 | xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
|
---|
18 | xmlns:audit="urn:gov:hhs:fha:nhinc:common:auditlog"
|
---|
19 | xmlns:xacml="urn:oasis:names:tc:xacml:2.0:context:schema:os" >
|
---|
20 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201301orch" location="Interfaces/wsdl/NhincComponentInternalSubDiscovery201301Orch.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
21 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" location="Interfaces/wsdl/NhincComponentPropAccessor.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
22 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" location="Interfaces/wsdl/NhincComponentConnectionManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
23 | <import namespace="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" location="Interfaces/wsdl/AdapterSubjectDiscovery.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
24 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" location="Interfaces/wsdl/NhincComponentSubDiscTransforms.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
25 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201302orch" location="Interfaces/wsdl/NhincComponentInternalSubDiscovery201302Orch.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
26 | <import namespace="urn:gov:hhs:fha:nhinc:nhincsubjectdiscovery" location="Interfaces/wsdl/NhincSubjectDiscovery.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
27 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" location="Interfaces/wsdl/NhincComponentInternalAuditRepository.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
28 | <import namespace="http://j2ee.netbeans.org/wsdl/Interfaces/NhincComponentInternalSubDiscovery201309Orch" location="Interfaces/wsdl/NhincComponentInternalSubDiscovery201309Orch.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
29 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201303orch" location="Interfaces/wsdl/NhincComponentInternalSubDiscovery201303Orch.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
30 | <partnerLinks>
|
---|
31 | <partnerLink name="PropAccessorPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" partnerLinkType="tns:NhincComponentPropAccessor" partnerRole="NhincComponentPropAccessorPortTypeRole"/>
|
---|
32 | <partnerLink name="SubDiscDataTransformsPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" partnerLinkType="tns:NhincComponentSubDiscTransforms" partnerRole="NhincComponentSubDiscTransformsPortTypeRole"/>
|
---|
33 | <partnerLink name="ConnectionMgrPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" partnerLinkType="tns:NhincComponentConnectionManager" partnerRole="NhincComponentConnectionManagerPortTypeRole"/>
|
---|
34 | <partnerLink name="NhincComponentInternalSubDiscovery201301OrchPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201301orch" partnerLinkType="tns:NhincComponentInternalSubDiscovery201301Orch" partnerRole="NhincComponentInternalSubDiscovery201301OrchPortTypeRole"/>
|
---|
35 | <partnerLink name="AdapterSubDiscPL" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" partnerLinkType="tns:AdapterSubjectDiscovery" partnerRole="AdapterSubjectDiscoveryPortTypeRole"/>
|
---|
36 | <partnerLink name="NhincComponentInternalSubDiscovery201302OrchPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201302orch" partnerLinkType="tns:NhincComponentInternalSubDiscovery201302Orch" partnerRole="NhincComponentInternalSubDiscovery201302OrchPortTypeRole"/>
|
---|
37 | <partnerLink name="NhincComponentInternalSubDiscovery201303OrchPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201303orch" partnerLinkType="tns:NhincComponentInternalSubDiscovery201303Orch" partnerRole="NhincComponentInternalSubDiscovery201303OrchPortTypeRole"/>
|
---|
38 | <partnerLink name="AuditRepositoryPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" partnerLinkType="tns:NhincComponentInternalAuditRepository" partnerRole="NhincComponentInternalAuditRepositoryPortTypeRole"/>
|
---|
39 | <partnerLink name="NhincComponentInternalSubDiscovery201309OrchPL" xmlns:tns="http://j2ee.netbeans.org/wsdl/Interfaces/NhincComponentInternalSubDiscovery201309Orch" partnerLinkType="tns:NhincComponentInternalSubDiscovery201309Orch" partnerRole="NhincComponentInternalSubDiscovery201309OrchPortTypeRole"/>
|
---|
40 | <partnerLink name="NhincSubjectDiscoveryPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubjectdiscovery" partnerLinkType="tns:NhincSubjectDiscovery" myRole="NhincSubjectDiscoveryPortTypeRole"/>
|
---|
41 | </partnerLinks>
|
---|
42 | <variables>
|
---|
43 | <variable name="PIX201309In" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201309UVRequestMessage"/>
|
---|
44 | <variable name="PIX201304In" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201304UVRequestMessage"/>
|
---|
45 | <variable name="PIX201303In" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201303UVRequestMessage"/>
|
---|
46 | <variable name="PIX201302In" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201302UVRequestMessage"/>
|
---|
47 | <variable name="PIX201301In" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201301UVRequestMessage"/>
|
---|
48 | </variables>
|
---|
49 | <sequence>
|
---|
50 | <pick name="HandleSubDiscoveryMessageSeq" xmlns:tns="urn:ihe:iti:pixv3:2007" createInstance="yes">
|
---|
51 | <onMessage partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201301UV" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubjectdiscovery" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201301In">
|
---|
52 | <scope name="Handle201301Scope">
|
---|
53 | <variables>
|
---|
54 | <variable name="LogNhinSubjectDiscoveryAckOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
|
---|
55 | <variable name="LogNhinSubjectDiscoveryAckIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogNhinSubjectDiscoveryAckRequestMessage"/>
|
---|
56 | <variable name="LogSubjectAddedOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
|
---|
57 | <variable name="LogSubjectAddedIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogSubjectAddedRequestMessage"/>
|
---|
58 | <variable name="CreateAckOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" messageType="tns:CreateAckResponseMessage"/>
|
---|
59 | <variable name="CreateAckIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" messageType="tns:CreateAckRequestMessage"/>
|
---|
60 | <variable name="AdapterPIX201301Out" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201301UVResponseMessage"/>
|
---|
61 | <variable name="AdapterPIX201301In" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201301UVRequestMessage"/>
|
---|
62 | <variable name="GetHcidPropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyResponseMessage"/>
|
---|
63 | <variable name="GetHcidPropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyRequestMessage"/>
|
---|
64 | <variable name="AgencyConnectionEndptOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameResponseMessage"/>
|
---|
65 | <variable name="AgencyConnectionEndptIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameRequestMessage"/>
|
---|
66 | <variable name="SubDiscPassThroughPropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanResponseMessage"/>
|
---|
67 | <variable name="SubDiscPassThroughPropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanRequestMessage"/>
|
---|
68 | <variable name="SubDiscEnablePropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanResponseMessage"/>
|
---|
69 | <variable name="SubDiscEnablePropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanRequestMessage"/>
|
---|
70 | <variable name="AnnounceNewPatientOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201301orch" messageType="tns:AnnounceNewPatientResponseMessage"/>
|
---|
71 | <variable name="AnnounceNewPatientIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201301orch" messageType="tns:AnnounceNewPatientRequestMessage"/>
|
---|
72 | <variable name="PIX201301Out" messageType="tns:PIXConsumer_PRPA_IN201301UVResponseMessage"/>
|
---|
73 | </variables>
|
---|
74 | <faultHandlers>
|
---|
75 | <catch faultName="sxeh:systemFault" faultVariable="systemFault201301Var" faultMessageType="sxeh:faultMessage">
|
---|
76 | <sequence name="SystemFault201301Seq">
|
---|
77 | <assign name="AssignFaultAckDte">
|
---|
78 | <sxt:trace>
|
---|
79 | <sxt:log level="info" location="onStart">
|
---|
80 | <bpel:from>'NhinSubjectDiscovery.bpel - A system fault was encounterd processing a 201301 message. Fault detials follow...'</bpel:from>
|
---|
81 | </sxt:log>
|
---|
82 | <sxt:log level="warning" location="onStart">
|
---|
83 | <bpel:from variable="systemFault201301Var"/>
|
---|
84 | </sxt:log>
|
---|
85 | </sxt:trace>
|
---|
86 | <copy>
|
---|
87 | <from>$PIX201301In.PIX201301Request/hl7:PRPA_IN201301UV/hl7:id</from>
|
---|
88 | <to>$CreateAckIn.CreateAckRequest/hl7:origMsgId</to>
|
---|
89 | </copy>
|
---|
90 | <copy>
|
---|
91 | <from>string($PIX201301In.PIX201301Request/hl7:PRPA_IN201301UV/hl7:receiver/hl7:device/hl7:id/@root)</from>
|
---|
92 | <to>$CreateAckIn.CreateAckRequest/hl7:senderOID</to>
|
---|
93 | </copy>
|
---|
94 | <copy>
|
---|
95 | <from>string($PIX201301In.PIX201301Request/hl7:PRPA_IN201301UV/hl7:sender/hl7:device/hl7:id/@root)</from>
|
---|
96 | <to>$CreateAckIn.CreateAckRequest/hl7:receiverOID</to>
|
---|
97 | </copy>
|
---|
98 | <copy>
|
---|
99 | <from>'Error - Internal Gateway Error'</from>
|
---|
100 | <to>$CreateAckIn.CreateAckRequest/hl7:msgText</to>
|
---|
101 | </copy>
|
---|
102 | </assign>
|
---|
103 | <invoke name="InvokeFaultAckDte" partnerLink="SubDiscDataTransformsPL" operation="CreateAck" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" portType="tns:NhincComponentSubDiscTransformsPortType" inputVariable="CreateAckIn" outputVariable="CreateAckOut"/>
|
---|
104 | <assign name="Assign201301FaultInfo">
|
---|
105 | <copy>
|
---|
106 | <from variable="CreateAckOut" part="CreateAckResponse"/>
|
---|
107 | <to variable="PIX201301Out" part="PIX201301Response"/>
|
---|
108 | </copy>
|
---|
109 | </assign>
|
---|
110 | <reply name="ReplyNhinSubDisc201301Fault" partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201301UV" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201301Out"/>
|
---|
111 | <exit name="ExitAfter201301FaultReturn"/>
|
---|
112 | </sequence>
|
---|
113 | </catch>
|
---|
114 | </faultHandlers>
|
---|
115 | <sequence name="Process201301Seq">
|
---|
116 | <sequence name="Log201301ReqSeq">
|
---|
117 | <assign name="AssignAudit201301Req">
|
---|
118 | <sxt:trace>
|
---|
119 | <sxt:log level="info" location="onComplete">
|
---|
120 | <bpel:from>'Complete Assign201301 to Audit'</bpel:from>
|
---|
121 | </sxt:log>
|
---|
122 | </sxt:trace>
|
---|
123 | <copy>
|
---|
124 | <from>'Inbound'</from>
|
---|
125 | <to>$LogSubjectAddedIn.LogSubjectAddedRequest/audit:direction</to>
|
---|
126 | </copy>
|
---|
127 | <copy>
|
---|
128 | <from>'Nhin'</from>
|
---|
129 | <to>$LogSubjectAddedIn.LogSubjectAddedRequest/audit:interface</to>
|
---|
130 | </copy>
|
---|
131 | <copy>
|
---|
132 | <from variable="PIX201301In" part="PIX201301Request"/>
|
---|
133 | <to>$LogSubjectAddedIn.LogSubjectAddedRequest/audit:message</to>
|
---|
134 | </copy>
|
---|
135 | </assign>
|
---|
136 | <invoke name="InvokeAudit201301Req" partnerLink="AuditRepositoryPL" operation="LogSubjectAdded" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogSubjectAddedIn" outputVariable="LogSubjectAddedOut">
|
---|
137 | <sxt:trace>
|
---|
138 | <sxt:log level="info" location="onComplete">
|
---|
139 | <bpel:from>'Complete Invoke Audit20301'</bpel:from>
|
---|
140 | </sxt:log>
|
---|
141 | </sxt:trace>
|
---|
142 | </invoke>
|
---|
143 | </sequence>
|
---|
144 | <assign name="AssignSubDiscEnabledProp">
|
---|
145 | <copy>
|
---|
146 | <from>'serviceSubjectDiscovery'</from>
|
---|
147 | <to>$SubDiscEnablePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
|
---|
148 | </copy>
|
---|
149 | <copy>
|
---|
150 | <from>'gateway'</from>
|
---|
151 | <to>$SubDiscEnablePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
|
---|
152 | </copy>
|
---|
153 | </assign>
|
---|
154 | <invoke name="InvokeSubDiscEnblProp" partnerLink="PropAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="SubDiscEnablePropIn" outputVariable="SubDiscEnablePropOut"/>
|
---|
155 | <if name="IfSubDiscEnabled">
|
---|
156 | <condition>true() = $SubDiscEnablePropOut.GetPropertyBooleanResponse/propacc:propertyValue</condition>
|
---|
157 | <sequence name="SubDiscEnabledSeq">
|
---|
158 | <assign name="AssignCheckSubDiscPassthrough">
|
---|
159 | <copy>
|
---|
160 | <from>'gateway'</from>
|
---|
161 | <to>$SubDiscPassThroughPropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
|
---|
162 | </copy>
|
---|
163 | <copy>
|
---|
164 | <from>'subjectDiscoveryPassthrough'</from>
|
---|
165 | <to>$SubDiscPassThroughPropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
|
---|
166 | </copy>
|
---|
167 | </assign>
|
---|
168 | <invoke name="InvokeCheckSubDiscPassthrough" partnerLink="PropAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="SubDiscPassThroughPropIn" outputVariable="SubDiscPassThroughPropOut"/>
|
---|
169 | <if name="IfNotPassthrough">
|
---|
170 | <condition>false() = $SubDiscPassThroughPropOut.GetPropertyBooleanResponse/propacc:propertyValue</condition>
|
---|
171 | <sequence name="NoPassthroughSeq">
|
---|
172 | <assign name="AssignNhincCompIntSubDiscOrchIn">
|
---|
173 | <copy>
|
---|
174 | <from>$PIX201301In.PIX201301Request/hl7:PRPA_IN201301UV</from>
|
---|
175 | <to>$AnnounceNewPatientIn.AnnounceNewPatientRequest/hl7:PRPA_IN201301UV</to>
|
---|
176 | </copy>
|
---|
177 | <copy>
|
---|
178 | <from>$PIX201301In.PIX201301Request/hl7:assertion</from>
|
---|
179 | <to>$AnnounceNewPatientIn.AnnounceNewPatientRequest/hl7:assertion</to>
|
---|
180 | </copy>
|
---|
181 | </assign>
|
---|
182 | <invoke name="InvokeNhincCompIntSubDisc201301Orch" partnerLink="NhincComponentInternalSubDiscovery201301OrchPL" operation="AnnounceNewPatient" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201301orch" portType="tns:NhincComponentInternalSubDiscovery201301OrchPortType" inputVariable="AnnounceNewPatientIn" outputVariable="AnnounceNewPatientOut"/>
|
---|
183 | <assign name="Assign201301Resp">
|
---|
184 | <copy>
|
---|
185 | <from variable="AnnounceNewPatientOut" part="AnnounceNewPatientResponse"/>
|
---|
186 | <to variable="PIX201301Out" part="PIX201301Response"/>
|
---|
187 | </copy>
|
---|
188 | </assign>
|
---|
189 | </sequence>
|
---|
190 | <else>
|
---|
191 | <sequence name="AgencyPassthrough">
|
---|
192 | <assign name="AssignGetHomeCommunityId">
|
---|
193 | <copy>
|
---|
194 | <from>'gateway'</from>
|
---|
195 | <to>$GetHcidPropIn.GetPropertyRequest/propacc:propertyFile</to>
|
---|
196 | </copy>
|
---|
197 | <copy>
|
---|
198 | <from>'localHomeCommunityId'</from>
|
---|
199 | <to>$GetHcidPropIn.GetPropertyRequest/propacc:propertyName</to>
|
---|
200 | </copy>
|
---|
201 | </assign>
|
---|
202 | <invoke name="InvokeGetHomeCommunityId" partnerLink="PropAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetHcidPropIn" outputVariable="GetHcidPropOut"/>
|
---|
203 | <assign name="AssignPassthroughConnLookup">
|
---|
204 | <copy>
|
---|
205 | <from>'adaptersubdiscoverypassthrough'</from>
|
---|
206 | <to>$AgencyConnectionEndptIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
|
---|
207 | </copy>
|
---|
208 | <copy>
|
---|
209 | <from>$GetHcidPropOut.GetPropertyResponse/propacc:propertyValue</from>
|
---|
210 | <to>$AgencyConnectionEndptIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
|
---|
211 | </copy>
|
---|
212 | </assign>
|
---|
213 | <invoke name="InvokePassthroughConnLookup" partnerLink="ConnectionMgrPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="AgencyConnectionEndptIn" outputVariable="AgencyConnectionEndptOut"/>
|
---|
214 | <assign name="AssignAdapterSubDiscInput">
|
---|
215 | <copy>
|
---|
216 | <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $AgencyConnectionEndptOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
|
---|
217 | <to partnerLink="AdapterSubDiscPL"/>
|
---|
218 | </copy>
|
---|
219 | <copy>
|
---|
220 | <from>$PIX201301In.PIX201301Request/hl7:PRPA_IN201301UV</from>
|
---|
221 | <to>$AdapterPIX201301In.PIXConsumer_PRPA_IN201301UVRequest/hl7:PRPA_IN201301UV</to>
|
---|
222 | </copy>
|
---|
223 | <copy>
|
---|
224 | <from>$PIX201301In.PIX201301Request/hl7:assertion</from>
|
---|
225 | <to>$AdapterPIX201301In.PIXConsumer_PRPA_IN201301UVRequest/hl7:assertion</to>
|
---|
226 | </copy>
|
---|
227 | </assign>
|
---|
228 | <invoke name="InvokeAdapterSubDisc" partnerLink="AdapterSubDiscPL" operation="PIXConsumer_PRPA_IN201301UV" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" portType="tns:AdapterSubjectDiscoveryPortType" inputVariable="AdapterPIX201301In" outputVariable="AdapterPIX201301Out"/>
|
---|
229 | <assign name="AssignAdapterSubDiscOutput">
|
---|
230 | <copy>
|
---|
231 | <from variable="AdapterPIX201301Out" part="PIXConsumer_PRPA_IN201301UVResponse"/>
|
---|
232 | <to variable="PIX201301Out" part="PIX201301Response"/>
|
---|
233 | </copy>
|
---|
234 | </assign>
|
---|
235 | </sequence>
|
---|
236 | </else>
|
---|
237 | </if>
|
---|
238 | </sequence>
|
---|
239 | <else>
|
---|
240 | <sequence name="SubDiscNotSupported">
|
---|
241 | <assign name="AssignSubDiscDisabledResp">
|
---|
242 | <sxt:trace>
|
---|
243 | <sxt:log level="info" location="onStart">
|
---|
244 | <from>'Subject Discovery is not supported'</from>
|
---|
245 | </sxt:log>
|
---|
246 | </sxt:trace>
|
---|
247 | <copy>
|
---|
248 | <from>$PIX201301In.PIX201301Request/hl7:PRPA_IN201301UV/hl7:id</from>
|
---|
249 | <to>$CreateAckIn.CreateAckRequest/hl7:origMsgId</to>
|
---|
250 | </copy>
|
---|
251 | <copy>
|
---|
252 | <from>string($PIX201301In.PIX201301Request/hl7:PRPA_IN201301UV/hl7:receiver/hl7:device/hl7:id/@root)</from>
|
---|
253 | <to>$CreateAckIn.CreateAckRequest/hl7:senderOID</to>
|
---|
254 | </copy>
|
---|
255 | <copy>
|
---|
256 | <from>string($PIX201301In.PIX201301Request/hl7:PRPA_IN201301UV/hl7:sender/hl7:device/hl7:id/@root)</from>
|
---|
257 | <to>$CreateAckIn.CreateAckRequest/hl7:receiverOID</to>
|
---|
258 | </copy>
|
---|
259 | <copy>
|
---|
260 | <from>'Warning - Subject Discovery Not Supported'</from>
|
---|
261 | <to>$CreateAckIn.CreateAckRequest/hl7:msgText</to>
|
---|
262 | </copy>
|
---|
263 | </assign>
|
---|
264 | <invoke name="InvokeNotSupportedAckDte" partnerLink="SubDiscDataTransformsPL" operation="CreateAck" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" portType="tns:NhincComponentSubDiscTransformsPortType" inputVariable="CreateAckIn" outputVariable="CreateAckOut"/>
|
---|
265 | <assign name="Assign201301NotSupportedInfo">
|
---|
266 | <copy>
|
---|
267 | <from variable="CreateAckOut" part="CreateAckResponse"/>
|
---|
268 | <to variable="PIX201301Out" part="PIX201301Response"/>
|
---|
269 | </copy>
|
---|
270 | </assign>
|
---|
271 | </sequence>
|
---|
272 | </else>
|
---|
273 | </if>
|
---|
274 | <sequence name="Log201301RespSeq">
|
---|
275 | <assign name="AssignAudit201301Resp">
|
---|
276 | <copy>
|
---|
277 | <from>'Outbound'</from>
|
---|
278 | <to>$LogNhinSubjectDiscoveryAckIn.LogNhinSubjectDiscoveryAckRequest/audit:direction</to>
|
---|
279 | </copy>
|
---|
280 | <copy>
|
---|
281 | <from>'Nhin'</from>
|
---|
282 | <to>$LogNhinSubjectDiscoveryAckIn.LogNhinSubjectDiscoveryAckRequest/audit:interface</to>
|
---|
283 | </copy>
|
---|
284 | <copy>
|
---|
285 | <from>$PIX201301In.PIX201301Request/hl7:assertion</from>
|
---|
286 | <to>$LogNhinSubjectDiscoveryAckIn.LogNhinSubjectDiscoveryAckRequest/audit:message/hl7:PIXConsumer_MCCI_IN000002UV01Request/hl7:assertion</to>
|
---|
287 | </copy>
|
---|
288 | <copy>
|
---|
289 | <from variable="PIX201301Out" part="PIX201301Response"/>
|
---|
290 | <to>$LogNhinSubjectDiscoveryAckIn.LogNhinSubjectDiscoveryAckRequest/audit:message/hl7:PIXConsumer_MCCI_IN000002UV01Request/hl7:MCCI_IN000002UV01</to>
|
---|
291 | </copy>
|
---|
292 | <copy>
|
---|
293 | <from>$PIX201301In.PIX201301Request/hl7:PRPA_IN201301UV/hl7:controlActProcess/hl7:subject/hl7:registrationEvent/hl7:subject1/hl7:patient/hl7:id/@extension</from>
|
---|
294 | <to>$LogNhinSubjectDiscoveryAckIn.LogNhinSubjectDiscoveryAckRequest/audit:message/hl7:PIXConsumer_MCCI_IN000002UV01Request/hl7:assertion/nccommon:uniquePatientId</to>
|
---|
295 | </copy>
|
---|
296 | </assign>
|
---|
297 | <invoke name="InvokeAudit201301Resp" partnerLink="AuditRepositoryPL" operation="LogNhinSubjectDiscoveryAck" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogNhinSubjectDiscoveryAckIn" outputVariable="LogNhinSubjectDiscoveryAckOut"/>
|
---|
298 | <reply name="Reply201301" partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201301UV" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201301Out"/>
|
---|
299 | </sequence>
|
---|
300 | </sequence>
|
---|
301 | </scope>
|
---|
302 | </onMessage>
|
---|
303 | <onMessage partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201302UV" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubjectdiscovery" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201302In">
|
---|
304 | <scope name="Handle201302Scope">
|
---|
305 | <variables>
|
---|
306 | <variable name="LogNhinSubjectDiscoveryAckOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
|
---|
307 | <variable name="LogNhinSubjectDiscoveryAckIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogNhinSubjectDiscoveryAckRequestMessage"/>
|
---|
308 | <variable name="LogSubjectRevisedOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
|
---|
309 | <variable name="LogSubjectRevisedIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogSubjectRevisedRequestMessage"/>
|
---|
310 | <variable name="AnnounceRevisedPatientOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201302orch" messageType="tns:AnnounceRevisedPatientResponseMessage"/>
|
---|
311 | <variable name="AnnounceRevisedPatientIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201302orch" messageType="tns:AnnounceRevisedPatientRequestMessage"/>
|
---|
312 | <variable name="CreateAckOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" messageType="tns:CreateAckResponseMessage"/>
|
---|
313 | <variable name="CreateAckIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" messageType="tns:CreateAckRequestMessage"/>
|
---|
314 | <variable name="AdapterPIX201302Out" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201302UVResponseMessage"/>
|
---|
315 | <variable name="AdapterPIX201302In" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201302UVRequestMessage"/>
|
---|
316 | <variable name="GetHcidPropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyResponseMessage"/>
|
---|
317 | <variable name="GetHcidPropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyRequestMessage"/>
|
---|
318 | <variable name="AgencyConnectionEndptOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameResponseMessage"/>
|
---|
319 | <variable name="AgencyConnectionEndptIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameRequestMessage"/>
|
---|
320 | <variable name="SubDiscPassThroughPropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanResponseMessage"/>
|
---|
321 | <variable name="SubDiscPassThroughPropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanRequestMessage"/>
|
---|
322 | <variable name="SubDiscEnablePropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanResponseMessage"/>
|
---|
323 | <variable name="SubDiscEnablePropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanRequestMessage"/>
|
---|
324 | <variable name="PIX201302Out" messageType="tns:PIXConsumer_PRPA_IN201302UVResponseMessage"/>
|
---|
325 | </variables>
|
---|
326 | <faultHandlers>
|
---|
327 | <catch faultName="sxeh:systemFault" faultVariable="systemFault201302Var" faultMessageType="sxeh:faultMessage">
|
---|
328 | <sequence name="SystemFault201302Seq">
|
---|
329 | <assign name="AssignFaultAckDte">
|
---|
330 | <sxt:trace>
|
---|
331 | <sxt:log level="info" location="onStart">
|
---|
332 | <bpel:from>'NhinSubjectDiscovery.bpel - A system fault was encounterd processing a 201302 message. Fault detials follow...'</bpel:from>
|
---|
333 | </sxt:log>
|
---|
334 | <sxt:log level="warning" location="onStart">
|
---|
335 | <bpel:from variable="systemFault201302Var"/>
|
---|
336 | </sxt:log>
|
---|
337 | </sxt:trace>
|
---|
338 | <copy>
|
---|
339 | <from>$PIX201302In.PIX201302Request/hl7:PRPA_IN201302UV/hl7:id</from>
|
---|
340 | <to>$CreateAckIn.CreateAckRequest/hl7:origMsgId</to>
|
---|
341 | </copy>
|
---|
342 | <copy>
|
---|
343 | <from>string($PIX201302In.PIX201302Request/hl7:PRPA_IN201302UV/hl7:receiver/hl7:device/hl7:id/@root)</from>
|
---|
344 | <to>$CreateAckIn.CreateAckRequest/hl7:senderOID</to>
|
---|
345 | </copy>
|
---|
346 | <copy>
|
---|
347 | <from>string($PIX201302In.PIX201302Request/hl7:PRPA_IN201302UV/hl7:sender/hl7:device/hl7:id/@root)</from>
|
---|
348 | <to>$CreateAckIn.CreateAckRequest/hl7:receiverOID</to>
|
---|
349 | </copy>
|
---|
350 | <copy>
|
---|
351 | <from>'Error - Internal Gateway Error'</from>
|
---|
352 | <to>$CreateAckIn.CreateAckRequest/hl7:msgText</to>
|
---|
353 | </copy>
|
---|
354 | </assign>
|
---|
355 | <invoke name="InvokeFaultAckDte" partnerLink="SubDiscDataTransformsPL" operation="CreateAck" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" portType="tns:NhincComponentSubDiscTransformsPortType" inputVariable="CreateAckIn" outputVariable="CreateAckOut"/>
|
---|
356 | <assign name="Assign201302FaultInfo">
|
---|
357 | <copy>
|
---|
358 | <from variable="CreateAckOut" part="CreateAckResponse"/>
|
---|
359 | <to variable="PIX201302Out" part="PIX201302Response"/>
|
---|
360 | </copy>
|
---|
361 | </assign>
|
---|
362 | <reply name="ReplyNhinSubDisc201302Fault" partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201302UV" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201302Out"/>
|
---|
363 | <exit name="ExitAfter201302FaultReturn"/>
|
---|
364 | </sequence>
|
---|
365 | </catch>
|
---|
366 | </faultHandlers>
|
---|
367 | <sequence name="Process201302Seq">
|
---|
368 | <sequence name="Log201302ReqSeq">
|
---|
369 | <assign name="Assign201302Req">
|
---|
370 | <copy>
|
---|
371 | <from variable="PIX201302In" part="PIX201302Request"/>
|
---|
372 | <to>$LogSubjectRevisedIn.LogSubjectRevisedRequest/audit:message</to>
|
---|
373 | </copy>
|
---|
374 | <copy>
|
---|
375 | <from>'Inbound'</from>
|
---|
376 | <to>$LogSubjectRevisedIn.LogSubjectRevisedRequest/audit:direction</to>
|
---|
377 | </copy>
|
---|
378 | <copy>
|
---|
379 | <from>'Nhin'</from>
|
---|
380 | <to>$LogSubjectRevisedIn.LogSubjectRevisedRequest/audit:interface</to>
|
---|
381 | </copy>
|
---|
382 | </assign>
|
---|
383 | <invoke name="InvokeAudit201302Req" partnerLink="AuditRepositoryPL" operation="LogSubjectRevised" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogSubjectRevisedIn" outputVariable="LogSubjectRevisedOut"/>
|
---|
384 | </sequence>
|
---|
385 | <assign name="AssignSubDiscEnabledProp">
|
---|
386 | <copy>
|
---|
387 | <from>'serviceSubjectDiscovery'</from>
|
---|
388 | <to>$SubDiscEnablePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
|
---|
389 | </copy>
|
---|
390 | <copy>
|
---|
391 | <from>'gateway'</from>
|
---|
392 | <to>$SubDiscEnablePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
|
---|
393 | </copy>
|
---|
394 | </assign>
|
---|
395 | <invoke name="InvokeSubDiscEnblProp" partnerLink="PropAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="SubDiscEnablePropIn" outputVariable="SubDiscEnablePropOut"/>
|
---|
396 | <if name="IfSubDiscEnabled">
|
---|
397 | <condition>true() = $SubDiscEnablePropOut.GetPropertyBooleanResponse/propacc:propertyValue</condition>
|
---|
398 | <sequence name="SubDiscEnabledSeq">
|
---|
399 | <assign name="AssignCheckSubDiscPassthrough">
|
---|
400 | <copy>
|
---|
401 | <from>'gateway'</from>
|
---|
402 | <to>$SubDiscPassThroughPropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
|
---|
403 | </copy>
|
---|
404 | <copy>
|
---|
405 | <from>'subjectDiscoveryPassthrough'</from>
|
---|
406 | <to>$SubDiscPassThroughPropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
|
---|
407 | </copy>
|
---|
408 | </assign>
|
---|
409 | <invoke name="InvokeCheckSubDiscPassthrough" partnerLink="PropAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="SubDiscPassThroughPropIn" outputVariable="SubDiscPassThroughPropOut"/>
|
---|
410 | <if name="IfNotPassthrough">
|
---|
411 | <condition>false() = $SubDiscPassThroughPropOut.GetPropertyBooleanResponse/propacc:propertyValue</condition>
|
---|
412 | <sequence name="NoPassthroughSeq">
|
---|
413 | <assign name="AssignNhincCompIntSubDiscOrchIn">
|
---|
414 | <copy>
|
---|
415 | <from>$PIX201302In.PIX201302Request/hl7:PRPA_IN201302UV</from>
|
---|
416 | <to>$AnnounceRevisedPatientIn.AnnounceRevisedPatientRequest/hl7:PRPA_IN201302UV</to>
|
---|
417 | </copy>
|
---|
418 | <copy>
|
---|
419 | <from>$PIX201302In.PIX201302Request/hl7:assertion</from>
|
---|
420 | <to>$AnnounceRevisedPatientIn.AnnounceRevisedPatientRequest/hl7:assertion</to>
|
---|
421 | </copy>
|
---|
422 | </assign>
|
---|
423 | <invoke name="InvokeInvokeNhincCompIntSubDisc201302Orch" partnerLink="NhincComponentInternalSubDiscovery201302OrchPL" operation="AnnounceRevisedPatient" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201302orch" portType="tns:NhincComponentInternalSubDiscovery201302OrchPortType" inputVariable="AnnounceRevisedPatientIn" outputVariable="AnnounceRevisedPatientOut"/>
|
---|
424 | <assign name="Assign201302Resp">
|
---|
425 | <copy>
|
---|
426 | <from variable="AnnounceRevisedPatientOut" part="AnnounceRevisedPatientResponse"/>
|
---|
427 | <to variable="PIX201302Out" part="PIX201302Response"/>
|
---|
428 | </copy>
|
---|
429 | </assign>
|
---|
430 | </sequence>
|
---|
431 | <else>
|
---|
432 | <sequence name="AgencyPassthroughSeq">
|
---|
433 | <assign name="AssignGetHomeCommunityId">
|
---|
434 | <copy>
|
---|
435 | <from>'gateway'</from>
|
---|
436 | <to>$GetHcidPropIn.GetPropertyRequest/propacc:propertyFile</to>
|
---|
437 | </copy>
|
---|
438 | <copy>
|
---|
439 | <from>'localHomeCommunityId'</from>
|
---|
440 | <to>$GetHcidPropIn.GetPropertyRequest/propacc:propertyName</to>
|
---|
441 | </copy>
|
---|
442 | </assign>
|
---|
443 | <invoke name="InvokeGetHomeCommunityId" partnerLink="PropAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetHcidPropIn" outputVariable="GetHcidPropOut"/>
|
---|
444 | <assign name="AssignPassthroughConnLookup">
|
---|
445 | <copy>
|
---|
446 | <from>'adaptersubdiscoverypassthrough'</from>
|
---|
447 | <to>$AgencyConnectionEndptIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
|
---|
448 | </copy>
|
---|
449 | <copy>
|
---|
450 | <from>$GetHcidPropOut.GetPropertyResponse/propacc:propertyValue</from>
|
---|
451 | <to>$AgencyConnectionEndptIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
|
---|
452 | </copy>
|
---|
453 | </assign>
|
---|
454 | <invoke name="InvokePassthroughConnLookup" partnerLink="ConnectionMgrPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="AgencyConnectionEndptIn" outputVariable="AgencyConnectionEndptOut"/>
|
---|
455 | <assign name="AssignAdapterSubDiscInput">
|
---|
456 | <copy>
|
---|
457 | <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $AgencyConnectionEndptOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
|
---|
458 | <to partnerLink="AdapterSubDiscPL"/>
|
---|
459 | </copy>
|
---|
460 | <copy>
|
---|
461 | <from>$PIX201302In.PIX201302Request/hl7:PRPA_IN201302UV</from>
|
---|
462 | <to>$AdapterPIX201302In.PIXConsumer_PRPA_IN201302UVRequest/hl7:PRPA_IN201302UV</to>
|
---|
463 | </copy>
|
---|
464 | <copy>
|
---|
465 | <from>$PIX201302In.PIX201302Request/hl7:assertion</from>
|
---|
466 | <to>$AdapterPIX201302In.PIXConsumer_PRPA_IN201302UVRequest/hl7:assertion</to>
|
---|
467 | </copy>
|
---|
468 | </assign>
|
---|
469 | <invoke name="InvokeAdapterSubDisc" partnerLink="AdapterSubDiscPL" operation="PIXConsumer_PRPA_IN201302UV" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" portType="tns:AdapterSubjectDiscoveryPortType" inputVariable="AdapterPIX201302In" outputVariable="AdapterPIX201302Out"/>
|
---|
470 | <assign name="AssignAdapterSubDiscOutput">
|
---|
471 | <copy>
|
---|
472 | <from variable="AdapterPIX201302Out" part="PIXConsumer_PRPA_IN201302UVResponse"/>
|
---|
473 | <to variable="PIX201302Out" part="PIX201302Response"/>
|
---|
474 | </copy>
|
---|
475 | </assign>
|
---|
476 | </sequence>
|
---|
477 | </else>
|
---|
478 | </if>
|
---|
479 | </sequence>
|
---|
480 | <else>
|
---|
481 | <sequence name="SubDiscNotSupported">
|
---|
482 | <assign name="AssignSubDiscDisabledResp">
|
---|
483 | <sxt:trace>
|
---|
484 | <sxt:log level="info" location="onStart">
|
---|
485 | <from>'Subject Discovery is not support'</from>
|
---|
486 | </sxt:log>
|
---|
487 | </sxt:trace>
|
---|
488 | <copy>
|
---|
489 | <from>$PIX201302In.PIX201302Request/hl7:PRPA_IN201302UV/hl7:id</from>
|
---|
490 | <to>$CreateAckIn.CreateAckRequest/hl7:origMsgId</to>
|
---|
491 | </copy>
|
---|
492 | <copy>
|
---|
493 | <from>string($PIX201302In.PIX201302Request/hl7:PRPA_IN201302UV/hl7:receiver/hl7:device/hl7:id/@root)</from>
|
---|
494 | <to>$CreateAckIn.CreateAckRequest/hl7:senderOID</to>
|
---|
495 | </copy>
|
---|
496 | <copy>
|
---|
497 | <from>string($PIX201302In.PIX201302Request/hl7:PRPA_IN201302UV/hl7:sender/hl7:device/hl7:id/@root)</from>
|
---|
498 | <to>$CreateAckIn.CreateAckRequest/hl7:receiverOID</to>
|
---|
499 | </copy>
|
---|
500 | <copy>
|
---|
501 | <from>'Warning - Subject Discovery Not Supported'</from>
|
---|
502 | <to>$CreateAckIn.CreateAckRequest/hl7:msgText</to>
|
---|
503 | </copy>
|
---|
504 | </assign>
|
---|
505 | <invoke name="InvokeNotSupportedAckDte" partnerLink="SubDiscDataTransformsPL" operation="CreateAck" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" portType="tns:NhincComponentSubDiscTransformsPortType" inputVariable="CreateAckIn" outputVariable="CreateAckOut"/>
|
---|
506 | <assign name="Assign201302NotSupportedInfo">
|
---|
507 | <copy>
|
---|
508 | <from variable="CreateAckOut" part="CreateAckResponse"/>
|
---|
509 | <to variable="PIX201302Out" part="PIX201302Response"/>
|
---|
510 | </copy>
|
---|
511 | </assign>
|
---|
512 | </sequence>
|
---|
513 | </else>
|
---|
514 | </if>
|
---|
515 | <sequence name="Log201302RespSeq">
|
---|
516 | <assign name="AssignAudit201302Resp">
|
---|
517 | <copy>
|
---|
518 | <from>$PIX201302In.PIX201302Request/hl7:assertion</from>
|
---|
519 | <to>$LogNhinSubjectDiscoveryAckIn.LogNhinSubjectDiscoveryAckRequest/audit:message/hl7:PIXConsumer_MCCI_IN000002UV01Request/hl7:assertion</to>
|
---|
520 | </copy>
|
---|
521 | <copy>
|
---|
522 | <from variable="PIX201302Out" part="PIX201302Response"/>
|
---|
523 | <to>$LogNhinSubjectDiscoveryAckIn.LogNhinSubjectDiscoveryAckRequest/audit:message/hl7:PIXConsumer_MCCI_IN000002UV01Request/hl7:MCCI_IN000002UV01</to>
|
---|
524 | </copy>
|
---|
525 | <copy>
|
---|
526 | <from>'Outbound'</from>
|
---|
527 | <to>$LogNhinSubjectDiscoveryAckIn.LogNhinSubjectDiscoveryAckRequest/audit:direction</to>
|
---|
528 | </copy>
|
---|
529 | <copy>
|
---|
530 | <from>'Nhin'</from>
|
---|
531 | <to>$LogNhinSubjectDiscoveryAckIn.LogNhinSubjectDiscoveryAckRequest/audit:interface</to>
|
---|
532 | </copy>
|
---|
533 | <copy>
|
---|
534 | <from>$PIX201302In.PIX201302Request/hl7:PRPA_IN201302UV/hl7:controlActProcess/hl7:subject/hl7:registrationEvent/hl7:subject1/hl7:patient/hl7:id/@extension</from>
|
---|
535 | <to>$LogNhinSubjectDiscoveryAckIn.LogNhinSubjectDiscoveryAckRequest/audit:message/hl7:PIXConsumer_MCCI_IN000002UV01Request/hl7:assertion/nccommon:uniquePatientId</to>
|
---|
536 | </copy>
|
---|
537 | </assign>
|
---|
538 | <invoke name="InvokeAudit201302Resp" partnerLink="AuditRepositoryPL" operation="LogNhinSubjectDiscoveryAck" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogNhinSubjectDiscoveryAckIn" outputVariable="LogNhinSubjectDiscoveryAckOut"/>
|
---|
539 | </sequence>
|
---|
540 | <reply name="Reply201302" partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201302UV" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201302Out"/>
|
---|
541 | </sequence>
|
---|
542 | </scope>
|
---|
543 | </onMessage>
|
---|
544 | <onMessage partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201303UV" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubjectdiscovery" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201303In">
|
---|
545 | <scope name="Handle201303Scope">
|
---|
546 | <variables>
|
---|
547 | <variable name="RevokePatientOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201303orch" messageType="tns:RevokePatientResponseMessage"/>
|
---|
548 | <variable name="RevokePatientIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201303orch" messageType="tns:RevokePatientRequestMessage"/>
|
---|
549 | <variable name="Adapter201303UVOut" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201303UVResponseMessage"/>
|
---|
550 | <variable name="Adapter201303UVIn" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201303UVRequestMessage"/>
|
---|
551 | <variable name="GetAdapterConnInfoOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameResponseMessage"/>
|
---|
552 | <variable name="GetAdapterConnInfoIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameRequestMessage"/>
|
---|
553 | <variable name="GetLocalHcidOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyResponseMessage"/>
|
---|
554 | <variable name="GetLocalHcidIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyRequestMessage"/>
|
---|
555 | <variable name="GetSDPassthruOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanResponseMessage"/>
|
---|
556 | <variable name="GetSDPassthruIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanRequestMessage"/>
|
---|
557 | <variable name="GetSubDiscServicePropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanResponseMessage"/>
|
---|
558 | <variable name="GetSubDiscServicePropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanRequestMessage"/>
|
---|
559 | <variable name="LogNhin201303AckOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
|
---|
560 | <variable name="LogNhin201303AckIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogNhinSubjectDiscoveryAckRequestMessage"/>
|
---|
561 | <variable name="LogSubjectRevokedOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
|
---|
562 | <variable name="LogSubjectRevokedIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogSubjectRevokedRequestMessage"/>
|
---|
563 | <variable name="PIX201303Out" messageType="tns:PIXConsumer_PRPA_IN201303UVResponseMessage"/>
|
---|
564 | <variable name="CreateAckOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" messageType="tns:CreateAckResponseMessage"/>
|
---|
565 | <variable name="CreateAckIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" messageType="tns:CreateAckRequestMessage"/>
|
---|
566 | </variables>
|
---|
567 | <faultHandlers>
|
---|
568 | <catch faultName="sxeh:systemFault" faultVariable="systemFault201303Var" faultMessageType="sxeh:faultMessage">
|
---|
569 | <sequence name="SystemFault201303Seq">
|
---|
570 | <assign name="AssignFaultAckDte">
|
---|
571 | <sxt:trace>
|
---|
572 | <sxt:log level="info" location="onStart">
|
---|
573 | <bpel:from>'NhinSubjectDiscovery.bpel - A system fault was encounterd processing a 201303 message. Fault detials follow...'</bpel:from>
|
---|
574 | </sxt:log>
|
---|
575 | <sxt:log level="warning" location="onStart">
|
---|
576 | <bpel:from variable="systemFault201303Var"/>
|
---|
577 | </sxt:log>
|
---|
578 | </sxt:trace>
|
---|
579 | <copy>
|
---|
580 | <from>$PIX201303In.PIX201303Request/hl7:PRPA_IN201303UV/hl7:id</from>
|
---|
581 | <to>$CreateAckIn.CreateAckRequest/hl7:origMsgId</to>
|
---|
582 | </copy>
|
---|
583 | <copy>
|
---|
584 | <from>string($PIX201303In.PIX201303Request/hl7:PRPA_IN201303UV/hl7:receiver/hl7:device/hl7:id/@root)</from>
|
---|
585 | <to>$CreateAckIn.CreateAckRequest/hl7:senderOID</to>
|
---|
586 | </copy>
|
---|
587 | <copy>
|
---|
588 | <from>string($PIX201303In.PIX201303Request/hl7:PRPA_IN201303UV/hl7:sender/hl7:device/hl7:id/@root)</from>
|
---|
589 | <to>$CreateAckIn.CreateAckRequest/hl7:receiverOID</to>
|
---|
590 | </copy>
|
---|
591 | <copy>
|
---|
592 | <from>'Error - Internal Gateway Error'</from>
|
---|
593 | <to>$CreateAckIn.CreateAckRequest/hl7:msgText</to>
|
---|
594 | </copy>
|
---|
595 | </assign>
|
---|
596 | <invoke name="InvokeFaultAckDte" partnerLink="SubDiscDataTransformsPL" operation="CreateAck" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" portType="tns:NhincComponentSubDiscTransformsPortType" inputVariable="CreateAckIn" outputVariable="CreateAckOut"/>
|
---|
597 | <assign name="Assign201303FaultInfo">
|
---|
598 | <copy>
|
---|
599 | <from variable="CreateAckOut" part="CreateAckResponse"/>
|
---|
600 | <to variable="PIX201303Out" part="PIX201303Response"/>
|
---|
601 | </copy>
|
---|
602 | </assign>
|
---|
603 | <reply name="ReplyNhinSubDisc201303Fault" partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201303UV" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201303Out"/>
|
---|
604 | <exit name="ExitAfter201303FaultReturn"/>
|
---|
605 | </sequence>
|
---|
606 | </catch>
|
---|
607 | </faultHandlers>
|
---|
608 | <sequence name="Process201303Seq">
|
---|
609 | <assign name="AssignAudit201303">
|
---|
610 | <copy>
|
---|
611 | <from>$PIX201303In.PIX201303Request/hl7:PRPA_IN201303UV</from>
|
---|
612 | <to>$LogSubjectRevokedIn.LogSubjectRevokedRequest/audit:message/hl7:PRPA_IN201303UV</to>
|
---|
613 | </copy>
|
---|
614 | <copy>
|
---|
615 | <from>$PIX201303In.PIX201303Request/hl7:assertion</from>
|
---|
616 | <to>$LogSubjectRevokedIn.LogSubjectRevokedRequest/audit:message/hl7:assertion</to>
|
---|
617 | </copy>
|
---|
618 | <copy>
|
---|
619 | <from>'Inbound'</from>
|
---|
620 | <to>$LogSubjectRevokedIn.LogSubjectRevokedRequest/audit:direction</to>
|
---|
621 | </copy>
|
---|
622 | <copy>
|
---|
623 | <from>'Nhin'</from>
|
---|
624 | <to>$LogSubjectRevokedIn.LogSubjectRevokedRequest/audit:interface</to>
|
---|
625 | </copy>
|
---|
626 | </assign>
|
---|
627 | <invoke name="InvokeAudit201303" partnerLink="AuditRepositoryPL" operation="LogSubjectRevoked" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogSubjectRevokedIn" outputVariable="LogSubjectRevokedOut"/>
|
---|
628 | <assign name="AssignSubDiscEnblProp">
|
---|
629 | <copy>
|
---|
630 | <from>'serviceSubjectDiscovery'</from>
|
---|
631 | <to>$GetSubDiscServicePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
|
---|
632 | </copy>
|
---|
633 | <copy>
|
---|
634 | <from>'gateway'</from>
|
---|
635 | <to>$GetSubDiscServicePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
|
---|
636 | </copy>
|
---|
637 | </assign>
|
---|
638 | <invoke name="InvokeSubDiscEnblProp" partnerLink="PropAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetSubDiscServicePropIn" outputVariable="GetSubDiscServicePropOut"/>
|
---|
639 | <if name="IfSubDiscEnabled">
|
---|
640 | <condition>$GetSubDiscServicePropOut.GetPropertyBooleanResponse/propacc:propertyValue = true()</condition>
|
---|
641 | <sequence name="SubDiscEnabledSeq">
|
---|
642 | <assign name="AssignCheckSubDiscPassthrough">
|
---|
643 | <copy>
|
---|
644 | <from>'subjectDiscoveryPassthrough'</from>
|
---|
645 | <to>$GetSDPassthruIn.GetPropertyBooleanRequest/propacc:propertyName</to>
|
---|
646 | </copy>
|
---|
647 | <copy>
|
---|
648 | <from>'gateway'</from>
|
---|
649 | <to>$GetSDPassthruIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
|
---|
650 | </copy>
|
---|
651 | </assign>
|
---|
652 | <invoke name="InvokeCheckSubDiscPassthrough" partnerLink="PropAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetSDPassthruIn" outputVariable="GetSDPassthruOut"/>
|
---|
653 | <if name="IfNotPassthrough">
|
---|
654 | <condition>$GetSDPassthruOut.GetPropertyBooleanResponse/propacc:propertyValue = false()</condition>
|
---|
655 | <sequence name="NoPassthroughSeq">
|
---|
656 | <assign name="AssignNhincCompIntSubDiscOrchIn">
|
---|
657 | <copy>
|
---|
658 | <from variable="PIX201303In" part="PIX201303Request"/>
|
---|
659 | <to variable="RevokePatientIn" part="RevokePatientRequest"/>
|
---|
660 | </copy>
|
---|
661 | </assign>
|
---|
662 | <invoke name="InvokeNhincCompIntSubDiscOrchIn" partnerLink="NhincComponentInternalSubDiscovery201303OrchPL" operation="RevokePatient" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubdiscovery201303orch" portType="tns:NhincComponentInternalSubDiscovery201303OrchPortType" inputVariable="RevokePatientIn" outputVariable="RevokePatientOut"/>
|
---|
663 | <assign name="Assign201303Resp">
|
---|
664 | <copy>
|
---|
665 | <from variable="RevokePatientOut" part="RevokePatientResponse"/>
|
---|
666 | <to variable="PIX201303Out" part="PIX201303Response"/>
|
---|
667 | </copy>
|
---|
668 | </assign>
|
---|
669 | </sequence>
|
---|
670 | <else>
|
---|
671 | <sequence name="AgencyPassthroughSeq">
|
---|
672 | <assign name="AssignGetHomeCommunityId">
|
---|
673 | <copy>
|
---|
674 | <from>'localHomeCommunityId'</from>
|
---|
675 | <to>$GetLocalHcidIn.GetPropertyRequest/propacc:propertyName</to>
|
---|
676 | </copy>
|
---|
677 | <copy>
|
---|
678 | <from>'gateway'</from>
|
---|
679 | <to>$GetLocalHcidIn.GetPropertyRequest/propacc:propertyFile</to>
|
---|
680 | </copy>
|
---|
681 | </assign>
|
---|
682 | <invoke name="InvokeGetHomeCommunityId" partnerLink="PropAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetLocalHcidIn" outputVariable="GetLocalHcidOut"/>
|
---|
683 | <assign name="AssignPassthroughConnLookup">
|
---|
684 | <copy>
|
---|
685 | <from>'adaptersubdiscoverypassthrough'</from>
|
---|
686 | <to>$GetAdapterConnInfoIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
|
---|
687 | </copy>
|
---|
688 | <copy>
|
---|
689 | <from>$GetLocalHcidOut.GetPropertyResponse/propacc:propertyValue</from>
|
---|
690 | <to>$GetAdapterConnInfoIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
|
---|
691 | </copy>
|
---|
692 | </assign>
|
---|
693 | <invoke name="InvokePassthroughConnLookup" partnerLink="ConnectionMgrPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetAdapterConnInfoIn" outputVariable="GetAdapterConnInfoOut"/>
|
---|
694 | <assign name="AssignAdapterSubDisc">
|
---|
695 | <copy>
|
---|
696 | <from variable="PIX201303In" part="PIX201303Request"/>
|
---|
697 | <to variable="Adapter201303UVIn" part="PIXConsumer_PRPA_IN201303UVRequest"/>
|
---|
698 | </copy>
|
---|
699 | <copy>
|
---|
700 | <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetAdapterConnInfoOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
|
---|
701 | <to partnerLink="AdapterSubDiscPL"/>
|
---|
702 | </copy>
|
---|
703 | </assign>
|
---|
704 | <invoke name="InvokeAdapterSubDisc" partnerLink="AdapterSubDiscPL" operation="PIXConsumer_PRPA_IN201303UV" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" portType="tns:AdapterSubjectDiscoveryPortType" inputVariable="Adapter201303UVIn" outputVariable="Adapter201303UVOut"/>
|
---|
705 | <assign name="AssignAdapterSubDiscResp">
|
---|
706 | <copy>
|
---|
707 | <from variable="Adapter201303UVOut" part="PIXConsumer_PRPA_IN201303UVResponse"/>
|
---|
708 | <to variable="PIX201303Out" part="PIX201303Response"/>
|
---|
709 | </copy>
|
---|
710 | </assign>
|
---|
711 | </sequence>
|
---|
712 | </else>
|
---|
713 | </if>
|
---|
714 | </sequence>
|
---|
715 | <else>
|
---|
716 | <sequence name="SubDiscNotSupportedSeq">
|
---|
717 | <assign name="AssignSubDiscDisabledResp">
|
---|
718 | <sxt:trace>
|
---|
719 | <sxt:log level="warning" location="onStart">
|
---|
720 | <from>'201303 Messages are currently not supported by the Gateway'</from>
|
---|
721 | </sxt:log>
|
---|
722 | </sxt:trace>
|
---|
723 | <copy>
|
---|
724 | <from>$PIX201303In.PIX201303Request/hl7:PRPA_IN201303UV/hl7:id</from>
|
---|
725 | <to>$CreateAckIn.CreateAckRequest/hl7:origMsgId</to>
|
---|
726 | </copy>
|
---|
727 | <copy>
|
---|
728 | <from>string($PIX201303In.PIX201303Request/hl7:PRPA_IN201303UV/hl7:receiver/hl7:device/hl7:id/@root)</from>
|
---|
729 | <to>$CreateAckIn.CreateAckRequest/hl7:senderOID</to>
|
---|
730 | </copy>
|
---|
731 | <copy>
|
---|
732 | <from>string($PIX201303In.PIX201303Request/hl7:PRPA_IN201303UV/hl7:sender/hl7:device/hl7:id/@root)</from>
|
---|
733 | <to>$CreateAckIn.CreateAckRequest/hl7:receiverOID</to>
|
---|
734 | </copy>
|
---|
735 | <copy>
|
---|
736 | <from>'Warning - Subject Discovery Revoke Not Supported'</from>
|
---|
737 | <to>$CreateAckIn.CreateAckRequest/hl7:msgText</to>
|
---|
738 | </copy>
|
---|
739 | </assign>
|
---|
740 | <invoke name="InvokeNotSupportedAckDte" partnerLink="SubDiscDataTransformsPL" operation="CreateAck" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" portType="tns:NhincComponentSubDiscTransformsPortType" inputVariable="CreateAckIn" outputVariable="CreateAckOut"/>
|
---|
741 | <assign name="Assign201303NotSupported">
|
---|
742 | <copy>
|
---|
743 | <from variable="CreateAckOut" part="CreateAckResponse"/>
|
---|
744 | <to variable="PIX201303Out" part="PIX201303Response"/>
|
---|
745 | </copy>
|
---|
746 | </assign>
|
---|
747 | </sequence>
|
---|
748 | </else>
|
---|
749 | </if>
|
---|
750 | <assign name="AssignAudit201303Ack">
|
---|
751 | <copy>
|
---|
752 | <from>$PIX201303In.PIX201303Request/hl7:assertion</from>
|
---|
753 | <to>$LogNhin201303AckIn.LogNhinSubjectDiscoveryAckRequest/audit:message/hl7:PIXConsumer_MCCI_IN000002UV01Request/hl7:assertion</to>
|
---|
754 | </copy>
|
---|
755 | <copy>
|
---|
756 | <from variable="PIX201303Out" part="PIX201303Response"/>
|
---|
757 | <to>$LogNhin201303AckIn.LogNhinSubjectDiscoveryAckRequest/audit:message/hl7:PIXConsumer_MCCI_IN000002UV01Request/hl7:MCCI_IN000002UV01</to>
|
---|
758 | </copy>
|
---|
759 | <copy>
|
---|
760 | <from>'Outbound'</from>
|
---|
761 | <to>$LogNhin201303AckIn.LogNhinSubjectDiscoveryAckRequest/audit:direction</to>
|
---|
762 | </copy>
|
---|
763 | <copy>
|
---|
764 | <from>'Nhin'</from>
|
---|
765 | <to>$LogNhin201303AckIn.LogNhinSubjectDiscoveryAckRequest/audit:interface</to>
|
---|
766 | </copy>
|
---|
767 | </assign>
|
---|
768 | <invoke name="InvokeAudit201303Ack" partnerLink="AuditRepositoryPL" operation="LogNhinSubjectDiscoveryAck" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogNhin201303AckIn" outputVariable="LogNhin201303AckOut"/>
|
---|
769 | <reply name="Reply201303" partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201303UV" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201303Out"/>
|
---|
770 | </sequence>
|
---|
771 | </scope>
|
---|
772 | </onMessage>
|
---|
773 | <onMessage partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201304UV" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubjectdiscovery" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201304In">
|
---|
774 | <scope name="Handle201304Scope">
|
---|
775 | <variables>
|
---|
776 | <variable name="PIX201304Out" messageType="tns:PIXConsumer_PRPA_IN201304UVResponseMessage"/>
|
---|
777 | <variable name="CreateAckOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" messageType="tns:CreateAckResponseMessage"/>
|
---|
778 | <variable name="CreateAckIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" messageType="tns:CreateAckRequestMessage"/>
|
---|
779 | </variables>
|
---|
780 | <faultHandlers>
|
---|
781 | <catch faultName="sxeh:systemFault" faultVariable="systemFault201304Var" faultMessageType="sxeh:faultMessage">
|
---|
782 | <sequence name="SystemFault201304Seq">
|
---|
783 | <assign name="AssignFaultAckDte">
|
---|
784 | <sxt:trace>
|
---|
785 | <sxt:log level="info" location="onStart">
|
---|
786 | <bpel:from>'NhinSubjectDiscovery.bpel - A system fault was encounterd processing a 201304 message. Fault detials follow...'</bpel:from>
|
---|
787 | </sxt:log>
|
---|
788 | <sxt:log level="warning" location="onStart">
|
---|
789 | <bpel:from variable="systemFault201304Var"/>
|
---|
790 | </sxt:log>
|
---|
791 | </sxt:trace>
|
---|
792 | <copy>
|
---|
793 | <from>$PIX201304In.PIX201304Request/hl7:PRPA_IN201304UV/hl7:id</from>
|
---|
794 | <to>$CreateAckIn.CreateAckRequest/hl7:origMsgId</to>
|
---|
795 | </copy>
|
---|
796 | <copy>
|
---|
797 | <from>string($PIX201304In.PIX201304Request/hl7:PRPA_IN201304UV/hl7:receiver/hl7:device/hl7:id/@root)</from>
|
---|
798 | <to>$CreateAckIn.CreateAckRequest/hl7:senderOID</to>
|
---|
799 | </copy>
|
---|
800 | <copy>
|
---|
801 | <from>string($PIX201304In.PIX201304Request/hl7:PRPA_IN201304UV/hl7:sender/hl7:device/hl7:id/@root)</from>
|
---|
802 | <to>$CreateAckIn.CreateAckRequest/hl7:receiverOID</to>
|
---|
803 | </copy>
|
---|
804 | <copy>
|
---|
805 | <from>'Error - Internal Gateway Error'</from>
|
---|
806 | <to>$CreateAckIn.CreateAckRequest/hl7:msgText</to>
|
---|
807 | </copy>
|
---|
808 | </assign>
|
---|
809 | <invoke name="InvokeFaultAckDte" partnerLink="SubDiscDataTransformsPL" operation="CreateAck" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" portType="tns:NhincComponentSubDiscTransformsPortType" inputVariable="CreateAckIn" outputVariable="CreateAckOut"/>
|
---|
810 | <assign name="Assign201304FaultInfo">
|
---|
811 | <copy>
|
---|
812 | <from variable="CreateAckOut" part="CreateAckResponse"/>
|
---|
813 | <to variable="PIX201304Out" part="PIX201304Response"/>
|
---|
814 | </copy>
|
---|
815 | </assign>
|
---|
816 | <reply name="ReplyNhinSubDisc201304Fault" partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201304UV" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201304Out"/>
|
---|
817 | <exit name="ExitAfter201304FaultReturn"/>
|
---|
818 | </sequence>
|
---|
819 | </catch>
|
---|
820 | </faultHandlers>
|
---|
821 | <sequence name="Process201304Seq">
|
---|
822 | <assign name="Assign201304Resp">
|
---|
823 | <sxt:trace>
|
---|
824 | <sxt:log level="warning" location="onStart">
|
---|
825 | <from>'201304 Messages are currently not supported by the Gateway'</from>
|
---|
826 | </sxt:log>
|
---|
827 | </sxt:trace>
|
---|
828 | <copy>
|
---|
829 | <from>$PIX201304In.PIX201304Request/hl7:PRPA_IN201304UV/hl7:id</from>
|
---|
830 | <to>$CreateAckIn.CreateAckRequest/hl7:origMsgId</to>
|
---|
831 | </copy>
|
---|
832 | <copy>
|
---|
833 | <from>string($PIX201304In.PIX201304Request/hl7:PRPA_IN201304UV/hl7:receiver/hl7:device/hl7:id/@root)</from>
|
---|
834 | <to>$CreateAckIn.CreateAckRequest/hl7:senderOID</to>
|
---|
835 | </copy>
|
---|
836 | <copy>
|
---|
837 | <from>string($PIX201304In.PIX201304Request/hl7:PRPA_IN201304UV/hl7:sender/hl7:device/hl7:id/@root)</from>
|
---|
838 | <to>$CreateAckIn.CreateAckRequest/hl7:receiverOID</to>
|
---|
839 | </copy>
|
---|
840 | <copy>
|
---|
841 | <from>'Warning - 201304 Messages are not supported'</from>
|
---|
842 | <to>$CreateAckIn.CreateAckRequest/hl7:msgText</to>
|
---|
843 | </copy>
|
---|
844 | </assign>
|
---|
845 | <invoke name="Invoke201304NotSupportedAckDte" partnerLink="SubDiscDataTransformsPL" operation="CreateAck" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" portType="tns:NhincComponentSubDiscTransformsPortType" inputVariable="CreateAckIn" outputVariable="CreateAckOut"/>
|
---|
846 | <assign name="Assign201304NotSupportedInfo">
|
---|
847 | <copy>
|
---|
848 | <from variable="CreateAckOut" part="CreateAckResponse"/>
|
---|
849 | <to variable="PIX201304Out" part="PIX201304Response"/>
|
---|
850 | </copy>
|
---|
851 | </assign>
|
---|
852 | <reply name="Reply201304" partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201304UV" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201304Out"/>
|
---|
853 | </sequence>
|
---|
854 | </scope>
|
---|
855 | </onMessage>
|
---|
856 | <onMessage partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201309UV" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubjectdiscovery" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201309In">
|
---|
857 | <scope name="Handle201309Scope">
|
---|
858 | <variables>
|
---|
859 | <variable name="GetRealIdentOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/Interfaces/NhincComponentInternalSubDiscovery201309Orch" messageType="tns:GetRealIdentResponseMessage"/>
|
---|
860 | <variable name="GetRealIdentIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/Interfaces/NhincComponentInternalSubDiscovery201309Orch" messageType="tns:GetRealIdentRequestMessage"/>
|
---|
861 | <variable name="CreateFault201310Out" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" messageType="tns:CreateFault201310ResponseMessage"/>
|
---|
862 | <variable name="CreateFault201310In" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" messageType="tns:CreateFault201310RequestMessage"/>
|
---|
863 | <variable name="LogSubjectReidentResultOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
|
---|
864 | <variable name="LogSubjectReidentResultIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogSubjectReidentResponseMessage"/>
|
---|
865 | <variable name="LogSubjectReidentOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
|
---|
866 | <variable name="LogSubjectReidentIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogSubjectReidentRequestMessage"/>
|
---|
867 | <variable name="AdapterPIX201309Out" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201309UVResponseMessage"/>
|
---|
868 | <variable name="AdapterPIX201309In" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201309UVRequestMessage"/>
|
---|
869 | <variable name="GetHcidPropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyResponseMessage"/>
|
---|
870 | <variable name="GetHcidPropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyRequestMessage"/>
|
---|
871 | <variable name="AgencyConnectionEndptOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameResponseMessage"/>
|
---|
872 | <variable name="AgencyConnectionEndptIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameRequestMessage"/>
|
---|
873 | <variable name="SubDiscPassThroughPropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanResponseMessage"/>
|
---|
874 | <variable name="SubDiscPassThroughPropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanRequestMessage"/>
|
---|
875 | <variable name="SubDiscEnablePropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanResponseMessage"/>
|
---|
876 | <variable name="SubDiscEnablePropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanRequestMessage"/>
|
---|
877 | <variable name="PIX201309Out" messageType="tns:PIXConsumer_PRPA_IN201309UVResponseMessage"/>
|
---|
878 | </variables>
|
---|
879 | <faultHandlers>
|
---|
880 | <catchAll>
|
---|
881 | <sequence name="SD201309FaultSeq">
|
---|
882 | <assign name="Assign201309Fault">
|
---|
883 | <copy>
|
---|
884 | <from>$PIX201309In.PIX201309Request/hl7:PRPA_IN201309UV/hl7:receiver/hl7:device/hl7:id/@root</from>
|
---|
885 | <to>$CreateFault201310In.CreateFault201310Request/hl7:senderOID</to>
|
---|
886 | </copy>
|
---|
887 | <copy>
|
---|
888 | <from>$PIX201309In.PIX201309Request/hl7:PRPA_IN201309UV/hl7:sender/hl7:device/hl7:id/@root</from>
|
---|
889 | <to>$CreateFault201310In.CreateFault201310Request/hl7:receiverOID</to>
|
---|
890 | </copy>
|
---|
891 | </assign>
|
---|
892 | <invoke name="InvokeCreate201310FaultHandler" partnerLink="SubDiscDataTransformsPL" operation="CreateFault201310" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" portType="tns:NhincComponentSubDiscTransformsPortType" inputVariable="CreateFault201310In" outputVariable="CreateFault201310Out"/>
|
---|
893 | <assign name="Assign201310FaultHandlerOut">
|
---|
894 | <copy>
|
---|
895 | <from variable="CreateFault201310Out" part="CreateFault201310Response"/>
|
---|
896 | <to>$PIX201309Out.PIX201309Response/hl7:PRPA_IN201310UV</to>
|
---|
897 | </copy>
|
---|
898 | </assign>
|
---|
899 | <reply name="ReplyNhinSubDisc201309Fault" partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201309UV" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201309Out"/>
|
---|
900 | <exit name="ExitAfter201309FaultReturn"/>
|
---|
901 | </sequence>
|
---|
902 | </catchAll>
|
---|
903 | </faultHandlers>
|
---|
904 | <sequence name="Process201309Seq">
|
---|
905 | <assign name="AssignLog201309Req">
|
---|
906 | <copy>
|
---|
907 | <from variable="PIX201309In" part="PIX201309Request"/>
|
---|
908 | <to>$LogSubjectReidentIn.LogSubjectReidentRequest/audit:message</to>
|
---|
909 | </copy>
|
---|
910 | <copy>
|
---|
911 | <from>'Inbound'</from>
|
---|
912 | <to>$LogSubjectReidentIn.LogSubjectReidentRequest/audit:direction</to>
|
---|
913 | </copy>
|
---|
914 | <copy>
|
---|
915 | <from>'Nhin'</from>
|
---|
916 | <to>$LogSubjectReidentIn.LogSubjectReidentRequest/audit:interface</to>
|
---|
917 | </copy>
|
---|
918 | </assign>
|
---|
919 | <invoke name="InvokeLog201309Req" partnerLink="AuditRepositoryPL" operation="LogSubjectReident" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogSubjectReidentIn" outputVariable="LogSubjectReidentOut"/>
|
---|
920 | <assign name="AssignSubDiscEnabledProp">
|
---|
921 | <copy>
|
---|
922 | <from>'serviceSubjectDiscovery'</from>
|
---|
923 | <to>$SubDiscEnablePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
|
---|
924 | </copy>
|
---|
925 | <copy>
|
---|
926 | <from>'gateway'</from>
|
---|
927 | <to>$SubDiscEnablePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
|
---|
928 | </copy>
|
---|
929 | </assign>
|
---|
930 | <invoke name="InvokeSubDiscEnblProp" partnerLink="PropAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="SubDiscEnablePropIn" outputVariable="SubDiscEnablePropOut"/>
|
---|
931 | <if name="IfSubDiscEnabled">
|
---|
932 | <condition>true() = $SubDiscEnablePropOut.GetPropertyBooleanResponse/propacc:propertyValue</condition>
|
---|
933 | <sequence name="SubDiscEnabledSeq">
|
---|
934 | <assign name="AssignCheckSubDiscPassthrough">
|
---|
935 | <copy>
|
---|
936 | <from>'gateway'</from>
|
---|
937 | <to>$SubDiscPassThroughPropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
|
---|
938 | </copy>
|
---|
939 | <copy>
|
---|
940 | <from>'subjectDiscoveryPassthrough'</from>
|
---|
941 | <to>$SubDiscPassThroughPropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
|
---|
942 | </copy>
|
---|
943 | </assign>
|
---|
944 | <invoke name="InvokeCheckSubDiscPassthrough" partnerLink="PropAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="SubDiscPassThroughPropIn" outputVariable="SubDiscPassThroughPropOut"/>
|
---|
945 | <if name="IfNotPassthrough">
|
---|
946 | <condition>false() = $SubDiscPassThroughPropOut.GetPropertyBooleanResponse/propacc:propertyValue</condition>
|
---|
947 | <sequence name="NoPassthroughSeq">
|
---|
948 | <assign name="AssignNhincCompIntSubDiscOrchIn">
|
---|
949 | <copy>
|
---|
950 | <from variable="PIX201309In" part="PIX201309Request"/>
|
---|
951 | <to variable="GetRealIdentIn" part="GetRealIdentRequest"/>
|
---|
952 | </copy>
|
---|
953 | </assign>
|
---|
954 | <invoke name="InvokeInvokeNhincCompIntSubDisc201309Orch" partnerLink="NhincComponentInternalSubDiscovery201309OrchPL" operation="GetRealIdent" xmlns:tns="http://j2ee.netbeans.org/wsdl/Interfaces/NhincComponentInternalSubDiscovery201309Orch" portType="tns:NhincComponentInternalSubDiscovery201309OrchPortType" inputVariable="GetRealIdentIn" outputVariable="GetRealIdentOut"/>
|
---|
955 | <assign name="Assign201309Resp">
|
---|
956 | <copy>
|
---|
957 | <from>$GetRealIdentOut.GetRealIdentResponse/hl7:PRPA_IN201310UV</from>
|
---|
958 | <to>$PIX201309Out.PIX201309Response/hl7:PRPA_IN201310UV</to>
|
---|
959 | </copy>
|
---|
960 | </assign>
|
---|
961 | </sequence>
|
---|
962 | <else>
|
---|
963 | <sequence name="AgencyPassthrough">
|
---|
964 | <assign name="AssignGetHomeCommunityId">
|
---|
965 | <copy>
|
---|
966 | <from>'gateway'</from>
|
---|
967 | <to>$GetHcidPropIn.GetPropertyRequest/propacc:propertyFile</to>
|
---|
968 | </copy>
|
---|
969 | <copy>
|
---|
970 | <from>'localHomeCommunityId'</from>
|
---|
971 | <to>$GetHcidPropIn.GetPropertyRequest/propacc:propertyName</to>
|
---|
972 | </copy>
|
---|
973 | </assign>
|
---|
974 | <invoke name="InvokeGetHomeCommunityId" partnerLink="PropAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetHcidPropIn" outputVariable="GetHcidPropOut"/>
|
---|
975 | <assign name="AssignPassthroughConnLookup">
|
---|
976 | <copy>
|
---|
977 | <from>'adaptersubdiscoverypassthrough'</from>
|
---|
978 | <to>$AgencyConnectionEndptIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
|
---|
979 | </copy>
|
---|
980 | <copy>
|
---|
981 | <from>$GetHcidPropOut.GetPropertyResponse/propacc:propertyValue</from>
|
---|
982 | <to>$AgencyConnectionEndptIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
|
---|
983 | </copy>
|
---|
984 | </assign>
|
---|
985 | <invoke name="InvokePassthroughConnLookup" partnerLink="ConnectionMgrPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="AgencyConnectionEndptIn" outputVariable="AgencyConnectionEndptOut"/>
|
---|
986 | <assign name="AssignAdapterSubDiscInput">
|
---|
987 | <copy>
|
---|
988 | <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $AgencyConnectionEndptOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
|
---|
989 | <to partnerLink="AdapterSubDiscPL"/>
|
---|
990 | </copy>
|
---|
991 | <copy>
|
---|
992 | <from>$PIX201309In.PIX201309Request/hl7:PRPA_IN201309UV</from>
|
---|
993 | <to>$AdapterPIX201309In.PIXConsumer_PRPA_IN201309UVRequest/hl7:PRPA_IN201309UV</to>
|
---|
994 | </copy>
|
---|
995 | <copy>
|
---|
996 | <from>$PIX201309In.PIX201309Request/hl7:assertion</from>
|
---|
997 | <to>$AdapterPIX201309In.PIXConsumer_PRPA_IN201309UVRequest/hl7:assertion</to>
|
---|
998 | </copy>
|
---|
999 | </assign>
|
---|
1000 | <invoke name="InvokeAdapterSubDisc" partnerLink="AdapterSubDiscPL" operation="PIXConsumer_PRPA_IN201309UV" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubjectdiscovery" portType="tns:AdapterSubjectDiscoveryPortType" inputVariable="AdapterPIX201309In" outputVariable="AdapterPIX201309Out"/>
|
---|
1001 | <assign name="AssignAdapterSubDiscOutput">
|
---|
1002 | <copy>
|
---|
1003 | <from>$AdapterPIX201309Out.PIXConsumer_PRPA_IN201309UVResponse/hl7:PRPA_IN201310UV</from>
|
---|
1004 | <to>$PIX201309Out.PIX201309Response/hl7:PRPA_IN201310UV</to>
|
---|
1005 | </copy>
|
---|
1006 | </assign>
|
---|
1007 | </sequence>
|
---|
1008 | </else>
|
---|
1009 | </if>
|
---|
1010 | <assign name="AssignLog201309Resp">
|
---|
1011 | <copy>
|
---|
1012 | <from>'Outbound'</from>
|
---|
1013 | <to>$LogSubjectReidentResultIn.LogSubjectReidentResponse/audit:direction</to>
|
---|
1014 | </copy>
|
---|
1015 | <copy>
|
---|
1016 | <from>$GetRealIdentOut.GetRealIdentResponse/hl7:PRPA_IN201310UV</from>
|
---|
1017 | <to>$LogSubjectReidentResultIn.LogSubjectReidentResponse/audit:message/hl7:PRPA_IN201310UV</to>
|
---|
1018 | </copy>
|
---|
1019 | <copy>
|
---|
1020 | <from>$GetRealIdentOut.GetRealIdentResponse/hl7:assertion</from>
|
---|
1021 | <to>$LogSubjectReidentResultIn.LogSubjectReidentResponse/audit:assertion</to>
|
---|
1022 | </copy>
|
---|
1023 | <copy>
|
---|
1024 | <from>'Nhin'</from>
|
---|
1025 | <to>$LogSubjectReidentResultIn.LogSubjectReidentResponse/audit:interface</to>
|
---|
1026 | </copy>
|
---|
1027 | </assign>
|
---|
1028 | <invoke name="InvokeLog201309Resp" partnerLink="AuditRepositoryPL" operation="LogSubjectReidentResult" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogSubjectReidentResultIn" outputVariable="LogSubjectReidentResultOut"/>
|
---|
1029 | </sequence>
|
---|
1030 | <else>
|
---|
1031 | <sequence name="SubDiscNotSupported">
|
---|
1032 | <assign name="Assign201309NotSupportedInfo">
|
---|
1033 | <copy>
|
---|
1034 | <from>$PIX201309In.PIX201309Request/hl7:PRPA_IN201309UV/hl7:receiver/hl7:device/hl7:id/@root</from>
|
---|
1035 | <to>$CreateFault201310In.CreateFault201310Request/hl7:senderOID</to>
|
---|
1036 | </copy>
|
---|
1037 | <copy>
|
---|
1038 | <from>$PIX201309In.PIX201309Request/hl7:PRPA_IN201309UV/hl7:sender/hl7:device/hl7:id/@root</from>
|
---|
1039 | <to>$CreateFault201310In.CreateFault201310Request/hl7:receiverOID</to>
|
---|
1040 | </copy>
|
---|
1041 | </assign>
|
---|
1042 | <invoke name="InvokeCreate201310Fault" partnerLink="SubDiscDataTransformsPL" operation="CreateFault201310" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" portType="tns:NhincComponentSubDiscTransformsPortType" inputVariable="CreateFault201310In" outputVariable="CreateFault201310Out"/>
|
---|
1043 | <assign name="Assign201310FaultOut">
|
---|
1044 | <copy>
|
---|
1045 | <from variable="CreateFault201310Out" part="CreateFault201310Response"/>
|
---|
1046 | <to>$PIX201309Out.PIX201309Response/hl7:PRPA_IN201310UV</to>
|
---|
1047 | </copy>
|
---|
1048 | </assign>
|
---|
1049 | </sequence>
|
---|
1050 | </else>
|
---|
1051 | </if>
|
---|
1052 | <reply name="Reply201309" partnerLink="NhincSubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201309UV" portType="tns:NhincSubjectDiscoveryPortType" variable="PIX201309Out"/>
|
---|
1053 | </sequence>
|
---|
1054 | </scope>
|
---|
1055 | </onMessage>
|
---|
1056 | </pick>
|
---|
1057 | </sequence>
|
---|
1058 | </process>
|
---|