SubWorkFlow_Patient_Profile(Dispense Detail).xml from HL7v3 Test Harness at Krugle
Show SubWorkFlow_Patient_Profile(Dispense Detail).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="Provider Retrives Patients Dispense Detail">
<message description="Provider Retrives Patients Dispense Detail" optional="true" group-non-sequential="PatientProfile" root-element-name="PORX_IN060210CA">
<request description="Dispense Detail Query Request">
<Simulator RemoteServerAddr="http://DIS_Server/">
<construction>
<rule type="transform" description="Dispense Detail Query Request Message" filename="..\WorkFlow_Lib\PatientProfiles\MedicalDispenseProfileDetailQueryRequest.xsl">
<paramList name="QueryList">
<param name="profile-description" value=""/>
<param name="profile-sequence" value=""/>
<param name="patient-description" value=""/>
<param name="msg-effective-time" value=""/>
<param name="author-description" value=""/>
<param name="supervisor-description" value=""/>
<param name="location-description" value=""/>
<param name="ParticipationMode" value=""/>
<param name="author-time" value=""/>
<param name="query-id" value=""/>
<param name="record-id" value=""/>
<param name="includeIssues" value=""/>
<param name="includeNotes" value=""/>
</paramList>
</rule>
<rule type="putVariable" description="Dispense Record ID" name="QueryRecordID" xpath="descendant-or-self::ns:parameterList/ns:prescriptionDispenseNumber/ns:value/@extension" ns="urn:hl7-org:v3"/>
</construction>
</Simulator>
<messageProxy>
<validation description="Schema Validate">
<rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\PORX_IN060210CA.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" value=""/>
<param name="profile-sequence" value=""/>
</paramList>
<!--<paramList>
<param name="messageType" value="client"/>
<param name="profile-sequence" value="(Generated)"/>
</paramList>-->
</rule>
</construction>
</messageProxy>
</request>
<response description="Dispense Detail Query Response ">
<Simulator RemoteServerAddr="">
<construction>
<rule type="transform" description="Dispense Detail Query Response Message" filename="..\WorkFlow_Lib\PatientProfiles\MedicalDispenseProfileDetailQueryResponse.xsl">
<paramList name="QueryList">
<param name="profile-description" value=""/>
<param name="profile-sequence" value=""/>
<param name="query-id" value=""/>
<param name="query-status" value=""/>
<param name="IssueList-description" value=""/>
</paramList>
</rule>
</construction>
</Simulator>
<messageProxy>
<validation description="Schema Validate" root-element-name="PORX_IN060220CA">
<rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\PORX_IN060220CA.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" value=""/>
<param name="SystemErrorText" value=""/>
</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"/>
<rule type="transform" description="Dispense Payload Validation" filename="..\WorkFlow_Lib\Common\Validation\Dispense_Payload_validation.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
<rule type="transform" description="Response Payload Validation" filename="..\WorkFlow_Lib\Common\Validation\AcceptOrReject_validation.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt">
<paramList name="QueryList">
<param name="ResponseType" value=""/>
</paramList>
</rule>
<rule type="transform" description="Record Count validation" filename="..\WorkFlow_Lib\Common\Validation\Query_Response_Count_validation.xsl"
expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt">
<paramList name="QueryList">
<param name="minCount" value=""/>
<param name="maxCount" value=""/>
</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" value=""/>
<param name="profile-sequence" value=""/>
</paramList>
<!--<paramList>
<param name="messageType" value="server"/>
<param name="profile-sequence" value="(Generated)"/>
</paramList>-->
</rule>
</construction>
</messageProxy>
</response>
</message>
</workflow>
</workflows>
See more files for this project here