[507] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <process
|
---|
| 3 | name="AdapterSubjectDiscovery"
|
---|
| 4 | targetNamespace="urn:gov:hhs:fha:nhinc:adapters:adaptersubjectdiscoverybpel:adaptersubjectdiscovery"
|
---|
| 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:adapters:adaptersubjectdiscoverybpel:adaptersubjectdiscovery"
|
---|
| 12 | xmlns:hl7="urn:hl7-org:v3">
|
---|
| 13 | <import namespace="urn:gov:hhs:fha:nhinc:adapterinternalsubdiscoveryannounce" location="Interfaces/wsdl/AdapterInternalSubDiscoveryAnnounce.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
| 14 | <import namespace="urn:gov:hhs:fha:nhinc:adaptermpimanager" location="Interfaces/wsdl/AdapterMpiManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
| 15 | <import namespace="urn:gov:hhs:fha:nhinc:entitysubjectdiscovery" location="Interfaces/wsdl/EntitySubjectDiscovery.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
| 16 | <partnerLinks>
|
---|
| 17 | <partnerLink name="MpiManagerPL" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptermpimanager" partnerLinkType="tns:AdapterMpiManager" partnerRole="AdapterMpiManagerPortTypeRole"/>
|
---|
| 18 | <partnerLink name="EntitySubjectDiscoveryPL" xmlns:tns="urn:gov:hhs:fha:nhinc:entitysubjectdiscovery" partnerLinkType="tns:EntitySubjectDiscovery" partnerRole="EntitySubjectDiscoveryPortTypeRole"/>
|
---|
| 19 | <partnerLink name="AdapterIntSubDiscAnnouncePL" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterinternalsubdiscoveryannounce" partnerLinkType="tns:AdapterInternalSubDiscoveryAnnounce" myRole="AdapterInternalSubDiscoveryAnnouncePortTypeRole"/>
|
---|
| 20 | </partnerLinks>
|
---|
| 21 | <variables>
|
---|
| 22 | <variable name="PIX201301Out" xmlns:tns="urn:gov:hhs:fha:nhinc:entitysubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201301UVResponseMessage"/>
|
---|
| 23 | <variable name="PIX201301In" xmlns:tns="urn:gov:hhs:fha:nhinc:entitysubjectdiscovery" messageType="tns:PIXConsumer_PRPA_IN201301UVRequestMessage"/>
|
---|
| 24 | <variable name="AddPatientOut" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptermpimanager" messageType="tns:AddPatientResponseMessage"/>
|
---|
| 25 | <variable name="AddPatientIn" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptermpimanager" messageType="tns:AddPatientRequestMessage"/>
|
---|
| 26 | <variable name="AnnounceNewPatientOut" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterinternalsubdiscoveryannounce" messageType="tns:AnnounceNewPatientOperationResponseMessage"/>
|
---|
| 27 | <variable name="AnnounceNewPatientIn" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterinternalsubdiscoveryannounce" messageType="tns:AnnounceNewPatientOperationRequestMessage"/>
|
---|
| 28 | </variables>
|
---|
| 29 | <sequence>
|
---|
| 30 | <receive name="ReceiveAnnounceNewPatient" createInstance="yes" partnerLink="AdapterIntSubDiscAnnouncePL" operation="AnnounceNewPatientOperation" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterinternalsubdiscoveryannounce" portType="tns:AdapterInternalSubDiscoveryAnnouncePortType" variable="AnnounceNewPatientIn"/>
|
---|
| 31 | <assign name="AssignMpiManager">
|
---|
| 32 | <copy>
|
---|
| 33 | <from>$AnnounceNewPatientIn.AnnounceNewPatientRequest/hl7:PRPA_IN201301UV</from>
|
---|
| 34 | <to variable="AddPatientIn" part="AddPatientRequest"/>
|
---|
| 35 | </copy>
|
---|
| 36 | </assign>
|
---|
| 37 | <invoke name="InvokeMpiManager" partnerLink="MpiManagerPL" operation="AddPatient" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptermpimanager" portType="tns:AdapterMpiManagerPortType" inputVariable="AddPatientIn" outputVariable="AddPatientOut"/>
|
---|
| 38 | <assign name="AssignEntitySubjectDiscovery">
|
---|
| 39 | <copy>
|
---|
| 40 | <from variable="AnnounceNewPatientIn" part="AnnounceNewPatientRequest"/>
|
---|
| 41 | <to variable="PIX201301In" part="PIXConsumer_PRPA_IN201301UVRequest"/>
|
---|
| 42 | </copy>
|
---|
| 43 | </assign>
|
---|
| 44 | <invoke name="InvokeEntitySubjectDiscovery" partnerLink="EntitySubjectDiscoveryPL" operation="PIXConsumer_PRPA_IN201301UV" xmlns:tns="urn:gov:hhs:fha:nhinc:entitysubjectdiscovery" portType="tns:EntitySubjectDiscoveryPortType" inputVariable="PIX201301In" outputVariable="PIX201301Out"/>
|
---|
| 45 | <assign name="AssignAnnounceNewPatientResp">
|
---|
| 46 | <copy>
|
---|
| 47 | <from variable="PIX201301Out" part="PIXConsumer_PRPA_IN201301UVResponse"/>
|
---|
| 48 | <to variable="AnnounceNewPatientOut" part="AnnounceNewPatientResponse"/>
|
---|
| 49 | </copy>
|
---|
| 50 | </assign>
|
---|
| 51 | <reply name="ReplyAnnounceNewPatient" partnerLink="AdapterIntSubDiscAnnouncePL" operation="AnnounceNewPatientOperation" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterinternalsubdiscoveryannounce" portType="tns:AdapterInternalSubDiscoveryAnnouncePortType" variable="AnnounceNewPatientOut"/>
|
---|
| 52 | </sequence>
|
---|
| 53 | </process>
|
---|