DEMO-SubWorkFlow_Find_Candidate_Simple.xml from HL7v3 Test Harness at Krugle
Show DEMO-SubWorkFlow_Find_Candidate_Simple.xml syntax highlighted
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright © 1996-2006 by DeltaWare Systems Inc.
The GNU General Public License (GPL)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<workflows testDataFile="TestData.xml">
<workflow id="w_TESTNAME" description="Find Candidate" >
<message description="Pharmacist Searches for Candidate" optional="true" root-element-name="QUPA_IN101103CA">
<request description="Find Candidate Request" >
<Simulator RemoteServerAddr="http://DIS_Server/">
<construction>
<rule type="transform" description="Find Candidate Request Message" filename="..\WorkFlow_Lib\PatientSearch\FindCandidateRequest.xsl">
<paramList name="FindCandidate">
<param name="profile-description"/>
<param name="profile-sequence"/>
<!-- profile-description/sequence OR patient-description -->
<param name="patient-description"/>
<param name="by-phn"/>
<param name="by-birthdate"/>
<param name="by-gender"/>
<param name="by-given-name"/>
<param name="by-family-name"/>
<param name="query-id"/>
</paramList>
</rule>
</construction>
</Simulator>
<messageProxy>
<validation description="Schema Validate">
<rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\QUPA_IN101103CA.xsd" expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<validation description="DIS Restriction Validate">
<rule type="transform" description="CR transmission wrapper format Validation" filename="..\WorkFlow_Lib\Common\validation\CR_transmission_wrapper.xsl" expectedfile="..\WorkFlow_Lib\Common\validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="CR control wrapper format Validation" filename="..\WorkFlow_Lib\Common\validation\CR_controlAct_wrapper.xsl" expectedfile="..\WorkFlow_Lib\Common\validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="CR query parameter validation - restrictions required by DIS" filename="..\WorkFlow_Lib\Common\Validation\CR_queryByParameterPayload_validation.xsl" expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<construction>
<rule type="transform" description="Generic Request Transform Message" filename="..\WorkFlow_Lib\Common\Construction\MessageProxy.xsl" >
<paramList name="FindCandidate">
<param name="profile-description"/>
<param name="profile-sequence"/>
</paramList>
</rule>
</construction>
</messageProxy>
</request>
<response description="Find Candidate Response " >
<Simulator RemoteServerAddr="">
<construction >
<rule type="transform" description="Find Candidate Response Message" filename="..\WorkFlow_Lib\PatientSearch\FindCandidateResponse.xsl">
<paramList name="FindCandidate">
<param name="profile-description"/>
<param name="profile-sequence"/>
<!-- profile-description/sequence OR patient-description -->
<param name="patient-description"/>
<param name="by-phn"/>
<param name="by-birthdate"/>
<param name="by-gender"/>
<param name="by-given-name"/>
<param name="by-family-name"/>
<param name="query-id"/>
<param name="query-status"/>
</paramList>
</rule>
</construction>
</Simulator>
<messageProxy>
<validation description="Schema Validate">
<rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\QUPA_IN101104CA.xsd" expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<validation description="DIS Restriction Validate">
<rule type="transform" description="CR transmission wrapper format Validation" filename="..\WorkFlow_Lib\Common\validation\CR_transmission_wrapper.xsl" expectedfile="..\WorkFlow_Lib\Common\validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="CR control wrapper format Validation" filename="..\WorkFlow_Lib\Common\validation\CR_controlAct_wrapper.xsl" expectedfile="..\WorkFlow_Lib\Common\validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="CR query parameter validation - restrictions required by DIS" filename="..\WorkFlow_Lib\Common\Validation\CR_queryByParameterPayload_validation.xsl" expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="CR client payload validation" filename="..\WorkFlow_Lib\Common\Validation\CR_Client_Payload_Validation.xsl" expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<construction>
<rule type="transform" description="Generic Request Transform Message" filename="..\WorkFlow_Lib\Common\Construction\MessageProxy.xsl" >
<paramList name="FindCandidate">
<param name="profile-description"/>
<param name="profile-sequence"/>
</paramList>
</rule>
</construction>
</messageProxy>
</response>
</message>
</workflow>
</workflows>
See more files for this project here