1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <process
|
---|
3 | name="EntityComponentInternalSubscribeOrch"
|
---|
4 | targetNamespace="urn:gov:hhs:fha:nhinc:gateway:entityinternalorchbpel:entitycomponentinternalsubscribeorch"
|
---|
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:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment"
|
---|
10 | xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling"
|
---|
11 | xmlns:tns="urn:gov:hhs:fha:nhinc:gateway:entityinternalorchbpel:entitycomponentinternalsubscribeorch"
|
---|
12 | xmlns:nccommonentity="urn:gov:hhs:fha:nhinc:common:nhinccommonentity"
|
---|
13 | xmlns:nccommonsub="urn:gov:hhs:fha:nhinc:common:subscription"
|
---|
14 | xmlns:ncpc="urn:gov:hhs:fha:nhinc:common:patientcorrelationfacade"
|
---|
15 | xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions"
|
---|
16 | xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
|
---|
17 | xmlns:nccommon="urn:gov:hhs:fha:nhinc:common:nhinccommon"
|
---|
18 | xmlns:conninfo="urn:gov:hhs:fha:nhinc:common:connectionmanagerinfo"
|
---|
19 | xmlns:nccommonproxy="urn:gov:hhs:fha:nhinc:common:nhinccommonproxy"
|
---|
20 | xmlns:subdte="urn:gov:hhs:fha:nhinc:common:subscriptiondte"
|
---|
21 | xmlns:nccommonsubcdc="urn:gov:hhs:fha:nhinc:common:subscriptionb2overridefordocuments">
|
---|
22 | <import namespace="urn:gov:hhs:fha:nhinc:entitycomponentinternalsubscribeorch" location="Interfaces/wsdl/EntityComponentInternalSubscribeOrch.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
23 | <import namespace="http://enterprise.netbeans.org/bpel/NhincComponentInternalSubscriptionDteWrapper" location="NhincComponentInternalSubscriptionDteWrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
24 | <import namespace="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" location="Interfaces/wsdl/NhincComponentInternalSubscriptionDte.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
25 | <import namespace="urn:gov:hhs:fha:nhinc:componentpatientcorrelationfacade" location="Interfaces/wsdl/NhincComponentPatientCorrelationFacade.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
26 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionrepository" location="Interfaces/wsdl/NhincComponentSubscriptionRepository.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
27 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" location="Interfaces/wsdl/NhincComponentSubscriptionReferenceRepository.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
28 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" location="Interfaces/wsdl/NhincComponentConnectionManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
29 | <import namespace="urn:gov:hhs:fha:nhinc:nhincproxysubscriptionmanagement" location="Interfaces/wsdl/NhincProxySubscriptionManagement.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
30 | <import namespace="http://docs.oasis-open.org/wsrf/rw-2" location="Interfaces/wsdl/rw-2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
31 | <partnerLinks>
|
---|
32 | <partnerLink name="SubscriptionDtePL" xmlns:tns="http://enterprise.netbeans.org/bpel/NhincComponentInternalSubscriptionDteWrapper" partnerLinkType="tns:NhincComponentInternalSubscriptionDteLinkType" partnerRole="NhincComponentInternalSubscriptionDteRole"/>
|
---|
33 | <partnerLink name="PatientCorrelationPL" xmlns:tns="urn:gov:hhs:fha:nhinc:componentpatientcorrelationfacade" partnerLinkType="tns:PatientCorrelationFacadePartnerLinkType" partnerRole="PatientCorrelationPortTypeRole"/>
|
---|
34 | <partnerLink name="SubscriptionReferencePL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" partnerLinkType="tns:NhincComponentSubscriptionReferenceRepository" partnerRole="NhincComponentSubscriptionReferenceRepositoryPortTypeRole"/>
|
---|
35 | <partnerLink name="ConnectionManagerPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" partnerLinkType="tns:NhincComponentConnectionManager" partnerRole="NhincComponentConnectionManagerPortTypeRole"/>
|
---|
36 | <partnerLink name="NhincProxySubscriptionPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincproxysubscriptionmanagement" partnerLinkType="tns:NhincProxyNotificationProducer" partnerRole="NhincProxyNotificationProducerPortTypeRole"/>
|
---|
37 | <partnerLink name="EntityInternalSubscribePL" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalsubscribeorch" partnerLinkType="tns:EntityComponentInternalSubscribeOrch" myRole="EntityComponentInternalSubscribeOrchPortTypeRole"/>
|
---|
38 | </partnerLinks>
|
---|
39 | <variables>
|
---|
40 | <variable name="SubscribeDocumentIn" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalsubscribeorch" messageType="tns:SubscribeDocumentRequestMessage"/>
|
---|
41 | </variables>
|
---|
42 | <sequence>
|
---|
43 | <receive name="ReceiveSubscribe" createInstance="yes" partnerLink="EntityInternalSubscribePL" operation="SubscribeDocument" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalsubscribeorch" portType="tns:EntityComponentInternalSubscribeOrchPortType" variable="SubscribeDocumentIn"/>
|
---|
44 | <scope name="ProcessSubscribeScope">
|
---|
45 | <variables>
|
---|
46 | <variable name="CreateSubscribeResponseOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:CreateSubscribeResponseResponseMessage"/>
|
---|
47 | <variable name="CreateSubscribeResponseIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:CreateSubscribeResponseRequestMessage"/>
|
---|
48 | <variable name="StoreSubscriptionOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" messageType="tns:StoreSubscriptionReferenceResponse"/>
|
---|
49 | <variable name="StoreSubscriptionIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" messageType="tns:StoreSubscriptionReferenceRequest"/>
|
---|
50 | <variable name="RetrievePatientCorrelationsOut" xmlns:tns="urn:gov:hhs:fha:nhinc:componentpatientcorrelationfacade" messageType="tns:RetrievePatientCorrelationsResponseMessage"/>
|
---|
51 | <variable name="RetrievePatientCorrelationsIn" xmlns:tns="urn:gov:hhs:fha:nhinc:componentpatientcorrelationfacade" messageType="tns:RetrievePatientCorrelationsRequestMessage"/>
|
---|
52 | <variable name="EntityInternalSubscriptionItemOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:TransformEntitySubscribeDocumentToInternalSubscriptionItemResponseMessage"/>
|
---|
53 | <variable name="EntityInternalSubscriptionItemIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:TransformEntitySubscribeDocumentToInternalSubscriptionItemRequestMessage"/>
|
---|
54 | <variable name="SubscribeDocumentOut" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalsubscribeorch" messageType="tns:SubscribeDocumentResponseMessage"/>
|
---|
55 | </variables>
|
---|
56 | <sequence name="ProcessSubscribeSeq">
|
---|
57 | <assign name="AssignTransformToInternalSubscribeMessage">
|
---|
58 | <copy>
|
---|
59 | <from>$SubscribeDocumentIn.SubscribeDocumentRequest/nccommonentity:assertion</from>
|
---|
60 | <to>$EntityInternalSubscriptionItemIn.TransformEntitySubscribeDocumentToInternalSubscriptionItem/nccommonsub:SubscribeDocumentRequest/nccommonsub:Assertion</to>
|
---|
61 | </copy>
|
---|
62 | <copy>
|
---|
63 | <from>$SubscribeDocumentIn.SubscribeDocumentRequest/nccommonentity:subscribe/nccommonsubcdc:ConsumerReference</from>
|
---|
64 | <to>$EntityInternalSubscriptionItemIn.TransformEntitySubscribeDocumentToInternalSubscriptionItem/nccommonsub:SubscribeDocumentRequest/nccommonsub:Subscribe/nccommonsub:ConsumerReference</to>
|
---|
65 | </copy>
|
---|
66 | <copy>
|
---|
67 | <from>$SubscribeDocumentIn.SubscribeDocumentRequest/nccommonentity:subscribe/nccommonsubcdc:AdhocQuery</from>
|
---|
68 | <to>$EntityInternalSubscriptionItemIn.TransformEntitySubscribeDocumentToInternalSubscriptionItem/nccommonsub:SubscribeDocumentRequest/nccommonsub:Subscribe/nccommonsub:AdhocQuery</to>
|
---|
69 | </copy>
|
---|
70 | </assign>
|
---|
71 | <invoke name="InvokeTransformToInternalSubscribeMessage" partnerLink="SubscriptionDtePL" operation="TransformEntitySubscribeDocumentToInternalSubscriptionItem" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" portType="tns:NhincComponentInternalSubscriptionDtePortType" inputVariable="EntityInternalSubscriptionItemIn" outputVariable="EntityInternalSubscriptionItemOut"/>
|
---|
72 | <assign name="AssignRetrieveCorrelations">
|
---|
73 | <copy>
|
---|
74 | <from>$EntityInternalSubscriptionItemOut.TransformEntitySubscribeDocumentToInternalSubscriptionItem/nccommonsub:SubscriptionItem/nccommonsub:SubscriptionCriteria/nccommonsub:SubscribeePatient</from>
|
---|
75 | <to>$RetrievePatientCorrelationsIn.RetrievePatientCorrelationsRequest/ncpc:QualifiedPatientIdentifier</to>
|
---|
76 | </copy>
|
---|
77 | </assign>
|
---|
78 | <invoke name="InvokeRetrieveCorrelations" partnerLink="PatientCorrelationPL" operation="RetrievePatientCorrelations" xmlns:tns="urn:gov:hhs:fha:nhinc:componentpatientcorrelationfacade" portType="tns:PatientCorrelationFacadePortType" inputVariable="RetrievePatientCorrelationsIn" outputVariable="RetrievePatientCorrelationsOut"/>
|
---|
79 | <if name="IfCorrelationExists">
|
---|
80 | <condition>count($RetrievePatientCorrelationsOut.RetrievePatientCorrelationsResponse/ncpc:QualifiedPatientIdentifier) > 0</condition>
|
---|
81 | <sequence name="ProcessCorrelationsSeq">
|
---|
82 | <assign name="AssignStoreSubscription">
|
---|
83 | <copy>
|
---|
84 | <from>$EntityInternalSubscriptionItemOut.TransformEntitySubscribeDocumentToInternalSubscriptionItem/nccommonsub:SubscriptionItem</from>
|
---|
85 | <to variable="StoreSubscriptionIn" part="SubscriptionItem"/>
|
---|
86 | </copy>
|
---|
87 | </assign>
|
---|
88 | <invoke name="InvokeStoreSubscription" partnerLink="SubscriptionReferencePL" operation="StoreSubscriptionReference" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" portType="tns:NhincComponentSubscriptionReferenceRepositoryPortType" inputVariable="StoreSubscriptionIn" outputVariable="StoreSubscriptionOut"/>
|
---|
89 | <assign name="AssignSubscriptionRef">
|
---|
90 | <copy>
|
---|
91 | <from variable="StoreSubscriptionOut" part="SubscriptionReference"/>
|
---|
92 | <to>$EntityInternalSubscriptionItemOut.TransformEntitySubscribeDocumentToInternalSubscriptionItem/nccommonsub:SubscriptionItem/nccommonsub:SubscriptionReference</to>
|
---|
93 | </copy>
|
---|
94 | </assign>
|
---|
95 | <forEach name="ForEachCorrelation" parallel="no" counterName="CorrelationCtr">
|
---|
96 | <startCounterValue>1</startCounterValue>
|
---|
97 | <finalCounterValue>count($RetrievePatientCorrelationsOut.RetrievePatientCorrelationsResponse/ncpc:QualifiedPatientIdentifier)</finalCounterValue>
|
---|
98 | <scope name="ProcessCorrelationScope">
|
---|
99 | <variables>
|
---|
100 | <variable name="StoreSubscriptionReferenceOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" messageType="tns:StoreSubscriptionReferenceResponse"/>
|
---|
101 | <variable name="StoreSubscriptionReferenceIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" messageType="tns:StoreSubscriptionReferenceRequest"/>
|
---|
102 | <variable name="CreateSubscriptionReferenceOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:TransformNhinSubscribeResponseToSubscriptionReferenceResponseMessage"/>
|
---|
103 | <variable name="CreateSubscriptionReferenceIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:TransformNhinSubscribeResponseToSubscriptionReferenceRequestMessage"/>
|
---|
104 | <variable name="NhincSubscribeOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincproxysubscriptionmanagement" messageType="tns:SubscribeResponseMessage"/>
|
---|
105 | <variable name="NhincSubscribeIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincproxysubscriptionmanagement" messageType="tns:SubscribeRequestMessage"/>
|
---|
106 | <variable name="GetHomeCommunityOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetHomeCommunityByAssigningAuthorityResponseMessage"/>
|
---|
107 | <variable name="GetHomeCommunityIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetHomeCommunityByAssigningAuthorityRequestMessage"/>
|
---|
108 | <variable name="CreateNhinSubscribeOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:TransformInternalSubscriptionItemToNhinSubscribeResponseMessage"/>
|
---|
109 | <variable name="CreateNhinSubscribeIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:TransformInternalSubscriptionItemToNhinSubscribeRequestMessage"/>
|
---|
110 | <variable name="CreateChildSubscriptionItemOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:CreateChildSubscriptionItemResponseMessage"/>
|
---|
111 | <variable name="CreateChildSubscriptionItemIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:CreateChildSubscriptionItemRequestMessage"/>
|
---|
112 | </variables>
|
---|
113 | <sequence name="ProcessCorrelationSeq">
|
---|
114 | <assign name="AssignHcidLookup">
|
---|
115 | <copy>
|
---|
116 | <from>$RetrievePatientCorrelationsOut.RetrievePatientCorrelationsResponse/ncpc:QualifiedPatientIdentifier[$CorrelationCtr]/nccommon:AssigningAuthorityIdentifier</from>
|
---|
117 | <to>$GetHomeCommunityIn.GetHomeCommunityByAssigningAuthorityRequest/conninfo:AssigningAuthorities/nccommon:assigningAuthorityId</to>
|
---|
118 | </copy>
|
---|
119 | </assign>
|
---|
120 | <invoke name="InvokeHcidLookup" partnerLink="ConnectionManagerPL" operation="GetHomeCommunityByAssigningAuthority" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetHomeCommunityIn" outputVariable="GetHomeCommunityOut"/>
|
---|
121 | <assign name="AssignCreateChildSubscription">
|
---|
122 | <copy>
|
---|
123 | <from>$EntityInternalSubscriptionItemOut.TransformEntitySubscribeDocumentToInternalSubscriptionItem/nccommonsub:SubscriptionItem</from>
|
---|
124 | <to>$CreateChildSubscriptionItemIn.CreateChildSubscriptionItem/subdte:ParentSubscriptionItem</to>
|
---|
125 | </copy>
|
---|
126 | <copy>
|
---|
127 | <from>$RetrievePatientCorrelationsOut.RetrievePatientCorrelationsResponse/ncpc:QualifiedPatientIdentifier[$CorrelationCtr]</from>
|
---|
128 | <to>$CreateChildSubscriptionItemIn.CreateChildSubscriptionItem/subdte:TargetPatientId</to>
|
---|
129 | </copy>
|
---|
130 | <copy>
|
---|
131 | <from>$GetHomeCommunityOut.GetHomeCommunityByAssigningAuthorityResponse/conninfo:HomeCommunity/nccommon:homeCommunityId</from>
|
---|
132 | <to>$CreateChildSubscriptionItemIn.CreateChildSubscriptionItem/subdte:TargetCommunityId</to>
|
---|
133 | </copy>
|
---|
134 | </assign>
|
---|
135 | <invoke name="InvokeCreateChildSubscription" partnerLink="SubscriptionDtePL" operation="CreateChildSubscriptionItem" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" portType="tns:NhincComponentInternalSubscriptionDtePortType" inputVariable="CreateChildSubscriptionItemIn" outputVariable="CreateChildSubscriptionItemOut"/>
|
---|
136 | <assign name="AssignCreateNhinSubscribe">
|
---|
137 | <copy>
|
---|
138 | <from>$CreateChildSubscriptionItemOut.CreateChildSubscriptionItem/nccommonsub:SubscriptionItem</from>
|
---|
139 | <to>$CreateNhinSubscribeIn.TransformInternalSubscriptionItemToNhinSubscribe/nccommonsub:SubscriptionItem</to>
|
---|
140 | </copy>
|
---|
141 | </assign>
|
---|
142 | <invoke name="InvokeCreateNhinSubscribe" partnerLink="SubscriptionDtePL" operation="TransformInternalSubscriptionItemToNhinSubscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" portType="tns:NhincComponentInternalSubscriptionDtePortType" inputVariable="CreateNhinSubscribeIn" outputVariable="CreateNhinSubscribeOut"/>
|
---|
143 | <assign name="AssignNhincSubscriptionProxy">
|
---|
144 | <copy>
|
---|
145 | <from>$CreateNhinSubscribeOut.TransformInternalSubscriptionItemToNhinSubscribe/wsnt:Subscribe</from>
|
---|
146 | <to>$NhincSubscribeIn.SubscribeRequest/wsnt:Subscribe</to>
|
---|
147 | </copy>
|
---|
148 | <copy>
|
---|
149 | <from>$SubscribeDocumentIn.SubscribeDocumentRequest/nccommonentity:assertion</from>
|
---|
150 | <to>$NhincSubscribeIn.SubscribeRequest/nccommonproxy:assertion</to>
|
---|
151 | </copy>
|
---|
152 | <copy>
|
---|
153 | <from>$GetHomeCommunityOut.GetHomeCommunityByAssigningAuthorityResponse/conninfo:HomeCommunity/nccommon:homeCommunityId</from>
|
---|
154 | <to>$NhincSubscribeIn.SubscribeRequest/nccommonproxy:nhinTargetSystem/nccommon:homeCommunity/nccommon:homeCommunityId</to>
|
---|
155 | </copy>
|
---|
156 | </assign>
|
---|
157 | <invoke name="InvokeNhincSubscriptionProxy" partnerLink="NhincProxySubscriptionPL" operation="Subscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincproxysubscriptionmanagement" portType="tns:NhincProxyNotificationProducerPortType" inputVariable="NhincSubscribeIn" outputVariable="NhincSubscribeOut"/>
|
---|
158 | <assign name="AssignCreateSubscriptionRef">
|
---|
159 | <copy>
|
---|
160 | <from variable="NhincSubscribeOut" part="SubscribeResponse"/>
|
---|
161 | <to>$CreateSubscriptionReferenceIn.TransformNhinSubscribeResponseToSubscriptionReference/wsnt:SubscribeResponse</to>
|
---|
162 | </copy>
|
---|
163 | </assign>
|
---|
164 | <invoke name="InvokeCreateSubscriptionRef" partnerLink="SubscriptionDtePL" operation="TransformNhinSubscribeResponseToSubscriptionReference" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" portType="tns:NhincComponentInternalSubscriptionDtePortType" inputVariable="CreateSubscriptionReferenceIn" outputVariable="CreateSubscriptionReferenceOut"/>
|
---|
165 | <assign name="AssignSubscriptionRef">
|
---|
166 | <copy>
|
---|
167 | <from>$CreateChildSubscriptionItemOut.CreateChildSubscriptionItem/nccommonsub:SubscriptionItem</from>
|
---|
168 | <to variable="StoreSubscriptionReferenceIn" part="SubscriptionItem"/>
|
---|
169 | </copy>
|
---|
170 | <copy>
|
---|
171 | <from>$CreateSubscriptionReferenceOut.TransformNhinSubscribeResponseToSubscriptionReference/nccommonsub:SubscriptionReference</from>
|
---|
172 | <to>$StoreSubscriptionReferenceIn.SubscriptionItem/nccommonsub:SubscriptionReference</to>
|
---|
173 | </copy>
|
---|
174 | </assign>
|
---|
175 | <invoke name="InvokeSubscriptionRef" partnerLink="SubscriptionReferencePL" operation="StoreSubscriptionReference" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" portType="tns:NhincComponentSubscriptionReferenceRepositoryPortType" inputVariable="StoreSubscriptionReferenceIn" outputVariable="StoreSubscriptionReferenceOut"/>
|
---|
176 | </sequence>
|
---|
177 | </scope>
|
---|
178 | </forEach>
|
---|
179 | <assign name="AssignCreateSubscribeResponse">
|
---|
180 | <copy>
|
---|
181 | <from variable="StoreSubscriptionOut" part="SubscriptionReference"/>
|
---|
182 | <to>$CreateSubscribeResponseIn.CreateSubscribeResponse/nccommonsub:SubscriptionReference</to>
|
---|
183 | </copy>
|
---|
184 | </assign>
|
---|
185 | <invoke name="InvokeCreateSubscribeResponse" partnerLink="SubscriptionDtePL" operation="CreateSubscribeResponse" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" portType="tns:NhincComponentInternalSubscriptionDtePortType" inputVariable="CreateSubscribeResponseIn" outputVariable="CreateSubscribeResponseOut"/>
|
---|
186 | <assign name="AssignSubscribeResponse">
|
---|
187 | <copy>
|
---|
188 | <from>$CreateSubscribeResponseOut.CreateSubscribeResponse/wsnt:SubscribeResponse</from>
|
---|
189 | <to>$SubscribeDocumentOut.SubscribeDocumentResponse/wsnt:SubscribeResponse</to>
|
---|
190 | </copy>
|
---|
191 | </assign>
|
---|
192 | </sequence>
|
---|
193 | <else>
|
---|
194 | <assign name="AssignNoPatientFound">
|
---|
195 | <copy>
|
---|
196 | <from>sxxf:current-dateTime()</from>
|
---|
197 | <to>$SubscribeDocumentOut.SubscribeDocumentResponse/wsnt:SubscribeResponse/wsnt:CurrentTime</to>
|
---|
198 | </copy>
|
---|
199 | <copy>
|
---|
200 | <from>sxxf:current-dateTime()</from>
|
---|
201 | <to>$SubscribeDocumentOut.SubscribeDocumentResponse/wsnt:SubscribeResponse/wsnt:TerminationTime</to>
|
---|
202 | </copy>
|
---|
203 | </assign>
|
---|
204 | </else>
|
---|
205 | </if>
|
---|
206 | <reply name="ReplySubscribe" partnerLink="EntityInternalSubscribePL" operation="SubscribeDocument" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalsubscribeorch" portType="tns:EntityComponentInternalSubscribeOrchPortType" variable="SubscribeDocumentOut"/>
|
---|
207 | </sequence>
|
---|
208 | </scope>
|
---|
209 | </sequence>
|
---|
210 | </process>
|
---|