Code Search for Developers
 
 
  

DEMO-SubWorkFlow_Patient_Profile.xml from HL7v3 Test Harness at Krugle


Show DEMO-SubWorkFlow_Patient_Profile.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="Add Patient Observation">
        <message description="Pharmacist Retrives Patients Medical Profile"  optional="true"  group-non-sequential="PatientProfile" root-element-name="PORX_IN060370CA">
            <request description="Medical Profile Query Request">
                <Simulator RemoteServerAddr="http://DIS_Server/">
                    <construction>
                        <rule type="transform" description="Medical Profile Query Request Message" filename="..\WorkFlow_Lib\PatientProfiles\MedicalProfileQueryRequest.xsl">
                            <paramList name="QueryList">
                                <param name="profile-description"/>
                                <param name="profile-sequence"/>
                                <param name="author-description"/>
                                <param name="supervisor-description"/>
                                <param name="location-description"/>
                                <param name="ParticipationMode"/>
                                <param name="author-time"/>
                                <param name="query-id"/>
                                <param name="issueFilterCode"/>
                                <param name="administrationEffectiveStartDate"/>
                                <param name="administrationEffectiveEndDate"/>
                                <param name="eventEffectiveStartDate"/>
                                <param name="eventEffectiveEndDate"/>
                                <param name="mostRecentDrugIndicator"/>
                            </paramList>
                        </rule>
                    </construction>
                </Simulator>
                <messageProxy>
                    <validation description="Schema Validate">
                        <rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\PORX_IN060370CA.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="Medical Profile Query Response ">
                <Simulator RemoteServerAddr="">
                    <construction>
                        <rule type="transform" description="Medical Profile Query Response Message" filename="..\WorkFlow_Lib\PatientProfiles\MedicalProfileQueryResponse.xsl">
                            <paramList name="QueryList">
                                <param name="profile-description"/>
                                <param name="profile-sequence"/>
                                <param name="query-id"/>
                                <param name="query-status"/>
                                <param name="IssueList-description"/>
                            </paramList>
                        </rule>
                    </construction>
                </Simulator>
                <messageProxy>
                    <validation description="Schema Validate">
                        <rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\PORX_IN060380CA.xsd" expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
                    </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="Other Medication Payload Validation" filename="..\WorkFlow_Lib\Common\Validation\OtherMedication_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="QueryList">
                                <param name="profile-description"/>
                                <param name="profile-sequence"/>
                            </paramList>
                        </rule>
                    </construction>
                </messageProxy>
            </response>
        </message>
        <message description="Pharmacist Retrives Patients Allergy Profile" optional="true" group-non-sequential="PatientProfile" root-element-name="REPC_IN000015CA">
            <request description="Allergy Query Request">
                <Simulator RemoteServerAddr="http://DIS_Server/">
                    <construction>
                        <rule type="transform" description="Allergy Query Request Message" filename="..\WorkFlow_Lib\PatientProfiles\AllergyIntoleranceQueryRequest.xsl">
                            <paramList name="QueryList">
                                <param name="profile-description"/>
                                <param name="profile-sequence"/>
                                <param name="author-description"/>
                                <param name="supervisor-description"/>
                                <param name="location-description"/>
                                <param name="ParticipationMode"/>
                                <param name="author-time"/>
                                <param name="allergyIntoleranceStatus"/>
                                <param name="allergyIntoleranceType"/>
                                <param name="alleryIntoleranceStartDate"/>
                                <param name="alleryIntoleranceEndDate"/>
                                <param name="reactionCode"/>
                                <param name="reactionCodeSystem"/>
                                <param name="includeIssues"/>
                                <param name="includeNotes"/>
                                <param name="query-id"/>
                                <param name="IssueList-description"/>
                            </paramList>
                        </rule>
                    </construction>
                </Simulator>
                <messageProxy>
                    <validation description="Schema Validate">
                        <rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\REPC_IN000015CA.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="Allergy Query Response ">
                <Simulator RemoteServerAddr="">
                    <construction>
                        <rule type="transform" description="Allergy Query Response Message" filename="..\WorkFlow_Lib\PatientProfiles\AllergyIntoleranceQueryResponse.xsl">
                            <paramList name="QueryList">
                                <param name="profile-description"/>
                                <param name="profile-sequence"/>
                                <param name="query-id"/>
                                <param name="query-status"/>
                                <param name="IssueList-description"/>
                            </paramList>
                        </rule>
                    </construction>
                </Simulator>
                <messageProxy>
                    <validation description="Schema Validate">
                        <rule type="schema" description="Schema Message Validation" filename="..\WorkFlow_Lib\schemas\REPC_IN000016CA.xsd" expectedfile="..\WorkFlow_Lib\Common\Validation\expectedResults\EmptyOutputExpected.txt"/>
                    </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="Payload Validation" filename="..\WorkFlow_Lib\Common\Validation\Allergy_Payload_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>
            </response>
        </message>
    </workflow>
</workflows>




See more files for this project here

HL7v3 Test Harness

The HL7 Test Harness system is an HL7 v3 message conformance testing application that also provides the ability to simulate the message processing actions of a client and/or server system. The app provides message workflow, format and content testing.

Project homepage: http://sourceforge.net/projects/hl7-testharness
Programming language(s): C#,XML
License: gpl2

  0001 - Prescription WorkFlow DEMO.xml
  0002 - Allergy WorkFlow DEMO.xml
  CodeSystems.xml
  DEMO-SubWorkFlow_Find_Candidate.xml
  DEMO-SubWorkFlow_Find_Candidate_Simple.xml
  DEMO-SubWorkFlow_Patient_Profile.xml
  DEMO-TestData.xml