SubWorkFlow_Drug_ContrainDications(Client Sim Only).xml from HL7v3 Test Harness at Krugle
Show SubWorkFlow_Drug_ContrainDications(Client Sim Only).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="Drug ContrainDications Query">
<message description="Pharmacist Retrives Info about Drug ContrainDications" group-non-sequential="DrugProfile" root-element-name="PORX_IN050010CA">
<request description="Drug Search Query Request">
<Simulator RemoteServerAddr="http://DIS_Server/">
<construction>
<rule type="transform" description="Drug ContrainDications Query Request Message" filename="..\WorkFlow_Lib\DrugQueries\drugContrainDicationsQueryRequest.xsl">
<paramList name="QueryList">
<param name="msg-effective-time"/>
<param name="author-description"/>
<param name="supervisor-description"/>
<param name="location-description"/>
<param name="ParticipationMode"/>
<param name="author-time"/>
<param name="drug-01-code"/>
<param name="drug-01-codeSystem"/>
<param name="drug-02-code"/>
<param name="drug-02-codeSystem"/>
<param name="drug-03-code"/>
<param name="drug-03-codeSystem"/>
<param name="drug-04-code"/>
<param name="drug-04-codeSystem"/>
<param name="drug-05-code"/>
<param name="drug-05-codeSystem"/>
<param name="drug-06-code"/>
<param name="drug-06-codeSystem"/>
<param name="drug-07-code"/>
<param name="drug-07-codeSystem"/>
<param name="drug-08-code"/>
<param name="drug-08-codeSystem"/>
<param name="drug-09-code"/>
<param name="drug-09-codeSystem"/>
<param name="drug-10-code"/>
<param name="drug-10-codeSystem"/>
<param name="drug-11-code"/>
<param name="drug-11-codeSystem"/>
<param name="drug-12-code"/>
<param name="drug-12-codeSystem"/>
<param name="drug-13-code"/>
<param name="drug-13-codeSystem"/>
<param name="drug-14-code"/>
<param name="drug-14-codeSystem"/>
<param name="drug-15-code"/>
<param name="drug-15-codeSystem"/>
<param name="drug-16-code"/>
<param name="drug-16-codeSystem"/>
<param name="drug-17-code"/>
<param name="drug-17-codeSystem"/>
<param name="drug-18-code"/>
<param name="drug-18-codeSystem"/>
<param name="drug-19-code"/>
<param name="drug-19-codeSystem"/>
<param name="drug-20-code"/>
<param name="drug-20-codeSystem"/>
<param name="query-id"/>
</paramList>
</rule>
</construction>
</Simulator>
<messageProxy>
<validation description="Schema Validate">
<rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\PORX_IN050010CA.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="QueryByParameter format Validation" filename="..\WorkFlow_Lib\Common\Validation\CeRx_queryByParameter_validation.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"/>-->
</validation>
<construction>
<rule type="transform" description="Generic Request Transform Message" filename="..\WorkFlow_Lib\Common\Construction\MessageProxy.xsl">
<paramList name="QueryList">
<param name="profile-description"/>
<param name="profile-sequence"/>
</paramList>
</rule>
</construction>
</messageProxy>
</request>
<response description="Drug ContrainDications Response ">
<Simulator RemoteServerAddr="">
<construction>
<rule type="transform" description="Drug ContrainDications Query Response Message" filename="..\WorkFlow_Lib\DrugQueries\drugContrainDicationsQueryResponse.xsl">
<paramList name="QueryList">
<param name="msg-effective-time"/>
<param name="author-description"/>
<param name="supervisor-description"/>
<param name="location-description"/>
<param name="ParticipationMode"/>
<param name="author-time"/>
<param name="drug-01-code"/>
<param name="drug-01-codeSystem"/>
<param name="drug-02-code"/>
<param name="drug-02-codeSystem"/>
<param name="drug-03-code"/>
<param name="drug-03-codeSystem"/>
<param name="drug-04-code"/>
<param name="drug-04-codeSystem"/>
<param name="drug-05-code"/>
<param name="drug-05-codeSystem"/>
<param name="drug-06-code"/>
<param name="drug-06-codeSystem"/>
<param name="drug-07-code"/>
<param name="drug-07-codeSystem"/>
<param name="drug-08-code"/>
<param name="drug-08-codeSystem"/>
<param name="drug-09-code"/>
<param name="drug-09-codeSystem"/>
<param name="drug-10-code"/>
<param name="drug-10-codeSystem"/>
<param name="drug-11-code"/>
<param name="drug-11-codeSystem"/>
<param name="drug-12-code"/>
<param name="drug-12-codeSystem"/>
<param name="drug-13-code"/>
<param name="drug-13-codeSystem"/>
<param name="drug-14-code"/>
<param name="drug-14-codeSystem"/>
<param name="drug-15-code"/>
<param name="drug-15-codeSystem"/>
<param name="drug-16-code"/>
<param name="drug-16-codeSystem"/>
<param name="drug-17-code"/>
<param name="drug-17-codeSystem"/>
<param name="drug-18-code"/>
<param name="drug-18-codeSystem"/>
<param name="drug-19-code"/>
<param name="drug-19-codeSystem"/>
<param name="drug-20-code"/>
<param name="drug-20-codeSystem"/>
<param name="query-id"/>
</paramList>
</rule>
</construction>
</Simulator>
<messageProxy>
<validation description="Schema Validate" root-element-name="PORX_IN050020CA">
<rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\PORX_IN050020CA.xsd" expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
</validation>
<validation description="System Error Response Check" root-element-name="MCCI_IN000002UV01">
<rule type="transform" description="Issue Content Validation" filename="..\WorkFlow_Lib\Common\validation\SystemError_Text.xsl" expectedfile="..\WorkFlow_Lib\Common\validation\expectedResults\EmptyOutputExpected.txt">
<paramList name="QueryList">
<param name="SystemErrorsExpected"/>
<param name="SystemErrorText"/>
</paramList>
</rule>
</validation>
<validation description="Validate Format">
<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="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"/>-->
</validation>
<validation description="Issue Validation">
<rule type="transform" description="Issue Content Validation" filename="..\WorkFlow_Lib\Common\validation\Issue_Text_validation.xsl" expectedfile="..\WorkFlow_Lib\Common\validation\expectedResults\EmptyOutputExpected.txt">
<paramList name="QueryList">
<param name="maxIssueCount"/>
<param name="minIssueCount"/>
<param name="IssueText"/>
<param name="IssueCode"/>
<param name="IssuePriority"/>
<param name="IssueSeverity"/>
<param name="StrickIssueValidation"/>
</paramList>
</rule>
</validation>
<construction>
<rule type="transform" description="Generic Request Transform Message" filename="..\WorkFlow_Lib\Common\Construction\MessageProxy.xsl">
<paramList name="QueryList">
<param name="profile-description"/>
<param name="profile-sequence"/>
</paramList>
</rule>
</construction>
</messageProxy>
</response>
</message>
</workflow>
</workflows>
See more files for this project here