source: ccr/trunk/nhin-vista/projects/NHINC/Current/Product/Production/Common/AuditLogBPEL/src/NhincComponentAuditLog.bpel@ 507

Last change on this file since 507 was 507, checked in by George Lilly, 15 years ago

NHIN gateway and adaptor for use on linux with VistA EHR and RPMS

File size: 182.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<process
3 name="NhincComponentAuditLog"
4 targetNamespace="urn:gov:hhs:fha:nhinc:common:auditlogbpel/nhinccomponentauditlog"
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:common:auditlogbpel/nhinccomponentauditlog"
12 xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions"
13 xmlns:audit="http://nhinc.services.com/schema/auditmessage"
14 xmlns:propacc="urn:gov:hhs:fha:nhinc:common:propertyaccess"
15 xmlns:auditlog="urn:gov:hhs:fha:nhinc:common:auditlog"
16 xmlns:conninfo="urn:gov:hhs:fha:nhinc:common:connectionmanagerinfo"
17 xmlns:nccommon="urn:gov:hhs:fha:nhinc:common:nhinccommon"
18 xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable">
19 <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" location="Interfaces/wsdl/NhincComponentInternalAuditRepository.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
20 <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" location="Interfaces/wsdl/NhincComponentAuditRepository.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
21 <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" location="Interfaces/wsdl/NhincComponentAuditLogDte.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
22 <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" location="Interfaces/wsdl/NhincComponentPropAccessor.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
23 <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" location="Interfaces/wsdl/NhincComponentConnectionManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
24 <partnerLinks>
25 <partnerLink name="AuditRepositoryPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" partnerLinkType="tns:AuditRepositoryManager" partnerRole="AuditRepositoryManagerPortTypeRole"/>
26 <partnerLink name="NhinAuditLogDtePL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" partnerLinkType="tns:NhincComponentAuditLogDte" partnerRole="NhincComponentAuditLogDtePortTypeRole"/>
27 <partnerLink name="PropertyAccessorPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" partnerLinkType="tns:NhincComponentPropAccessor" partnerRole="NhincComponentPropAccessorPortTypeRole"/>
28 <partnerLink name="ConnectionManagerPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" partnerLinkType="tns:NhincComponentConnectionManager" partnerRole="NhincComponentConnectionManagerPortTypeRole"/>
29 <partnerLink name="NhincInteralAuditRepositoryPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" partnerLinkType="tns:NhincComponentInternalAuditRepository" myRole="NhincComponentInternalAuditRepositoryPortTypeRole"/>
30 </partnerLinks>
31 <variables>
32 <variable name="GetAuditServicePropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanResponseMessage"/>
33 <variable name="GetAuditServicePropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyBooleanRequestMessage"/>
34 <variable name="LogEntityUnsubscribeRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEntityUnsubscribeRequestMessage"/>
35 <variable name="LogEntityNotifyRespRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEntityNotifyRespRequestMessage"/>
36 <variable name="LogEntityCdcNotifyRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEntityCdcNotifyRequestMessage"/>
37 <variable name="LogEntityDocNotifyRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEntityDocNotifyRequestMessage"/>
38 <variable name="LogEntityCdcSubscribeRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEntityCdcSubscribeRequestMessage"/>
39 <variable name="LogEntityDocSubscribeRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEntityDocSubscribeRequestMessage"/>
40 <variable name="LogSubscribeRespRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogSubscribeRespRequestMessage"/>
41 <variable name="LogUnsubscribeRespRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogUnsubscribeRespRequestMessage"/>
42 <variable name="LogNhinUnsubscribeRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogNhinUnsubscribeRequestMessage"/>
43 <variable name="LogNhinNotifyRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogNhinNotifyRequestMessage"/>
44 <variable name="LogNhinSubscribeRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogNhinSubscribeRequestMessage"/>
45 <variable name="LogSubjectReidentResultOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
46 <variable name="LogSubjectReidentRespEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
47 <variable name="LogSubjectReidentRespEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
48 <variable name="TransformSubjectReidentResponseToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
49 <variable name="TransformSubjectReidentResponseToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformSubjectReidentResponseToGenericAuditRequestMessage"/>
50 <variable name="LogSubjectReidentResultIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogSubjectReidentResponseMessage"/>
51 <variable name="LogSubjectReidentOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
52 <variable name="LogSubjectReidentEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
53 <variable name="LogSubjectReidentEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
54 <variable name="TransformSubjectReidentRequestToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
55 <variable name="TransformSubjectReidentRequestToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformSubjectReidentRequestToGenericAuditRequestMessage"/>
56 <variable name="LogSubjectReidentIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogSubjectReidentRequestMessage"/>
57 <variable name="TransformAckToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
58 <variable name="TransformAckToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformAckToGenericAuditRequestMessage"/>
59 <variable name="TransformFindAuditEventsToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
60 <variable name="TransformFindAuditEventsToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformFindAuditEventsToGenericAuditRequestMessage"/>
61 <variable name="TransformDocRetrieveResponseToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
62 <variable name="TransformDocRetrieveResponseToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformDocRetrieveResponseToGenericAuditRequestMessage"/>
63 <variable name="TransformDocRetrieveRequestToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
64 <variable name="TransformDocRetrieveRequestToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformDocRetrieveRequestToGenericAuditRequestMessage"/>
65 <variable name="TransformAdhocQueryResponseToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
66 <variable name="TransformAdhocQueryResponseToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformAdhocQueryResponseToGenericAuditRequestMessage"/>
67 <variable name="TransformSubjectRevokedToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
68 <variable name="TransformSubjectRevokedToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformSubjectRevokedToGenericAuditRequestMessage"/>
69 <variable name="TransformSubjectRevisedToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
70 <variable name="TransformSubjectRevisedToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformSubjectRevisedToGenericAuditRequestMessage"/>
71 <variable name="TransformAdhocQueryRequestToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
72 <variable name="TransformAdhocQueryRequestToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformAdhocQueryRequestToGenericAuditRequestMessage"/>
73 <variable name="GetConnectionInfoEndpointByServiceNameOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameResponseMessage"/>
74 <variable name="GetConnectionInfoEndpointByServiceNameIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameRequestMessage"/>
75 <variable name="TransformSubjectAddedToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
76 <variable name="TransformSubjectAddedToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformSubjectAddedToGenericAuditRequestMessage"/>
77 <variable name="GetPropertyOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyResponseMessage"/>
78 <variable name="GetPropertyIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyRequestMessage"/>
79 <variable name="LogAuditQueryEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
80 <variable name="LogAuditQueryEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
81 <variable name="LogFindAuditEventsOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
82 <variable name="LogFindAuditEventsIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogFindAuditEventsRequestMessage"/>
83 <variable name="LogDocRetrieveResultsEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
84 <variable name="LogDocRetrieveResultsEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
85 <variable name="LogDocRetrieveResultOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
86 <variable name="LogDocRetrieveResultIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogDocRetrieveResultRequestMessage"/>
87 <variable name="LogDocRetreiveEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
88 <variable name="LogDocRetreiveEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
89 <variable name="LogDocRetrieveOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
90 <variable name="LogDocRetrieveIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogDocRetrieveRequestMessage"/>
91 <variable name="LogAdhocQueryResultEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
92 <variable name="LogAdhocQueryResultEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
93 <variable name="LogAdhocQueryResultOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
94 <variable name="LogAdhocQueryResultIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogAdhocQueryResultRequestMessage"/>
95 <variable name="LogSubjectAckEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
96 <variable name="LogSubjectAckEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
97 <variable name="LogNhinSubjectDiscoveryAckOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
98 <variable name="LogNhinSubjectDiscoveryAckIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogNhinSubjectDiscoveryAckRequestMessage"/>
99 <variable name="LogSubjectRevokedEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
100 <variable name="LogSubjectRevokedEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
101 <variable name="LogSubjectRevokedOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
102 <variable name="LogSubjectRevokedIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogSubjectRevokedRequestMessage"/>
103 <variable name="LogSubjectRevisedOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
104 <variable name="LogSubjectRevisedEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
105 <variable name="LogSubjectRevisedEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
106 <variable name="LogSubjectRevisedIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogSubjectRevisedRequestMessage"/>
107 <variable name="LogAdhocQueryEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
108 <variable name="LogAdhocQueryEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
109 <variable name="LogAdhocQueryOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
110 <variable name="LogAdhocQueryIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogAdhocQueryRequestMessage"/>
111 <variable name="LogSubjectAddEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
112 <variable name="LogSubjectAddEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
113 <variable name="LogSubjectAddedOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
114 <variable name="LogSubjectAddedIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogSubjectAddedRequestMessage"/>
115 </variables>
116 <sequence>
117 <pick name="PickAuditMessages" createInstance="yes">
118 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogSubjectAdded" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogSubjectAddedIn">
119 <sequence name="LogSubjectAddSeq">
120 <assign name="LogSubjectAddSeq-AssignPropertyAccessorInputForAuditCheck">
121 <copy>
122 <from>'gateway'</from>
123 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
124 </copy>
125 <copy>
126 <from>'serviceAuditRepository'</from>
127 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
128 </copy>
129 </assign>
130 <invoke name="LogSubjectAddSeq-InvokePropertyForAuditCheck" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
131 <if name="LogSubjectAddSeq-IfAuditLogEnabled">
132 <condition>'true' = $GetPropertyOut.GetPropertyResponse/propacc:propertyValue</condition>
133 <sequence name="LogSubjectAddSeq-IfAuditEnabledSequence">
134 <assign name="LogSubjectAddSeq-AssignAuditDteInput">
135 <copy>
136 <from variable="LogSubjectAddedIn" part="LogSubjectAddedRequest"/>
137 <to variable="TransformSubjectAddedToGenericAuditIn" part="TransformSubjectAddedToGenericAuditRequest"/>
138 </copy>
139 </assign>
140 <invoke name="LogSubjectAddSeq-InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformSubjectAddedToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformSubjectAddedToGenericAuditIn" outputVariable="TransformSubjectAddedToGenericAuditOut">
141 </invoke>
142 <assign name="LogSubAdd-AssignPropForHC">
143 <copy>
144 <from>'gateway'</from>
145 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
146 </copy>
147 <copy>
148 <from>'localHomeCommunityId'</from>
149 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
150 </copy>
151 </assign>
152 <invoke name="LogSubAdd-InvokePropAccessorHC" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
153 <assign name="LogAddSub-AssignConnMgrInput">
154 <copy>
155 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
156 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
157 </copy>
158 <copy>
159 <from>'auditrepository'</from>
160 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
161 </copy>
162 </assign>
163 <invoke name="LogSubAdd-InvokeConnMgr" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
164 <assign name="LogSubjectAdd-AssignAuditReposInput">
165 <copy>
166 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
167 <to partnerLink="AuditRepositoryPL"/>
168 </copy>
169 <copy>
170 <from>$TransformSubjectAddedToGenericAuditOut.GenericAuditResponse/audit:AuditMessage</from>
171 <to>$LogSubjectAddEventIn.LogEventRequest/audit:AuditMessage</to>
172 </copy>
173 <copy>
174 <from>$TransformSubjectAddedToGenericAuditOut.GenericAuditResponse/auditlog:direction</from>
175 <to>$LogSubjectAddEventIn.LogEventRequest/auditlog:direction</to>
176 </copy>
177 <copy>
178 <from>$TransformSubjectAddedToGenericAuditOut.GenericAuditResponse/auditlog:interface</from>
179 <to>$LogSubjectAddEventIn.LogEventRequest/auditlog:interface</to>
180 </copy>
181 </assign>
182 <invoke name="InvokeLogSubjectAdd" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogSubjectAddEventIn" outputVariable="LogSubjectAddEventOut"/>
183 <assign name="AssignSubjectAddResp">
184 <copy>
185 <from variable="LogSubjectAddEventOut" part="LogEventResponse"/>
186 <to variable="LogSubjectAddedOut" part="LogEventResponse"/>
187 </copy>
188 </assign>
189 </sequence>
190 <else>
191 <sequence name="IfAuditTurnedOffSeq">
192 <assign name="AssignMessagetoResponse">
193 <copy>
194 <from>'Audit Service is not enabled'</from>
195 <to>$LogSubjectAddedOut.LogEventResponse/nccommon:message</to>
196 </copy>
197 </assign>
198 </sequence>
199 </else>
200 </if>
201 <reply name="ReplyLogSubjectAdd" partnerLink="NhincInteralAuditRepositoryPL" operation="LogSubjectAdded" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogSubjectAddedOut"/>
202 </sequence>
203 </onMessage>
204 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogAdhocQuery" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogAdhocQueryIn">
205 <sequence name="LogAdhocQuerySeq">
206 <assign name="LogAdhocQuery-AssignPropForAuditCk">
207 <copy>
208 <from>'gateway'</from>
209 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
210 </copy>
211 <copy>
212 <from>'serviceAuditRepository'</from>
213 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
214 </copy>
215 </assign>
216 <invoke name="LogAdhocQuery-InvokePropForAuditCheck" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut">
217 <sxt:trace>
218 <sxt:log level="info" location="onComplete">
219 <from>concat('Audit Process Enabled = ', $GetPropertyOut.GetPropertyResponse/propacc:propertyValue)</from>
220 </sxt:log>
221 </sxt:trace>
222 </invoke>
223 <if name="LogAdhocQuery-IfAuditReq">
224 <condition>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue = 'true'</condition>
225 <sequence name="LogAdhocQuery-AuditTrueSequence">
226 <assign name="LogAdhocQuery-AssignDteInput">
227 <copy>
228 <from variable="LogAdhocQueryIn" part="LogAdhocQueryRequest"/>
229 <to variable="TransformAdhocQueryRequestToGenericAuditIn" part="TransformAdhocQueryRequestToGenericAuditRequest"/>
230 </copy>
231 </assign>
232 <invoke name="LogAdhocQuery-InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformAdhocQueryRequestToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformAdhocQueryRequestToGenericAuditIn" outputVariable="TransformAdhocQueryRequestToGenericAuditOut"/>
233 <assign name="LogAdhocQuery-AssignPropForHC">
234 <copy>
235 <from>'gateway'</from>
236 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
237 </copy>
238 <copy>
239 <from>'localHomeCommunityId'</from>
240 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
241 </copy>
242 </assign>
243 <invoke name="LogAdhocQuery-InvokePropAccessorHC" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
244 <assign name="LogAdhocQuery-AssignConnMgrInput">
245 <copy>
246 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
247 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
248 </copy>
249 <copy>
250 <from>'auditrepository'</from>
251 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
252 </copy>
253 </assign>
254 <invoke name="LogAdhocQuery-InvokeConnMgr" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
255 <assign name="AssignLogAdhocQuery">
256 <copy>
257 <from variable="TransformAdhocQueryRequestToGenericAuditOut" part="GenericAuditResponse"/>
258 <to variable="LogAdhocQueryEventIn" part="LogEventRequest"/>
259 </copy>
260 <copy>
261 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
262 <to partnerLink="AuditRepositoryPL"/>
263 </copy>
264 </assign>
265 <invoke name="InvokeLogAdhocQuery" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogAdhocQueryEventIn" outputVariable="LogAdhocQueryEventOut"/>
266 <assign name="AssignAdhocQueryResp">
267 <copy>
268 <from variable="LogAdhocQueryEventOut" part="LogEventResponse"/>
269 <to variable="LogAdhocQueryOut" part="LogEventResponse"/>
270 </copy>
271 </assign>
272 </sequence>
273 <else>
274 <sequence name="LogAdhocQ-AuditOffSeq">
275 <assign name="LogAdhocQ-AssignAuditOffMessage">
276 <copy>
277 <from>'Audit Service is not enabled'</from>
278 <to>$LogAdhocQueryOut.LogEventResponse/nccommon:message</to>
279 </copy>
280 </assign>
281 </sequence>
282 </else>
283 </if>
284 <reply name="ReplyLogAdhocQuery" partnerLink="NhincInteralAuditRepositoryPL" operation="LogAdhocQuery" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogAdhocQueryOut"/>
285 </sequence>
286 </onMessage>
287 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogSubjectRevised" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogSubjectRevisedIn">
288 <sequence name="LogSubjectRevisedSeq">
289 <assign name="LogSubjectRevisedSeq-AssignPropForAuditCk">
290 <copy>
291 <from>'gateway'</from>
292 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
293 </copy>
294 <copy>
295 <from>'serviceAuditRepository'</from>
296 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
297 </copy>
298 </assign>
299 <invoke name="LogSubjectRevisedSeq-InvokePropForAuditCheck" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
300 <if name="LogSubjectRevisedSeq-IfAuditEnabled">
301 <condition>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue = 'true'</condition>
302 <sequence name="LogSubjectRevised-AuditTrueSeq">
303 <assign name="LogSubjectRevised-AssignDteInput">
304 <copy>
305 <from variable="LogSubjectRevisedIn" part="LogSubjectRevisedRequest"/>
306 <to variable="TransformSubjectRevisedToGenericAuditIn" part="TransformSubjectRevisedToGenericAuditRequest"/>
307 </copy>
308 </assign>
309 <invoke name="LogSubjectRevised-InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformSubjectRevisedToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformSubjectRevisedToGenericAuditIn" outputVariable="TransformSubjectRevisedToGenericAuditOut"/>
310 <assign name="LogSubjectRevised-AssignPropForHC">
311 <copy>
312 <from>'gateway'</from>
313 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
314 </copy>
315 <copy>
316 <from>'localHomeCommunityId'</from>
317 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
318 </copy>
319 </assign>
320 <invoke name="LogSubjectRevised-InvokePropAccessorHC" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
321 <assign name="LogSubjectRevised-AssignConnMgrInput">
322 <copy>
323 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
324 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
325 </copy>
326 <copy>
327 <from>'auditrepository'</from>
328 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
329 </copy>
330 </assign>
331 <invoke name="LogSubjectRevised-InvokeConnMgr" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
332 <assign name="AssignLogSubjectRevised">
333 <copy>
334 <from variable="TransformSubjectRevisedToGenericAuditOut" part="GenericAuditResponse"/>
335 <to variable="LogSubjectRevisedEventIn" part="LogEventRequest"/>
336 </copy>
337 <copy>
338 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
339 <to partnerLink="AuditRepositoryPL"/>
340 </copy>
341 </assign>
342 <invoke name="InvokeLogSubjectRevised" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogSubjectRevisedEventIn" outputVariable="LogSubjectRevisedEventOut"/>
343 <assign name="AssignSubjectRevisedResp">
344 <copy>
345 <from variable="LogSubjectRevisedEventOut" part="LogEventResponse"/>
346 <to variable="LogSubjectRevisedOut" part="LogEventResponse"/>
347 </copy>
348 </assign>
349 </sequence>
350 <else>
351 <sequence name="LogSubRevised-AuditOffSeq">
352 <assign name="LogSubRevised-AssignAuditOffmessage">
353 <copy>
354 <from>'Audit Service is not enabled'</from>
355 <to>$LogSubjectRevisedOut.LogEventResponse/nccommon:message</to>
356 </copy>
357 </assign>
358 </sequence>
359 </else>
360 </if>
361 <reply name="ReplyLogSubjectRevised" partnerLink="NhincInteralAuditRepositoryPL" operation="LogSubjectRevised" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogSubjectRevisedOut"/>
362 </sequence>
363 </onMessage>
364 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogSubjectRevoked" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogSubjectRevokedIn">
365 <sequence name="LogSubjectRevokedSeq">
366 <assign name="LogSubRevoked-AssignPropInput">
367 <copy>
368 <from>'gateway'</from>
369 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
370 </copy>
371 <copy>
372 <from>'serviceAuditRepository'</from>
373 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
374 </copy>
375 </assign>
376 <invoke name="LogSubRevoked-InvokePropAuditCheck" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
377 <if name="LogSubRevoked-IfAuditTrue">
378 <condition>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue = 'true'</condition>
379 <sequence name="LogSubRevoked-AuditTrueSeq">
380 <assign name="LogSubRevoked-AssignDteInput">
381 <copy>
382 <from variable="LogSubjectRevokedIn" part="LogSubjectRevokedRequest"/>
383 <to variable="TransformSubjectRevokedToGenericAuditIn" part="TransformSubjectRevokedToGenericAuditRequest"/>
384 </copy>
385 </assign>
386 <invoke name="LogSubRevoked-InvokeDte" partnerLink="NhinAuditLogDtePL" operation="TransformSubjectRevokedToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformSubjectRevokedToGenericAuditIn" outputVariable="TransformSubjectRevokedToGenericAuditOut"/>
387 <assign name="LogSubRevoked-AssignPropForHC">
388 <copy>
389 <from>'gateway'</from>
390 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
391 </copy>
392 <copy>
393 <from>'localHomeCommunityId'</from>
394 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
395 </copy>
396 </assign>
397 <invoke name="LogSubRevoked-InvokePropAccessorHC" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
398 <assign name="LogSubRevoked-AssignConnMgrInput">
399 <copy>
400 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
401 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
402 </copy>
403 <copy>
404 <from>'auditrepository'</from>
405 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
406 </copy>
407 </assign>
408 <invoke name="LogSubRevoked-InvokeConnMgr" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
409 <assign name="AssignLogSubjectRevoked">
410 <copy>
411 <from variable="TransformSubjectRevokedToGenericAuditOut" part="GenericAuditResponse"/>
412 <to variable="LogSubjectRevokedEventIn" part="LogEventRequest"/>
413 </copy>
414 <copy>
415 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
416 <to partnerLink="AuditRepositoryPL"/>
417 </copy>
418 </assign>
419 <invoke name="InvokeLogSubjectRevoked" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogSubjectRevokedEventIn" outputVariable="LogSubjectRevokedEventOut"/>
420 <assign name="AssignSubjectRevokedResp">
421 <copy>
422 <from variable="LogSubjectRevokedEventOut" part="LogEventResponse"/>
423 <to variable="LogSubjectRevokedOut" part="LogEventResponse"/>
424 </copy>
425 </assign>
426 </sequence>
427 <else>
428 <sequence name="LogSubRevoked-AuditOffSeq">
429 <assign name="LogSubRevoked-AssignAuditOffMessage">
430 <copy>
431 <from>'Audit Service is not enabled'</from>
432 <to>$LogSubjectRevokedOut.LogEventResponse/nccommon:message</to>
433 </copy>
434 </assign>
435 </sequence>
436 </else>
437 </if>
438 <reply name="ReplyLogSubjectRevoked" partnerLink="NhincInteralAuditRepositoryPL" operation="LogSubjectRevoked" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogSubjectRevokedOut"/>
439 </sequence>
440 </onMessage>
441 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogNhinSubjectDiscoveryAck" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogNhinSubjectDiscoveryAckIn">
442 <sequence name="LogSubjectAckSeq">
443 <assign name="LogAck-AssignPropAuditChkInput">
444 <copy>
445 <from>'gateway'</from>
446 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
447 </copy>
448 <copy>
449 <from>'serviceAuditRepository'</from>
450 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
451 </copy>
452 </assign>
453 <invoke name="LogAck-InvokePropAuditChk" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
454 <if name="LogAck-IfAuditTrue">
455 <condition>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue = 'true'</condition>
456 <sequence name="LogAck-AuditTrueSeq">
457 <assign name="LogAck-AssignDte">
458 <copy>
459 <from variable="LogNhinSubjectDiscoveryAckIn" part="LogNhinSubjectDiscoveryAckRequest"/>
460 <to variable="TransformAckToGenericAuditIn" part="TransformAckToGenericAuditRequest"/>
461 </copy>
462 </assign>
463 <invoke name="LogAck-InvokeDte" partnerLink="NhinAuditLogDtePL" operation="TransformAckToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformAckToGenericAuditIn" outputVariable="TransformAckToGenericAuditOut"/>
464 <assign name="LogSubAck-AssignPropForHC">
465 <copy>
466 <from>'gateway'</from>
467 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
468 </copy>
469 <copy>
470 <from>'localHomeCommunityId'</from>
471 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
472 </copy>
473 </assign>
474 <invoke name="LogSubAck-InvokePropAccessorHC" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
475 <assign name="LogSubAck-AssignConnMgrInput">
476 <copy>
477 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
478 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
479 </copy>
480 <copy>
481 <from>'auditrepository'</from>
482 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
483 </copy>
484 </assign>
485 <invoke name="LogSubAck-InvokeConnMgr" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
486 <assign name="AssignLogSubjectAck">
487 <copy>
488 <from variable="TransformAckToGenericAuditOut" part="GenericAuditResponse"/>
489 <to variable="LogSubjectAckEventIn" part="LogEventRequest"/>
490 </copy>
491 <copy>
492 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
493 <to partnerLink="AuditRepositoryPL"/>
494 </copy>
495 </assign>
496 <invoke name="InvokeLogSubjectAck" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogSubjectAckEventIn" outputVariable="LogSubjectAckEventOut"/>
497 <assign name="AssignSubjectAckResp">
498 <copy>
499 <from variable="LogSubjectAckEventOut" part="LogEventResponse"/>
500 <to variable="LogNhinSubjectDiscoveryAckOut" part="LogEventResponse"/>
501 </copy>
502 </assign>
503 </sequence>
504 <else>
505 <sequence name="LogAck-AuditOffSeq">
506 <assign name="LogAck-AssignAuditOffMessage">
507 <copy>
508 <from>'Audit Service is not enabled'</from>
509 <to>$LogNhinSubjectDiscoveryAckOut.LogEventResponse/nccommon:message</to>
510 </copy>
511 </assign>
512 </sequence>
513 </else>
514 </if>
515 <reply name="ReplyLogSubjectAck" partnerLink="NhincInteralAuditRepositoryPL" operation="LogNhinSubjectDiscoveryAck" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogNhinSubjectDiscoveryAckOut"/>
516 </sequence>
517 </onMessage>
518 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogAdhocQueryResult" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogAdhocQueryResultIn">
519 <sequence name="LogAdhocQueryResultSeq">
520 <assign name="LogAdhocQueryResp-AssignPropAuditChck">
521 <copy>
522 <from>'gateway'</from>
523 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
524 </copy>
525 <copy>
526 <from>'serviceAuditRepository'</from>
527 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
528 </copy>
529 </assign>
530 <invoke name="AdhocQueryResp-InvokeAuditChk" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
531 <if name="LogAdhocQueryResp-IfAuditTrue">
532 <condition>'true' = $GetPropertyOut.GetPropertyResponse/propacc:propertyValue</condition>
533 <sequence name="AdhocQueryResp-AuditTrueSeq">
534 <assign name="AdhocQueryResp-AssignDteInput">
535 <copy>
536 <from variable="LogAdhocQueryResultIn" part="LogAdhocQueryResultRequest"/>
537 <to variable="TransformAdhocQueryResponseToGenericAuditIn" part="TransformAdhocQueryResponseToGenericAuditResponse"/>
538 </copy>
539 </assign>
540 <invoke name="AdhocQueryResp-InvokeDte" partnerLink="NhinAuditLogDtePL" operation="TransformAdhocQueryResponseToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformAdhocQueryResponseToGenericAuditIn" outputVariable="TransformAdhocQueryResponseToGenericAuditOut"/>
541 <assign name="LogAdhocQueryResp-AssignPropForHC">
542 <copy>
543 <from>'gateway'</from>
544 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
545 </copy>
546 <copy>
547 <from>'localHomeCommunityId'</from>
548 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
549 </copy>
550 </assign>
551 <invoke name="LogAdhocQueryResp-InvokePropAccessorHC" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
552 <assign name="LogAdhocQueryResp-AssignConnMgrInput">
553 <copy>
554 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
555 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
556 </copy>
557 <copy>
558 <from>'auditrepository'</from>
559 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
560 </copy>
561 </assign>
562 <invoke name="LogAdhocQueryResp-InvokeConnMgr" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
563 <assign name="AssignLogAdhocQueryResult">
564 <copy>
565 <from variable="TransformAdhocQueryResponseToGenericAuditOut" part="GenericAuditResponse"/>
566 <to variable="LogAdhocQueryResultEventIn" part="LogEventRequest"/>
567 </copy>
568 <copy>
569 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
570 <to partnerLink="AuditRepositoryPL"/>
571 </copy>
572 </assign>
573 <invoke name="InvokeLogAdhocQueryResult" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogAdhocQueryResultEventIn" outputVariable="LogAdhocQueryResultEventOut"/>
574 <assign name="AssignAdhocQueryResultResp">
575 <copy>
576 <from variable="LogAdhocQueryResultEventOut" part="LogEventResponse"/>
577 <to variable="LogAdhocQueryResultOut" part="LogEventResponse"/>
578 </copy>
579 </assign>
580 </sequence>
581 <else>
582 <sequence name="AdhocQResp-AuditOffSeq">
583 <assign name="AdhocQResp-AssignAuditOffMessage">
584 <copy>
585 <from>'Audit Service is not enabled'</from>
586 <to>$LogAdhocQueryResultOut.LogEventResponse/nccommon:message</to>
587 </copy>
588 </assign>
589 </sequence>
590 </else>
591 </if>
592 <reply name="ReplyLogAdhocQueryResult" partnerLink="NhincInteralAuditRepositoryPL" operation="LogAdhocQueryResult" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogAdhocQueryResultOut"/>
593 </sequence>
594 </onMessage>
595 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogDocRetrieve" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogDocRetrieveIn">
596 <sequence name="LogDocRetrieveSeq">
597 <assign name="LogDocRetrive-AssignPropAuditChk">
598 <copy>
599 <from>'gateway'</from>
600 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
601 </copy>
602 <copy>
603 <from>'serviceAuditRepository'</from>
604 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
605 </copy>
606 </assign>
607 <invoke name="LogDocRetrieve-InvokePropAuditChek" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
608 <if name="LogDocRetrieve-IfAuditTrue">
609 <condition>'true' = $GetPropertyOut.GetPropertyResponse/propacc:propertyValue</condition>
610 <sequence name="LogDocRetrieve-AuditTrueSeq">
611 <assign name="LogDocRetrieve-AssignAuditDteInput">
612 <copy>
613 <from variable="LogDocRetrieveIn" part="LogDocRetrieveRequest"/>
614 <to variable="TransformDocRetrieveRequestToGenericAuditIn" part="TransformDocRetrieveRequestToGenericAuditRequest"/>
615 </copy>
616 </assign>
617 <invoke name="LogDocRetrieve-InvokeDte" partnerLink="NhinAuditLogDtePL" operation="TransformDocRetrieveRequestToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformDocRetrieveRequestToGenericAuditIn" outputVariable="TransformDocRetrieveRequestToGenericAuditOut"/>
618 <assign name="LogDocRetrieve-AssignPropForHC">
619 <copy>
620 <from>'gateway'</from>
621 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
622 </copy>
623 <copy>
624 <from>'localHomeCommunityId'</from>
625 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
626 </copy>
627 </assign>
628 <invoke name="LogDocRetrieve-InvokePropAccessorHC" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
629 <assign name="LogDocRetrieve-AssignConnMgrInput">
630 <copy>
631 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
632 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
633 </copy>
634 <copy>
635 <from>'auditrepository'</from>
636 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
637 </copy>
638 </assign>
639 <invoke name="LogDocRetrieve-InvokeConnMgr" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
640 <assign name="AssignLogDocRetrieve">
641 <copy>
642 <from variable="TransformDocRetrieveRequestToGenericAuditOut" part="GenericAuditResponse"/>
643 <to variable="LogDocRetreiveEventIn" part="LogEventRequest"/>
644 </copy>
645 <copy>
646 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
647 <to partnerLink="AuditRepositoryPL"/>
648 </copy>
649 </assign>
650 <invoke name="InvokeLogDocRetrieve" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogDocRetreiveEventIn" outputVariable="LogDocRetreiveEventOut"/>
651 <assign name="AssignDocRetreiveResp">
652 <copy>
653 <from variable="LogDocRetreiveEventOut" part="LogEventResponse"/>
654 <to variable="LogDocRetrieveOut" part="LogEventResponse"/>
655 </copy>
656 </assign>
657 </sequence>
658 <else>
659 <sequence name="LogDocRet-AuditOffSeq">
660 <assign name="LogDocRet-AssignAuditOffMessage">
661 <copy>
662 <from>'Audit Service is not enabled'</from>
663 <to>$LogDocRetrieveOut.LogEventResponse/nccommon:message</to>
664 </copy>
665 </assign>
666 </sequence>
667 </else>
668 </if>
669 <reply name="ReplyLogDocRetrieve" partnerLink="NhincInteralAuditRepositoryPL" operation="LogDocRetrieve" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogDocRetrieveOut"/>
670 </sequence>
671 </onMessage>
672 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogDocRetrieveResult" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogDocRetrieveResultIn">
673 <sequence name="LogDocRetrieveResultSeq">
674 <assign name="LogDocRetriveResult-AssignPropAuditChkInput">
675 <copy>
676 <from>'gateway'</from>
677 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
678 </copy>
679 <copy>
680 <from>'serviceAuditRepository'</from>
681 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
682 </copy>
683 </assign>
684 <invoke name="LogDocRetriveResult-InvokepropChkAudit" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
685 <if name="LogDocRetriveResult-IfAuditTrue">
686 <condition>'true' = $GetPropertyOut.GetPropertyResponse/propacc:propertyValue</condition>
687 <sequence name="LogDocRetriveResult-AuditTrueSeq">
688 <assign name="LogDocRetriveResult-AssignAuditDteInput">
689 <copy>
690 <from variable="LogDocRetrieveResultIn" part="LogDocRetrieveResultRequest"/>
691 <to variable="TransformDocRetrieveResponseToGenericAuditIn" part="TransformDocRetrieveResponseToGenericAuditRequest"/>
692 </copy>
693 </assign>
694 <invoke name="LogDocRetriveResult-InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformDocRetrieveResponseToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformDocRetrieveResponseToGenericAuditIn" outputVariable="TransformDocRetrieveResponseToGenericAuditOut"/>
695 <assign name="LogDocRetriveResult-AssignPropForHC">
696 <copy>
697 <from>'gateway'</from>
698 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
699 </copy>
700 <copy>
701 <from>'localHomeCommunityId'</from>
702 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
703 </copy>
704 </assign>
705 <invoke name="LogDocRetriveResult-InvokePropAccessorHC" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
706 <assign name="LogDocRetriveResult-AssignConnMgrInput">
707 <copy>
708 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
709 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
710 </copy>
711 <copy>
712 <from>'auditrepository'</from>
713 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
714 </copy>
715 </assign>
716 <invoke name="LogDocRetriveResult-InvokeConnMgr" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
717 <assign name="AssignLogDocRetrieveResult">
718 <copy>
719 <from variable="TransformDocRetrieveResponseToGenericAuditOut" part="GenericAuditResponse"/>
720 <to variable="LogDocRetrieveResultsEventIn" part="LogEventRequest"/>
721 </copy>
722 <copy>
723 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
724 <to partnerLink="AuditRepositoryPL"/>
725 </copy>
726 </assign>
727 <invoke name="InvokeLogDocRetrieveResult" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogDocRetrieveResultsEventIn" outputVariable="LogDocRetrieveResultsEventOut"/>
728 <assign name="AssignDocRetreiveResultsResp">
729 <copy>
730 <from variable="LogDocRetrieveResultsEventOut" part="LogEventResponse"/>
731 <to variable="LogDocRetrieveResultOut" part="LogEventResponse"/>
732 </copy>
733 </assign>
734 </sequence>
735 <else>
736 <sequence name="LogDocRetResult-AuditOffSeq">
737 <assign name="LogDocRetResult-AssignAuditOffMess">
738 <copy>
739 <from>'Audit Service is not enabled'</from>
740 <to>$LogDocRetrieveResultOut.LogEventResponse/nccommon:message</to>
741 </copy>
742 </assign>
743 </sequence>
744 </else>
745 </if>
746 <reply name="ReplyLogDocRetrieveResult" partnerLink="NhincInteralAuditRepositoryPL" operation="LogDocRetrieveResult" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogDocRetrieveResultOut"/>
747 </sequence>
748 </onMessage>
749 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogFindAuditEvents" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogFindAuditEventsIn">
750 <sequence name="LogAuditQuerySeq">
751 <assign name="LogAuditQuery-AssignAuditChkInput">
752 <copy>
753 <from>'gateway'</from>
754 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
755 </copy>
756 <copy>
757 <from>'serviceAuditRepository'</from>
758 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
759 </copy>
760 </assign>
761 <invoke name="LogAuditQuery-InvokePropChkAudit" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
762 <if name="LogAuditQuery-IfAuditTrue">
763 <condition>'true' = $GetPropertyOut.GetPropertyResponse/propacc:propertyValue</condition>
764 <sequence name="LogAuditQuery-AuditTrueSeq">
765 <assign name="LogAuditQuery-AssignDteInput">
766 <copy>
767 <from variable="LogFindAuditEventsIn" part="LogFindAuditEventsRequest"/>
768 <to variable="TransformFindAuditEventsToGenericAuditIn" part="TransformFindAuditEventsToGenericAuditRequest"/>
769 </copy>
770 </assign>
771 <invoke name="LogAuditQuery-InvokeDte" partnerLink="NhinAuditLogDtePL" operation="TransformFindAuditEventsToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformFindAuditEventsToGenericAuditIn" outputVariable="TransformFindAuditEventsToGenericAuditOut"/>
772 <assign name="LogAuditQuery-AssignPropForHC">
773 <copy>
774 <from>'gateway'</from>
775 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
776 </copy>
777 <copy>
778 <from>'localHomeCommunityId'</from>
779 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
780 </copy>
781 </assign>
782 <invoke name="LogAuditQuery-InvokePropAccessorHC" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
783 <assign name="LogAuditQuery-AssignConnMgrInput">
784 <copy>
785 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
786 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
787 </copy>
788 <copy>
789 <from>'auditrepository'</from>
790 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
791 </copy>
792 </assign>
793 <invoke name="LogAuditQuery-InvokeConnMgr" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
794 <assign name="AssignLogAuditQuery">
795 <copy>
796 <from variable="TransformFindAuditEventsToGenericAuditOut" part="GenericAuditResponse"/>
797 <to variable="LogAuditQueryEventIn" part="LogEventRequest"/>
798 </copy>
799 <copy>
800 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
801 <to partnerLink="AuditRepositoryPL"/>
802 </copy>
803 </assign>
804 <invoke name="InvokeLogAuditQuery" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogAuditQueryEventIn" outputVariable="LogAuditQueryEventOut"/>
805 <assign name="AssignLogAuditQueryResp">
806 <copy>
807 <from variable="LogAuditQueryEventOut" part="LogEventResponse"/>
808 <to variable="LogFindAuditEventsOut" part="LogEventResponse"/>
809 </copy>
810 </assign>
811 </sequence>
812 <else>
813 <sequence name="LogAuditQ-AuditOffSeq">
814 <assign name="LogAuditQ-AssignAuditOffMessage">
815 <copy>
816 <from>'Audit Service is not enabled'</from>
817 <to>$LogFindAuditEventsOut.LogEventResponse/nccommon:message</to>
818 </copy>
819 </assign>
820 </sequence>
821 </else>
822 </if>
823 <reply name="ReplyLogAuditQuery" partnerLink="NhincInteralAuditRepositoryPL" operation="LogFindAuditEvents" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogFindAuditEventsOut"/>
824 </sequence>
825 </onMessage>
826 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogSubjectReident" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogSubjectReidentIn">
827 <sequence name="LogSubjectReidentReqSeq">
828 <assign name="LogSubjectReidentReqSeq-AssignPropertyAccessorInputForAuditCheck">
829 <copy>
830 <from>'gateway'</from>
831 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
832 </copy>
833 <copy>
834 <from>'serviceAuditRepository'</from>
835 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
836 </copy>
837 </assign>
838 <invoke name="LogSubjectReidentReqSeq-InvokePropertyForAuditCheck" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
839 <if name="LogSubjectReidentReqSeq-IfAuditLogEnabled">
840 <condition>'true' = $GetPropertyOut.GetPropertyResponse/propacc:propertyValue</condition>
841 <sequence name="LogSubjectReidentReqSeq-IfAuditEnabledSequence">
842 <assign name="LogSubjectReidentReqSeq-AssignAuditDteInput">
843 <copy>
844 <from variable="LogSubjectReidentIn" part="LogSubjectReidentRequest"/>
845 <to variable="TransformSubjectReidentRequestToGenericAuditIn" part="TransformSubjectReidentRequestToGenericAuditRequest"/>
846 </copy>
847 </assign>
848 <invoke name="LogSubjectReidentReqSeq-InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformSubjectReidentRequestToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformSubjectReidentRequestToGenericAuditIn" outputVariable="TransformSubjectReidentRequestToGenericAuditOut">
849 </invoke>
850 <assign name="LogSubReidentReq-AssignPropForHC">
851 <copy>
852 <from>'gateway'</from>
853 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
854 </copy>
855 <copy>
856 <from>'localHomeCommunityId'</from>
857 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
858 </copy>
859 </assign>
860 <invoke name="LogSubReidentReq-InvokePropAccessorHC" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
861 <assign name="LogReidentReqSub-AssignConnMgrInput">
862 <copy>
863 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
864 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
865 </copy>
866 <copy>
867 <from>'auditrepository'</from>
868 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
869 </copy>
870 </assign>
871 <invoke name="LogSubReidentReq-InvokeConnMgr" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
872 <assign name="LogSubjectReidentReq-AssignAuditReposInput">
873 <copy>
874 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
875 <to partnerLink="AuditRepositoryPL"/>
876 </copy>
877 <copy>
878 <from variable="TransformSubjectReidentRequestToGenericAuditOut" part="GenericAuditResponse"/>
879 <to variable="LogSubjectReidentEventIn" part="LogEventRequest"/>
880 </copy>
881 </assign>
882 <invoke name="InvokeLogSubjectReidentReq" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogSubjectReidentEventIn" outputVariable="LogSubjectReidentEventOut"/>
883 <assign name="AssignSubjectReidentReqResp">
884 <copy>
885 <from variable="LogSubjectReidentEventOut" part="LogEventResponse"/>
886 <to variable="LogSubjectReidentOut" part="LogEventResponse"/>
887 </copy>
888 </assign>
889 </sequence>
890 <else>
891 <sequence name="LogReientReq-TurnedOffSeq">
892 <assign name="AssignLogReientReq-MessagetoResponse">
893 <copy>
894 <from>'Audit Service is not enabled'</from>
895 <to>$LogSubjectReidentOut.LogEventResponse/nccommon:message</to>
896 </copy>
897 </assign>
898 </sequence>
899 </else>
900 </if>
901 <reply name="ReplyLogSubjectReidentReq" partnerLink="NhincInteralAuditRepositoryPL" operation="LogSubjectReident" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogSubjectReidentOut"/>
902 </sequence>
903 </onMessage>
904 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogSubjectReidentResult" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogSubjectReidentResultIn">
905 <sequence name="LogSubjectReidentRespSeq">
906 <assign name="LogSubjectReidentRespSeq-AssignPropertyAccessorInputForAuditCheck">
907 <copy>
908 <from>'gateway'</from>
909 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
910 </copy>
911 <copy>
912 <from>'serviceAuditRepository'</from>
913 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
914 </copy>
915 </assign>
916 <invoke name="LogSubjectReidentRespSeq-InvokePropertyForAuditCheck" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
917 <if name="LogSubjectReidentRespSeq-IfAuditLogEnabled">
918 <condition>'true' = $GetPropertyOut.GetPropertyResponse/propacc:propertyValue</condition>
919 <sequence name="LogSubjectReidentRespSeq-IfAuditEnabledSequence">
920 <assign name="LogSubjectReidentRespSeq-AssignAuditDteInput">
921 <copy>
922 <from variable="LogSubjectReidentResultIn" part="LogSubjectReidentResponse"/>
923 <to variable="TransformSubjectReidentResponseToGenericAuditIn" part="TransformSubjectReidentResponseTpGenericAuditRequest"/>
924 </copy>
925 </assign>
926 <invoke name="LogSubjectReidentRespSeq-InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformSubjectReidentResponseToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformSubjectReidentResponseToGenericAuditIn" outputVariable="TransformSubjectReidentResponseToGenericAuditOut">
927 </invoke>
928 <assign name="LogSubReidentResp-AssignPropForHC">
929 <copy>
930 <from>'gateway'</from>
931 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
932 </copy>
933 <copy>
934 <from>'localHomeCommunityId'</from>
935 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
936 </copy>
937 </assign>
938 <invoke name="LogSubReidentResp-InvokePropAccessorHC" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
939 <assign name="LogReidentRespSub-AssignConnMgrInput">
940 <copy>
941 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
942 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
943 </copy>
944 <copy>
945 <from>'auditrepository'</from>
946 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
947 </copy>
948 </assign>
949 <invoke name="LogSubReidentResp-InvokeConnMgr" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
950 <assign name="LogSubjectReidentResp-AssignAuditReposInput">
951 <copy>
952 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
953 <to partnerLink="AuditRepositoryPL"/>
954 </copy>
955 <copy>
956 <from variable="TransformSubjectReidentResponseToGenericAuditOut" part="GenericAuditResponse"/>
957 <to variable="LogSubjectReidentRespEventIn" part="LogEventRequest"/>
958 </copy>
959 </assign>
960 <invoke name="InvokeLogSubjectReidentResp" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogSubjectReidentRespEventIn" outputVariable="LogSubjectReidentRespEventOut"/>
961 <assign name="AssignSubjectReidentRespResp">
962 <copy>
963 <from variable="LogSubjectReidentRespEventOut" part="LogEventResponse"/>
964 <to variable="LogSubjectReidentResultOut" part="LogEventResponse"/>
965 </copy>
966 </assign>
967 </sequence>
968 <else>
969 <sequence name="LogReientResp-TurnedOffSeq">
970 <assign name="AssignLogReientResp-MessagetoResponse">
971 <copy>
972 <from>'Audit Service is not enabled'</from>
973 <to>$LogSubjectReidentResultOut.LogEventResponse/nccommon:message</to>
974 </copy>
975 </assign>
976 </sequence>
977 </else>
978 </if>
979 <reply name="ReplyLogSubjectReidentResp" partnerLink="NhincInteralAuditRepositoryPL" operation="LogSubjectReidentResult" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogSubjectReidentResultOut"/>
980 </sequence>
981 </onMessage>
982 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogNhinSubscribeRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogNhinSubscribeRequestIn">
983 <scope name="LogNhinSubscribeReqScope">
984 <variables>
985 <variable name="LogNhinSubscribeEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
986 <variable name="LogNhinSubscribeEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
987 <variable name="TransformNhinSubscribeRequestToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
988 <variable name="TransformNhinSubscribeRequestToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformNhinSubscribeRequestToGenericAuditRequestMessage"/>
989 <variable name="LogNhinSubscribeRequestOut" messageType="tns:LogEventResponseMessage"/>
990 </variables>
991 <sequence name="LogNhinSubscribeReqSeq">
992 <assign name="AssignGetAuditServiceProp">
993 <copy>
994 <from>'serviceAuditRepository'</from>
995 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
996 </copy>
997 <copy>
998 <from>'gateway'</from>
999 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
1000 </copy>
1001 </assign>
1002 <invoke name="InvokeGetAuditServiceProp" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetAuditServicePropIn" outputVariable="GetAuditServicePropOut"/>
1003 <if name="IfAuditServiceEnabled">
1004 <condition>$GetAuditServicePropOut.GetPropertyBooleanResponse/propacc:propertyValue = true()</condition>
1005 <sequence name="AuditServiceEnabledSeq">
1006 <assign name="AssignAuditDte">
1007 <copy>
1008 <from variable="LogNhinSubscribeRequestIn" part="LogNhinSubscribeRequest"/>
1009 <to variable="TransformNhinSubscribeRequestToGenericAuditIn" part="TransformNhinSubscribeRequestToGenericAuditRequest"/>
1010 </copy>
1011 </assign>
1012 <invoke name="InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformNhinSubscribeRequestToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformNhinSubscribeRequestToGenericAuditIn" outputVariable="TransformNhinSubscribeRequestToGenericAuditOut"/>
1013 <assign name="AssignGetHcid">
1014 <copy>
1015 <from>'localHomeCommunityId'</from>
1016 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
1017 </copy>
1018 <copy>
1019 <from>'gateway'</from>
1020 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
1021 </copy>
1022 </assign>
1023 <invoke name="InvokeGetHcid" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
1024 <assign name="AssignGetAuditRepoEndPtInfo">
1025 <copy>
1026 <from>'auditrepository'</from>
1027 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
1028 </copy>
1029 <copy>
1030 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
1031 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
1032 </copy>
1033 </assign>
1034 <invoke name="InvokeGetAuditRepoEndPtInfo" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
1035 <assign name="AssignAuditRepo">
1036 <copy>
1037 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
1038 <to partnerLink="AuditRepositoryPL"/>
1039 </copy>
1040 <copy>
1041 <from variable="TransformNhinSubscribeRequestToGenericAuditOut" part="GenericAuditResponse"/>
1042 <to variable="LogNhinSubscribeEventIn" part="LogEventRequest"/>
1043 </copy>
1044 </assign>
1045 <invoke name="InvokeAuditRepo" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogNhinSubscribeEventIn" outputVariable="LogNhinSubscribeEventOut"/>
1046 <assign name="AssignAuditResp">
1047 <copy>
1048 <from variable="LogNhinSubscribeEventOut" part="LogEventResponse"/>
1049 <to variable="LogNhinSubscribeRequestOut" part="LogEventResponse"/>
1050 </copy>
1051 </assign>
1052 </sequence>
1053 <else>
1054 <sequence name="AuditServiceDisabledSeq">
1055 <assign name="AssignAuditServiceDisabled">
1056 <copy>
1057 <from>'Audit Service is not enabled'</from>
1058 <to>$LogNhinSubscribeRequestOut.LogEventResponse/nccommon:message</to>
1059 </copy>
1060 </assign>
1061 </sequence>
1062 </else>
1063 </if>
1064 <reply name="ReplyLogNhinSubscribeReq" partnerLink="NhincInteralAuditRepositoryPL" operation="LogNhinSubscribeRequest" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogNhinSubscribeRequestOut"/>
1065 </sequence>
1066 </scope>
1067 </onMessage>
1068 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogNhinNotifyRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogNhinNotifyRequestIn">
1069 <scope name="LogNhinNotifyReqScope">
1070 <variables>
1071 <variable name="LogNhinNotifyReqEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
1072 <variable name="LogNhinNotifyReqEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
1073 <variable name="TransformNhinNotifyRequestToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
1074 <variable name="TransformNhinNotifyRequestToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformNhinNotifyRequestToGenericAuditRequestMessage"/>
1075 <variable name="LogNhinNotifyRequestOut" messageType="tns:LogEventResponseMessage"/>
1076 </variables>
1077 <sequence name="LogNhinNotifyReqSeq">
1078 <assign name="AssignGetAuditServiceProp">
1079 <copy>
1080 <from>'serviceAuditRepository'</from>
1081 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
1082 </copy>
1083 <copy>
1084 <from>'gateway'</from>
1085 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
1086 </copy>
1087 </assign>
1088 <invoke name="InvokeGetAuditServiceProp" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetAuditServicePropIn" outputVariable="GetAuditServicePropOut"/>
1089 <if name="IfAuditServiceEnabled">
1090 <condition>$GetAuditServicePropOut.GetPropertyBooleanResponse/propacc:propertyValue = true()</condition>
1091 <sequence name="AuditServiceEnabledSeq">
1092 <assign name="AssignAuditDte">
1093 <copy>
1094 <from variable="LogNhinNotifyRequestIn" part="LogNhinNotifyRequest"/>
1095 <to variable="TransformNhinNotifyRequestToGenericAuditIn" part="TransformNhinNotifyRequestToGenericAuditRequest"/>
1096 </copy>
1097 </assign>
1098 <invoke name="InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformNhinNotifyRequestToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformNhinNotifyRequestToGenericAuditIn" outputVariable="TransformNhinNotifyRequestToGenericAuditOut"/>
1099 <assign name="AssignGetHcid">
1100 <copy>
1101 <from>'localHomeCommunityId'</from>
1102 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
1103 </copy>
1104 <copy>
1105 <from>'gateway'</from>
1106 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
1107 </copy>
1108 </assign>
1109 <invoke name="InvokeGetHcid" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
1110 <assign name="AssignGetAuditRepoEndPtInfo">
1111 <copy>
1112 <from>'auditrepository'</from>
1113 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
1114 </copy>
1115 <copy>
1116 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
1117 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
1118 </copy>
1119 </assign>
1120 <invoke name="InvokeGetAuditRepoEndPtInfo" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
1121 <assign name="AssignAuditRepo">
1122 <copy>
1123 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
1124 <to partnerLink="AuditRepositoryPL"/>
1125 </copy>
1126 <copy>
1127 <from variable="TransformNhinNotifyRequestToGenericAuditOut" part="GenericAuditResponse"/>
1128 <to variable="LogNhinNotifyReqEventIn" part="LogEventRequest"/>
1129 </copy>
1130 </assign>
1131 <invoke name="InvokeAuditRepo" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogNhinNotifyReqEventIn" outputVariable="LogNhinNotifyReqEventOut"/>
1132 <assign name="AssignAuditResp">
1133 <copy>
1134 <from variable="LogNhinNotifyReqEventOut" part="LogEventResponse"/>
1135 <to variable="LogNhinNotifyRequestOut" part="LogEventResponse"/>
1136 </copy>
1137 </assign>
1138 </sequence>
1139 <else>
1140 <sequence name="AuditServiceDisabledSeq">
1141 <assign name="AssignAuditServiceDisabled">
1142 <copy>
1143 <from>'Audit Service is not enabled'</from>
1144 <to>$LogNhinNotifyRequestOut.LogEventResponse/nccommon:message</to>
1145 </copy>
1146 </assign>
1147 </sequence>
1148 </else>
1149 </if>
1150 <reply name="ReplyLogNhinNotifyReq" partnerLink="NhincInteralAuditRepositoryPL" operation="LogNhinNotifyRequest" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogNhinNotifyRequestOut"/>
1151 </sequence>
1152 </scope>
1153 </onMessage>
1154 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogNhinUnsubscribeRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogNhinUnsubscribeRequestIn">
1155 <scope name="LogNhinUnsubscribeReqScope">
1156 <variables>
1157 <variable name="LogNhinUnsubscribeEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
1158 <variable name="LogNhinUnsubscribeEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
1159 <variable name="TransformNhinUnsubscribeRequestToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
1160 <variable name="TransformNhinUnsubscribeRequestToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformNhinUnsubscribeRequestToGenericAuditRequestMessage"/>
1161 <variable name="LogNhinUnsubscribeRequestOut" messageType="tns:LogEventResponseMessage"/>
1162 </variables>
1163 <sequence name="LogNhinUnsubscribeReqSeq">
1164 <assign name="AssignGetAuditServiceProp">
1165 <copy>
1166 <from>'serviceAuditRepository'</from>
1167 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
1168 </copy>
1169 <copy>
1170 <from>'gateway'</from>
1171 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
1172 </copy>
1173 </assign>
1174 <invoke name="InvokeGetAuditServiceProp" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetAuditServicePropIn" outputVariable="GetAuditServicePropOut"/>
1175 <if name="IfAuditServiceEnabled">
1176 <condition>$GetAuditServicePropOut.GetPropertyBooleanResponse/propacc:propertyValue = true()</condition>
1177 <sequence name="AuditServiceEnabledSeq">
1178 <assign name="AssignAuditDte">
1179 <copy>
1180 <from variable="LogNhinUnsubscribeRequestIn" part="LogNhinUnsubscribeRequest"/>
1181 <to variable="TransformNhinUnsubscribeRequestToGenericAuditIn" part="TransformNhinUnsubscribeRequestToGenericAuditRequest"/>
1182 </copy>
1183 </assign>
1184 <invoke name="InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformNhinUnsubscribeRequestToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformNhinUnsubscribeRequestToGenericAuditIn" outputVariable="TransformNhinUnsubscribeRequestToGenericAuditOut"/>
1185 <assign name="AssignGetHcid">
1186 <copy>
1187 <from>'localHomeCommunityId'</from>
1188 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
1189 </copy>
1190 <copy>
1191 <from>'gateway'</from>
1192 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
1193 </copy>
1194 </assign>
1195 <invoke name="InvokeGetHcid" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
1196 <assign name="AssignGetAuditRepoEndPtInfo">
1197 <copy>
1198 <from>'auditrepository'</from>
1199 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
1200 </copy>
1201 <copy>
1202 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
1203 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
1204 </copy>
1205 </assign>
1206 <invoke name="InvokeGetAuditRepoEndPtInfo" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
1207 <assign name="AssignAuditRepo">
1208 <copy>
1209 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
1210 <to partnerLink="AuditRepositoryPL"/>
1211 </copy>
1212 <copy>
1213 <from variable="TransformNhinUnsubscribeRequestToGenericAuditOut" part="GenericAuditResponse"/>
1214 <to variable="LogNhinUnsubscribeEventIn" part="LogEventRequest"/>
1215 </copy>
1216 </assign>
1217 <invoke name="InvokeAuditRepo" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogNhinUnsubscribeEventIn" outputVariable="LogNhinUnsubscribeEventOut"/>
1218 <assign name="AssignAuditResp">
1219 <copy>
1220 <from variable="LogNhinUnsubscribeEventOut" part="LogEventResponse"/>
1221 <to variable="LogNhinUnsubscribeRequestOut" part="LogEventResponse"/>
1222 </copy>
1223 </assign>
1224 </sequence>
1225 <else>
1226 <sequence name="AuditServiceDisabledSeq">
1227 <assign name="AssignAuditServiceDisabled">
1228 <copy>
1229 <from>'Audit Service is not enabled'</from>
1230 <to>$LogNhinUnsubscribeRequestOut.LogEventResponse/nccommon:message</to>
1231 </copy>
1232 </assign>
1233 </sequence>
1234 </else>
1235 </if>
1236 <reply name="ReplyLogNhinUnsubscribeReq" partnerLink="NhincInteralAuditRepositoryPL" operation="LogNhinUnsubscribeRequest" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogNhinUnsubscribeRequestOut"/>
1237 </sequence>
1238 </scope>
1239 </onMessage>
1240 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogUnsubscribeRespRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogUnsubscribeRespRequestIn">
1241 <scope name="LogUnsubscribeRespReqScope">
1242 <variables>
1243 <variable name="LogUnsubscribeRespReqEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
1244 <variable name="LogUnsubscribeRespReqEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
1245 <variable name="TransformUnsubscribeResponseToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
1246 <variable name="TransformUnsubscribeResponseToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformUnsubscribeResponseToGenericAuditRequestMessage"/>
1247 <variable name="LogUnsubscribeRespRequestOut" messageType="tns:LogEventResponseMessage"/>
1248 </variables>
1249 <sequence name="LogUnsubscribeRespReqSeq">
1250 <assign name="AssignGetAuditServiceProp">
1251 <copy>
1252 <from>'serviceAuditRepository'</from>
1253 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
1254 </copy>
1255 <copy>
1256 <from>'gateway'</from>
1257 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
1258 </copy>
1259 </assign>
1260 <invoke name="InvokeGetAuditServiceProp" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetAuditServicePropIn" outputVariable="GetAuditServicePropOut"/>
1261 <if name="IfAuditServiceEnabled">
1262 <condition>$GetAuditServicePropOut.GetPropertyBooleanResponse/propacc:propertyValue = true()</condition>
1263 <sequence name="AuditServiceEnabledSeq">
1264 <assign name="AssignAuditDte">
1265 <copy>
1266 <from variable="LogUnsubscribeRespRequestIn" part="LogUnsubscribeRespRequest"/>
1267 <to variable="TransformUnsubscribeResponseToGenericAuditIn" part="TransformUnsubscribeResponseToGenericAuditRequest"/>
1268 </copy>
1269 </assign>
1270 <invoke name="InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformUnsubscribeResponseToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformUnsubscribeResponseToGenericAuditIn" outputVariable="TransformUnsubscribeResponseToGenericAuditOut"/>
1271 <assign name="AssignGetHcid">
1272 <copy>
1273 <from>'localHomeCommunityId'</from>
1274 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
1275 </copy>
1276 <copy>
1277 <from>'gateway'</from>
1278 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
1279 </copy>
1280 </assign>
1281 <invoke name="InvokeGetHcid" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
1282 <assign name="AssignGetAuditRepoEndPtInfo">
1283 <copy>
1284 <from>'auditrepository'</from>
1285 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
1286 </copy>
1287 <copy>
1288 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
1289 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
1290 </copy>
1291 </assign>
1292 <invoke name="InvokeGetAuditRepoEndPtInfo" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
1293 <assign name="AssignAuditRepo">
1294 <copy>
1295 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
1296 <to partnerLink="AuditRepositoryPL"/>
1297 </copy>
1298 <copy>
1299 <from variable="TransformUnsubscribeResponseToGenericAuditOut" part="GenericAuditResponse"/>
1300 <to variable="LogUnsubscribeRespReqEventIn" part="LogEventRequest"/>
1301 </copy>
1302 </assign>
1303 <invoke name="InvokeAuditRepo" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogUnsubscribeRespReqEventIn" outputVariable="LogUnsubscribeRespReqEventOut"/>
1304 <assign name="AssignAuditResp">
1305 <copy>
1306 <from variable="LogUnsubscribeRespReqEventOut" part="LogEventResponse"/>
1307 <to variable="LogUnsubscribeRespRequestOut" part="LogEventResponse"/>
1308 </copy>
1309 </assign>
1310 </sequence>
1311 <else>
1312 <sequence name="AuditServiceDisabledSeq">
1313 <assign name="AssignAuditServiceDisabled">
1314 <copy>
1315 <from>'Audit Service is not enabled'</from>
1316 <to>$LogUnsubscribeRespRequestOut.LogEventResponse/nccommon:message</to>
1317 </copy>
1318 </assign>
1319 </sequence>
1320 </else>
1321 </if>
1322 <reply name="ReplyLogUnsubscribeRespReq" partnerLink="NhincInteralAuditRepositoryPL" operation="LogUnsubscribeRespRequest" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogUnsubscribeRespRequestOut"/>
1323 </sequence>
1324 </scope>
1325 </onMessage>
1326 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogSubscribeRespRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogSubscribeRespRequestIn">
1327 <scope name="LogSubscribeRespReqScope">
1328 <variables>
1329 <variable name="LogSubscribeRespReqEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
1330 <variable name="LogSubscribeRespReqEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
1331 <variable name="TransformSubscribeResponseToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
1332 <variable name="TransformSubscribeResponseToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformSubscribeResponseToGenericAuditRequestMessage"/>
1333 <variable name="LogSubscribeRespRequestOut" messageType="tns:LogEventResponseMessage"/>
1334 </variables>
1335 <sequence name="LogSubscribeRespReqSeq">
1336 <assign name="AssignGetAuditServiceProp">
1337 <copy>
1338 <from>'serviceAuditRepository'</from>
1339 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
1340 </copy>
1341 <copy>
1342 <from>'gateway'</from>
1343 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
1344 </copy>
1345 </assign>
1346 <invoke name="InvokeGetAuditServiceProp" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetAuditServicePropIn" outputVariable="GetAuditServicePropOut"/>
1347 <if name="IfAuditServiceEnabled">
1348 <condition>$GetAuditServicePropOut.GetPropertyBooleanResponse/propacc:propertyValue = true()</condition>
1349 <sequence name="AuditServiceEnabledSeq">
1350 <assign name="AssignAuditDte">
1351 <copy>
1352 <from variable="LogSubscribeRespRequestIn" part="LogSubscribeRespRequest"/>
1353 <to variable="TransformSubscribeResponseToGenericAuditIn" part="TransformSubscribeResponseToGenericAuditRequest"/>
1354 </copy>
1355 </assign>
1356 <invoke name="InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformSubscribeResponseToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformSubscribeResponseToGenericAuditIn" outputVariable="TransformSubscribeResponseToGenericAuditOut"/>
1357 <assign name="AssignGetHcid">
1358 <copy>
1359 <from>'localHomeCommunityId'</from>
1360 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
1361 </copy>
1362 <copy>
1363 <from>'gateway'</from>
1364 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
1365 </copy>
1366 </assign>
1367 <invoke name="InvokeGetHcid" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
1368 <assign name="AssignGetAuditRepoEndPtInfo">
1369 <copy>
1370 <from>'auditrepository'</from>
1371 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
1372 </copy>
1373 <copy>
1374 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
1375 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
1376 </copy>
1377 </assign>
1378 <invoke name="InvokeGetAuditRepoEndPtInfo" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
1379 <assign name="AssignAuditRepo">
1380 <copy>
1381 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
1382 <to partnerLink="AuditRepositoryPL"/>
1383 </copy>
1384 <copy>
1385 <from variable="TransformSubscribeResponseToGenericAuditOut" part="GenericAuditResponse"/>
1386 <to variable="LogSubscribeRespReqEventIn" part="LogEventRequest"/>
1387 </copy>
1388 </assign>
1389 <invoke name="InvokeAuditRepo" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogSubscribeRespReqEventIn" outputVariable="LogSubscribeRespReqEventOut"/>
1390 <assign name="AssignAuditResp">
1391 <copy>
1392 <from variable="LogSubscribeRespReqEventOut" part="LogEventResponse"/>
1393 <to variable="LogSubscribeRespRequestOut" part="LogEventResponse"/>
1394 </copy>
1395 </assign>
1396 </sequence>
1397 <else>
1398 <sequence name="AuditServiceDisabledSeq">
1399 <assign name="AssignAuditServiceDisabled">
1400 <copy>
1401 <from>'Audit Service is not enabled'</from>
1402 <to>$LogSubscribeRespRequestOut.LogEventResponse/nccommon:message</to>
1403 </copy>
1404 </assign>
1405 </sequence>
1406 </else>
1407 </if>
1408 <reply name="ReplyLogSubscribeRespReq" partnerLink="NhincInteralAuditRepositoryPL" operation="LogSubscribeRespRequest" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogSubscribeRespRequestOut"/>
1409 </sequence>
1410 </scope>
1411 </onMessage>
1412 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogEntityDocSubscribeRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogEntityDocSubscribeRequestIn">
1413 <scope name="LogEntityDocSubscribeReqScope">
1414 <variables>
1415 <variable name="LogEntityDocSubReqEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
1416 <variable name="LogEntityDocSubReqEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
1417 <variable name="TransformEntityDocSubscribeRequestToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
1418 <variable name="TransformEntityDocSubscribeRequestToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformEntityDocSubscribeRequestToGenericAuditRequestMessage"/>
1419 <variable name="LogEntityDocSubscribeRequestOut" messageType="tns:LogEventResponseMessage"/>
1420 </variables>
1421 <sequence name="LogEntityDocSubscribeReqSeq">
1422 <assign name="AssignGetAuditServiceProp">
1423 <copy>
1424 <from>'serviceAuditRepository'</from>
1425 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
1426 </copy>
1427 <copy>
1428 <from>'gateway'</from>
1429 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
1430 </copy>
1431 </assign>
1432 <invoke name="InvokeGetAuditServiceProp" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetAuditServicePropIn" outputVariable="GetAuditServicePropOut"/>
1433 <if name="IfAuditServiceEnabled">
1434 <condition>$GetAuditServicePropOut.GetPropertyBooleanResponse/propacc:propertyValue = true()</condition>
1435 <sequence name="AuditServiceEnabledSeq">
1436 <assign name="AssignAuditDte">
1437 <copy>
1438 <from variable="LogEntityDocSubscribeRequestIn" part="LogmEntityDocSubscribeRequest"/>
1439 <to variable="TransformEntityDocSubscribeRequestToGenericAuditIn" part="TransformEntityDocSubscribeRequestToGenericAuditRequest"/>
1440 </copy>
1441 </assign>
1442 <invoke name="InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformEntityDocSubscribeRequestToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformEntityDocSubscribeRequestToGenericAuditIn" outputVariable="TransformEntityDocSubscribeRequestToGenericAuditOut"/>
1443 <assign name="AssignGetHcid">
1444 <copy>
1445 <from>'localHomeCommunityId'</from>
1446 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
1447 </copy>
1448 <copy>
1449 <from>'gateway'</from>
1450 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
1451 </copy>
1452 </assign>
1453 <invoke name="InvokeGetHcid" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
1454 <assign name="AssignGetAuditRepoEndPtInfo">
1455 <copy>
1456 <from>'auditrepository'</from>
1457 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
1458 </copy>
1459 <copy>
1460 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
1461 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
1462 </copy>
1463 </assign>
1464 <invoke name="InvokeGetAuditRepoEndPtInfo" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
1465 <assign name="AssignAuditRepo">
1466 <copy>
1467 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
1468 <to partnerLink="AuditRepositoryPL"/>
1469 </copy>
1470 <copy>
1471 <from variable="TransformEntityDocSubscribeRequestToGenericAuditOut" part="GenericAuditResponse"/>
1472 <to variable="LogEntityDocSubReqEventIn" part="LogEventRequest"/>
1473 </copy>
1474 </assign>
1475 <invoke name="InvokeAuditRepo" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogEntityDocSubReqEventIn" outputVariable="LogEntityDocSubReqEventOut"/>
1476 <assign name="AssignAuditResp">
1477 <copy>
1478 <from variable="LogEntityDocSubReqEventOut" part="LogEventResponse"/>
1479 <to variable="LogEntityDocSubscribeRequestOut" part="LogEventResponse"/>
1480 </copy>
1481 </assign>
1482 </sequence>
1483 <else>
1484 <sequence name="AuditServiceDisabledSeq">
1485 <assign name="AssignAuditServiceDisabled">
1486 <copy>
1487 <from>'Audit Service is not enabled'</from>
1488 <to>$LogEntityDocSubscribeRequestOut.LogEventResponse/nccommon:message</to>
1489 </copy>
1490 </assign>
1491 </sequence>
1492 </else>
1493 </if>
1494 <reply name="ReplyLogEntityDocSubscribeReq" partnerLink="NhincInteralAuditRepositoryPL" operation="LogEntityDocSubscribeRequest" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogEntityDocSubscribeRequestOut"/>
1495 </sequence>
1496 </scope>
1497 </onMessage>
1498 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogEntityCdcSubscribeRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogEntityCdcSubscribeRequestIn">
1499 <scope name="LogEntityCdcSubscribeReqScope">
1500 <variables>
1501 <variable name="LogEntityCdcSubReqEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
1502 <variable name="LogEntityCdcSubReqEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
1503 <variable name="TransformEntityCdcSubscribeRequestToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
1504 <variable name="TransformEntityCdcSubscribeRequestToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformEntityCdcSubscribeRequestToGenericAuditRequestMessage"/>
1505 <variable name="LogEntityCdcSubscribeRequestOut" messageType="tns:LogEventResponseMessage"/>
1506 </variables>
1507 <sequence name="LogEntityCdcSubscribeReqSeq">
1508 <assign name="AssignGetAuditServiceProp">
1509 <copy>
1510 <from>'serviceAuditRepository'</from>
1511 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
1512 </copy>
1513 <copy>
1514 <from>'gateway'</from>
1515 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
1516 </copy>
1517 </assign>
1518 <invoke name="InvokeGetAuditServiceProp" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetAuditServicePropIn" outputVariable="GetAuditServicePropOut"/>
1519 <if name="IfAuditServiceEnabled">
1520 <condition>$GetAuditServicePropOut.GetPropertyBooleanResponse/propacc:propertyValue = true()</condition>
1521 <sequence name="AuditServiceEnabledSeq">
1522 <assign name="AssignAuditDte">
1523 <copy>
1524 <from variable="LogEntityCdcSubscribeRequestIn" part="LogEntityCdcSubscribetRequest"/>
1525 <to variable="TransformEntityCdcSubscribeRequestToGenericAuditIn" part="TransformEntityCdcSubscribeRequestToGenericAuditRequest"/>
1526 </copy>
1527 </assign>
1528 <invoke name="InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformEntityCdcSubscribeRequestToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformEntityCdcSubscribeRequestToGenericAuditIn" outputVariable="TransformEntityCdcSubscribeRequestToGenericAuditOut"/>
1529 <assign name="AssignGetHcid">
1530 <copy>
1531 <from>'localHomeCommunityId'</from>
1532 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
1533 </copy>
1534 <copy>
1535 <from>'gateway'</from>
1536 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
1537 </copy>
1538 </assign>
1539 <invoke name="InvokeGetHcid" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
1540 <assign name="AssignGetAuditRepoEndPtInfo">
1541 <copy>
1542 <from>'auditrepository'</from>
1543 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
1544 </copy>
1545 <copy>
1546 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
1547 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
1548 </copy>
1549 </assign>
1550 <invoke name="InvokeGetAuditRepoEndPtInfo" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
1551 <assign name="AssignAuditRepo">
1552 <copy>
1553 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
1554 <to partnerLink="AuditRepositoryPL"/>
1555 </copy>
1556 <copy>
1557 <from variable="TransformEntityCdcSubscribeRequestToGenericAuditOut" part="GenericAuditResponse"/>
1558 <to variable="LogEntityCdcSubReqEventIn" part="LogEventRequest"/>
1559 </copy>
1560 </assign>
1561 <invoke name="InvokeAuditRepo" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogEntityCdcSubReqEventIn" outputVariable="LogEntityCdcSubReqEventOut"/>
1562 <assign name="AssignAuditResp">
1563 <copy>
1564 <from variable="LogEntityCdcSubReqEventOut" part="LogEventResponse"/>
1565 <to variable="LogEntityCdcSubscribeRequestOut" part="LogEventResponse"/>
1566 </copy>
1567 </assign>
1568 </sequence>
1569 <else>
1570 <sequence name="AuditServiceDisabledSeq">
1571 <assign name="AssignAuditServiceDisabled">
1572 <copy>
1573 <from>'Audit Service is not enabled'</from>
1574 <to>$LogEntityCdcSubscribeRequestOut.LogEventResponse/nccommon:message</to>
1575 </copy>
1576 </assign>
1577 </sequence>
1578 </else>
1579 </if>
1580 <reply name="ReplyLogEntityCdcSubscribeReq" partnerLink="NhincInteralAuditRepositoryPL" operation="LogEntityCdcSubscribeRequest" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogEntityCdcSubscribeRequestOut"/>
1581 </sequence>
1582 </scope>
1583 </onMessage>
1584 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogEntityDocNotifyRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogEntityDocNotifyRequestIn">
1585 <scope name="LogEntityDocNotifyReqScope">
1586 <variables>
1587 <variable name="LogEntityDocNotifyReqEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
1588 <variable name="LogEntityDocNotifyReqEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
1589 <variable name="TransformEntityDocNotifyRequestToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
1590 <variable name="TransformEntityDocNotifyRequestToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformEntityDocNotifyRequestToGenericAuditRequestMessage"/>
1591 <variable name="LogEntityDocNotifyRequestOut" messageType="tns:LogEventResponseMessage"/>
1592 </variables>
1593 <sequence name="LogEntityDocNotifyReqSeq">
1594 <assign name="AssignGetAuditServiceProp">
1595 <copy>
1596 <from>'serviceAuditRepository'</from>
1597 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
1598 </copy>
1599 <copy>
1600 <from>'gateway'</from>
1601 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
1602 </copy>
1603 </assign>
1604 <invoke name="InvokeGetAuditServiceProp" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetAuditServicePropIn" outputVariable="GetAuditServicePropOut"/>
1605 <if name="IfAuditServiceEnabled">
1606 <condition>$GetAuditServicePropOut.GetPropertyBooleanResponse/propacc:propertyValue = true()</condition>
1607 <sequence name="AuditServiceEnabledSeq">
1608 <assign name="AssignAuditDte">
1609 <copy>
1610 <from variable="LogEntityDocNotifyRequestIn" part="LogEntityDocNotifyRequest"/>
1611 <to variable="TransformEntityDocNotifyRequestToGenericAuditIn" part="TransformEntityDocNotifyRequestToGenericAuditRequest"/>
1612 </copy>
1613 </assign>
1614 <invoke name="InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformEntityDocNotifyRequestToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformEntityDocNotifyRequestToGenericAuditIn" outputVariable="TransformEntityDocNotifyRequestToGenericAuditOut"/>
1615 <assign name="AssignGetHcid">
1616 <copy>
1617 <from>'localHomeCommunityId'</from>
1618 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
1619 </copy>
1620 <copy>
1621 <from>'gateway'</from>
1622 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
1623 </copy>
1624 </assign>
1625 <invoke name="InvokeGetHcid" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
1626 <assign name="AssignGetAuditRepoEndPtInfo">
1627 <copy>
1628 <from>'auditrepository'</from>
1629 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
1630 </copy>
1631 <copy>
1632 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
1633 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
1634 </copy>
1635 </assign>
1636 <invoke name="InvokeGetAuditRepoEndPtInfo" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
1637 <assign name="AssignAuditRepo">
1638 <copy>
1639 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
1640 <to partnerLink="AuditRepositoryPL"/>
1641 </copy>
1642 <copy>
1643 <from variable="TransformEntityDocNotifyRequestToGenericAuditOut" part="GenericAuditResponse"/>
1644 <to variable="LogEntityDocNotifyReqEventIn" part="LogEventRequest"/>
1645 </copy>
1646 </assign>
1647 <invoke name="InvokeAuditRepo" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogEntityDocNotifyReqEventIn" outputVariable="LogEntityDocNotifyReqEventOut"/>
1648 <assign name="AssignAuditResp">
1649 <copy>
1650 <from variable="LogEntityDocNotifyReqEventOut" part="LogEventResponse"/>
1651 <to variable="LogEntityDocNotifyRequestOut" part="LogEventResponse"/>
1652 </copy>
1653 </assign>
1654 </sequence>
1655 <else>
1656 <sequence name="AuditServiceDisabledSeq">
1657 <assign name="AssignAuditServiceDisabled">
1658 <copy>
1659 <from>'Audit Service is not enabled'</from>
1660 <to>$LogEntityDocNotifyRequestOut.LogEventResponse/nccommon:message</to>
1661 </copy>
1662 </assign>
1663 </sequence>
1664 </else>
1665 </if>
1666 <reply name="ReplyLogEntityDocNotifyReq" partnerLink="NhincInteralAuditRepositoryPL" operation="LogEntityDocNotifyRequest" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogEntityDocNotifyRequestOut"/>
1667 </sequence>
1668 </scope>
1669 </onMessage>
1670 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogEntityCdcNotifyRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogEntityCdcNotifyRequestIn">
1671 <scope name="LogEntityCdcNotifyReqScope">
1672 <variables>
1673 <variable name="LogEntityCdcNotifyReqEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
1674 <variable name="LogEntityCdcNotifyReqEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
1675 <variable name="TransformEntityCdcNotifyRequestToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
1676 <variable name="TransformEntityCdcNotifyRequestToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformEntityCdcNotifyRequestToGenericAuditRequestMessage"/>
1677 <variable name="LogEntityCdcNotifyRequestOut" messageType="tns:LogEventResponseMessage"/>
1678 </variables>
1679 <sequence name="LogEntityCdcNotifyReqSeq">
1680 <assign name="AssignGetAuditServiceProp">
1681 <copy>
1682 <from>'serviceAuditRepository'</from>
1683 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
1684 </copy>
1685 <copy>
1686 <from>'gateway'</from>
1687 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
1688 </copy>
1689 </assign>
1690 <invoke name="InvokeGetAuditServiceProp" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetAuditServicePropIn" outputVariable="GetAuditServicePropOut"/>
1691 <if name="IfAuditServiceEnabled">
1692 <condition>$GetAuditServicePropOut.GetPropertyBooleanResponse/propacc:propertyValue = true()</condition>
1693 <sequence name="AuditServiceEnabledSeq">
1694 <assign name="AssignAuditDte">
1695 <copy>
1696 <from variable="LogEntityCdcNotifyRequestIn" part="LogEntityCdcNotifyRequest"/>
1697 <to variable="TransformEntityCdcNotifyRequestToGenericAuditIn" part="TransformEntityCdcNotifyRequestToGenericAuditRequest"/>
1698 </copy>
1699 </assign>
1700 <invoke name="InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformEntityCdcNotifyRequestToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformEntityCdcNotifyRequestToGenericAuditIn" outputVariable="TransformEntityCdcNotifyRequestToGenericAuditOut"/>
1701 <assign name="AssignGetHcid">
1702 <copy>
1703 <from>'localHomeCommunityId'</from>
1704 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
1705 </copy>
1706 <copy>
1707 <from>'gateway'</from>
1708 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
1709 </copy>
1710 </assign>
1711 <invoke name="InvokeGetHcid" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
1712 <assign name="AssignGetAuditRepoEndPtInfo">
1713 <copy>
1714 <from>'auditrepository'</from>
1715 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
1716 </copy>
1717 <copy>
1718 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
1719 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
1720 </copy>
1721 </assign>
1722 <invoke name="InvokeGetAuditRepoEndPtInfo" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
1723 <assign name="AssignAuditRepo">
1724 <copy>
1725 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
1726 <to partnerLink="AuditRepositoryPL"/>
1727 </copy>
1728 <copy>
1729 <from variable="TransformEntityCdcNotifyRequestToGenericAuditOut" part="GenericAuditResponse"/>
1730 <to variable="LogEntityCdcNotifyReqEventIn" part="LogEventRequest"/>
1731 </copy>
1732 </assign>
1733 <invoke name="InvokeAuditRepo" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogEntityCdcNotifyReqEventIn" outputVariable="LogEntityCdcNotifyReqEventOut"/>
1734 <assign name="AssignAuditResp">
1735 <copy>
1736 <from variable="LogEntityCdcNotifyReqEventOut" part="LogEventResponse"/>
1737 <to variable="LogEntityCdcNotifyRequestOut" part="LogEventResponse"/>
1738 </copy>
1739 </assign>
1740 </sequence>
1741 <else>
1742 <sequence name="AuditServiceDisabledSeq">
1743 <assign name="AssignAuditServiceDisabled">
1744 <copy>
1745 <from>'Audit Service is not enabled'</from>
1746 <to>$LogEntityCdcNotifyRequestOut.LogEventResponse/nccommon:message</to>
1747 </copy>
1748 </assign>
1749 </sequence>
1750 </else>
1751 </if>
1752 <reply name="ReplyLogEntityCdcNotifyReq" partnerLink="NhincInteralAuditRepositoryPL" operation="LogEntityCdcNotifyRequest" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogEntityCdcNotifyRequestOut"/>
1753 </sequence>
1754 </scope>
1755 </onMessage>
1756 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogEntityNotifyRespRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogEntityNotifyRespRequestIn">
1757 <scope name="LogEntityNotifyRespReqScope">
1758 <variables>
1759 <variable name="LogEntityNotifyRespReqEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
1760 <variable name="LogEntityNotifyRespReqEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
1761 <variable name="TransformEntityNotifyResponseToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
1762 <variable name="TransformEntityNotifyResponseToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformEntityNotifyResponseToGenericAuditRequestMessage"/>
1763 <variable name="LogEntityNotifyRespRequestOut" messageType="tns:LogEventResponseMessage"/>
1764 </variables>
1765 <sequence name="LogEntityNotifyRespReqSeq">
1766 <assign name="AssignGetAuditServiceProp">
1767 <copy>
1768 <from>'serviceAuditRepository'</from>
1769 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
1770 </copy>
1771 <copy>
1772 <from>'gateway'</from>
1773 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
1774 </copy>
1775 </assign>
1776 <invoke name="InvokeGetAuditServiceProp" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetAuditServicePropIn" outputVariable="GetAuditServicePropOut"/>
1777 <if name="IfAuditServiceEnabled">
1778 <condition>$GetAuditServicePropOut.GetPropertyBooleanResponse/propacc:propertyValue = true()</condition>
1779 <sequence name="AuditServiceEnabledSeq">
1780 <assign name="AssignAuditDte">
1781 <copy>
1782 <from variable="LogEntityNotifyRespRequestIn" part="LogEntityNotifyRespRequest"/>
1783 <to variable="TransformEntityNotifyResponseToGenericAuditIn" part="TransformEntityNotifyResponseToGenericAuditRequest"/>
1784 </copy>
1785 </assign>
1786 <invoke name="InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformEntityNotifyResponseToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformEntityNotifyResponseToGenericAuditIn" outputVariable="TransformEntityNotifyResponseToGenericAuditOut"/>
1787 <assign name="AssignGetHcid">
1788 <copy>
1789 <from>'localHomeCommunityId'</from>
1790 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
1791 </copy>
1792 <copy>
1793 <from>'gateway'</from>
1794 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
1795 </copy>
1796 </assign>
1797 <invoke name="InvokeGetHcid" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
1798 <assign name="AssignGetAuditRepoEndPtInfo">
1799 <copy>
1800 <from>'auditrepository'</from>
1801 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
1802 </copy>
1803 <copy>
1804 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
1805 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
1806 </copy>
1807 </assign>
1808 <invoke name="InvokeGetAuditRepoEndPtInfo" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
1809 <assign name="AssignAuditRepo">
1810 <copy>
1811 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
1812 <to partnerLink="AuditRepositoryPL"/>
1813 </copy>
1814 <copy>
1815 <from variable="TransformEntityNotifyResponseToGenericAuditOut" part="GenericAuditResponse"/>
1816 <to variable="LogEntityNotifyRespReqEventIn" part="LogEventRequest"/>
1817 </copy>
1818 </assign>
1819 <invoke name="InvokeAuditRepo" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogEntityNotifyRespReqEventIn" outputVariable="LogEntityNotifyRespReqEventOut"/>
1820 <assign name="AssignAuditResp">
1821 <copy>
1822 <from variable="LogEntityNotifyRespReqEventOut" part="LogEventResponse"/>
1823 <to variable="LogEntityNotifyRespRequestOut" part="LogEventResponse"/>
1824 </copy>
1825 </assign>
1826 </sequence>
1827 <else>
1828 <sequence name="AuditServiceDisabledSeq">
1829 <assign name="AssignAuditServiceDisabled">
1830 <copy>
1831 <from>'Audit Service is not enabled'</from>
1832 <to>$LogEntityNotifyRespRequestOut.LogEventResponse/nccommon:message</to>
1833 </copy>
1834 </assign>
1835 </sequence>
1836 </else>
1837 </if>
1838 <reply name="ReplyLogEntityNotifyRespReq" partnerLink="NhincInteralAuditRepositoryPL" operation="LogEntityNotifyRespRequest" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogEntityNotifyRespRequestOut"/>
1839 </sequence>
1840 </scope>
1841 </onMessage>
1842 <onMessage partnerLink="NhincInteralAuditRepositoryPL" operation="LogEntityUnsubscribeRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogEntityUnsubscribeRequestIn">
1843 <scope name="LogEntityUnsubscribeReqScope">
1844 <variables>
1845 <variable name="LogEntityUnsubscribeReqEventOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventResponseMessage"/>
1846 <variable name="LogEntityUnsubscribeReqEventIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" messageType="tns:LogEventRequestMessage"/>
1847 <variable name="TransformEntityUnsubscribeRequestToGenericAuditOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:GenericAuditMessage"/>
1848 <variable name="TransformEntityUnsubscribeRequestToGenericAuditIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" messageType="tns:TransformEntityUnsubscribeRequestToGenericAuditRequestMessage"/>
1849 <variable name="LogEntityUnsubscribeRequestOut" messageType="tns:LogEventResponseMessage"/>
1850 </variables>
1851 <sequence name="LogEntityUnsubscribeReqSeq">
1852 <assign name="AssignGetAuditServiceProp">
1853 <copy>
1854 <from>'serviceAuditRepository'</from>
1855 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyName</to>
1856 </copy>
1857 <copy>
1858 <from>'gateway'</from>
1859 <to>$GetAuditServicePropIn.GetPropertyBooleanRequest/propacc:propertyFile</to>
1860 </copy>
1861 </assign>
1862 <invoke name="InvokeGetAuditServiceProp" partnerLink="PropertyAccessorPL" operation="GetPropertyBoolean" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetAuditServicePropIn" outputVariable="GetAuditServicePropOut"/>
1863 <if name="IfAuditServiceEnabled">
1864 <condition>$GetAuditServicePropOut.GetPropertyBooleanResponse/propacc:propertyValue = true()</condition>
1865 <sequence name="AuditServiceEnabledSeq">
1866 <assign name="AssignAuditDte">
1867 <copy>
1868 <from variable="LogEntityUnsubscribeRequestIn" part="LogEntityUnsubscribeRequest"/>
1869 <to variable="TransformEntityUnsubscribeRequestToGenericAuditIn" part="TransformEntityUnsubscribeRequestToGenericAuditRequest"/>
1870 </copy>
1871 </assign>
1872 <invoke name="InvokeAuditDte" partnerLink="NhinAuditLogDtePL" operation="TransformEntityUnsubscribeRequestToGenericAudit" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentaditlogdte" portType="tns:NhincComponentAuditLogDtePortType" inputVariable="TransformEntityUnsubscribeRequestToGenericAuditIn" outputVariable="TransformEntityUnsubscribeRequestToGenericAuditOut"/>
1873 <assign name="AssignGetHcid">
1874 <copy>
1875 <from>'localHomeCommunityId'</from>
1876 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyName</to>
1877 </copy>
1878 <copy>
1879 <from>'gateway'</from>
1880 <to>$GetPropertyIn.GetPropertyRequest/propacc:propertyFile</to>
1881 </copy>
1882 </assign>
1883 <invoke name="InvokeGetHcid" partnerLink="PropertyAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
1884 <assign name="AssignGetAuditRepoEndPtInfo">
1885 <copy>
1886 <from>'auditrepository'</from>
1887 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:serviceName</to>
1888 </copy>
1889 <copy>
1890 <from>$GetPropertyOut.GetPropertyResponse/propacc:propertyValue</from>
1891 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/conninfo:homeCommunityWithServiceName/conninfo:homeCommunity/nccommon:homeCommunityId</to>
1892 </copy>
1893 </assign>
1894 <invoke name="InvokeGetAuditRepoEndPtInfo" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
1895 <assign name="AssignAuditRepo">
1896 <copy>
1897 <from>bpel:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/conninfo:serviceConnectionInfoEndpoints/conninfo:serviceConnectionInfoEndpoint/nccommon:EPR/nccommon:EndpointReference)</from>
1898 <to partnerLink="AuditRepositoryPL"/>
1899 </copy>
1900 <copy>
1901 <from variable="TransformEntityUnsubscribeRequestToGenericAuditOut" part="GenericAuditResponse"/>
1902 <to variable="LogEntityUnsubscribeReqEventIn" part="LogEventRequest"/>
1903 </copy>
1904 </assign>
1905 <invoke name="InvokeAuditRepo" partnerLink="AuditRepositoryPL" operation="LogEvent" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentauditrepository" portType="tns:AuditRepositoryManagerPortType" inputVariable="LogEntityUnsubscribeReqEventIn" outputVariable="LogEntityUnsubscribeReqEventOut"/>
1906 <assign name="AssignAuditResp">
1907 <copy>
1908 <from variable="LogEntityUnsubscribeReqEventOut" part="LogEventResponse"/>
1909 <to variable="LogEntityUnsubscribeRequestOut" part="LogEventResponse"/>
1910 </copy>
1911 </assign>
1912 </sequence>
1913 <else>
1914 <sequence name="AuditServiceDisabledSeq">
1915 <assign name="AssignAuditServiceDisabled">
1916 <copy>
1917 <from>'Audit Service is not enabled'</from>
1918 <to>$LogEntityUnsubscribeRequestOut.LogEventResponse/nccommon:message</to>
1919 </copy>
1920 </assign>
1921 </sequence>
1922 </else>
1923 </if>
1924 <reply name="ReplyLogEntityUnsubscribeReq" partnerLink="NhincInteralAuditRepositoryPL" operation="LogEntityUnsubscribeRequest" portType="tns:NhincComponentInternalAuditRepositoryPortType" variable="LogEntityUnsubscribeRequestOut"/>
1925 </sequence>
1926 </scope>
1927 </onMessage>
1928 </pick>
1929 </sequence>
1930</process>
Note: See TracBrowser for help on using the repository browser.