Show 0001 - Prescription WorkFlow DEMO.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="DEMO-TestData.xml">
<workflow id="w_CP-UC3-PS1-NEW" description="Prescription WorkFlow DEMO">
<reference filename="DEMO-SubWorkFlow_Find_Candidate_Simple.xml">
<paramList name="FindCandidate">
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
<param name="by-family-name" value="true"/>
</paramList>
<replace from="TESTNAME" to="Prescription WorkFlow DEMO Find Candidate"/>
</reference>
<reference filename="DEMO-SubWorkFlow_Patient_Profile.xml">
<paramList name="QueryList">
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
<param name="author-description" value="Pharmacist 1"/>
<param name="location-description" value="Pharmacy 1"/>
</paramList>
<replace from="TESTNAME" to="Prescription WorkFlow DEMO Patient Profile"/>
</reference>
<message description="Pharmacist Adds Prescription" optional="true" root-element-name="PORX_IN010380CA">
<request description="Add Prescription">
<Simulator RemoteServerAddr="http://dis_Server/">
<construction>
<rule type="transform" description="Add Prescription message" filename="..\WorkFlow_Lib\Prescription/PrescriptionAddRequest.xsl">
<paramList>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
<param name="prescription-description" value="Prescription 1"/>
</paramList>
</rule>
</construction>
</Simulator>
<messageProxy>
<validation description="Schema Validate">
<rule type="schema" description="Message Schema Validation" filename="..\WorkFlow_Lib\schemas\PORX_IN010380CA.xsd"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<validation description="Format Validate">
<rule type="transform" description="Transmission wrapper format Validation"
filename="..\WorkFlow_Lib\Common\Validation\CeRx_transmission_wrapper.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="ControlAct wrapper format Validation"
filename="..\WorkFlow_Lib\Common\Validation\CeRx_controlAct_wrapper.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Common Element Validation"
filename="..\WorkFlow_Lib\Common\Validation\CeRx_Common_Element_validation.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Payload Validation" filename="..\WorkFlow_Lib\Common\Validation\Prescription_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>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
</paramList>
</rule>
</construction>
</messageProxy>
</request>
<response description="Add Prescription Response">
<Simulator RemoteServerAddr="">
<construction>
<rule type="testDataLoad" description="update test data with new data" filename="..\WorkFlow_Lib\Common\Construction\TestDataLoader.xsl">
<paramList>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
</paramList>
</rule>
<rule type="transform" description="Add Prescription Response Message"
filename="..\WorkFlow_Lib\Prescription/PrescriptionAddAcceptedResponse.xsl">
<paramList>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
</paramList>
</rule>
<rule type="testDataLoad" description="update test data with new data" filename="..\WorkFlow_Lib\Common\Construction\TestDataIDLoader.xsl"/>
</construction>
</Simulator>
<messageProxy>
<validation description="Schema Validate">
<rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\PORX_IN010390CA.xsd"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<validation description="Validate Format">
<rule type="transform" description="CR transmission wrapper format Validation"
filename="..\WorkFlow_Lib\Common\validation\CeRx_transmission_wrapper.xsl"
expectedfile="..\WorkFlow_Lib\Common\validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="CeRx control wrapper format Validation"
filename="..\WorkFlow_Lib\Common\validation\CeRx_controlAct_wrapper.xsl"
expectedfile="..\WorkFlow_Lib\Common\validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Common Element Validation"
filename="..\WorkFlow_Lib\Common\Validation\CeRx_Common_Element_validation.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Response Payload Validation"
filename="..\WorkFlow_Lib\Common\Validation\AddOrUpdate_Response_AcceptOrReject_validation.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<construction>
<rule type="transform" description="Generic Response Transform Message" filename="..\WorkFlow_Lib\Common\Construction\MessageProxy.xsl">
<paramList>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
</paramList>
</rule>
</construction>
</messageProxy>
</response>
</message>
<message description="Pharmacist Dispenses Prescription" optional="true" root-element-name="PORX_IN020190CA">
<request description="Dispense Prescription">
<Simulator RemoteServerAddr="http://dis_Server/">
<construction>
<rule type="transform" description="Dispense message" filename="..\WorkFlow_Lib\Dispense/DispenseRequest.xsl">
<paramList>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
<param name="dispense-description" value="Dispense 1 of Prescription 1"/>
</paramList>
</rule>
</construction>
</Simulator>
<messageProxy>
<validation description="Schema Validate">
<rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\PORX_IN020190CA.xsd"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<validation description="Format Validate">
<rule type="transform" description="Transmission wrapper format Validation"
filename="..\WorkFlow_Lib\Common\Validation\CeRx_transmission_wrapper.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="ControlAct wrapper format Validation"
filename="..\WorkFlow_Lib\Common\Validation\CeRx_controlAct_wrapper.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Common Element Validation"
filename="..\WorkFlow_Lib\Common\Validation\CeRx_Common_Element_validation.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Payload Validation" filename="..\WorkFlow_Lib\Common\Validation\Dispense_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>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
</paramList>
</rule>
</construction>
</messageProxy>
</request>
<response description="Dispense Response">
<Simulator RemoteServerAddr="">
<construction>
<rule type="testDataLoad" description="update test data with new data" filename="..\WorkFlow_Lib\Common\Construction\TestDataLoader.xsl">
<paramList>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
</paramList>
</rule>
<rule type="transform" description="Dispense Response Message" filename="..\WorkFlow_Lib\Dispense/DispenseAcceptedResponse.xsl">
<paramList>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
</paramList>
</rule>
<rule type="testDataLoad" description="update test data with new data" filename="..\WorkFlow_Lib\Common\Construction\TestDataIDLoader.xsl"/>
</construction>
</Simulator>
<messageProxy>
<validation description="Schema Validate">
<rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\PORX_IN020130CA.xsd"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<validation description="Validate Format">
<rule type="transform" description="CR transmission wrapper format Validation"
filename="..\WorkFlow_Lib\Common\validation\CeRx_transmission_wrapper.xsl"
expectedfile="..\WorkFlow_Lib\Common\validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="CeRx control wrapper format Validation"
filename="..\WorkFlow_Lib\Common\validation\CeRx_controlAct_wrapper.xsl"
expectedfile="..\WorkFlow_Lib\Common\validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Common Element Validation"
filename="..\WorkFlow_Lib\Common\Validation\CeRx_Common_Element_validation.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Response Payload Validation"
filename="..\WorkFlow_Lib\Common\Validation\AddOrUpdate_Response_AcceptOrReject_validation.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<construction>
<rule type="transform" description="Generic Response Transform Message" filename="..\WorkFlow_Lib\Common\Construction\MessageProxy.xsl">
<paramList>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
</paramList>
</rule>
</construction>
</messageProxy>
</response>
</message>
<message description="Pharmacist Records Dispense Pickup" optional="true" root-element-name="PORX_IN020080CA">
<request description="Dispense Pickup">
<Simulator RemoteServerAddr="http://dis_Server/">
<construction>
<rule type="transform" description="Dispense Pickup message" filename="..\WorkFlow_Lib\Dispense/DispensePickupRequest.xsl">
<paramList>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
<param name="dispense-description" value="Dispense 1 of Prescription 1"/>
</paramList>
</rule>
</construction>
</Simulator>
<messageProxy>
<validation description="Schema Validate">
<rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\PORX_IN020080CA.xsd"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<validation description="Format Validate">
<rule type="transform" description="Transmission wrapper format Validation"
filename="..\WorkFlow_Lib\Common\Validation\CeRx_transmission_wrapper.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="ControlAct wrapper format Validation"
filename="..\WorkFlow_Lib\Common\Validation\CeRx_controlAct_wrapper.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Common Element Validation"
filename="..\WorkFlow_Lib\Common\Validation\CeRx_Common_Element_validation.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Payload Validation" filename="..\WorkFlow_Lib\Common\Validation\DispensePickup_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>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
</paramList>
</rule>
</construction>
</messageProxy>
</request>
<response description="Dispense Pickup Response">
<Simulator RemoteServerAddr="">
<construction>
<rule type="testDataLoad" description="update test data with new data" filename="..\WorkFlow_Lib\Common\Construction\TestDataLoader.xsl">
<paramList>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
</paramList>
</rule>
<rule type="transform" description="Dispense Pickup Response Message" filename="..\WorkFlow_Lib\Dispense/DispensePickupAcceptedResponse.xsl">
<paramList>
<param name="profile-description" value="DEMO Profile"/>
<param name="profile-sequence" value="v1"/>
</paramList>
</rule>
<rule type="testDataLoad" description="update test data with new data" filename="..\WorkFlow_Lib\Common\Construction\TestDataIDLoader.xsl"/>
</construction>
</Simulator>
<messageProxy>
<validation description="Schema Validate">
<rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\PORX_IN020090CA.xsd"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<validation description="Validate Format">
<rule type="transform" description="CR transmission wrapper format Validation"
filename="..\WorkFlow_Lib\Common\validation\CeRx_transmission_wrapper.xsl"
expectedfile="..\WorkFlow_Lib\Common\validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="CeRx control wrapper format Validation"
filename="..\WorkFlow_Lib\Common\validation\CeRx_controlAct_wrapper.xsl"
expectedfile="..\WorkFlow_Lib\Common\validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Common Element Validation"
filename="..\WorkFlow_Lib\Common\Validation\CeRx_Common_Element_validation.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Response Payload Validation"
filename="..\WorkFlow_Lib\Common\Validation\AddOrUpdate_Response_AcceptOrReject_validation.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<construction>
<rule type="transform" description="Generic Response Transform Message" filename="..\WorkFlow_Lib\Common\Construction\MessageProxy.xsl"/>
</construction>
</messageProxy>
</response>
</message>
</workflow>
</workflows>
See more files for this project here