<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="DBQ v2 -Refactor- SOAPUI Project" resourceRoot="" soapui-version="4.5.1" activeEnvironment="Default" abortOnError="false" runType="SEQUENTIAL" defaultScriptLanguage="Groovy" xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting id="ProjectSettings@hermesConfig">${HERMES_CFG}</con:setting><con:setting id="com.eviware.soapui.impl.wsdl.actions.iface.tools.soapui.TestRunnerAction@values-local"><![CDATA[<xml-fragment xmlns:con="http://eviware.com/soapui/config">
  <con:entry key="Environment" value="Default"/>
  <con:entry key="Global Properties" value=""/>
  <con:entry key="TestSuite" value="&lt;all>"/>
  <con:entry key="Report to Generate" value=""/>
  <con:entry key="Password" value=""/>
  <con:entry key="soapui-setings.xml Password" value=""/>
  <con:entry key="TestRunner Path" value=""/>
  <con:entry key="Tool Args" value=""/>
  <con:entry key="Ignore Errors" value="false"/>
  <con:entry key="Host:Port" value=""/>
  <con:entry key="WSS Password Type" value=""/>
  <con:entry key="Save Project" value="false"/>
  <con:entry key="Enable UI" value="false"/>
  <con:entry key="System Properties" value=""/>
  <con:entry key="Domain" value=""/>
  <con:entry key="Coverage Report" value="false"/>
  <con:entry key="Export JUnit Results" value="false"/>
  <con:entry key="Open Report" value="false"/>
  <con:entry key="Project Properties" value=""/>
  <con:entry key="Project Password" value=""/>
  <con:entry key="Export All" value="false"/>
  <con:entry key="Report Format(s)" value=""/>
  <con:entry key="TestCase" value="&lt;all>"/>
  <con:entry key="Print Report" value="false"/>
  <con:entry key="Username" value=""/>
  <con:entry key="Root Folder" value=""/>
  <con:entry key="Save After" value="false"/>
  <con:entry key="Add Settings" value="false"/>
  <con:entry key="Endpoint" value=""/>
</xml-fragment>]]></con:setting></con:settings><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="ClinicalDataServiceSynchronousInterfaceHttpBinding" type="wsdl" bindingName="{http://client.cds.URL       }ClinicalDataServiceSynchronousInterfaceHttpBinding" soapVersion="1_1" anonymous="optional" definition="http://IP              /cds-wsclient/cds-service?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://IP              /cds-wsclient/cds-service?wsdl"><con:part><con:url>http://IP              /cds-wsclient/cds-service?wsdl</con:url><con:content><![CDATA[<wsdl:definitions targetNamespace="http://client.cds.URL       " xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://client.cds.URL       " xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <wsdl:message name="updateClinicalDataResponse">
    <wsdl:part name="out" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="createClinicalDataResponse">
    <wsdl:part name="out" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="appendClinicalDataRequest">
    <wsdl:part name="in0" type="xsd:string"></wsdl:part>
    <wsdl:part name="in1" type="xsd:string"></wsdl:part>
    <wsdl:part name="in2" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="deleteClinicalDataRequest">
    <wsdl:part name="in0" type="xsd:string"></wsdl:part>
    <wsdl:part name="in1" type="xsd:string"></wsdl:part>
    <wsdl:part name="in2" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="deleteClinicalDataResponse">
    <wsdl:part name="out" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="isAliveResponse">
    <wsdl:part name="out" type="xsd:boolean"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="readClinicalData1Request">
    <wsdl:part name="in0" type="xsd:string"></wsdl:part>
    <wsdl:part name="in1" type="xsd:string"></wsdl:part>
    <wsdl:part name="in2" type="xsd:string"></wsdl:part>
    <wsdl:part name="in3" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="createClinicalDataRequest">
    <wsdl:part name="in0" type="xsd:string"></wsdl:part>
    <wsdl:part name="in1" type="xsd:string"></wsdl:part>
    <wsdl:part name="in2" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="readClinicalDataRequest">
    <wsdl:part name="in0" type="xsd:string"></wsdl:part>
    <wsdl:part name="in1" type="xsd:string"></wsdl:part>
    <wsdl:part name="in2" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="readClinicalData1Response">
    <wsdl:part name="out" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="readClinicalDataResponse">
    <wsdl:part name="out" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="isAliveRequest"></wsdl:message>
  <wsdl:message name="appendClinicalDataResponse">
    <wsdl:part name="out" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="updateClinicalDataRequest">
    <wsdl:part name="in0" type="xsd:string"></wsdl:part>
    <wsdl:part name="in1" type="xsd:string"></wsdl:part>
    <wsdl:part name="in2" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:portType name="ClinicalDataServiceSynchronousInterfacePortType">
    <wsdl:operation name="deleteClinicalData">
      <wsdl:input name="deleteClinicalDataRequest" message="tns:deleteClinicalDataRequest"></wsdl:input>
      <wsdl:output name="deleteClinicalDataResponse" message="tns:deleteClinicalDataResponse"></wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="createClinicalData">
      <wsdl:input name="createClinicalDataRequest" message="tns:createClinicalDataRequest"></wsdl:input>
      <wsdl:output name="createClinicalDataResponse" message="tns:createClinicalDataResponse"></wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="readClinicalData1">
      <wsdl:input name="readClinicalData1Request" message="tns:readClinicalData1Request"></wsdl:input>
      <wsdl:output name="readClinicalData1Response" message="tns:readClinicalData1Response"></wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="appendClinicalData">
      <wsdl:input name="appendClinicalDataRequest" message="tns:appendClinicalDataRequest"></wsdl:input>
      <wsdl:output name="appendClinicalDataResponse" message="tns:appendClinicalDataResponse"></wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="readClinicalData">
      <wsdl:input name="readClinicalDataRequest" message="tns:readClinicalDataRequest"></wsdl:input>
      <wsdl:output name="readClinicalDataResponse" message="tns:readClinicalDataResponse"></wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="isAlive">
      <wsdl:input name="isAliveRequest" message="tns:isAliveRequest"></wsdl:input>
      <wsdl:output name="isAliveResponse" message="tns:isAliveResponse"></wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="updateClinicalData">
      <wsdl:input name="updateClinicalDataRequest" message="tns:updateClinicalDataRequest"></wsdl:input>
      <wsdl:output name="updateClinicalDataResponse" message="tns:updateClinicalDataResponse"></wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="ClinicalDataServiceSynchronousInterfaceHttpBinding" type="tns:ClinicalDataServiceSynchronousInterfacePortType">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="deleteClinicalData">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="deleteClinicalDataRequest">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:input>
      <wsdl:output name="deleteClinicalDataResponse">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="createClinicalData">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="createClinicalDataRequest">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:input>
      <wsdl:output name="createClinicalDataResponse">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="readClinicalData1">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="readClinicalData1Request">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:input>
      <wsdl:output name="readClinicalData1Response">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="appendClinicalData">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="appendClinicalDataRequest">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:input>
      <wsdl:output name="appendClinicalDataResponse">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="readClinicalData">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="readClinicalDataRequest">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:input>
      <wsdl:output name="readClinicalDataResponse">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="isAlive">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="isAliveRequest">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:input>
      <wsdl:output name="isAliveResponse">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="updateClinicalData">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="updateClinicalDataRequest">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:input>
      <wsdl:output name="updateClinicalDataResponse">
        <wsdlsoap:body use="literal" namespace="http://client.cds.URL       "/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="ClinicalDataServiceSynchronousInterface">
    <wsdl:port name="ClinicalDataServiceSynchronousInterfaceHttpPort" binding="tns:ClinicalDataServiceSynchronousInterfaceHttpBinding">
      <wsdlsoap:address location="http://IP              /cds-wsclient/cds-service"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache><con:endpoints><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="appendClinicalData" bindingOperationName="appendClinicalData" type="Request-Response" outputName="appendClinicalDataResponse" inputName="appendClinicalDataRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:appendClinicalData>
         <in0>?</in0>
         <in1>?</in1>
         <in2>?</in2>
      </cli:appendClinicalData>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/appendClinicalDataRequest"/></con:call></con:operation><con:operation isOneWay="false" action="" name="createClinicalData" bindingOperationName="createClinicalData" type="Request-Response" outputName="createClinicalDataResponse" inputName="createClinicalDataRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:createClinicalData>
         <in0>?</in0>
         <in1>?</in1>
         <in2>?</in2>
      </cli:createClinicalData>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/createClinicalDataRequest"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="deleteClinicalData" bindingOperationName="deleteClinicalData" type="Request-Response" outputName="deleteClinicalDataResponse" inputName="deleteClinicalDataRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:deleteClinicalData>
         <in0>?</in0>
         <in1>?</in1>
         <in2>?</in2>
      </cli:deleteClinicalData>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/deleteClinicalDataRequest"/></con:call></con:operation><con:operation isOneWay="false" action="" name="isAlive" bindingOperationName="isAlive" type="Request-Response" outputName="isAliveResponse" inputName="isAliveRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:isAlive/>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/isAliveRequest"/></con:call></con:operation><con:operation isOneWay="false" action="" name="readClinicalData" bindingOperationName="readClinicalData" type="Request-Response" outputName="readClinicalDataResponse" inputName="readClinicalDataRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData>
         <in0>?</in0>
         <in1>?</in1>
         <in2>?</in2>
      </cli:readClinicalData>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="readClinicalData1" bindingOperationName="readClinicalData1" type="Request-Response" outputName="readClinicalData1Response" inputName="readClinicalData1Request" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>?</in0>
         <in1>?</in1>
         <in2>?</in2>
         <in3>?</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalData1Request"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="updateClinicalData" bindingOperationName="updateClinicalData" type="Request-Response" outputName="updateClinicalDataResponse" inputName="updateClinicalDataRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1" outgoingWss="" incomingWss=""><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:updateClinicalData>
         <in0>?</in0>
         <in1>?</in1>
         <in2>?</in2>
      </cli:updateClinicalData>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/updateClinicalDataRequest"/></con:call></con:operation></con:interface><con:testSuite name="DBQ Create Supported Types Test Suite"><con:description/><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Create - Hematologic_and_Lymphatic_Conditions_DBQ" searchProperties="true" id="3a2e46cd-2e23-4ff6-8757-d59885bda085"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.APPROVED_FLAG = '';
context.APRV_BY_NAME_FAMILY = '';
context.APRV_BY_NAME_GIVEN = '';
context.APRV_BY_NAME_MIDDLE = '';
context.APRV_BY_NAME_PREFIX = '';
context.APRV_BY_NAME_SUFFIX = '';
context.APRV_BY_NAME_TITLE = '';
context.APRV_BY_PERSON_ASGNING_AUTH = '';
context.APRV_BY_PERSON_ASGNING_FCLT = '';
context.APRV_BY_PERSON_IDENTITY = '';
context.APRV_BY_PRACTITIONER_COMMENTS = '';
context.APRV_BY_PRACTITIONER_ID_S = '';
context.APRV_BY_PRACTITIONER_TM = '';
context.APRV_BY_PRACTITIONER_TM_NBR = '';
context.AUTH_NAME_FAMILY = '';
context.AUTH_NAME_GIVEN = '';
context.AUTH_NAME_MIDDLE = '';
context.AUTH_NAME_PREFIX = '';
context.AUTH_NAME_SUFFIX = '';
context.AUTH_NAME_TITLE = '';
context.AUTH_PERSON_ASGNING_AUTHORITY = '';
context.AUTH_PERSON_ASGNING_FACILITY = '';
context.AUTH_PERSON_IDENTITY = '';
context.AUTH_PRACTITIONER_COMMENTS = '';
context.AUTH_PRACTITIONER_ID_SRC_TBL = '';
context.AUTH_PRACTITIONER_TM = '';
context.AUTH_PRACTITIONER_TM_NBR = '';
context.DATE_MODIFIED_TM = '';
context.DATE_MODIFIED_TM_NBR = '';
context.DETAIL_XML = '';
context.DOCUMENTIDENTIFIER_NAMESPACEID = '';
context.DOCUMENTIDENTIFIER_UNIVERSALID = '';
context.DOCUMENTIDENTIFIER_UNIVERSTYP = '';
context.DOCUMENT_TYPE = '';
context.FACILITY_ASSIGNING_AUTHORITY = '';
context.FACILITY_IDENTITY = '';
context.FACILITY_NAME = '';
context.INITIATING_SYSTEM = '';
context.MESSAGE_INSERTION_TIME = '';
context.PATIENT_ASSIGNING_AUTHORITY = '';
context.PATIENT_ASSIGNING_FACILITY = '';
context.PATIENT_IDENTITY = '';
context.PATIENT_NAME_FAMILY = '';
context.PATIENT_NAME_GIVEN = '';
context.PATIENT_NAME_MIDDLE = '';
context.PATIENT_NAME_PREFIX = 'Prefix';
context.PATIENT_NAME_SUFFIX = '';
context.PATIENT_NAME_TITLE = '';
context.QUESTIONNAIRE_RESULT_ID = '';
context.RECORDIDENTIFIER_IDENTITY = '';
context.RECORDIDENTIFIER_NAMESPACEID = '';
context.RECORDIDENTIFIER_UNIVERSALID = '';	
context.RECORDIDENTIFIER_UNIVERSTYP = '';
context.RECORD_UPDATE_TM = '';
context.RECORD_UPDATE_TM_NBR = '';
context.RECORD_VERSION = '';
//log.info("REQUEST_ID: " + context.REQUEST_ID);;
//log.info("RECORDIDENTIFIER_IDENTITY: " + context.REQUEST_ID);  </script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>test_10004</identity>
						<assigningFacility>402</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Hematologic_and_Lymphatic_Conditions</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML>
<gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
	<id>6949</id>
	<version>0</version>
	<dateCreated class="sql-timestamp">2012-01-03 11:57:05.25</dateCreated>
	<dateModified class="sql-timestamp">2012-01-03 11:57:05.25</dateModified>
	<formType>FORM_TYPE_DBQ_HEM</formType>
	<vetSsn>190842394</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>ONLINE</documentChannelType>
	<formFileNetStatus>
		<id>5180</id>
		<version>1</version>
		<dateCreated class="sql-timestamp">2012-01-03 11:57:05.3</dateCreated>
		<dateModified>2012-01-03 11:57:40.556 EST</dateModified>
		<formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>
		<formEntity class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
	</formFileNetStatus>
	<webFormType>HEM_DBQ</webFormType>
	<veteranFirstName>Delete</veteranFirstName>
	<veteranLastName>Delete</veteranLastName>
	<physicianFirstName>Doctor</physicianFirstName>
	<physicianLastName>HEM</physicianLastName>
	<medicalLicenseNumber>123</medicalLicenseNumber>
	<country>US</country>
	<addressLine1>1 Address</addressLine1>
	<addressLine2/>
	<addressLine3/>
	<city>Town</city>
	<state>KANSAS</state>
	<zip>23455</zip>
	<physicianPhoneNumber>3256246436</physicianPhoneNumber>
	<privacyActAck>true</privacyActAck>
	<physicianSignature>true</physicianSignature>
	<impactsAbilityToWork>true</impactsAbilityToWork>
	<impactDescription/>
	<remarks/>
	<dateSigned class="sql-timestamp">2012-01-03 11:57:05.25</dateSigned>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<medications class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</medications>
	<diagnosticTests class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnosticTests>
	<hasHemicLymphatic>true</hasHemicLymphatic>
	<hasALL>false</hasALL>
	<hasAML>false</hasAML>
	<hasCML>false</hasCML>
	<hasCLL>false</hasCLL>
	<hasHodgkins>false</hasHodgkins>
	<hasNonHodgkins>false</hasNonHodgkins>
	<hasMyeloma>true</hasMyeloma>
	<myelomaICD/>
	<hasMyeloSyndrome>false</hasMyeloSyndrome>
	<hasPlasmacytoma>false</hasPlasmacytoma>
	<hasAnemia>false</hasAnemia>
	<hasThrombo>false</hasThrombo>
	<hasPolycythemia>false</hasPolycythemia>
	<hasSickleCell>false</hasSickleCell>
	<hasSplenectomy>false</hasSplenectomy>
	<hasBCellLeukemia>false</hasBCellLeukemia>
	<hasOtherDiagnosis>false</hasOtherDiagnosis>
	<briefHistory/>
	<diseaseStatus>ACTIVE</diseaseStatus>
	<continuousMedication>false</continuousMedication>
	<treatmentStatus>NO_TREATMENT_WATCHFUL_WAITING</treatmentStatus>
	<transfusion>false</transfusion>
	<findings>false</findings>
	<recurringInfections>false</recurringInfections>
	<diagRelatedScar>false</diagRelatedScar>
	<otherPertinentFinding>false</otherPertinentFinding>
	<labTesting>false</labTesting>
	<otherSignificantResults>false</otherSignificantResults>
</gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
</detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Create - Hairy_Cell_(B-Cell)_Leukemia_Medical_Summary" searchProperties="true" id="d896a8fc-25af-48a5-a725-163e7f93e726"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID; 
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.APPROVED_FLAG = '';
context.APRV_BY_NAME_FAMILY = '';
context.APRV_BY_NAME_GIVEN = '';
context.APRV_BY_NAME_MIDDLE = '';
context.APRV_BY_NAME_PREFIX = '';
context.APRV_BY_NAME_SUFFIX = '';
context.APRV_BY_NAME_TITLE = '';
context.APRV_BY_PERSON_ASGNING_AUTH = '';
context.APRV_BY_PERSON_ASGNING_FCLT = '';
context.APRV_BY_PERSON_IDENTITY = '';
context.APRV_BY_PRACTITIONER_COMMENTS = '';
context.APRV_BY_PRACTITIONER_ID_S = '';
context.APRV_BY_PRACTITIONER_TM = '';
context.APRV_BY_PRACTITIONER_TM_NBR = '';
context.AUTH_NAME_FAMILY = '';
context.AUTH_NAME_GIVEN = '';
context.AUTH_NAME_MIDDLE = '';
context.AUTH_NAME_PREFIX = '';
context.AUTH_NAME_SUFFIX = '';
context.AUTH_NAME_TITLE = '';
context.AUTH_PERSON_ASGNING_AUTHORITY = '';
context.AUTH_PERSON_ASGNING_FACILITY = '';
context.AUTH_PERSON_IDENTITY = '';
context.AUTH_PRACTITIONER_COMMENTS = '';
context.AUTH_PRACTITIONER_ID_SRC_TBL = '';
context.AUTH_PRACTITIONER_TM = '';
context.AUTH_PRACTITIONER_TM_NBR = '';
context.DATE_MODIFIED_TM = '';
context.DATE_MODIFIED_TM_NBR = '';
context.DETAIL_XML = '';
context.DOCUMENTIDENTIFIER_NAMESPACEID = '';
context.DOCUMENTIDENTIFIER_UNIVERSALID = '';
context.DOCUMENTIDENTIFIER_UNIVERSTYP = '';
context.DOCUMENT_TYPE = '';
context.FACILITY_ASSIGNING_AUTHORITY = '';
context.FACILITY_IDENTITY = '';
context.FACILITY_NAME = '';
context.INITIATING_SYSTEM = '';
context.MESSAGE_INSERTION_TIME = '';
context.PATIENT_ASSIGNING_AUTHORITY = '';
context.PATIENT_ASSIGNING_FACILITY = '';
context.PATIENT_IDENTITY = '';
context.PATIENT_NAME_FAMILY = '';
context.PATIENT_NAME_GIVEN = '';
context.PATIENT_NAME_MIDDLE = '';
context.PATIENT_NAME_PREFIX = 'Prefix';
context.PATIENT_NAME_SUFFIX = '';
context.PATIENT_NAME_TITLE = '';
context.QUESTIONNAIRE_RESULT_ID = '';
context.RECORDIDENTIFIER_IDENTITY = '';
context.RECORDIDENTIFIER_NAMESPACEID = '';
context.RECORDIDENTIFIER_UNIVERSALID = '';
context.RECORDIDENTIFIER_UNIVERSTYP = '';
context.RECORD_UPDATE_TM = '';
context.RECORD_UPDATE_TM_NBR = '';
context.RECORD_VERSION = '';
//log.info("REQUEST_ID: " + context.REQUEST_ID);;
//log.info("RECORDIDENTIFIER_IDENTITY: " + context.REQUEST_ID);  </script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>test_10004</identity>
						<assigningFacility>402</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Hairy_Cell_(B-Cell)_Leukemia_Medical_Summary</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML>
<gov.va.agentorange.fasttrack.model.dbq.luk.HairyCellLeukemia>
	<id>1650</id>
	<version>0</version>
	<dateCreated>2011-07-19 11:03:53.934 EDT</dateCreated>
	<dateModified reference="../dateCreated"/>
	<formType>FORM_TYPE_DBQ_LUK</formType>
	<vetSsn>897345783</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>VA</documentChannelType>
	<createdBy>csmyth</createdBy>
	<webFormType>LUK_DBQ_MED_SUMMARY</webFormType>
	<dbqPurpose>MEDICAL_SUMMARY</dbqPurpose>
	<sourcesOfInformation>LUK Source</sourcesOfInformation>
	<veteranFirstName>Delete</veteranFirstName>
	<veteranLastName>Delete</veteranLastName>
	<impactsAbilityToWork>false</impactsAbilityToWork>
	<remarks/>
	<dateSigned reference="../dateCreated"/>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.luk.HairyCellLeukemia" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">1650</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<medications class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.luk.HairyCellLeukemia" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
		<key class="long">1650</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</medications>
	<hasLeukemia>true</hasLeukemia>
	<statusOfTreatment>COMPLETED</statusOfTreatment>
	<dateOfTreatment>2011-07-11 00:00:00.0 EDT</dateOfTreatment>
	<isDiseaseActive>false</isDiseaseActive>
	<hasComplicationsFromTreatments>true</hasComplicationsFromTreatments>
	<hasComplicationsFromTransfusion>false</hasComplicationsFromTransfusion>
	<hasComplicationsFromRecurringInfections>false</hasComplicationsFromRecurringInfections>
	<hasComplicationsRelatedToAnemia>true</hasComplicationsRelatedToAnemia>
	<hasAsymptomaticAnemia>false</hasAsymptomaticAnemia>
	<requiresContinuousMeds>true</requiresContinuousMeds>
	<requiresBoneMarrowTransplant>false</requiresBoneMarrowTransplant>
	<hasSymptomaticAnemia>false</hasSymptomaticAnemia>
	<hasWeakness>false</hasWeakness>
	<hasEasyFatigability>false</hasEasyFatigability>
	<hasDyspneaOnMildExertion>false</hasDyspneaOnMildExertion>
	<hasLightHeadedness>false</hasLightHeadedness>
	<hasShortnessOfBreath>false</hasShortnessOfBreath>
	<hasSyncope>false</hasSyncope>
	<hasCardiomegaly>false</hasCardiomegaly>
	<hasTachycardia>false</hasTachycardia>
	<hasDyspneaAtRest>false</hasDyspneaAtRest>
	<hasHighOutputCongestiveHeartFailure>false</hasHighOutputCongestiveHeartFailure>
	<hasHeadaches>false</hasHeadaches>
	<hasOtherSymptoms>false</hasOtherSymptoms>
	<anyOtherComplications/>
</gov.va.agentorange.fasttrack.model.dbq.luk.HairyCellLeukemia>
</detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Create - Prostate_Cancer_Medical_Summary-DBQ" searchProperties="true" id="623d01a4-2a3b-47cc-9bdd-7a262fc7ed28"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.APPROVED_FLAG = '';
context.APRV_BY_NAME_FAMILY = '';
context.APRV_BY_NAME_GIVEN = '';
context.APRV_BY_NAME_MIDDLE = '';
context.APRV_BY_NAME_PREFIX = '';
context.APRV_BY_NAME_SUFFIX = '';
context.APRV_BY_NAME_TITLE = '';
context.APRV_BY_PERSON_ASGNING_AUTH = '';
context.APRV_BY_PERSON_ASGNING_FCLT = '';
context.APRV_BY_PERSON_IDENTITY = '';
context.APRV_BY_PRACTITIONER_COMMENTS = '';
context.APRV_BY_PRACTITIONER_ID_S = '';
context.APRV_BY_PRACTITIONER_TM = '';
context.APRV_BY_PRACTITIONER_TM_NBR = '';
context.AUTH_NAME_FAMILY = '';
context.AUTH_NAME_GIVEN = '';
context.AUTH_NAME_MIDDLE = '';
context.AUTH_NAME_PREFIX = '';
context.AUTH_NAME_SUFFIX = '';
context.AUTH_NAME_TITLE = '';
context.AUTH_PERSON_ASGNING_AUTHORITY = '';
context.AUTH_PERSON_ASGNING_FACILITY = '';
context.AUTH_PERSON_IDENTITY = '';
context.AUTH_PRACTITIONER_COMMENTS = '';
context.AUTH_PRACTITIONER_ID_SRC_TBL = '';
context.AUTH_PRACTITIONER_TM = '';
context.AUTH_PRACTITIONER_TM_NBR = '';
context.DATE_MODIFIED_TM = '';
context.DATE_MODIFIED_TM_NBR = '';
context.DETAIL_XML = '';
context.DOCUMENTIDENTIFIER_NAMESPACEID = '';
context.DOCUMENTIDENTIFIER_UNIVERSALID = '';
context.DOCUMENTIDENTIFIER_UNIVERSTYP = '';
context.DOCUMENT_TYPE = '';
context.FACILITY_ASSIGNING_AUTHORITY = '';
context.FACILITY_IDENTITY = '';
context.FACILITY_NAME = '';
context.INITIATING_SYSTEM = '';
context.MESSAGE_INSERTION_TIME = '';
context.PATIENT_ASSIGNING_AUTHORITY = '';
context.PATIENT_ASSIGNING_FACILITY = '';
context.PATIENT_IDENTITY = '';
context.PATIENT_NAME_FAMILY = '';
context.PATIENT_NAME_GIVEN = '';
context.PATIENT_NAME_MIDDLE = '';
context.PATIENT_NAME_PREFIX = 'Prefix';
context.PATIENT_NAME_SUFFIX = '';
context.PATIENT_NAME_TITLE = '';
context.QUESTIONNAIRE_RESULT_ID = '';
context.RECORDIDENTIFIER_IDENTITY = '';
context.RECORDIDENTIFIER_NAMESPACEID = '';
context.RECORDIDENTIFIER_UNIVERSALID = '';
context.RECORDIDENTIFIER_UNIVERSTYP = '';
context.RECORD_UPDATE_TM = '';
context.RECORD_UPDATE_TM_NBR = '';
context.RECORD_VERSION = '';
//log.info("REQUEST_ID: " + context.REQUEST_ID);;
//log.info("RECORDIDENTIFIER_IDENTITY: " + context.REQUEST_ID);  </script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>test_10004</identity>
						<assigningFacility>402</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Prostate_Cancer_Medical_Summary</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML>
<gov.va.agentorange.fasttrack.model.dbq.prc.ProstateCancer>
	<id>7125</id>
	<version>0</version>
	<dateCreated>2012-01-04 20:02:09.28 EST</dateCreated>
	<dateModified reference="../dateCreated"/>
	<formType>FORM_TYPE_DBQ_PRC</formType>
	<vetSsn>091098299</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>VA</documentChannelType>
	<createdBy>csmyth</createdBy>
	<webFormType>PRC_DBQ_MED_SUMMARY</webFormType>
	<dbqPurpose>MEDICAL_SUMMARY</dbqPurpose>
	<sourcesOfInformation>add</sourcesOfInformation>
	<veteranFirstName>delete</veteranFirstName>
	<veteranLastName>delete</veteranLastName>
	<impactsAbilityToWork>false</impactsAbilityToWork>
	<dateSigned reference="../dateCreated"/>
	<hasProstateCancer>true</hasProstateCancer>
	<statusOfDisease>REMISSION</statusOfDisease>
	<statusOfTreatment>WATCHFUL_WAITING</statusOfTreatment>
	<hasResiduals>true</hasResiduals>
	<hasVoidingDysfunction>false</hasVoidingDysfunction>
	<hasUrinaryFrequencyProblems>true</hasUrinaryFrequencyProblems>
	<hasObstructedVoidingProblems>false</hasObstructedVoidingProblems>
	<hasUrinaryTractInfections>false</hasUrinaryTractInfections>
	<hasErectileDysfunctionProblems>false</hasErectileDysfunctionProblems>
	<hasRenalDysfunctionProblems>false</hasRenalDysfunctionProblems>
	<hasOtherComplications>false</hasOtherComplications>
	<daytimeFrequency>GREATER_THAN_THREE</daytimeFrequency>
	<nighttimeFrequency>AWAKENING_VOID_2</nighttimeFrequency>
</gov.va.agentorange.fasttrack.model.dbq.prc.ProstateCancer>
</detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Create - Parkinson's_Disease_DBQ" searchProperties="true" id="f8c64e99-92d1-4bec-9284-6b6732a89b71"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.APPROVED_FLAG = '';
context.APRV_BY_NAME_FAMILY = '';
context.APRV_BY_NAME_GIVEN = '';
context.APRV_BY_NAME_MIDDLE = '';
context.APRV_BY_NAME_PREFIX = '';
context.APRV_BY_NAME_SUFFIX = '';
context.APRV_BY_NAME_TITLE = '';
context.APRV_BY_PERSON_ASGNING_AUTH = '';
context.APRV_BY_PERSON_ASGNING_FCLT = '';
context.APRV_BY_PERSON_IDENTITY = '';
context.APRV_BY_PRACTITIONER_COMMENTS = '';
context.APRV_BY_PRACTITIONER_ID_S = '';
context.APRV_BY_PRACTITIONER_TM = '';
context.APRV_BY_PRACTITIONER_TM_NBR = '';
context.AUTH_NAME_FAMILY = '';
context.AUTH_NAME_GIVEN = '';
context.AUTH_NAME_MIDDLE = '';
context.AUTH_NAME_PREFIX = '';
context.AUTH_NAME_SUFFIX = '';
context.AUTH_NAME_TITLE = '';
context.AUTH_PERSON_ASGNING_AUTHORITY = '';
context.AUTH_PERSON_ASGNING_FACILITY = '';
context.AUTH_PERSON_IDENTITY = '';
context.AUTH_PRACTITIONER_COMMENTS = '';
context.AUTH_PRACTITIONER_ID_SRC_TBL = '';
context.AUTH_PRACTITIONER_TM = '';
context.AUTH_PRACTITIONER_TM_NBR = '';
context.DATE_MODIFIED_TM = '';
context.DATE_MODIFIED_TM_NBR = '';
context.DETAIL_XML = '';
context.DOCUMENTIDENTIFIER_NAMESPACEID = '';
context.DOCUMENTIDENTIFIER_UNIVERSALID = '';
context.DOCUMENTIDENTIFIER_UNIVERSTYP = '';
context.DOCUMENT_TYPE = '';
context.FACILITY_ASSIGNING_AUTHORITY = '';
context.FACILITY_IDENTITY = '';
context.FACILITY_NAME = '';
context.INITIATING_SYSTEM = '';
context.MESSAGE_INSERTION_TIME = '';
context.PATIENT_ASSIGNING_AUTHORITY = '';
context.PATIENT_ASSIGNING_FACILITY = '';
context.PATIENT_IDENTITY = '';
context.PATIENT_NAME_FAMILY = '';
context.PATIENT_NAME_GIVEN = '';
context.PATIENT_NAME_MIDDLE = '';
context.PATIENT_NAME_PREFIX = 'Prefix';
context.PATIENT_NAME_SUFFIX = '';
context.PATIENT_NAME_TITLE = '';
context.QUESTIONNAIRE_RESULT_ID = '';
context.RECORDIDENTIFIER_IDENTITY = '';
context.RECORDIDENTIFIER_NAMESPACEID = '';
context.RECORDIDENTIFIER_UNIVERSALID = '';
context.RECORDIDENTIFIER_UNIVERSTYP = '';
context.RECORD_UPDATE_TM = '';
context.RECORD_UPDATE_TM_NBR = '';
context.RECORD_VERSION = '';
//log.info("REQUEST_ID: " + context.REQUEST_ID);;
//log.info("RECORDIDENTIFIER_IDENTITY: " + context.REQUEST_ID);  </script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>test_10004</identity>
						<assigningFacility>402</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Parkinson's_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML>
<gov.va.agentorange.fasttrack.model.dbq.prk.Parkinsons>
  <id>7063</id>
  <version>0</version>
  <dateCreated class="sql-timestamp">2012-01-04 12:12:04.913</dateCreated>
  <dateModified class="sql-timestamp">2012-01-04 12:12:04.913</dateModified>
  <formType>FORM_TYPE_DBQ_PRK</formType>
  <vetSsn>201664600</vetSsn>
  <documentStatusType>COMPLETE</documentStatusType>
  <documentChannelType>ONLINE</documentChannelType>
  <formFileNetStatus>
    <id>5284</id>
    <version>1</version>
    <dateCreated class="sql-timestamp">2012-01-04 12:12:04.973</dateCreated>
    <dateModified>2012-01-04 12:12:05.191 EST</dateModified>
    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>
    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.prk.Parkinsons" reference="../.."/>
  </formFileNetStatus>
  <webFormType>PRK_DBQ</webFormType>
  <veteranFirstName></veteranFirstName>
  <veteranLastName>asfdas</veteranLastName>
  <physicianFirstName></physicianFirstName>
  <physicianLastName>asfdfds</physicianLastName>
  <medicalLicenseNumber>12</medicalLicenseNumber>
  <country>US</country>
  <addressLine1>asfdsdf</addressLine1>
  <addressLine2></addressLine2>
  <addressLine3></addressLine3>
  <city>asdfds</city>
  <state>MINNESOTA</state>
  <zip>12345</zip>
  <physicianPhoneNumber>1221313132</physicianPhoneNumber>
  <privacyActAck>true</privacyActAck>
  <physicianSignature>true</physicianSignature>
  <impactsAbilityToWork>false</impactsAbilityToWork>
  <remarks></remarks>
  <dateSigned class="sql-timestamp">2012-01-04 12:12:04.913</dateSigned>
  <diagnoses class="org.hibernate.collection.PersistentBag">
    <initialized>true</initialized>
    <owner class="gov.va.agentorange.fasttrack.model.dbq.prk.Parkinsons" reference="../.."/>
    <cachedSize>-1</cachedSize>
    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
    <key class="long">7063</key>
    <dirty>false</dirty>
    <storedSnapshot class="list"/>
    <bag/>
  </diagnoses>
  <medications class="org.hibernate.collection.PersistentBag">
    <initialized>true</initialized>
    <owner class="gov.va.agentorange.fasttrack.model.dbq.prk.Parkinsons" reference="../.."/>
    <cachedSize>-1</cachedSize>
    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
    <key class="long">7063</key>
    <dirty>false</dirty>
    <storedSnapshot class="list"/>
    <bag/>
  </medications>
  <diagnosticTests class="org.hibernate.collection.PersistentBag">
    <initialized>true</initialized>
    <owner class="gov.va.agentorange.fasttrack.model.dbq.prk.Parkinsons" reference="../.."/>
    <cachedSize>-1</cachedSize>
    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>
    <key class="long">7063</key>
    <dirty>false</dirty>
    <storedSnapshot class="list"/>
    <bag/>
  </diagnosticTests>
  <hasParkinsons>true</hasParkinsons>
  <stoopedPosture>SEVERE</stoopedPosture>
  <balanceImpairment>SEVERE</balanceImpairment>
  <bradyKinesia>SEVERE</bradyKinesia>
  <lossAutomaticMovements>SEVERE</lossAutomaticMovements>
  <speechChanges>SEVERE</speechChanges>
  <dominantHand>AMBIDEXTROUS</dominantHand>
  <hasTremors>false</hasTremors>
  <hasMuscleRigidityAndStiffness>false</hasMuscleRigidityAndStiffness>
  <depression>SEVERE</depression>
  <dementia>SEVERE</dementia>
  <sleepDisturbance>SEVERE</sleepDisturbance>
  <difficultySwallowing>SEVERE</difficultySwallowing>
  <constipation>SEVERE</constipation>
  <sexualDysfunction>SEVERE</sexualDysfunction>
  <lossOfSmell>PARTIAL</lossOfSmell>
  <urinaryProblems>TWO_4PADS_DAY</urinaryProblems>
  <otherManifestationsDesc></otherManifestationsDesc>
  <otherManifestationsDesc2></otherManifestationsDesc2>
  <financialResponsibilty>false</financialResponsibilty>
</gov.va.agentorange.fasttrack.model.dbq.prk.Parkinsons>
</detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Create - Ischemic_Heart_Disease_DBQ" searchProperties="true" id="423defbc-c40c-4185-b7be-270044c13be1"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.APPROVED_FLAG = '';
context.APRV_BY_NAME_FAMILY = '';
context.APRV_BY_NAME_GIVEN = '';
context.APRV_BY_NAME_MIDDLE = '';
context.APRV_BY_NAME_PREFIX = '';
context.APRV_BY_NAME_SUFFIX = '';
context.APRV_BY_NAME_TITLE = '';
context.APRV_BY_PERSON_ASGNING_AUTH = '';
context.APRV_BY_PERSON_ASGNING_FCLT = '';
context.APRV_BY_PERSON_IDENTITY = '';
context.APRV_BY_PRACTITIONER_COMMENTS = '';
context.APRV_BY_PRACTITIONER_ID_S = '';
context.APRV_BY_PRACTITIONER_TM = '';
context.APRV_BY_PRACTITIONER_TM_NBR = '';
context.AUTH_NAME_FAMILY = '';
context.AUTH_NAME_GIVEN = '';
context.AUTH_NAME_MIDDLE = '';
context.AUTH_NAME_PREFIX = '';
context.AUTH_NAME_SUFFIX = '';
context.AUTH_NAME_TITLE = '';
context.AUTH_PERSON_ASGNING_AUTHORITY = '';
context.AUTH_PERSON_ASGNING_FACILITY = '';
context.AUTH_PERSON_IDENTITY = '';
context.AUTH_PRACTITIONER_COMMENTS = '';
context.AUTH_PRACTITIONER_ID_SRC_TBL = '';
context.AUTH_PRACTITIONER_TM = '';
context.AUTH_PRACTITIONER_TM_NBR = '';
context.DATE_MODIFIED_TM = '';
context.DATE_MODIFIED_TM_NBR = '';
context.DETAIL_XML = '';
context.DOCUMENTIDENTIFIER_NAMESPACEID = '';
context.DOCUMENTIDENTIFIER_UNIVERSALID = '';
context.DOCUMENTIDENTIFIER_UNIVERSTYP = '';
context.DOCUMENT_TYPE = '';
context.FACILITY_ASSIGNING_AUTHORITY = '';
context.FACILITY_IDENTITY = '';
context.FACILITY_NAME = '';
context.INITIATING_SYSTEM = '';
context.MESSAGE_INSERTION_TIME = '';
context.PATIENT_ASSIGNING_AUTHORITY = '';
context.PATIENT_ASSIGNING_FACILITY = '';
context.PATIENT_IDENTITY = '';
context.PATIENT_NAME_FAMILY = '';
context.PATIENT_NAME_GIVEN = '';
context.PATIENT_NAME_MIDDLE = '';
context.PATIENT_NAME_PREFIX = 'Prefix';
context.PATIENT_NAME_SUFFIX = '';
context.PATIENT_NAME_TITLE = '';
context.QUESTIONNAIRE_RESULT_ID = '';
context.RECORDIDENTIFIER_IDENTITY = '';
context.RECORDIDENTIFIER_NAMESPACEID = '';
context.RECORDIDENTIFIER_UNIVERSALID = '';
context.RECORDIDENTIFIER_UNIVERSTYP = '';
context.RECORD_UPDATE_TM = '';
context.RECORD_UPDATE_TM_NBR = '';
context.RECORD_VERSION = '';
//log.info("REQUEST_ID: " + context.REQUEST_ID);;
//log.info("RECORDIDENTIFIER_IDENTITY: " + context.REQUEST_ID);  </script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>test_10004</identity>
						<assigningFacility>402</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Ischemic_Heart_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML>
<gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>
	<id>7553</id>
	<version>0</version>
	<dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>
	<dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>
	<formType>FORM_TYPE_DBQ_IHD</formType>
	<vetSsn>941288701</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>ONLINE</documentChannelType>
	<formFileNetStatus>
		<id>5760</id>
		<version>1</version>
		<dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>
		<dateModified>2012-01-10 09:45:51.507 EST</dateModified>
		<formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>
		<formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>
	</formFileNetStatus>
	<webFormType>IHD_DBQ</webFormType>
	<veteranFirstName>Test</veteranFirstName>
	<veteranLastName>Test</veteranLastName>
	<physicianFirstName>Dr</physicianFirstName>
	<physicianLastName>Test</physicianLastName>
	<medicalLicenseNumber>12</medicalLicenseNumber>
	<country>US</country>
	<addressLine1>Test</addressLine1>
	<addressLine2/>
	<addressLine3/>
	<city>Test</city>
	<state>DELAWARE</state>
	<zip>12345</zip>
	<physicianPhoneNumber>1231221312</physicianPhoneNumber>
	<privacyActAck>true</privacyActAck>
	<physicianSignature>true</physicianSignature>
	<impactsAbilityToWork>false</impactsAbilityToWork>
	<remarks/>
	<dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">7553</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<medications class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
		<key class="long">7553</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</medications>
	<diagnosticTests class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>
		<key class="long">7553</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnosticTests>
	<hasIschemicHeartDisease>true</hasIschemicHeartDisease>
	<takesContinuousMedication>false</takesContinuousMedication>
	<hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>
	<hasMyocardialInfarction>false</hasMyocardialInfarction>
	<hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>
	<hasHeartTransplant>false</hasHeartTransplant>
	<hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>
	<hasImplantedAicd>false</hasImplantedAicd>
	<doesVeteranHaveCHF>false</doesVeteranHaveCHF>
	<hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>
	<metsLevel>metsLevel13</metsLevel>
	<hasDyspnea>false</hasDyspnea>
	<hasFatigue>false</hasFatigue>
	<hasAngina>false</hasAngina>
	<hasDizziness>false</hasDizziness>
	<hasSyncope>true</hasSyncope>
	<isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>
	<hasEkg>false</hasEkg>
	<hasChestXRay>false</hasChestXRay>
	<hasEchocardiogram>false</hasEchocardiogram>
	<hasOtherTest>false</hasOtherTest>
	<hasLVEF>false</hasLVEF>
</gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>
</detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite name="DBQ Basic Create Test Suite"><con:description>Basic DBQ  Create Test Scenario. Tests simple happy path scenario, a scenario where the template
XML is not valid and results in a schema validation error, and the scenario where a duplicate
message is received by CDS.</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DbqCreateValid" searchProperties="true" id="6d191d38-a205-4d95-a4f3-3ef68104769d"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script><![CDATA[import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.APPROVED_FLAG = 'APPROVED';
context.APRV_BY_NAME_FAMILY = 'FamilyName';
context.APRV_BY_NAME_GIVEN = 'Given';
context.APRV_BY_NAME_MIDDLE = 'MiddleName';
context.APRV_BY_NAME_PREFIX = 'Prefix';
context.APRV_BY_NAME_SUFFIX = 'Suffix';
context.APRV_BY_NAME_TITLE = 'Title';
context.APRV_BY_PERSON_ASGNING_AUTH = 'USVHA';
context.APRV_BY_PERSON_ASGNING_FCLT = '402';
context.APRV_BY_PERSON_IDENTITY = 'test_AUTHORID_1003';
context.APRV_BY_PRACTITIONER_COMMENTS = 'Approved By Comment';
context.APRV_BY_PRACTITIONER_ID_S = 'IdSourceTable';
context.APRV_BY_PRACTITIONER_DT = '20120501162517-0600';
context.APRV_BY_PRACTITIONER_DT_UTC = ''; //set by system
context.AUTH_NAME_FAMILY = 'FamilyName';
context.AUTH_NAME_GIVEN = 'Given';
context.AUTH_NAME_MIDDLE = 'MiddleName';
context.AUTH_NAME_PREFIX = 'Prefix';
context.AUTH_NAME_SUFFIX = 'Suffix';
context.AUTH_NAME_TITLE = 'Title';
context.AUTH_PERSON_ASGNING_AUTHORITY = 'USVHA';
context.AUTH_PERSON_ASGNING_FACILITY = '402';
context.AUTH_PERSON_IDENTITY = 'test_AUTHORID_1003';
context.AUTH_PRACTITIONER_COMMENTS = 'Author Comment';
context.AUTH_PRACTITIONER_ID_SRC_TBL = 'IdSourceTable';
context.AUTH_PRACTITIONER_DT = '20120501162517-0600';
context.AUTH_PRACTITIONER_DT_UTC = ''; //set by system
context.DATE_MODIFIED__DT = null; 
context.DATE_MODIFIED__DT_UTC = null; 
context.DETAIL_XML = '<gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>';
context.DOCUMENTIDENTIFIER_NAMESPACEID = '402';
context.DOCUMENTIDENTIFIER_UNIVERSALID = 'UID_13359111174322';
context.DOCUMENTIDENTIFIER_UNIVERSTYP = 'universalIdType';
context.DOCUMENT_TYPE = 'Document Type';
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_IDENTITY = 'OrganizationId';
context.FACILITY_NAME = 'OrganizationName';
context.INITIATING_SYSTEM = 'InitiatingSystem';
context.MESSAGE_INSERTION_TIME = ''; //entered by system? 5/10/2012 2:28:41.116285 PM
context.PATIENT_ASSIGNING_AUTHORITY = 'USVHA';
context.PATIENT_ASSIGNING_FACILITY = '402';
context.PATIENT_IDENTITY = 'test_10004';
context.PATIENT_NAME_FAMILY = 'FamilyName';
context.PATIENT_NAME_GIVEN = 'Given';
context.PATIENT_NAME_MIDDLE = 'MiddleName';
context.PATIENT_NAME_PREFIX = 'Prefix';
context.PATIENT_NAME_SUFFIX = 'Suffix';
context.PATIENT_NAME_TITLE = 'Title';
context.QUESTIONNAIRE_RESULT_ID = ''; //DB Primary Key?
context.RECORDIDENTIFIER_IDENTITY = null;
context.RECORDIDENTIFIER_NAMESPACEID = null;
context.RECORDIDENTIFIER_UNIVERSALID = null;
context.RECORDIDENTIFIER_UNIVERSTYP = null;
context.RECORD_UPDATE_DT = '19691231170000-0700'; //Updated by system?
context.RECORD_UPDATE_DT_UTC = ''; //set by system
context.RECORD_VERSION = 3;
//log.info("REQUEST_ID: " + context.REQUEST_ID);;
//log.info("RECORDIDENTIFIER_IDENTITY: " + context.REQUEST_ID);  ]]></script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting><con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@follow-redirects">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_IDENTITY}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>${PATIENT_NAME_GIVEN}</given>
						<middle>${PATIENT_NAME_MIDDLE}</middle>
						<family>${PATIENT_NAME_FAMILY}</family>
						<suffix>${PATIENT_NAME_SUFFIX}</suffix>
						<title>${PATIENT_NAME_TITLE}</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${RECORD_UPDATE_DT}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>${INITIATING_SYSTEM}</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>${DOCUMENTIDENTIFIER_NAMESPACEID}</namespaceId>
					<universalId>${DOCUMENTIDENTIFIER_UNIVERSALID}</universalId>
					<universalIdType>${DOCUMENTIDENTIFIER_UNIVERSTYP}</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>${APRV_BY_PRACTITIONER_COMMENTS}</comment>
					<time>
						<literal>${APRV_BY_PRACTITIONER_DT}</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>${AUTH_PRACTITIONER_COMMENTS}</comment>
					<time>
						<literal>${AUTH_PRACTITIONER_DT}</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML>${DETAIL_XML}</detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Validation Script"><con:settings/><con:config><script>import groovy.sql.Sql;

def dbUrl = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_URL" );
def dbUser = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_USER" );
def dbPassword = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_PASSWORD" );

def db = [url:dbUrl,
          user:dbUser,
          password:dbPassword,
          driver:'oracle.jdbc.OracleDriver']
          
def sql = Sql.newInstance(db.url, db.user, db.password, db.driver);
//context.DOCUMENTIDENTIFIER_IDENTITY = 'b69c9c68-ae30-4849-a351-a434350c3642';

columns = """APPROVED_FLAG, APRV_BY_NAME_FAMILY, APRV_BY_NAME_GIVEN, APRV_BY_NAME_MIDDLE, APRV_BY_NAME_PREFIX, APRV_BY_NAME_SUFFIX,
APRV_BY_NAME_TITLE,APRV_BY_PERSON_ASGNING_AUTH,APRV_BY_PERSON_ASGNING_FCLT,APRV_BY_PERSON_IDENTITY,APRV_BY_PRACTITIONER_COMMENTS,
APRV_BY_PRACTITIONER_ID_S,APRV_BY_PRACTITIONER_DT,APRV_BY_PRACTITIONER_DT_UTC,AUTH_NAME_FAMILY,AUTH_NAME_GIVEN,AUTH_NAME_MIDDLE,
AUTH_NAME_PREFIX,AUTH_NAME_SUFFIX,AUTH_NAME_TITLE,AUTH_PERSON_ASGNING_AUTHORITY,AUTH_PERSON_ASGNING_FACILITY,AUTH_PERSON_IDENTITY,
AUTH_PRACTITIONER_COMMENTS,AUTH_PRACTITIONER_ID_SRC_TBL,AUTH_PRACTITIONER_DT,AUTH_PRACTITIONER_DT_UTC,DATE_MODIFIED__DT,
DATE_MODIFIED__DT_UTC,DOCUMENTIDENTIFIER_IDENTITY,DOCUMENTIDENTIFIER_NAMESPACEID,DOCUMENTIDENTIFIER_UNIVERSALID,
DOCUMENTIDENTIFIER_UNIVERSTYP,DOCUMENT_TYPE,FACILITY_ASSIGNING_AUTHORITY,FACILITY_IDENTITY,FACILITY_NAME,INITIATING_SYSTEM,
MESSAGE_INSERTION_TIME,PATIENT_ASSIGNING_AUTHORITY,PATIENT_ASSIGNING_FACILITY,PATIENT_IDENTITY,PATIENT_NAME_FAMILY,PATIENT_NAME_GIVEN,
PATIENT_NAME_MIDDLE,PATIENT_NAME_PREFIX,PATIENT_NAME_SUFFIX,PATIENT_NAME_TITLE,QUESTIONNAIRE_RESULT_ID,RECORDIDENTIFIER_IDENTITY,
RECORDIDENTIFIER_NAMESPACEID,RECORDIDENTIFIER_UNIVERSALID,RECORDIDENTIFIER_UNIVERSTYP,RECORD_UPDATE_DT,RECORD_UPDATE_DT_UTC,
RECORD_VERSION,REQUEST_ID""";

columns = 'q.DETAIL_XML.getStringVal() "DETAIL_XML",' + columns;

row = sql.firstRow("select ${columns} from questionnaire_result q where documentidentifier_identity = :doc_id", 
					[doc_id:context.DOCUMENTIDENTIFIER_IDENTITY]);

assert row.DOCUMENTIDENTIFIER_IDENTITY == context.DOCUMENTIDENTIFIER_IDENTITY;

assert row.APPROVED_FLAG == context.APPROVED_FLAG;
assert row.APRV_BY_NAME_FAMILY == context.APRV_BY_NAME_FAMILY;
assert row.APRV_BY_NAME_GIVEN == context.APRV_BY_NAME_GIVEN;
assert row.APRV_BY_NAME_MIDDLE == context.APRV_BY_NAME_MIDDLE;
assert row.APRV_BY_NAME_PREFIX == context.APRV_BY_NAME_PREFIX;
assert row.APRV_BY_NAME_SUFFIX == context.APRV_BY_NAME_SUFFIX;
assert row.APRV_BY_NAME_TITLE == context.APRV_BY_NAME_TITLE;
assert row.APRV_BY_PERSON_ASGNING_AUTH == context.APRV_BY_PERSON_ASGNING_AUTH;
assert row.APRV_BY_PERSON_ASGNING_FCLT == context.APRV_BY_PERSON_ASGNING_FCLT;
assert row.APRV_BY_PERSON_IDENTITY == context.APRV_BY_PERSON_IDENTITY;
assert row.APRV_BY_PRACTITIONER_COMMENTS == context.APRV_BY_PRACTITIONER_COMMENTS;
assert row.APRV_BY_PRACTITIONER_ID_S == context.APRV_BY_PRACTITIONER_ID_S;
assert row.APRV_BY_PRACTITIONER_DT == context.APRV_BY_PRACTITIONER_DT; 
assert row.APRV_BY_PRACTITIONER_DT_UTC != null;
assert row.AUTH_NAME_FAMILY == context.AUTH_NAME_FAMILY;
assert row.AUTH_NAME_GIVEN == context.AUTH_NAME_GIVEN;
assert row.AUTH_NAME_MIDDLE == context.AUTH_NAME_MIDDLE;
assert row.AUTH_NAME_PREFIX == context.AUTH_NAME_PREFIX;
assert row.AUTH_NAME_SUFFIX == context.AUTH_NAME_SUFFIX;
assert row.AUTH_NAME_TITLE == context.AUTH_NAME_TITLE;
assert row.AUTH_PERSON_ASGNING_AUTHORITY == context.AUTH_PERSON_ASGNING_AUTHORITY;
assert row.AUTH_PERSON_ASGNING_FACILITY == context.AUTH_PERSON_ASGNING_FACILITY;
assert row.AUTH_PERSON_IDENTITY == context.AUTH_PERSON_IDENTITY;
assert row.AUTH_PRACTITIONER_COMMENTS == context.AUTH_PRACTITIONER_COMMENTS;
assert row.AUTH_PRACTITIONER_ID_SRC_TBL == context.AUTH_PRACTITIONER_ID_SRC_TBL;
assert row.AUTH_PRACTITIONER_DT == context.AUTH_PRACTITIONER_DT; 
assert row.AUTH_PRACTITIONER_DT_UTC != null;
assert row.DATE_MODIFIED__DT == context.DATE_MODIFIED__DT; 
assert row.DATE_MODIFIED__DT_UTC == context.DATE_MODIFIED__DT_UTC;
assert row.DETAIL_XML != null; // we can't count on the XML data string comparable as Oracle may return it to us formatted slightly differently than how we sent it.
assert row.DOCUMENTIDENTIFIER_NAMESPACEID == context.DOCUMENTIDENTIFIER_NAMESPACEID;
assert row.DOCUMENTIDENTIFIER_UNIVERSALID == context.DOCUMENTIDENTIFIER_UNIVERSALID;
assert row.DOCUMENTIDENTIFIER_UNIVERSTYP == context.DOCUMENTIDENTIFIER_UNIVERSTYP;
assert row.DOCUMENT_TYPE == context.DOCUMENT_TYPE;
assert row.FACILITY_ASSIGNING_AUTHORITY == context.FACILITY_ASSIGNING_AUTHORITY;
assert row.FACILITY_IDENTITY == context.FACILITY_IDENTITY;
assert row.FACILITY_NAME == context.FACILITY_NAME;
assert row.INITIATING_SYSTEM == context.INITIATING_SYSTEM;
assert row.MESSAGE_INSERTION_TIME != null;
assert row.PATIENT_ASSIGNING_AUTHORITY == context.PATIENT_ASSIGNING_AUTHORITY;
assert row.PATIENT_ASSIGNING_FACILITY == context.PATIENT_ASSIGNING_FACILITY;
assert row.PATIENT_IDENTITY == context.PATIENT_IDENTITY;
assert row.PATIENT_NAME_FAMILY == context.PATIENT_NAME_FAMILY;
assert row.PATIENT_NAME_GIVEN == context.PATIENT_NAME_GIVEN;
assert row.PATIENT_NAME_MIDDLE == context.PATIENT_NAME_MIDDLE;
assert row.PATIENT_NAME_PREFIX == context.PATIENT_NAME_PREFIX;
assert row.PATIENT_NAME_SUFFIX == context.PATIENT_NAME_SUFFIX;
assert row.PATIENT_NAME_TITLE == context.PATIENT_NAME_TITLE;
assert row.QUESTIONNAIRE_RESULT_ID != null;
assert row.RECORDIDENTIFIER_IDENTITY == context.RECORDIDENTIFIER_IDENTITY;
assert row.RECORDIDENTIFIER_NAMESPACEID == context.RECORDIDENTIFIER_NAMESPACEID;
assert row.RECORDIDENTIFIER_UNIVERSALID == context.RECORDIDENTIFIER_UNIVERSALID;
assert row.RECORDIDENTIFIER_UNIVERSTYP == context.RECORDIDENTIFIER_UNIVERSTYP;
assert row.RECORD_UPDATE_DT == context.RECORD_UPDATE_DT; 
assert row.RECORD_UPDATE_DT_UTC != null;
assert row.RECORD_VERSION == context.RECORD_VERSION;



// Check Audit for clientRequestInitiationTime and clientId
auditColumns = """FACILITY_ID, REQUEST_ID, RECEIVED_DATE_TIME, MESSAGE_DATE_TIME, MESSAGE_TYP, CLIENT_IDENTIFIER, TEMPLATE_NAME_ID, CLIENT_REQUEST_TM""";
auditRow = sql.firstRow("select ${auditColumns} from AUDIT_CLOB_STR a where REQUEST_ID = :request_id", 
					[request_id:context.REQUEST_ID]);
assert auditRow.CLIENT_REQUEST_TM == context.CLIENT_REQUEST_INIT_TIME;
assert auditRow.CLIENT_IDENTIFIER == 'SOAP UI';

</script></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DbqCreateInvalid" searchProperties="true" id="ac331216-53c8-438f-91b7-b51dbb9ed4c5"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.requestId = UUID.randomUUID().toString();
context.documentId = UUID.randomUUID().toString();
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Invalid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Invalid"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>test_10004</identity>
						<assigningFacility>402</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>Prefix</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Ischemic_Heart_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${documentId}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${requestId}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response returns fatalError"><con:configuration><path>count(//errorSection/fatalErrors/fatalError)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Check Response for Schema Validation Failed Error"><con:configuration><path>//exceptionMessage</path><content>SCHEMA_VALIDATION_FAILED</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${requestId}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Validation Script"><con:settings/><con:config><script>import groovy.sql.Sql;

def dbUrl = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_URL" );
def dbUser = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_USER" );
def dbPassword = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_PASSWORD" );

def db = [url:dbUrl,
          user:dbUser,
          password:dbPassword,
          driver:'oracle.jdbc.OracleDriver']

def sql = Sql.newInstance(db.url, db.user, db.password, db.driver);

// Check Audit for clientRequestInitiationTime and clientId
auditColumns = """FACILITY_ID, REQUEST_ID, RECEIVED_DATE_TIME, MESSAGE_DATE_TIME, MESSAGE_TYP, CLIENT_IDENTIFIER, TEMPLATE_NAME_ID, CLIENT_REQUEST_TM""";
auditRow = sql.firstRow("select ${auditColumns} from AUDIT_CLOB_STR a where REQUEST_ID = :request_id", 
					[request_id:context.requestId]);
assert auditRow.CLIENT_REQUEST_TM == context.CLIENT_REQUEST_INIT_TIME;
assert auditRow.CLIENT_IDENTIFIER == 'SOAP UI';</script></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DbqCreateDuplicateError" searchProperties="true" id="f7b358f9-9021-42d5-a3cd-3cd25d3d13f5"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.requestId = UUID.randomUUID().toString();
context.documentId = UUID.randomUUID().toString();
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Success"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>createClinicalData</con:operation><con:request name="DBQ Create Data - Success"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>test_10004</identity>
						<assigningFacility>402</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>Prefix</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Ischemic_Heart_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${documentId}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Request ID Match"><con:configuration><path>//requestId</path><content>${requestId}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Document Identity Match"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${documentId}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${requestId}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Duplicate - Fail"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>createClinicalData</con:operation><con:request name="DBQ Create Duplicate - Fail"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>test_10004</identity>
						<assigningFacility>402</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>Prefix</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Ischemic_Heart_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${documentId}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>//requestId</path><content>${requestId}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Has Errors"><con:configuration><path>count(//errorSection/fatalErrors/fatalError)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Has No Identifiers"><con:configuration><path>count(//identifiers/identifier)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${requestId}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Validation Script"><con:settings/><con:config><script>import groovy.sql.Sql;

def dbUrl = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_URL" );
def dbUser = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_USER" );
def dbPassword = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_PASSWORD" );

def db = [url:dbUrl,
          user:dbUser,
          password:dbPassword,
          driver:'oracle.jdbc.OracleDriver']

def sql = Sql.newInstance(db.url, db.user, db.password, db.driver);

// Check Audit for clientRequestInitiationTime and clientId
auditColumns = """FACILITY_ID, REQUEST_ID, RECEIVED_DATE_TIME, MESSAGE_DATE_TIME, MESSAGE_TYP, CLIENT_IDENTIFIER, TEMPLATE_NAME_ID, CLIENT_REQUEST_TM""";
auditRow = sql.rows("select ${auditColumns} from AUDIT_CLOB_STR a where REQUEST_ID = :request_id", 
					[request_id:context.requestId]);
assert auditRow.size() == 4

for (row in auditRow) {
	assert row.CLIENT_IDENTIFIER == 'SOAP UI';
	assert row.CLIENT_REQUEST_TM == context.CLIENT_REQUEST_INIT_TIME;
}
</script></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DbqCreateInvalidClientRequestInitiationTime" searchProperties="true" id="72d6d4b6-c502-4cfd-bdff-96acf689e924"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATE_FORMAT.format( new Date() );
context.requestId = UUID.randomUUID().toString();
context.documentId = UUID.randomUUID().toString();
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Invalid Client Request Time"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Invalid Client Request Time"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>test_10004</identity>
						<assigningFacility>402</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>Prefix</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Ischemic_Heart_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${documentId}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML>${DETAIL_XML}</detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${requestId}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response returns fatalError"><con:configuration><path>count(//errorSection/fatalErrors/fatalError)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Check Response for Schema Validation Failed Error"><con:configuration><path>//exceptionMessage</path><content>SCHEMA_VALIDATION_FAILED</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${requestId}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DbqCreateInvalidDateCreated" searchProperties="true" id="aa3dfb36-2775-4d08-be98-ccbc2dca9006"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.requestId = UUID.randomUUID().toString();
context.documentId = UUID.randomUUID().toString();
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Invalid Client Request Time"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Invalid Client Request Time"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>test_10004</identity>
						<assigningFacility>402</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>Prefix</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>1969</literal>
				</dateCreated>
				<documentType>Ischemic_Heart_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${documentId}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><anyData/></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${requestId}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response returns fatalError"><con:configuration><path>count(//errorSection/fatalErrors/fatalError)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Check Response for Schema Validation Failed Error"><con:configuration><path>//exception</path><content>gov.va.med.cds.persistence.PersistenceException</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${requestId}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DbqBatchCreateValid" searchProperties="true" id="09ac5228-b162-4847-b48d-aeb90cdd36d7"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script><![CDATA[import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID = UUID.randomUUID().toString(); 

context.DOCUMENTIDENTIFIER_IDENTITY_1 = UUID.randomUUID().toString(); 
context.DETAIL_XML_1 = '<gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>';
context.DOCUMENT_TYPE_1 = 'IschemicHeartDisease';

context.DOCUMENTIDENTIFIER_IDENTITY_2 = UUID.randomUUID().toString(); 
context.DETAIL_XML_2 = '<gov.va.agentorange.fasttrack.model.dbq.prc.ProstateCancer><id>7125</id><version>0</version><dateCreated>2012-01-04 20:02:09.28 EST</dateCreated><dateModified reference="../dateCreated"/><formType>FORM_TYPE_DBQ_PRC</formType><vetSsn>091098299</vetSsn><documentStatusType>COMPLETE</documentStatusType><documentChannelType>VA</documentChannelType><createdBy>csmyth</createdBy><webFormType>PRC_DBQ_MED_SUMMARY</webFormType><dbqPurpose>MEDICAL_SUMMARY</dbqPurpose><sourcesOfInformation>add</sourcesOfInformation><veteranFirstName>delete</veteranFirstName><veteranLastName>delete</veteranLastName><impactsAbilityToWork>false</impactsAbilityToWork><dateSigned reference="../dateCreated"/><hasProstateCancer>true</hasProstateCancer><statusOfDisease>REMISSION</statusOfDisease><statusOfTreatment>WATCHFUL_WAITING</statusOfTreatment><hasResiduals>true</hasResiduals><hasVoidingDysfunction>false</hasVoidingDysfunction><hasUrinaryFrequencyProblems>true</hasUrinaryFrequencyProblems><hasObstructedVoidingProblems>false</hasObstructedVoidingProblems><hasUrinaryTractInfections>false</hasUrinaryTractInfections><hasErectileDysfunctionProblems>false</hasErectileDysfunctionProblems><hasRenalDysfunctionProblems>false</hasRenalDysfunctionProblems><hasOtherComplications>false</hasOtherComplications><daytimeFrequency>GREATER_THAN_THREE</daytimeFrequency><nighttimeFrequency>AWAKENING_VOID_2</nighttimeFrequency></gov.va.agentorange.fasttrack.model.dbq.prc.ProstateCancer>';
context.DOCUMENT_TYPE_2 = 'ProstateCancer';


context.APPROVED_FLAG = 'PENDING';
context.AUTH_NAME_FAMILY = 'FamilyName';
context.AUTH_NAME_GIVEN = 'Given';
context.AUTH_NAME_MIDDLE = 'MiddleName';
context.AUTH_NAME_PREFIX = 'Prefix';
context.AUTH_NAME_SUFFIX = 'Suffix';
context.AUTH_NAME_TITLE = 'Title';
context.AUTH_PERSON_ASGNING_AUTHORITY = 'USVHA';
context.AUTH_PERSON_ASGNING_FACILITY = '402';
context.AUTH_PERSON_IDENTITY = 'test_AUTHORID_1003';
context.AUTH_PRACTITIONER_COMMENTS = 'Author Comment';
context.AUTH_PRACTITIONER_ID_SRC_TBL = 'IdSourceTable';
context.AUTH_PRACTITIONER_DT = '20120501162517-0600';
context.AUTH_PRACTITIONER_DT_UTC = ''; //set by system
context.DATE_MODIFIED__DT = null; 
context.DATE_MODIFIED__DT_UTC = null; 
context.DOCUMENTIDENTIFIER_NAMESPACEID = '402';
context.DOCUMENTIDENTIFIER_UNIVERSALID = 'UID_13359111174322';
context.DOCUMENTIDENTIFIER_UNIVERSTYP = 'universalIdType';
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_IDENTITY = 'OrganizationId';
context.FACILITY_NAME = 'OrganizationName';
context.INITIATING_SYSTEM = 'InitiatingSystem';
context.MESSAGE_INSERTION_TIME = ''; //entered by system? 5/10/2012 2:28:41.116285 PM
context.PATIENT_ASSIGNING_AUTHORITY = 'USVHA';
context.PATIENT_ASSIGNING_FACILITY = '402';
context.PATIENT_IDENTITY = 'test_10004';
context.PATIENT_NAME_FAMILY = 'FamilyName';
context.PATIENT_NAME_GIVEN = 'Given';
context.PATIENT_NAME_MIDDLE = 'MiddleName';
context.PATIENT_NAME_PREFIX = 'Prefix';
context.PATIENT_NAME_SUFFIX = 'Suffix';
context.PATIENT_NAME_TITLE = 'Title';
context.QUESTIONNAIRE_RESULT_ID = ''; //DB Primary Key?
context.RECORDIDENTIFIER_IDENTITY = null;
context.RECORDIDENTIFIER_NAMESPACEID = null;
context.RECORDIDENTIFIER_UNIVERSALID = null;
context.RECORDIDENTIFIER_UNIVERSTYP = null;
context.RECORD_UPDATE_DT = '19691231170000-0700'; //Updated by system?
context.RECORD_UPDATE_DT_UTC = ''; //set by system
context.RECORD_VERSION = 3;]]></script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting><con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@follow-redirects">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_IDENTITY}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>${PATIENT_NAME_GIVEN}</given>
						<middle>${PATIENT_NAME_MIDDLE}</middle>
						<family>${PATIENT_NAME_FAMILY}</family>
						<suffix>${PATIENT_NAME_SUFFIX}</suffix>
						<title>${PATIENT_NAME_TITLE}</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${RECORD_UPDATE_DT}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE_1}</documentType>
				<initiatingSystem>${INITIATING_SYSTEM}</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY_1}</identity>
					<namespaceId>${DOCUMENTIDENTIFIER_NAMESPACEID}</namespaceId>
					<universalId>${DOCUMENTIDENTIFIER_UNIVERSALID}</universalId>
					<universalIdType>${DOCUMENTIDENTIFIER_UNIVERSTYP}</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<author>
					<comment>${AUTH_PRACTITIONER_COMMENTS}</comment>
					<time>
						<literal>${AUTH_PRACTITIONER_DT}</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML>${DETAIL_XML_1}</detailXML>
			</questionnaireResult>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_IDENTITY}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>${PATIENT_NAME_GIVEN}</given>
						<middle>${PATIENT_NAME_MIDDLE}</middle>
						<family>${PATIENT_NAME_FAMILY}</family>
						<suffix>${PATIENT_NAME_SUFFIX}</suffix>
						<title>${PATIENT_NAME_TITLE}</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${RECORD_UPDATE_DT}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE_2}</documentType>
				<initiatingSystem>${INITIATING_SYSTEM}</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY_2}</identity>
					<namespaceId>${DOCUMENTIDENTIFIER_NAMESPACEID}</namespaceId>
					<universalId>${DOCUMENTIDENTIFIER_UNIVERSALID}</universalId>
					<universalIdType>${DOCUMENTIDENTIFIER_UNIVERSTYP}</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<author>
					<comment>${AUTH_PRACTITIONER_COMMENTS}</comment>
					<time>
						<literal>${AUTH_PRACTITIONER_DT}</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML>${DETAIL_XML_2}</detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier[1]/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY_1}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID - 2"><con:configuration><path>//identifier[2]/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY_2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>2</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Validation Script"><con:settings/><con:config><script>import groovy.sql.Sql;

def dbUrl = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_URL" );
def dbUser = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_USER" );
def dbPassword = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_PASSWORD" );

def db = [url:dbUrl,
          user:dbUser,
          password:dbPassword,
          driver:'oracle.jdbc.OracleDriver']
          
def sql = Sql.newInstance(db.url, db.user, db.password, db.driver);


row = sql.rows("select * from questionnaire_result q where REQUEST_ID = :request_id", 
					[doc_id:context.REQUEST_ID]);

// Check Audit for clientRequestInitiationTime and clientId
def auditRows = sql.rows("select * from AUDIT_CLOB_STR a where REQUEST_ID = :request_id", 
					[request_id:context.REQUEST_ID]);
assert auditRows.size() == 2;
assert auditRows[0].CLIENT_IDENTIFIER == 'SOAP UI';
assert auditRows[0].REQUEST_ID == context.REQUEST_ID;

assert auditRows[1].CLIENT_IDENTIFIER == 'SOAP UI';
assert auditRows[1].REQUEST_ID == context.REQUEST_ID;</script></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DbqBatchCreateInvalid" searchProperties="true" id="01961651-aa4e-45f5-9149-4fc0b2871e56"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script><![CDATA[import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID = UUID.randomUUID().toString(); 

context.DOCUMENTIDENTIFIER_IDENTITY_1 = UUID.randomUUID().toString(); 
context.DETAIL_XML_1 = '<gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>';
context.DOCUMENT_TYPE_1 = 'IschemicHeartDisease';

context.DOCUMENTIDENTIFIER_IDENTITY_2 = UUID.randomUUID().toString(); 
context.DETAIL_XML_2 = '<gov.va.agentorange.fasttrack.model.dbq.prc.ProstateCancer><id>7125</id><version>0</version><dateCreated>2012-01-04 20:02:09.28 EST</dateCreated><dateModified reference="../dateCreated"/><formType>FORM_TYPE_DBQ_PRC</formType><vetSsn>091098299</vetSsn><documentStatusType>COMPLETE</documentStatusType><documentChannelType>VA</documentChannelType><createdBy>csmyth</createdBy><webFormType>PRC_DBQ_MED_SUMMARY</webFormType><dbqPurpose>MEDICAL_SUMMARY</dbqPurpose><sourcesOfInformation>add</sourcesOfInformation><veteranFirstName>delete</veteranFirstName><veteranLastName>delete</veteranLastName><impactsAbilityToWork>false</impactsAbilityToWork><dateSigned reference="../dateCreated"/><hasProstateCancer>true</hasProstateCancer><statusOfDisease>REMISSION</statusOfDisease><statusOfTreatment>WATCHFUL_WAITING</statusOfTreatment><hasResiduals>true</hasResiduals><hasVoidingDysfunction>false</hasVoidingDysfunction><hasUrinaryFrequencyProblems>true</hasUrinaryFrequencyProblems><hasObstructedVoidingProblems>false</hasObstructedVoidingProblems><hasUrinaryTractInfections>false</hasUrinaryTractInfections><hasErectileDysfunctionProblems>false</hasErectileDysfunctionProblems><hasRenalDysfunctionProblems>false</hasRenalDysfunctionProblems><hasOtherComplications>false</hasOtherComplications><daytimeFrequency>GREATER_THAN_THREE</daytimeFrequency><nighttimeFrequency>AWAKENING_VOID_2</nighttimeFrequency></gov.va.agentorange.fasttrack.model.dbq.prc.ProstateCancer>';
context.DOCUMENT_TYPE_2 = 'ProstateCancer';


context.APPROVED_FLAG = 'PENDING';
context.AUTH_NAME_FAMILY = 'FamilyName';
context.AUTH_NAME_GIVEN = 'Given';
context.AUTH_NAME_MIDDLE = 'MiddleName';
context.AUTH_NAME_PREFIX = 'Prefix';
context.AUTH_NAME_SUFFIX = 'Suffix';
context.AUTH_NAME_TITLE = 'Title';
context.AUTH_PERSON_ASGNING_AUTHORITY = 'USVHA';
context.AUTH_PERSON_ASGNING_FACILITY = '402';
context.AUTH_PERSON_IDENTITY = 'test_AUTHORID_1003';
context.AUTH_PRACTITIONER_COMMENTS = 'Author Comment';
context.AUTH_PRACTITIONER_ID_SRC_TBL = 'IdSourceTable';
context.AUTH_PRACTITIONER_DT = '20120501162517-0600';
context.AUTH_PRACTITIONER_DT_UTC = ''; //set by system
context.DATE_MODIFIED__DT = null; 
context.DATE_MODIFIED__DT_UTC = null; 
context.DOCUMENTIDENTIFIER_NAMESPACEID = '402';
context.DOCUMENTIDENTIFIER_UNIVERSALID = 'UID_13359111174322';
context.DOCUMENTIDENTIFIER_UNIVERSTYP = 'universalIdType';
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_IDENTITY = 'OrganizationId';
context.FACILITY_NAME = 'OrganizationName';
context.INITIATING_SYSTEM = 'InitiatingSystem';
context.MESSAGE_INSERTION_TIME = ''; //entered by system? 5/10/2012 2:28:41.116285 PM
context.PATIENT_ASSIGNING_AUTHORITY = 'USVHA';
context.PATIENT_ASSIGNING_FACILITY = '402';
context.PATIENT_IDENTITY = 'test_10004';
context.PATIENT_NAME_FAMILY = 'FamilyName';
context.PATIENT_NAME_GIVEN = 'Given';
context.PATIENT_NAME_MIDDLE = 'MiddleName';
context.PATIENT_NAME_PREFIX = 'Prefix';
context.PATIENT_NAME_SUFFIX = 'Suffix';
context.PATIENT_NAME_TITLE = 'Title';
context.QUESTIONNAIRE_RESULT_ID = ''; //DB Primary Key?
context.RECORDIDENTIFIER_IDENTITY = null;
context.RECORDIDENTIFIER_NAMESPACEID = null;
context.RECORDIDENTIFIER_UNIVERSALID = null;
context.RECORDIDENTIFIER_UNIVERSTYP = null;
context.RECORD_UPDATE_DT = '19691231170000-0700'; //Updated by system?
context.RECORD_UPDATE_DT_UTC = ''; //set by system
context.RECORD_VERSION = 3;]]></script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting><con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@follow-redirects">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_IDENTITY}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>${PATIENT_NAME_GIVEN}</given>
						<middle>${PATIENT_NAME_MIDDLE}</middle>
						<family>${PATIENT_NAME_FAMILY}</family>
						<suffix>${PATIENT_NAME_SUFFIX}</suffix>
						<title>${PATIENT_NAME_TITLE}</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${RECORD_UPDATE_DT}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE_1}</documentType>
				<initiatingSystem>${INITIATING_SYSTEM}</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY_1}</identity>
					<namespaceId>${DOCUMENTIDENTIFIER_NAMESPACEID}</namespaceId>
					<universalId>${DOCUMENTIDENTIFIER_UNIVERSALID}</universalId>
					<universalIdType>${DOCUMENTIDENTIFIER_UNIVERSTYP}</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<author>
					<comment>${AUTH_PRACTITIONER_COMMENTS}</comment>
					<time>
						<literal>${AUTH_PRACTITIONER_DT}</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML>${DETAIL_XML_1}</detailXML>
			</questionnaireResult>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_IDENTITY}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>${PATIENT_NAME_GIVEN}</given>
						<middle>${PATIENT_NAME_MIDDLE}</middle>
						<family>${PATIENT_NAME_FAMILY}</family>
						<suffix>${PATIENT_NAME_SUFFIX}</suffix>
						<title>${PATIENT_NAME_TITLE}</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${RECORD_UPDATE_DT}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE_2}</documentType>
				<initiatingSystem>${INITIATING_SYSTEM}</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY_2}</identity>
					<namespaceId>${DOCUMENTIDENTIFIER_NAMESPACEID}</namespaceId>
					<universalId>${DOCUMENTIDENTIFIER_UNIVERSALID}</universalId>
					<universalIdType>${DOCUMENTIDENTIFIER_UNIVERSTYP}</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<author>
					<comment>${AUTH_PRACTITIONER_COMMENTS}</comment>
					<time>
						<literal>${AUTH_PRACTITIONER_DT}</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML>${DETAIL_XML_2}</detailXML>
			</questionnaireResult>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_IDENTITY}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>${PATIENT_NAME_GIVEN}</given>
						<middle>${PATIENT_NAME_MIDDLE}</middle>
						<family>${PATIENT_NAME_FAMILY}</family>
						<suffix>${PATIENT_NAME_SUFFIX}</suffix>
						<title>${PATIENT_NAME_TITLE}</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${RECORD_UPDATE_DT}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE_2}</documentType>
				<initiatingSystem>${INITIATING_SYSTEM}</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY_2}</identity>
					<namespaceId>${DOCUMENTIDENTIFIER_NAMESPACEID}</namespaceId>
					<universalId>${DOCUMENTIDENTIFIER_UNIVERSALID}</universalId>
					<universalIdType>${DOCUMENTIDENTIFIER_UNIVERSTYP}</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<author>
					<comment>${AUTH_PRACTITIONER_COMMENTS}</comment>
					<time>
						<literal>${AUTH_PRACTITIONER_DT}</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML>${DETAIL_XML_2}</detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains"><con:configuration><token>HDRII_CONSTRAINT_VIOLATED</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Validation Script"><con:settings/><con:config><script>import groovy.sql.Sql;

def dbUrl = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_URL" );
def dbUser = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_USER" );
def dbPassword = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_PASSWORD" );

def db = [url:dbUrl,
          user:dbUser,
          password:dbPassword,
          driver:'oracle.jdbc.OracleDriver']
          
def sql = Sql.newInstance(db.url, db.user, db.password, db.driver);


row = sql.rows("select * from questionnaire_result q where REQUEST_ID = :request_id", 
					[doc_id:context.REQUEST_ID]);

assert row.size() == 0;

// Check Audit for clientRequestInitiationTime and clientId
def auditRows = sql.rows("select * from AUDIT_CLOB_STR a where REQUEST_ID = :request_id", 
					[request_id:context.REQUEST_ID]);
assert auditRows.size() == 2;
assert auditRows[0].CLIENT_IDENTIFIER == 'SOAP UI';
assert auditRows[0].REQUEST_ID == context.REQUEST_ID;

assert auditRows[1].CLIENT_IDENTIFIER == 'SOAP UI';
assert auditRows[1].REQUEST_ID == context.REQUEST_ID;
</script></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite name="DBQ List Read Test Suite (non Patient)"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ By Facility Filter Test" searchProperties="true" id="7be9b9d9-20bf-45b8-982b-a8fcfa8178fb"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 

context.FACILITY_IDENTITY = UUID.randomUUID().toString();
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_NAME = 'OrganizationName';

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.DOCUMENT_TYPE_2 = context.DOCUMENT_TYPE + "_2";
//log.info(context.DOCUMENT_TYPE_2);
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";

</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE_2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG_2}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid3" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME3}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY3}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID3}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_FILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By Facility</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check THREE Records Returned"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "3"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility And XPath"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility And XPath"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_FILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathFilter>
			<expression>//diagnoses[key='7553']</expression>
		</xpathFilter>
		<otherQueryParameters>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Facility And XPath"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Facility And XPath#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "3"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility And Date Range"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility And Date Range"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_FILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Facility And Date Range"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "3"</script></con:config></con:testStep><con:testStep type="transfer" name="Re-Extract CDATA Section"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By Facility And Date Range</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check TWO Record Returned"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "2"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>695137b6-08c8-4ee4-9b90-02c8f29f0aa0</requestId><patients><patient><questionnaireResults><questionnaireResult><patient><identifier><identity>5db0e059-126d-4e52-81f8-12e253bfcbf6</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>af7319ed-1ec2-42c3-804a-510cf08794a1_2</documentType><recordIdentifier><identity>153</identity></recordIdentifier><documentIdentifier><identity>d286be43-9972-4e8a-b76d-1b232ec565e3</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>a2ebedbc-bf9b-40b2-bde7-6f043a70b49f</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME_2</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20111231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>5db0e059-126d-4e52-81f8-12e253bfcbf6</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>af7319ed-1ec2-42c3-804a-510cf08794a1</documentType><recordIdentifier><identity>154</identity></recordIdentifier><documentIdentifier><identity>4898713e-dd8e-4914-a285-6789f8802203</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>a2ebedbc-bf9b-40b2-bde7-6f043a70b49f</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20111231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><totalResultCount>2</totalResultCount></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ By Practitioner Filter Test ( author )" searchProperties="true" id="b5d4d646-2295-4dc3-99a2-3de1035a724a"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString();

context.APRV_BY_NAME_FAMILY = UUID.randomUUID().toString();
context.APRV_BY_NAME_GIVEN = 'Aprv Given';
context.APRV_BY_NAME_MIDDLE = 'AprvMiddleName';
context.APRV_BY_NAME_PREFIX = 'AprvPrefix';
context.APRV_BY_NAME_SUFFIX = 'AprvSuffix';
context.APRV_BY_NAME_TITLE = 'AprvTitle';

context.APRV_BY_PERSON_ASGNING_AUTH = 'USVHA';
context.APRV_BY_PERSON_ASGNING_FCLT = 'AprvAssigningFacility';
context.APRV_BY_PERSON_IDENTITY = UUID.randomUUID().toString();

context.APRV_BY_PRACTITIONER_ID_S = 'IdSourceTable';

context.AUTH_NAME_FAMILY = UUID.randomUUID().toString();
context.AUTH_NAME_GIVEN = 'AuthGiven';
context.AUTH_NAME_MIDDLE = 'AuthMiddleName';
context.AUTH_NAME_PREFIX = 'AuthPrefix';
context.AUTH_NAME_SUFFIX = 'AuthSuffix';
context.AUTH_NAME_TITLE = 'AuthTitle';

context.AUTH_PERSON_ASGNING_AUTHORITY = 'Auth-USVHA';
context.AUTH_PERSON_ASGNING_FACILITY = 'AuthAssigningFacility';
context.AUTH_PERSON_IDENTITY = UUID.randomUUID().toString();

context.AUTH_PRACTITIONER_ID_SRC_TBL = 'IdSourceTable';

context.FACILITY_IDENTITY = 'ByPractitioner';
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_NAME = 'OrganizationName';

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Ischemic_Heart_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By: author Practitioner IDENTITY"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By: author Practitioner IDENTITY"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<authPractitionerIdentifiers>
				<identity>${AUTH_PERSON_IDENTITY}</identity>
				<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
				<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
			</authPractitionerIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract - by Author - CDATA Section"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By: author Practitioner IDENTITY</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check TWO - by Author - Records Returned"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "2"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By: author Practitioner ID And Date Range"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By: author Practitioner ID And Date Range"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<authPractitionerIdentifiers>
				<identity>${AUTH_PERSON_IDENTITY}</identity>
				<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
				<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
			</authPractitionerIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Re-Extract - Author &amp; Date - CDATA Section"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By: author Practitioner ID And Date Range</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE - by Author ID - Record Returned"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By: author Practitioner NAME"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By: author Practitioner NAME"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<authPractitionerNames>
				<prefix>${AUTH_NAME_PREFIX}</prefix>
				<given>${AUTH_NAME_GIVEN}</given>
				<middle>${AUTH_NAME_MIDDLE}</middle>
				<family>${AUTH_NAME_FAMILY}</family>
				<suffix>${AUTH_NAME_SUFFIX}</suffix>
				<title>${AUTH_NAME_TITLE}</title>
			</authPractitionerNames>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract - Author - CDATA Section From NAME Read"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By: author Practitioner NAME</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check TWO - Author - Records Returned - NAME Read"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "2"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By: author Practitioner NAME And Date Range"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By: author Practitioner NAME And Date Range"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<authPractitionerNames>
				<prefix>${AUTH_NAME_PREFIX}</prefix>
				<given>${AUTH_NAME_GIVEN}</given>
				<middle>${AUTH_NAME_MIDDLE}</middle>
				<family>${AUTH_NAME_FAMILY}</family>
				<suffix>${AUTH_NAME_SUFFIX}</suffix>
				<title>${AUTH_NAME_TITLE}</title>
			</authPractitionerNames>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Re-Extract - Author - CDATA Section From NAME Read"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By: author Practitioner NAME And Date Range</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE - Author - Record Returned - NAME"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>38c9eee1-4bd7-4575-bf73-aa12e892fc8b</requestId><patients><patient><questionnaireResults><questionnaireResult><patient><identifier><identity>86946b29-8bbf-4671-9a72-7011c94a8551</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>6c0abf26-ab85-4be9-8dd8-88375ac725c7</documentType><recordIdentifier><identity>156</identity></recordIdentifier><documentIdentifier><identity>df5d71ab-24f0-4e7d-ab6b-9a0cd5bcf440</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>ByPractitioner</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>82a0fc91-0d07-4638-ab1f-7f15f67cb1f3</identity><assigningFacility>AuthAssigningFacility</assigningFacility><assigningAuthority>Auth-USVHA</assigningAuthority></identifier><name><prefix>AuthPrefix</prefix><given>AuthGiven</given><middle>AuthMiddleName</middle><family>351084e4-f036-4528-a542-f020107a9c32</family><suffix>AuthSuffix</suffix><title>AuthTitle</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>6d5cb0d2-2983-4b64-aa02-7dafb762f1ca</identity><assigningFacility>AprvAssigningFacility</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>AprvPrefix</prefix><given>Aprv Given</given><middle>AprvMiddleName</middle><family>ed807711-d169-432c-923c-29c8266e93e4</family><suffix>AprvSuffix</suffix><title>AprvTitle</title></name></practitioner></approvedBy><dateCreated><literal>20111231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><totalResultCount>1</totalResultCount></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ By Practitioner Filter Test ( approvedBy )" searchProperties="true" id="96141ebf-0e60-4b3e-84d3-c7667f4e2110"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString();

context.APRV_BY_NAME_FAMILY = UUID.randomUUID().toString();
context.APRV_BY_NAME_GIVEN = 'Aprv Given';
context.APRV_BY_NAME_MIDDLE = 'AprvMiddleName';
context.APRV_BY_NAME_PREFIX = 'AprvPrefix';
context.APRV_BY_NAME_SUFFIX = 'AprvSuffix';
context.APRV_BY_NAME_TITLE = 'AprvTitle';

context.APRV_BY_PERSON_ASGNING_AUTH = 'USVHA';
context.APRV_BY_PERSON_ASGNING_FCLT = 'AprvAssigningFacility';
context.APRV_BY_PERSON_IDENTITY = UUID.randomUUID().toString();

context.APRV_BY_PRACTITIONER_ID_S = 'IdSourceTable';

context.AUTH_NAME_FAMILY = UUID.randomUUID().toString();
context.AUTH_NAME_GIVEN = 'AuthGiven';
context.AUTH_NAME_MIDDLE = 'AuthMiddleName';
context.AUTH_NAME_PREFIX = 'AuthPrefix';
context.AUTH_NAME_SUFFIX = 'AuthSuffix';
context.AUTH_NAME_TITLE = 'AuthTitle';

context.AUTH_PERSON_ASGNING_AUTHORITY = 'Auth-USVHA';
context.AUTH_PERSON_ASGNING_FACILITY = 'AuthAssigningFacility';
context.AUTH_PERSON_IDENTITY = UUID.randomUUID().toString();

context.AUTH_PRACTITIONER_ID_SRC_TBL = 'IdSourceTable';

context.FACILITY_IDENTITY = 'ByPractitioner';
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_NAME = 'OrganizationName';

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Ischemic_Heart_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By: approvedBy Practitioner IDENTITY"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By: approvedBy Practitioner IDENTITY"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<aprvPractitionerIdentifiers>
				<identity>${APRV_BY_PERSON_IDENTITY}</identity>
				<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
				<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
			</aprvPractitionerIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By: approvedBy Practitioner IDENTITY</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check TWO Records Returned"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "2"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By: approvedBy Practitioner ID And Date Range"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By: approvedBy Practitioner ID And Date Range"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<aprvPractitionerIdentifiers>
				<identity>${APRV_BY_PERSON_IDENTITY}</identity>
				<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
				<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
			</aprvPractitionerIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Re-Extract CDATA Section"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By: approvedBy Practitioner ID And Date Range</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE Record Returned"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By: approvedBy Practitioner NAME"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By: approvedBy Practitioner NAME"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<aprvPractitionerNames>
				<prefix>${APRV_BY_NAME_PREFIX}</prefix>
				<given>${APRV_BY_NAME_GIVEN}</given>
				<middle>${APRV_BY_NAME_MIDDLE}</middle>
				<family>${APRV_BY_NAME_FAMILY}</family>
				<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
				<title>${APRV_BY_NAME_TITLE}</title>
			</aprvPractitionerNames>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section From NAME Read"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By: approvedBy Practitioner NAME</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check TWO Records Returned - NAME Read"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "2"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By: approvedBy Practitioner NAME And Date Range"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By: approvedBy Practitioner NAME And Date Range"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<aprvPractitionerNames>
				<prefix>${APRV_BY_NAME_PREFIX}</prefix>
				<given>${APRV_BY_NAME_GIVEN}</given>
				<middle>${APRV_BY_NAME_MIDDLE}</middle>
				<family>${APRV_BY_NAME_FAMILY}</family>
				<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
				<title>${APRV_BY_NAME_TITLE}</title>
			</aprvPractitionerNames>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Re-Extract CDATA Section From NAME Read"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By: approvedBy Practitioner NAME And Date Range</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE Record Returned - NAME"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>5d6bd961-83f2-486f-aebd-46c24e5a3c37</requestId><patients><patient><questionnaireResults><questionnaireResult><patient><identifier><identity>f9039786-cc29-4691-8829-83cb005709d8</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>1c4b123e-a875-49cd-a0cd-3e9ee4c9f603</documentType><recordIdentifier><identity>158</identity></recordIdentifier><documentIdentifier><identity>15d7998a-8bef-44c4-a0a9-15f63bb623c2</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>ByPractitioner</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>5d0d9e86-f25f-487c-8f21-38f1fda6cb11</identity><assigningFacility>AuthAssigningFacility</assigningFacility><assigningAuthority>Auth-USVHA</assigningAuthority></identifier><name><prefix>AuthPrefix</prefix><given>AuthGiven</given><middle>AuthMiddleName</middle><family>c223e64a-b316-43c1-9d03-09fb71fb2538</family><suffix>AuthSuffix</suffix><title>AuthTitle</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>d1caa170-e7cc-4bb0-96be-5ea1995a9cc5</identity><assigningFacility>AprvAssigningFacility</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>AprvPrefix</prefix><given>Aprv Given</given><middle>AprvMiddleName</middle><family>3990086e-d544-473e-a782-216114bf9acc</family><suffix>AprvSuffix</suffix><title>AprvTitle</title></name></practitioner></approvedBy><dateCreated><literal>20111231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><totalResultCount>1</totalResultCount></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Empty/Null Fields Filter Test" searchProperties="true" id="e2975e15-a7d1-44e2-a9d7-233d0c481ad6"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString();

context.APRV_BY_NAME_FAMILY = UUID.randomUUID().toString();
context.APRV_BY_NAME_GIVEN = 'Aprv Given';
context.APRV_BY_NAME_MIDDLE = 'AprvMiddleName';
context.APRV_BY_NAME_PREFIX = 'AprvPrefix';
context.APRV_BY_NAME_SUFFIX = 'AprvSuffix';
context.APRV_BY_NAME_TITLE = 'AprvTitle';

context.APRV_BY_PERSON_ASGNING_AUTH = 'USVHA';
context.APRV_BY_PERSON_ASGNING_FCLT = 'AprvAssigningFacility';
context.APRV_BY_PERSON_IDENTITY = UUID.randomUUID().toString();

context.APRV_BY_PRACTITIONER_ID_S = 'IdSourceTable';

context.AUTH_NAME_FAMILY = UUID.randomUUID().toString();
context.AUTH_NAME_GIVEN = 'AuthGiven';
context.AUTH_NAME_MIDDLE = 'AuthMiddleName';
context.AUTH_NAME_PREFIX = 'AuthPrefix';
context.AUTH_NAME_SUFFIX = 'AuthSuffix';
context.AUTH_NAME_TITLE = 'AuthTitle';

context.AUTH_PERSON_ASGNING_AUTHORITY = 'Auth-USVHA';
context.AUTH_PERSON_ASGNING_FACILITY = 'AuthAssigningFacility';
context.AUTH_PERSON_IDENTITY = UUID.randomUUID().toString();

context.AUTH_PRACTITIONER_ID_SRC_TBL = 'IdSourceTable';

context.FACILITY_IDENTITY = 'ByPractitioner';
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_NAME = 'OrganizationName';

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Ischemic_Heart_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="List Read ByPractitioner EMPTY Fail"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="List Read ByPractitioner EMPTY Fail"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="List Read ByPractitioner, otherQueryParameters EMPTY Fail"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="List Read ByPractitioner, otherQueryParameters EMPTY Fail"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains 'content of element'"><con:configuration><token>content of element</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains 'is not complete'"><con:configuration><token>is not complete</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="List Read ByPractitioner, otherQueryParameters #2 EMPTY Fail"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="List Read ByPractitioner, otherQueryParameters #2 EMPTY Fail"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<documentType></documentType>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains 'is not complete'"><con:configuration><token>is not complete</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="List By: approvedBy Practitioner NAME EMPTY" disabled="true"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="List By: approvedBy Practitioner NAME EMPTY"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<aprvPractitionerNames>
				<prefix/>
				<given/>
				<middle/>
				<family/>
				<suffix/>
				<title/>
			</aprvPractitionerNames>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>0fee2e10-5c04-4a0d-8cfa-8fa5761b0834</requestId><patients><patient><questionnaireResults><questionnaireResult><patient><identifier><identity>f3210533-f844-454b-864c-63f230e2e692</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>b228fc74-43e2-486f-8cfe-db8da09dc1fc</documentType><recordIdentifier><identity>1013</identity></recordIdentifier><documentIdentifier><identity>da6b7fef-195f-46c7-803c-f5732a4f5f36</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>ByPractitioner</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>a5f39aab-830f-499c-ab1d-37ed6eba6f10</identity><assigningFacility>AuthAssigningFacility</assigningFacility><assigningAuthority>Auth-USVHA</assigningAuthority></identifier><name><prefix>AuthPrefix</prefix><given>AuthGiven</given><middle>AuthMiddleName</middle><family>c1baa943-0839-4264-9dbe-9d68bc19c6d6</family><suffix>AuthSuffix</suffix><title>AuthTitle</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>f39d5b1c-e2fe-46dd-8ccc-549a50283ec3</identity><assigningFacility>AprvAssigningFacility</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>AprvPrefix</prefix><given>Aprv Given</given><middle>AprvMiddleName</middle><family>70ed2562-b12a-4eb9-b0c6-e5d2fdd425cd</family><suffix>AprvSuffix</suffix><title>AprvTitle</title></name></practitioner></approvedBy><dateCreated><literal>20111231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:testSuite name="DBQ Read By Patient"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Patient and Modifiers Read Test" searchProperties="true" id="6096b528-5e0f-4b35-8d9b-b633cab0db6d"><con:settings/><con:testStep type="groovy" name="Setup Test Data" id="4ee40e10-c017-4b4a-983c-5e98ec4f63e1"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';


context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 
context.CREATED_DATE2 = '20011231170000-0700';
context.DOCUMENT_TYPE2 = 'Ischemic_Heart_Disease';

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 
context.CREATED_DATE3 = '20051231170000-0700';
context.DOCUMENT_TYPE3 = 'Hematologic_and_Lymphatic_Conditions';

context.CLIENT_REQUEST_INIT_TIME4 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID4  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY4 = UUID.randomUUID().toString(); 
context.CREATED_DATE4 = '20101231170000-0700';
context.DOCUMENT_TYPE4 = 'Parkinson\'s_Disease';
context.PATIENT_ID4 = UUID.randomUUID().toString();


context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID3 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID4 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID5 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID6 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID7 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID8 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID9 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID10 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID11 = UUID.randomUUID().toString();

context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1" id="3b259778-a3fe-4b09-af6b-4b8fd31df927"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
		          <approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2" id="e6fec389-62bf-4428-a88d-f1bef44daa86"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE2}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
		          <approvedFlag>${APPROVED_FLAG_2}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid3" id="78dd92a7-bdce-437b-950b-4833f81dce3d"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid3" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
   <templateId>DBQCreate2</templateId>
   <clientName>SOAP UI</clientName>
   <clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
   <patient>
      <questionnaireResults>
         <questionnaireResult>
            <patient>
               <identifier>
                  <identity>${PATIENT_ID}</identity>
                  <assigningFacility>200HD</assigningFacility>
                  <assigningAuthority>USVHA</assigningAuthority>
               </identifier>
               <name>
                  <prefix>${PATIENT_NAME_PREFIX}</prefix>
                  <given>Given</given>
                  <middle>MiddleName</middle>
                  <family>FamilyName</family>
                  <suffix>Suffix</suffix>
                  <title>Title</title>
               </name>
            </patient>
            <dateCreated>
               <literal>${CREATED_DATE3}</literal>
            </dateCreated>
            <documentType>${DOCUMENT_TYPE3}</documentType>
            <initiatingSystem>SOAP UI</initiatingSystem>
            <documentIdentifier>
               <identity>${DOCUMENTIDENTIFIER_IDENTITY3}</identity>
               <namespaceId>402</namespaceId>
               <universalId>UID_13359111174322</universalId>
               <universalIdType>universalIdType</universalIdType>
            </documentIdentifier>
            <facilityIdentifier>
               <identity>OrganizationId</identity>
               <name>OrganizationName</name>
               <assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
            </facilityIdentifier>
            <approvedFlag>${APPROVED_FLAG}</approvedFlag>
            <approvedBy>
               <comment>Approved By Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </approvedBy>
            <author>
               <comment>Author Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </author>
            <detailXML>
<gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
	<id>6949</id>
	<version>0</version>
	<dateCreated class="sql-timestamp">2012-01-03 11:57:05.25</dateCreated>
	<dateModified class="sql-timestamp">2012-01-03 11:57:05.25</dateModified>
	<formType>FORM_TYPE_DBQ_HEM</formType>
	<vetSsn>190842394</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>ONLINE</documentChannelType>
	<formFileNetStatus>
		<id>5180</id>
		<version>1</version>
		<dateCreated class="sql-timestamp">2012-01-03 11:57:05.3</dateCreated>
		<dateModified>2012-01-03 11:57:40.556 EST</dateModified>
		<formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>
		<formEntity class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
	</formFileNetStatus>
	<webFormType>HEM_DBQ</webFormType>
	<veteranFirstName>Delete</veteranFirstName>
	<veteranLastName>Delete</veteranLastName>
	<physicianFirstName>Doctor</physicianFirstName>
	<physicianLastName>HEM</physicianLastName>
	<medicalLicenseNumber>123</medicalLicenseNumber>
	<country>US</country>
	<addressLine1>1 Address</addressLine1>
	<addressLine2/>
	<addressLine3/>
	<city>Town</city>
	<state>KANSAS</state>
	<zip>23455</zip>
	<physicianPhoneNumber>3256246436</physicianPhoneNumber>
	<privacyActAck>true</privacyActAck>
	<physicianSignature>true</physicianSignature>
	<impactsAbilityToWork>true</impactsAbilityToWork>
	<impactDescription/>
	<remarks/>
	<dateSigned class="sql-timestamp">2012-01-03 11:57:05.25</dateSigned>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">7777</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<medications class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</medications>
	<diagnosticTests class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnosticTests>
	<hasHemicLymphatic>true</hasHemicLymphatic>
	<hasALL>false</hasALL>
	<hasAML>false</hasAML>
	<hasCML>false</hasCML>
	<hasCLL>false</hasCLL>
	<hasHodgkins>false</hasHodgkins>
	<hasNonHodgkins>false</hasNonHodgkins>
	<hasMyeloma>true</hasMyeloma>
	<myelomaICD/>
	<hasMyeloSyndrome>false</hasMyeloSyndrome>
	<hasPlasmacytoma>false</hasPlasmacytoma>
	<hasAnemia>false</hasAnemia>
	<hasThrombo>false</hasThrombo>
	<hasPolycythemia>false</hasPolycythemia>
	<hasSickleCell>false</hasSickleCell>
	<hasSplenectomy>false</hasSplenectomy>
	<hasBCellLeukemia>false</hasBCellLeukemia>
	<hasOtherDiagnosis>false</hasOtherDiagnosis>
	<briefHistory/>
	<diseaseStatus>ACTIVE</diseaseStatus>
	<continuousMedication>false</continuousMedication>
	<treatmentStatus>NO_TREATMENT_WATCHFUL_WAITING</treatmentStatus>
	<transfusion>false</transfusion>
	<findings>false</findings>
	<recurringInfections>false</recurringInfections>
	<diagRelatedScar>false</diagRelatedScar>
	<otherPertinentFinding>false</otherPertinentFinding>
	<labTesting>false</labTesting>
	<otherSignificantResults>false</otherSignificantResults>
</gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
</detailXML>
         </questionnaireResult>
      </questionnaireResults>
   </patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID3}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient" id="5fca995d-7390-4f83-8af4-8b37dba928bb"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient" id="ffc9800c-75d3-4981-90a0-cb7768fc8718"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "3"</script></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section &amp; Extract Record Ids" id="fdb4eed1-5fb2-4d21-9c2f-43502a2d9e03"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read All By Patient</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" transferChildNodes="false" useXQuery="false" transferToAll="false" entitize="false" ignoreEmpty="false"><con:name>ExtractRecordId1</con:name><con:sourceType>CDataSection</con:sourceType><con:sourceStep>#TestCase#</con:sourceStep><con:sourcePath>//questionnaireResult[1]/recordIdentifier/identity</con:sourcePath><con:targetType>RecordId1</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" disabled="false" entitize="false" ignoreEmpty="false" transferChildNodes="false" transferToAll="false" useXQuery="false"><con:name>ExtractRecordId2</con:name><con:sourceType>CDataSection</con:sourceType><con:sourceStep>#TestCase#</con:sourceStep><con:sourcePath>//questionnaireResult[2]/recordIdentifier/identity</con:sourcePath><con:targetType>RecordId2</con:targetType><con:targetStep>#TestCase#</con:targetStep><con:targetPath xsi:nil="true"/></con:transfers><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true"><con:name>ExtractRecordId3</con:name><con:sourceType>CDataSection</con:sourceType><con:sourceStep>#TestCase#</con:sourceStep><con:sourcePath>//questionnaireResult[3]/recordIdentifier/identity</con:sourcePath><con:targetType>RecordId3</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Patient And XPath"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Patient And XPath"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathFilter>
			<expression>count(//diagnoses) > 1</expression>
		</xpathFilter>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Patient And XPath"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Patient And XPath#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Patient And XPath Multiple Records"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Patient And XPath Multiple Records"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathFilter>
			<expression>//diagnoses[key='7553']</expression>
		</xpathFilter>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Patient And XPath Multiple Records"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Patient And XPath Multiple Records#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "2"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Patient And Invalid XPath"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Patient And Invalid XPath"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathFilter>
			<expression>count(//diagnoses > 1</expression>
		</xpathFilter>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Patient And Invalid XPath"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Patient And Invalid XPath#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "0"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Patient And Date Range" id="24ac1041-2f9a-4d84-89c1-d309e8a0bf8f"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Patient And Date Range"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2004-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID2}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check DBQ List Read By Patient And Date Range" id="69ba4092-9126-42c4-813e-9dbb86a85493"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Patient And Date Range#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Patient And Invalid Date Range" id="e04068ed-3318-4683-9da0-0084a19c7704"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Patient And Invalid Date Range"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2004</startDate>
		<endDate>2012</endDate>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID3}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check DBQ List Read By Patient And Invalid Date Range" id="e8484134-e5d3-4371-9648-4d947c1c12dd"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Patient And Invalid Date Range#Response" ) ;
def content = soapResponseHolder["//out"] ;

content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["//fatalErrors/fatalError/errorCode"]
def fatalErrorCount = holder["count(//fatalErrors/fatalError)"]
assert recordCount == "INVALID_FILTER_SCHEMA"
assert fatalErrorCount == '1'</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient (EdiPi)"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient (EdiPi)"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<EdiPi>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</EdiPi>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:assertion type="Simple NotContains" name="Not Contains"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient (EdiPi)"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient (EdiPi)#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "3"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>e8e53608-c621-4546-af0a-9b8d871a5328</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>c875c0cb-4c6e-4302-aee1-6eaabe127257</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>c875c0cb-4c6e-4302-aee1-6eaabe127257</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>c875c0cb-4c6e-4302-aee1-6eaabe127257</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>161</identity></recordIdentifier><documentIdentifier><identity>733ea892-7481-4dd0-b029-785e11295b0f</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19991231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>c875c0cb-4c6e-4302-aee1-6eaabe127257</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>162</identity></recordIdentifier><documentIdentifier><identity>94d8f0ab-2bd3-4d7d-a4dc-a3692040a680</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME_2</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20011231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>c875c0cb-4c6e-4302-aee1-6eaabe127257</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>163</identity></recordIdentifier><documentIdentifier><identity>4589a0a5-90e0-4d5a-8b8d-93414461e30c</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20051231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><totalResultCount>3</totalResultCount></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>161</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>162</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>163</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>1024</con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Read By EDI PI" searchProperties="true" id="a83b9d72-147f-4c20-a99a-e73e556a88c1"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_EDIPI = '1122334455'
context.PATIENT_ASSIGNING_FACILITY = '200DOD';
context.PATIENT_ASSIGNING_AUTHORITY = 'USDOD';


context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';

context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_EDIPI}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient EDI PI"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient EDI PI"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<EdiPi>
			<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
			<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
			<identity>${PATIENT_EDIPI}</identity>
		</EdiPi>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains Local ID"><con:configuration><token>${PATIENT_LOCAL_ID}</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient EDI PI"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient EDI PI#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = Integer.parseInt(holder["count(//recordIdentifier)"])
assert recordCount >= 1
</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>2c62515d-11b2-429b-8b5c-2008eb509ef1</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>110</identity></recordIdentifier><documentIdentifier><identity>9acb9f84-0078-422c-a923-3988e7fc4020</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19991231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>111</identity></recordIdentifier><documentIdentifier><identity>58bfd380-d242-413f-97c2-9e6e9e9d20f1</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20011231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>112</identity></recordIdentifier><documentIdentifier><identity>9d8b0aea-c48d-455c-97e4-9f364f60acb6</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20051231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>110</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>111</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>112</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>113</con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Read By NationalId" searchProperties="true" id="db2fe2ef-a1fa-4711-861e-39f48d675827"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_NATIONAL_ID = '1008523096V381537';
context.PATIENT_LOCAL_ID = '110001413';
context.PATIENT_ASSIGNING_FACILITY = '553';
context.PATIENT_ASSIGNING_AUTHORITY = 'USVHA';


context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';

context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_LOCAL_ID}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient NationalId"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient NationalId"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<NationalId>${PATIENT_NATIONAL_ID}</NationalId>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains Local ID"><con:configuration><token>${PATIENT_LOCAL_ID}</token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient NationalId"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient NationalId#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = Integer.parseInt(holder["count(//recordIdentifier)"])

assert recordCount >= 1;
</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>2c62515d-11b2-429b-8b5c-2008eb509ef1</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>110</identity></recordIdentifier><documentIdentifier><identity>9acb9f84-0078-422c-a923-3988e7fc4020</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19991231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>111</identity></recordIdentifier><documentIdentifier><identity>58bfd380-d242-413f-97c2-9e6e9e9d20f1</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20011231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>112</identity></recordIdentifier><documentIdentifier><identity>9d8b0aea-c48d-455c-97e4-9f364f60acb6</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20051231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>110</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>111</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>112</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>113</con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Read By SSN" searchProperties="true" id="00362a2f-4488-4e5d-af77-f6edc9f0b933"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_SSN = UUID.randomUUID().toString();
context.PATIENT_ASSIGNING_FACILITY = '200SSA';
context.PATIENT_ASSIGNING_AUTHORITY = 'USSN';


context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';

context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 
context.CREATED_DATE2 = '20011231170000-0700';

context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.DOCUMENT_TYPE_2 = context.DOCUMENT_TYPE + "_2";
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_SSN}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_SSN}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE_2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG_2}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient SSN"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient SSN"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
			<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
			<identity>${PATIENT_SSN}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:assertion type="Simple NotContains" name="Not Contains"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient SSN"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient SSN#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "2"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>2c62515d-11b2-429b-8b5c-2008eb509ef1</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>110</identity></recordIdentifier><documentIdentifier><identity>9acb9f84-0078-422c-a923-3988e7fc4020</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19991231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>111</identity></recordIdentifier><documentIdentifier><identity>58bfd380-d242-413f-97c2-9e6e9e9d20f1</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20011231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>112</identity></recordIdentifier><documentIdentifier><identity>9d8b0aea-c48d-455c-97e4-9f364f60acb6</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20051231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>110</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>111</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>112</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>113</con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ XPath Extractor Test" searchProperties="true" id="7d32ecb6-512c-4367-9158-5cc2f339843f"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.panels.testcase.JTestRunLog$OptionsForm@max_rows">1000</con:setting><con:setting id="com.eviware.soapui.impl.wsdl.panels.testcase.JTestRunLog$OptionsForm@errors_only">false</con:setting></con:settings><con:testStep type="groovy" name="Setup Test Data" id="3ac448a1-151d-4c4f-b73f-1132eda2d453"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';


context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 
context.CREATED_DATE2 = '20011231170000-0700';
context.DOCUMENT_TYPE2 = 'Ischemic_Heart_Disease';

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 
context.CREATED_DATE3 = '20051231170000-0700';
context.DOCUMENT_TYPE3 = 'Hematologic_and_Lymphatic_Conditions';

context.CLIENT_REQUEST_INIT_TIME4 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID4  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY4 = UUID.randomUUID().toString(); 
context.CREATED_DATE4 = '20101231170000-0700';
context.DOCUMENT_TYPE4 = 'Parkinson\'s_Disease';
context.PATIENT_ID4 = UUID.randomUUID().toString();


context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID3 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID4 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID5 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID6 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID7 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID8 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID9 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID10 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID11 = UUID.randomUUID().toString();

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.DOCUMENT_TYPE_2 = context.DOCUMENT_TYPE + "_2";
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1" id="e765111e-b993-40ca-b51a-cc18cfa00f2b"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
   <templateId>DBQCreate2</templateId>
   <clientName>SOAP UI</clientName>
   <clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
   <patient>
      <questionnaireResults>
         <questionnaireResult>
            <patient>
               <identifier>
                  <identity>${PATIENT_ID}</identity>
                  <assigningFacility>200HD</assigningFacility>
                  <assigningAuthority>USVHA</assigningAuthority>
               </identifier>
               <name>
                  <prefix>${PATIENT_NAME_PREFIX}</prefix>
                  <given>Given</given>
                  <middle>MiddleName</middle>
                  <family>FamilyName</family>
                  <suffix>Suffix</suffix>
                  <title>Title</title>
               </name>
            </patient>
            <dateCreated>
               <literal>${CREATED_DATE}</literal>
            </dateCreated>
            <documentType>${DOCUMENT_TYPE}</documentType>
            <initiatingSystem>SOAP UI</initiatingSystem>
            <documentIdentifier>
               <identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
               <namespaceId>402</namespaceId>
               <universalId>UID_13359111174322</universalId>
               <universalIdType>universalIdType</universalIdType>
            </documentIdentifier>
            <facilityIdentifier>
               <identity>OrganizationId</identity>
               <name>OrganizationName</name>
               <assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
            </facilityIdentifier>
            <approvedFlag>${APPROVED_FLAG}</approvedFlag>
            <approvedBy>
               <comment>Approved By Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </approvedBy>
            <author>
               <comment>Author Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </author>
            <detailXML><gov.va.agentorange.fasttrack.model.dbq.luk.HairyCellLeukemia>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7777</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.luk.HairyCellLeukemia></detailXML>
         </questionnaireResult>
      </questionnaireResults>
   </patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2" id="ae68b676-97ae-4638-9332-61a4fc893c01"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE2}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid3" id="153f190f-3a33-4665-a8c3-8b32d10b41d6"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid3" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
   <templateId>DBQCreate2</templateId>
   <clientName>SOAP UI</clientName>
   <clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
   <patient>
      <questionnaireResults>
         <questionnaireResult>
            <patient>
               <identifier>
                  <identity>${PATIENT_ID}</identity>
                  <assigningFacility>200HD</assigningFacility>
                  <assigningAuthority>USVHA</assigningAuthority>
               </identifier>
               <name>
                  <prefix>${PATIENT_NAME_PREFIX}</prefix>
                  <given>Given</given>
                  <middle>MiddleName</middle>
                  <family>FamilyName</family>
                  <suffix>Suffix</suffix>
                  <title>Title</title>
               </name>
            </patient>
            <dateCreated>
               <literal>${CREATED_DATE3}</literal>
            </dateCreated>
            <documentType>${DOCUMENT_TYPE3}</documentType>
            <initiatingSystem>SOAP UI</initiatingSystem>
            <documentIdentifier>
               <identity>${DOCUMENTIDENTIFIER_IDENTITY3}</identity>
               <namespaceId>402</namespaceId>
               <universalId>UID_13359111174322</universalId>
               <universalIdType>universalIdType</universalIdType>
            </documentIdentifier>
            <facilityIdentifier>
               <identity>OrganizationId</identity>
               <name>OrganizationName</name>
               <assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
            </facilityIdentifier>
            <approvedFlag>APPROVED</approvedFlag>
            <approvedBy>
               <comment>Approved By Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </approvedBy>
            <author>
               <comment>Author Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </author>
            <detailXML>
<gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
	<id>6949</id>
	<version>0</version>
	<dateCreated class="sql-timestamp">2012-01-03 11:57:05.25</dateCreated>
	<dateModified class="sql-timestamp">2012-01-03 11:57:05.25</dateModified>
	<formType>FORM_TYPE_DBQ_HEM</formType>
	<vetSsn>190842394</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>ONLINE</documentChannelType>
	<formFileNetStatus>
		<id>5180</id>
		<version>1</version>
		<dateCreated class="sql-timestamp">2012-01-03 11:57:05.3</dateCreated>
		<dateModified>2012-01-03 11:57:40.556 EST</dateModified>
		<formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>
		<formEntity class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
	</formFileNetStatus>
	<webFormType>HEM_DBQ</webFormType>
	<veteranFirstName>Delete</veteranFirstName>
	<veteranLastName>Delete</veteranLastName>
	<physicianFirstName>Doctor</physicianFirstName>
	<physicianLastName>HEM</physicianLastName>
	<medicalLicenseNumber>123</medicalLicenseNumber>
	<country>US</country>
	<addressLine1>1 Address</addressLine1>
	<addressLine2/>
	<addressLine3/>
	<city>Town</city>
	<state>KANSAS</state>
	<zip>23455</zip>
	<physicianPhoneNumber>3256246436</physicianPhoneNumber>
	<privacyActAck>true</privacyActAck>
	<physicianSignature>true</physicianSignature>
	<impactsAbilityToWork>true</impactsAbilityToWork>
	<impactDescription/>
	<remarks/>
	<dateSigned class="sql-timestamp">2012-01-03 11:57:05.25</dateSigned>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<medications class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</medications>
	<diagnosticTests class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnosticTests>
	<hasHemicLymphatic>true</hasHemicLymphatic>
	<hasALL>false</hasALL>
	<hasAML>false</hasAML>
	<hasCML>false</hasCML>
	<hasCLL>false</hasCLL>
	<hasHodgkins>false</hasHodgkins>
	<hasNonHodgkins>false</hasNonHodgkins>
	<hasMyeloma>true</hasMyeloma>
	<myelomaICD/>
	<hasMyeloSyndrome>false</hasMyeloSyndrome>
	<hasPlasmacytoma>false</hasPlasmacytoma>
	<hasAnemia>false</hasAnemia>
	<hasThrombo>false</hasThrombo>
	<hasPolycythemia>false</hasPolycythemia>
	<hasSickleCell>false</hasSickleCell>
	<hasSplenectomy>false</hasSplenectomy>
	<hasBCellLeukemia>false</hasBCellLeukemia>
	<hasOtherDiagnosis>false</hasOtherDiagnosis>
	<briefHistory/>
	<diseaseStatus>ACTIVE</diseaseStatus>
	<continuousMedication>false</continuousMedication>
	<treatmentStatus>NO_TREATMENT_WATCHFUL_WAITING</treatmentStatus>
	<transfusion>false</transfusion>
	<findings>false</findings>
	<recurringInfections>false</recurringInfections>
	<diagRelatedScar>false</diagRelatedScar>
	<otherPertinentFinding>false</otherPertinentFinding>
	<labTesting>false</labTesting>
	<otherSignificantResults>false</otherSignificantResults>
</gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
</detailXML>
         </questionnaireResult>
      </questionnaireResults>
   </patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID3}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By XPath Filter" id="0b1c62cb-32a7-42ce-9181-e9448e3d4877"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By XPath Filter"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQXmlRead2</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathExtractor>
			<expression>//diagnoses</expression>
		</xpathExtractor>
		<xpathFilter>
			<expression>//diagnoses[key='7553']</expression>
		</xpathFilter>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Validate List Read All By XPath Filter" id="b507a738-3a8a-41c9-9254-214444216d9b"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By XPath Filter#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "2"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All With Extract" id="693569a3-df40-4e22-852e-1e688c3c4fcf"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All With Extract"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQXmlRead2</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathExtractor>
			<expression>//vetSsn</expression>
		</xpathExtractor>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Validate List Read All With Extract" id="ea4f7150-6a55-405e-ab80-804932c7781d"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All With Extract#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "3"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read With Extract Form Type" id="f4b9549a-44e8-42be-942d-16743842368d"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read With Extract Form Type"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQXmlRead2</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathExtractor>
			<expression>//formType</expression>
		</xpathExtractor>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read With Extract Double Diagnosis" id="a5d58849-0651-4572-bb7f-ffbf12399e4d"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read With Extract Double Diagnosis"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQXmlRead2</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathExtractor>
			<expression>//diagnoses</expression>
		</xpathExtractor>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read With Extract Multiple Nodes" id="376428fd-ac03-4e05-99d4-32edf028c0e2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read With Extract Multiple Nodes"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQXmlRead2</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathExtractor>
			<expression>//zip|//physicianPhoneNumber|//veteranFirstName|//veteranLastName</expression>
		</xpathExtractor>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Print Log" id="b98672b6-94f5-4ef2-a111-0d3c7772ac83"><con:settings/><con:config><script>/*import com.eviware.soapui.support.XmlHolder 
import groovy.xml.XmlUtil


def createFolder() {   
	def dateFormat = new java.text.SimpleDateFormat('MMddyyyy')   
	Date startTime = new Date();
	def shortDate = dateFormat.format(startTime) 
	def cur_Time = shortDate;
 	cur_Time = cur_Time + "_" + startTime.getHours() + startTime.getMinutes() +startTime.getSeconds()
	outputFolder = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "TEST_RESULTS_FOLDER" ) + cur_Time   
	createFolder = new File(outputFolder)   
	createFolder.mkdir()
	return outputFolder + "\\"
} 
def writeXmlToFile(response, inputFile) {
	if(response != null) {
	response = response.replaceAll( "&lt;\\?xml version=\"1.0\" encoding=\"UTF-8\"\\?>", "" )
		response = response.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
		response = response.replaceAll( "]]]]&gt;>", "" )
		response = response.replaceAll( "]]&gt;", "" )
		inputFile.write(XmlUtil.serialize(response));
	}
}
def outputFolder = createFolder();
//Define the object for the collection of requests in the soapUI test case
def soapuiRequests = testRunner.testCase.getTestStepsOfType(com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep )
//Groovy Script to loop through each requests in the test case.
soapuiRequests.each{
 //Creating file name using current date and time
 	def fileName = it.name
	def inputFileRequest = new File(outputFolder + "Request_" + fileName+".xml")
	def inputFileResponse = new File(outputFolder + "Response_" + fileName+".xml")
	//Writing soapUI response to the file
	def response = context.testCase.getTestStepByName(it.name).getProperty("response").value
	writeXmlToFile(response, inputFileResponse);
	//Writing soapUI request to the file
	def request = context.testCase.getTestStepByName(it.name).getProperty("request").value
	writeXmlToFile(request, inputFileRequest);
}
*/</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By XPath Filter (EdiPi)"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By XPath Filter (EdiPi)"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQXmlRead2</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<EdiPi>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</EdiPi>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathExtractor>
			<expression>//diagnoses</expression>
		</xpathExtractor>
		<xpathFilter>
			<expression>//diagnoses[key='7553']</expression>
		</xpathFilter>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Validate List Read All By XPath Filter (EdiPi)"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By XPath Filter (EdiPi)#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "2"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>70ee8398-96fa-42bb-8ee2-667cf8f03b7a</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>102</identity></recordIdentifier><documentIdentifier><identity>f522bfc2-4609-482e-b5f3-058ddcff5e0b</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>2000-01-01 00:00:00</literal></dateCreated><previewXML><![CDATA[<vetSsn>941288701</vetSsn>]]]]>><![CDATA[</previewXML><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>103</identity></recordIdentifier><documentIdentifier><identity>1c3b83ea-7485-4505-8bf9-91dc74ef7d43</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>2002-01-01 00:00:00</literal></dateCreated><previewXML><![CDATA[]]]]>><![CDATA[</previewXML><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>104</identity></recordIdentifier><documentIdentifier><identity>a68ed595-a00b-4784-85e2-5f20955c8206</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>2006-01-01 00:00:00</literal></dateCreated><previewXML><![CDATA[]]]]>><![CDATA[</previewXML><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>102</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>103</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>104</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>105</con:value></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:testSuite name="DBQ Detail Read Test Suite"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ By Document Filter Test" searchProperties="true" id="cfef19f9-d57d-4964-9101-18a4e0d031de"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.PATIENT_ID = UUID.randomUUID().toString();

context.DOCUMENTIDENTIFIER_NAMESPACEID = '402';
context.DOCUMENTIDENTIFIER_UNIVERSALID = 'UID_13359111174322';
context.DOCUMENTIDENTIFIER_UNIVERSTYP = 'universalIdType';

context.FACILITY_IDENTITY = UUID.randomUUID().toString();
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_NAME = 'OrganizationName';
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Ischemic_Heart_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Document"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Document"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQDetailRead2</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_DETAIL_DATA_FILTER2.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_DETAIL_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByDocumentId" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<documentIdentifier>
				<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
				<namespaceId>${DOCUMENTIDENTIFIER_NAMESPACEID}</namespaceId>
				<universalId>${DOCUMENTIDENTIFIER_UNIVERSALID}</universalId>
				<universalIdType>${DOCUMENTIDENTIFIER_UNIVERSTYP}</universalIdType>
			</documentIdentifier>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_DETAIL_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By Document</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE DETAIL Record Returned"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"

def detailXMLCount = holder["count(//detailXML)"]
assert detailXMLCount == "1"
</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Document - Identity Only"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Document - Identity Only"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQDetailRead2</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_DETAIL_DATA_FILTER2.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_DETAIL_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByDocumentId" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<documentIdentifier>
				<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
				<namespaceId/>
				<universalId/>
				<universalIdType/>
			</documentIdentifier>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_DETAIL_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - Identity Only"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By Document</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE DETAIL Record Returned - Identity Only"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"

def detailXMLCount = holder["count(//detailXML)"]
assert detailXMLCount == "1"
</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQDetailRead2</templateId><requestId>1d3848c5-4cbd-4ee5-b6a6-ef034c5f5f4e</requestId><patients><patient><questionnaireResults><questionnaireResult><patient><identifier><identity>ec49f0c3-dc22-4582-bce3-c7bb0051616f</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>171</identity></recordIdentifier><documentIdentifier><identity>757d8770-a30a-4195-8bca-34c0f0c38aa4</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>2c0fa3cd-8fc8-4dfc-9e3c-bac787bcde1d</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>    <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>        <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2/>  <addressLine3/>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks/>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML><dateCreated><literal>19691231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><totalResultCount>1</totalResultCount></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Master Detail Read Test" searchProperties="true" id="1ddcc130-40bc-41fb-b558-f991f45f5fb3"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';


context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 
context.CREATED_DATE2 = '20011231170000-0700';
context.DOCUMENT_TYPE2 = 'Ischemic_Heart_Disease';

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 
context.CREATED_DATE3 = '20051231170000-0700';
context.DOCUMENT_TYPE3 = 'Hematologic_and_Lymphatic_Conditions';

context.CLIENT_REQUEST_INIT_TIME4 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID4  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY4 = UUID.randomUUID().toString(); 
context.CREATED_DATE4 = '20101231170000-0700';
context.DOCUMENT_TYPE4 = 'Parkinson\'s_Disease';
context.PATIENT_ID4 = UUID.randomUUID().toString();


context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID3 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID4 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID5 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID6 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID7 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID8 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID9 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID10 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID11 = UUID.randomUUID().toString();

context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
		          <approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE2}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
		          <approvedFlag>${APPROVED_FLAG_2}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid3" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
   <templateId>DBQCreate2</templateId>
   <clientName>SOAP UI</clientName>
   <clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
   <patient>
      <questionnaireResults>
         <questionnaireResult>
            <patient>
               <identifier>
                  <identity>${PATIENT_ID}</identity>
                  <assigningFacility>200HD</assigningFacility>
                  <assigningAuthority>USVHA</assigningAuthority>
               </identifier>
               <name>
                  <prefix>${PATIENT_NAME_PREFIX}</prefix>
                  <given>Given</given>
                  <middle>MiddleName</middle>
                  <family>FamilyName</family>
                  <suffix>Suffix</suffix>
                  <title>Title</title>
               </name>
            </patient>
            <dateCreated>
               <literal>${CREATED_DATE3}</literal>
            </dateCreated>
            <documentType>${DOCUMENT_TYPE3}</documentType>
            <initiatingSystem>SOAP UI</initiatingSystem>
            <documentIdentifier>
               <identity>${DOCUMENTIDENTIFIER_IDENTITY3}</identity>
               <namespaceId>402</namespaceId>
               <universalId>UID_13359111174322</universalId>
               <universalIdType>universalIdType</universalIdType>
            </documentIdentifier>
            <facilityIdentifier>
               <identity>OrganizationId</identity>
               <name>OrganizationName</name>
               <assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
            </facilityIdentifier>
            <approvedFlag>${APPROVED_FLAG}</approvedFlag>
            <approvedBy>
               <comment>Approved By Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </approvedBy>
            <author>
               <comment>Author Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </author>
            <detailXML>
<gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
	<id>6949</id>
	<version>0</version>
	<dateCreated class="sql-timestamp">2012-01-03 11:57:05.25</dateCreated>
	<dateModified class="sql-timestamp">2012-01-03 11:57:05.25</dateModified>
	<formType>FORM_TYPE_DBQ_HEM</formType>
	<vetSsn>190842394</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>ONLINE</documentChannelType>
	<formFileNetStatus>
		<id>5180</id>
		<version>1</version>
		<dateCreated class="sql-timestamp">2012-01-03 11:57:05.3</dateCreated>
		<dateModified>2012-01-03 11:57:40.556 EST</dateModified>
		<formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>
		<formEntity class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
	</formFileNetStatus>
	<webFormType>HEM_DBQ</webFormType>
	<veteranFirstName>Delete</veteranFirstName>
	<veteranLastName>Delete</veteranLastName>
	<physicianFirstName>Doctor</physicianFirstName>
	<physicianLastName>HEM</physicianLastName>
	<medicalLicenseNumber>123</medicalLicenseNumber>
	<country>US</country>
	<addressLine1>1 Address</addressLine1>
	<addressLine2/>
	<addressLine3/>
	<city>Town</city>
	<state>KANSAS</state>
	<zip>23455</zip>
	<physicianPhoneNumber>3256246436</physicianPhoneNumber>
	<privacyActAck>true</privacyActAck>
	<physicianSignature>true</physicianSignature>
	<impactsAbilityToWork>true</impactsAbilityToWork>
	<impactDescription/>
	<remarks/>
	<dateSigned class="sql-timestamp">2012-01-03 11:57:05.25</dateSigned>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">7777</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<medications class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</medications>
	<diagnosticTests class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnosticTests>
	<hasHemicLymphatic>true</hasHemicLymphatic>
	<hasALL>false</hasALL>
	<hasAML>false</hasAML>
	<hasCML>false</hasCML>
	<hasCLL>false</hasCLL>
	<hasHodgkins>false</hasHodgkins>
	<hasNonHodgkins>false</hasNonHodgkins>
	<hasMyeloma>true</hasMyeloma>
	<myelomaICD/>
	<hasMyeloSyndrome>false</hasMyeloSyndrome>
	<hasPlasmacytoma>false</hasPlasmacytoma>
	<hasAnemia>false</hasAnemia>
	<hasThrombo>false</hasThrombo>
	<hasPolycythemia>false</hasPolycythemia>
	<hasSickleCell>false</hasSickleCell>
	<hasSplenectomy>false</hasSplenectomy>
	<hasBCellLeukemia>false</hasBCellLeukemia>
	<hasOtherDiagnosis>false</hasOtherDiagnosis>
	<briefHistory/>
	<diseaseStatus>ACTIVE</diseaseStatus>
	<continuousMedication>false</continuousMedication>
	<treatmentStatus>NO_TREATMENT_WATCHFUL_WAITING</treatmentStatus>
	<transfusion>false</transfusion>
	<findings>false</findings>
	<recurringInfections>false</recurringInfections>
	<diagRelatedScar>false</diagRelatedScar>
	<otherPertinentFinding>false</otherPertinentFinding>
	<labTesting>false</labTesting>
	<otherSignificantResults>false</otherSignificantResults>
</gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
</detailXML>
         </questionnaireResult>
      </questionnaireResults>
   </patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID3}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "3"</script></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section &amp; Extract Record Ids"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read All By Patient</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" transferChildNodes="false" useXQuery="false" transferToAll="false" entitize="false" ignoreEmpty="false"><con:name>ExtractRecordId1</con:name><con:sourceType>CDataSection</con:sourceType><con:sourceStep>#TestCase#</con:sourceStep><con:sourcePath>//questionnaireResult[1]/recordIdentifier/identity</con:sourcePath><con:targetType>RecordId1</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" disabled="false" entitize="false" ignoreEmpty="false" transferChildNodes="false" transferToAll="false" useXQuery="false"><con:name>ExtractRecordId2</con:name><con:sourceType>CDataSection</con:sourceType><con:sourceStep>#TestCase#</con:sourceStep><con:sourcePath>//questionnaireResult[2]/recordIdentifier/identity</con:sourcePath><con:targetType>RecordId2</con:targetType><con:targetStep>#TestCase#</con:targetStep><con:targetPath xsi:nil="true"/></con:transfers><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true"><con:name>ExtractRecordId3</con:name><con:sourceType>CDataSection</con:sourceType><con:sourceStep>#TestCase#</con:sourceStep><con:sourcePath>//questionnaireResult[3]/recordIdentifier/identity</con:sourcePath><con:targetType>RecordId3</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="request" name="DBQ Detail Read By Single Record ID"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ Detail Read By Single Record ID"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQDetailRead2</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2012 rel. 2 sp1 (http://www.altova.com)-->
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Detail_Data_Filter2.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_DETAIL_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ID_1" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<recordIdentifier>${#TestCase#RecordId1}</recordIdentifier>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>DBQ_DETAIL_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID6}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check DBQ Detail Read By Single Record ID"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ Detail Read By Single Record ID#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid4 - Additional Patient"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid4 - Additional Patient" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
   <templateId>DBQCreate2</templateId>
   <clientName>SOAP UI</clientName>
   <clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
   <patient>
      <questionnaireResults>
         <questionnaireResult>
            <patient>
               <identifier>
                  <identity>${PATIENT_ID4}</identity>
                  <assigningFacility>200HD</assigningFacility>
                  <assigningAuthority>USVHA</assigningAuthority>
               </identifier>
               <name>
                  <prefix>${PATIENT_NAME_PREFIX}</prefix>
                  <given>Given</given>
                  <middle>MiddleName</middle>
                  <family>FamilyName</family>
                  <suffix>Suffix</suffix>
                  <title>Title</title>
               </name>
            </patient>
            <dateCreated>
               <literal>${CREATED_DATE4}</literal>
            </dateCreated>
            <documentType>${DOCUMENT_TYPE4}</documentType>
            <initiatingSystem>SOAP UI</initiatingSystem>
            <documentIdentifier>
               <identity>${DOCUMENTIDENTIFIER_IDENTITY4}</identity>
               <namespaceId>402</namespaceId>
               <universalId>UID_13359111174322</universalId>
               <universalIdType>universalIdType</universalIdType>
            </documentIdentifier>
            <facilityIdentifier>
               <identity>OrganizationId</identity>
               <name>OrganizationName</name>
               <assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
            </facilityIdentifier>
            <approvedFlag>APPROVED</approvedFlag>
            <approvedBy>
               <comment>Approved By Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </approvedBy>
            <author>
               <comment>Author Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </author>
            <detailXML>
<gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
	<id>6949</id>
	<version>0</version>
	<dateCreated class="sql-timestamp">2012-01-03 11:57:05.25</dateCreated>
	<dateModified class="sql-timestamp">2012-01-03 11:57:05.25</dateModified>
	<formType>FORM_TYPE_DBQ_HEM</formType>
	<vetSsn>190842394</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>ONLINE</documentChannelType>
	<formFileNetStatus>
		<id>5180</id>
		<version>1</version>
		<dateCreated class="sql-timestamp">2012-01-03 11:57:05.3</dateCreated>
		<dateModified>2012-01-03 11:57:40.556 EST</dateModified>
		<formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>
		<formEntity class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
	</formFileNetStatus>
	<webFormType>HEM_DBQ</webFormType>
	<veteranFirstName>Delete</veteranFirstName>
	<veteranLastName>Delete</veteranLastName>
	<physicianFirstName>Doctor</physicianFirstName>
	<physicianLastName>HEM</physicianLastName>
	<medicalLicenseNumber>123</medicalLicenseNumber>
	<country>US</country>
	<addressLine1>1 Address</addressLine1>
	<addressLine2/>
	<addressLine3/>
	<city>Town</city>
	<state>KANSAS</state>
	<zip>23455</zip>
	<physicianPhoneNumber>3256246436</physicianPhoneNumber>
	<privacyActAck>true</privacyActAck>
	<physicianSignature>true</physicianSignature>
	<impactsAbilityToWork>true</impactsAbilityToWork>
	<impactDescription/>
	<remarks/>
	<dateSigned class="sql-timestamp">2012-01-03 11:57:05.25</dateSigned>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<medications class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</medications>
	<diagnosticTests class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnosticTests>
	<hasHemicLymphatic>true</hasHemicLymphatic>
	<hasALL>false</hasALL>
	<hasAML>false</hasAML>
	<hasCML>false</hasCML>
	<hasCLL>false</hasCLL>
	<hasHodgkins>false</hasHodgkins>
	<hasNonHodgkins>false</hasNonHodgkins>
	<hasMyeloma>true</hasMyeloma>
	<myelomaICD/>
	<hasMyeloSyndrome>false</hasMyeloSyndrome>
	<hasPlasmacytoma>false</hasPlasmacytoma>
	<hasAnemia>false</hasAnemia>
	<hasThrombo>false</hasThrombo>
	<hasPolycythemia>false</hasPolycythemia>
	<hasSickleCell>false</hasSickleCell>
	<hasSplenectomy>false</hasSplenectomy>
	<hasBCellLeukemia>false</hasBCellLeukemia>
	<hasOtherDiagnosis>false</hasOtherDiagnosis>
	<briefHistory/>
	<diseaseStatus>ACTIVE</diseaseStatus>
	<continuousMedication>false</continuousMedication>
	<treatmentStatus>NO_TREATMENT_WATCHFUL_WAITING</treatmentStatus>
	<transfusion>false</transfusion>
	<findings>false</findings>
	<recurringInfections>false</recurringInfections>
	<diagRelatedScar>false</diagRelatedScar>
	<otherPertinentFinding>false</otherPertinentFinding>
	<labTesting>false</labTesting>
	<otherSignificantResults>false</otherSignificantResults>
</gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
</detailXML>
         </questionnaireResult>
      </questionnaireResults>
   </patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID4}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY4}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID4}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract Record Id4"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" disabled="false" entitize="false" ignoreEmpty="false" transferChildNodes="false" transferToAll="false" useXQuery="false"><con:name>ExtractRecordId4</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ Create Data - Valid4 - Additional Patient</con:sourceStep><con:sourcePath>//recordIdentifier/identity</con:sourcePath><con:targetType>RecordId4</con:targetType><con:targetStep>#TestCase#</con:targetStep><con:targetPath xsi:nil="true"/></con:transfers></con:config></con:testStep><con:testStep type="request" name="DBQ Detail Read By Unknown Record ID"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ Detail Read By Unknown Record ID"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQDetailRead2</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2012 rel. 2 sp1 (http://www.altova.com)-->
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_DETAIL_DATA_FILTER2.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_DETAIL_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ID_1" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<recordIdentifier>NotFoundRecordId</recordIdentifier>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>DBQ_DETAIL_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID6}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check DBQ Detail Read By Unknown Record ID"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ Detail Read By Unknown Record ID#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//questionnaireResult)"]
assert recordCount == "0"

</script></con:config></con:testStep><con:testStep type="groovy" name="Validate Log"><con:settings/><con:config><script>import groovy.sql.Sql;

def dbUrl = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_URL" );
def dbUser = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_USER" );
def dbPassword = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_PASSWORD" );

def db = [url:dbUrl,
          user:dbUser,
          password:dbPassword,
          driver:'oracle.jdbc.OracleDriver']

def sql = Sql.newInstance(db.url, db.user, db.password, db.driver);

// Check Audit for clientRequestInitiationTime and clientId
auditColumns = """FACILITY_ID, REQUEST_ID, RECEIVED_DATE_TIME, MESSAGE_DATE_TIME, MESSAGE_TYP, CLIENT_IDENTIFIER, TEMPLATE_NAME_ID, CLIENT_REQUEST_TM""";
auditRow = sql.rows("select ${auditColumns} from AUDIT_CLOB_STR a where REQUEST_ID = :request_id", 
					[request_id:context.REQUEST_ID]);
assert auditRow.size() == 2
for (row in auditRow) {
	assert row.CLIENT_IDENTIFIER == 'SOAP UI';
	assert row.CLIENT_REQUEST_TM == context.CLIENT_REQUEST_INIT_TIME;
}

auditColumns = """REQUEST_IDENTIFIER, TEMPLATE_NAME_ID, FILTER_NAME_ID""";
auditRow = sql.rows("select ${auditColumns} from CDS_AUDIT_LOG3 a where REQUEST_IDENTIFIER IN ( ${context.FILTER_REQUEST_ID1},${context.FILTER_REQUEST_ID2},${context.FILTER_REQUEST_ID4} )");
				
assert auditRow.size() == 1

</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>1f0fe481-bb22-46f7-bc03-47396ce63f37</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>fbffd8f3-7b96-4861-9032-558ba666c38a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>fbffd8f3-7b96-4861-9032-558ba666c38a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>fbffd8f3-7b96-4861-9032-558ba666c38a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>172</identity></recordIdentifier><documentIdentifier><identity>9b56b3ce-b65c-45f6-8d2c-61ff56c8acfc</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19991231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>fbffd8f3-7b96-4861-9032-558ba666c38a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>173</identity></recordIdentifier><documentIdentifier><identity>bffdde21-f0e1-400a-a203-ae3840550140</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME_2</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20011231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>fbffd8f3-7b96-4861-9032-558ba666c38a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>174</identity></recordIdentifier><documentIdentifier><identity>06c25ec5-43e7-4c2c-a0c7-92f8d879bb72</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20051231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><totalResultCount>3</totalResultCount></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>172</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>173</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>174</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>175</con:value></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:testSuite name="DBQ DocumentType Test Suite"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ DocumentType Patient List Read Test" searchProperties="true" id="364efe74-97c7-4ec4-816d-bfbd4652e868"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';


context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 
context.CREATED_DATE2 = '20011231170000-0700';

context.FILTER_REQUEST_ID4 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID5 = UUID.randomUUID().toString();</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
		          <approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE2}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
		          <approvedFlag>${APPROVED_FLAG_2}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Patient And Document Type"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Patient And Document Type"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID4}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check DBQ List Read By Patient And Document Type"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Patient And Document Type#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "2"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Patient Date Range And Document Type"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Patient Date Range And Document Type"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>1998-06-01-05:00</startDate>
		<endDate>2000-06-01-05:00</endDate>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID5}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check DBQ List Read By Patient Date Range And Document Type"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Patient Date Range And Document Type#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>9b93e16b-9b73-43da-ae77-49a584a6856e</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>34faf28a-67e8-4faf-a60f-2b24f89dfd1f</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>34faf28a-67e8-4faf-a60f-2b24f89dfd1f</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>34faf28a-67e8-4faf-a60f-2b24f89dfd1f</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>1021</identity></recordIdentifier><documentIdentifier><identity>c8e24e8f-98cd-4ebd-8c3b-b0f3741e82e2</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19991231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>34faf28a-67e8-4faf-a60f-2b24f89dfd1f</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>1022</identity></recordIdentifier><documentIdentifier><identity>a44c09a0-79bc-4907-a6a2-19d587ef98b2</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME_2</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20011231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>34faf28a-67e8-4faf-a60f-2b24f89dfd1f</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>1023</identity></recordIdentifier><documentIdentifier><identity>2a235685-3386-49a0-ac85-e2e8538115c8</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20051231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>1021</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>1022</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>1023</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>1024</con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Facility DocumentType Test" searchProperties="true" id="71f3c7ae-dbee-4c8f-b862-2d8962f2c39d"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 

context.FACILITY_IDENTITY = UUID.randomUUID().toString();
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_NAME = 'OrganizationName';

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.DOCUMENT_TYPE_2 = context.DOCUMENT_TYPE + "_2";
//log.info(context.DOCUMENT_TYPE_2);
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";

</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE_2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG_2}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid3" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME3}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY3}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID3}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility &amp; Date &amp; Doc Type"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility &amp; Date &amp; Doc Type"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_FILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - Facility &amp; Date &amp; Doc Type"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By Facility &amp; Date &amp; Doc Type</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE Records Returned"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility &amp; Doc Types (multiple)"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility &amp; Doc Types (multiple)"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_FILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
			<documentType>${DOCUMENT_TYPE_2}</documentType>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - Facility &amp; Doc Type"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By Facility &amp; Doc Types (multiple)</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check THREE Records Returned (multiple doc types)"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "3"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>f62f7568-c9ff-4073-8329-27d4bb7fea08</requestId><patients><patient><questionnaireResults><questionnaireResult><patient><identifier><identity>722d87ed-ac9f-42b9-98a8-d64d736b06fe</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>d7f4925d-02cb-42ce-bdbb-c42803fb2ee7</documentType><recordIdentifier><identity>178</identity></recordIdentifier><documentIdentifier><identity>992e6108-4bd5-433d-969c-4465e191d00e</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>6d0b6749-ccb5-4b33-aaa4-52a7dcde0753</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19691231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>722d87ed-ac9f-42b9-98a8-d64d736b06fe</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>d7f4925d-02cb-42ce-bdbb-c42803fb2ee7_2</documentType><recordIdentifier><identity>179</identity></recordIdentifier><documentIdentifier><identity>9609ca08-677d-4d88-b6d8-7b83a267dd1a</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>6d0b6749-ccb5-4b33-aaa4-52a7dcde0753</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME_2</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20111231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>722d87ed-ac9f-42b9-98a8-d64d736b06fe</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>d7f4925d-02cb-42ce-bdbb-c42803fb2ee7</documentType><recordIdentifier><identity>180</identity></recordIdentifier><documentIdentifier><identity>431721d3-b867-4da0-9e02-d9af119a8a10</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>6d0b6749-ccb5-4b33-aaa4-52a7dcde0753</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20111231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><totalResultCount>3</totalResultCount></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ DocumentType By Practitioner Test" searchProperties="true" id="4315587d-04e6-4a64-96f3-70d91e3688af"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString();

context.APRV_BY_NAME_FAMILY = UUID.randomUUID().toString();
context.APRV_BY_NAME_GIVEN = 'Aprv Given';
context.APRV_BY_NAME_MIDDLE = 'AprvMiddleName';
context.APRV_BY_NAME_PREFIX = 'AprvPrefix';
context.APRV_BY_NAME_SUFFIX = 'AprvSuffix';
context.APRV_BY_NAME_TITLE = 'AprvTitle';

context.APRV_BY_PERSON_ASGNING_AUTH = 'USVHA';
context.APRV_BY_PERSON_ASGNING_FCLT = 'AprvAssigningFacility';
context.APRV_BY_PERSON_IDENTITY = UUID.randomUUID().toString();

context.APRV_BY_PRACTITIONER_ID_S = 'IdSourceTable';

context.AUTH_NAME_FAMILY = UUID.randomUUID().toString();
context.AUTH_NAME_GIVEN = 'AuthGiven';
context.AUTH_NAME_MIDDLE = 'AuthMiddleName';
context.AUTH_NAME_PREFIX = 'AuthPrefix';
context.AUTH_NAME_SUFFIX = 'AuthSuffix';
context.AUTH_NAME_TITLE = 'AuthTitle';

context.AUTH_PERSON_ASGNING_AUTHORITY = 'Auth-USVHA';
context.AUTH_PERSON_ASGNING_FACILITY = 'AuthAssigningFacility';
context.AUTH_PERSON_IDENTITY = UUID.randomUUID().toString();

context.AUTH_PRACTITIONER_ID_SRC_TBL = 'IdSourceTable';

context.FACILITY_IDENTITY = 'ByPractitioner';
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_NAME = 'OrganizationName';

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Ischemic_Heart_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By: approvedBy Practitioner ID &amp; Doc Type"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By: approvedBy Practitioner ID &amp; Doc Type"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
			<aprvPractitionerIdentifiers>
				<identity>${APRV_BY_PERSON_IDENTITY}</identity>
				<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
				<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
			</aprvPractitionerIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - ID &amp; Doc Type"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By: approvedBy Practitioner ID &amp; Doc Type</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE - approvedBy - Records Returned - ID &amp; Doc Type"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List By: approvedBy Practitioner ID &amp; Date &amp; Doc Type"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List By: approvedBy Practitioner ID &amp; Date &amp; Doc Type"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
			<aprvPractitionerIdentifiers>
				<identity>${APRV_BY_PERSON_IDENTITY}</identity>
				<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
				<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
			</aprvPractitionerIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - ID &amp; Date &amp; Doc Type"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List By: approvedBy Practitioner ID &amp; Date &amp; Doc Type</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE - approvedBy - Returned - ID &amp; Date &amp; Doc Type"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List By: approvedBy Practitioner NAME &amp; DOC TYPE"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List By: approvedBy Practitioner NAME &amp; DOC TYPE"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
			<aprvPractitionerNames>
				<prefix>${APRV_BY_NAME_PREFIX}</prefix>
				<given>${APRV_BY_NAME_GIVEN}</given>
				<middle>${APRV_BY_NAME_MIDDLE}</middle>
				<family>${APRV_BY_NAME_FAMILY}</family>
				<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
				<title>${APRV_BY_NAME_TITLE}</title>
			</aprvPractitionerNames>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - NAME &amp; Doc Type"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List By: approvedBy Practitioner NAME &amp; DOC TYPE</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE - approvedBy - Returned - NAME &amp; Doc Type"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List By: approvedBy Practitioner NAME &amp; Date &amp; Doc Type"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List By: approvedBy Practitioner NAME &amp; Date &amp; Doc Type"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
			<aprvPractitionerNames>
				<prefix>${APRV_BY_NAME_PREFIX}</prefix>
				<given>${APRV_BY_NAME_GIVEN}</given>
				<middle>${APRV_BY_NAME_MIDDLE}</middle>
				<family>${APRV_BY_NAME_FAMILY}</family>
				<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
				<title>${APRV_BY_NAME_TITLE}</title>
			</aprvPractitionerNames>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - NAME &amp; Date &amp; Doc Type"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List By: approvedBy Practitioner NAME &amp; Date &amp; Doc Type</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE - approvedBy - Returned - NAME &amp; Date &amp; Doc Type"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By: author Practitioner ID &amp; Doc Type"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By: author Practitioner ID &amp; Doc Type"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
			<authPractitionerIdentifiers>
				<identity>${AUTH_PERSON_IDENTITY}</identity>
				<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
				<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
			</authPractitionerIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - author - ID &amp; Doc Type"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By: author Practitioner ID &amp; Doc Type</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE - author - Records Returned - ID &amp; Doc Type"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List By: author Practitioner ID &amp; Date &amp; Doc Type"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List By: author Practitioner ID &amp; Date &amp; Doc Type"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
			<authPractitionerIdentifiers>
				<identity>${AUTH_PERSON_IDENTITY}</identity>
				<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
				<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
			</authPractitionerIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - author - ID &amp; Date &amp; Doc Type"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List By: author Practitioner ID &amp; Date &amp; Doc Type</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE - author - Returned - ID &amp; Date &amp; Doc Type"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List By: author Practitioner NAME &amp; DOC TYPE"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List By: author Practitioner NAME &amp; DOC TYPE"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
			<authPractitionerNames>
				<prefix>${AUTH_NAME_PREFIX}</prefix>
				<given>${AUTH_NAME_GIVEN}</given>
				<middle>${AUTH_NAME_MIDDLE}</middle>
				<family>${AUTH_NAME_FAMILY}</family>
				<suffix>${AUTH_NAME_SUFFIX}</suffix>
				<title>${AUTH_NAME_TITLE}</title>
			</authPractitionerNames>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - author - NAME &amp; Doc Type"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List By: author Practitioner NAME &amp; DOC TYPE</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE - author - Returned - NAME &amp; Doc Type"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List By: author Practitioner NAME &amp; Date &amp; Doc Type"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List By: author Practitioner NAME &amp; Date &amp; Doc Type"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
			<authPractitionerNames>
				<prefix>${AUTH_NAME_PREFIX}</prefix>
				<given>${AUTH_NAME_GIVEN}</given>
				<middle>${AUTH_NAME_MIDDLE}</middle>
				<family>${AUTH_NAME_FAMILY}</family>
				<suffix>${AUTH_NAME_SUFFIX}</suffix>
				<title>${AUTH_NAME_TITLE}</title>
			</authPractitionerNames>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - author - NAME &amp; Date &amp; Doc Type"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List By: author Practitioner NAME &amp; Date &amp; Doc Type</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE - author - Returned - NAME &amp; Date &amp; Doc Type"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>c6f8c0ed-6cc7-4efd-9ba1-842440850163</requestId><patients><patient><questionnaireResults><questionnaireResult><patient><identifier><identity>21f6c1dd-8d60-42cf-b14f-c9f3abe77c24</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>700ea5d7-f10b-40af-97ab-d522de54b61e</documentType><recordIdentifier><identity>182</identity></recordIdentifier><documentIdentifier><identity>0cb6d783-7cda-4135-bbf5-d75caabebe09</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>ByPractitioner</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>e18ca99d-e6e4-45e9-8085-972c34397f23</identity><assigningFacility>AuthAssigningFacility</assigningFacility><assigningAuthority>Auth-USVHA</assigningAuthority></identifier><name><prefix>AuthPrefix</prefix><given>AuthGiven</given><middle>AuthMiddleName</middle><family>697ddacc-b3d6-4e8f-86d8-e8a07b019588</family><suffix>AuthSuffix</suffix><title>AuthTitle</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>b1b76619-d776-4b0d-b282-4a51dd150b29</identity><assigningFacility>AprvAssigningFacility</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>AprvPrefix</prefix><given>Aprv Given</given><middle>AprvMiddleName</middle><family>2a4cd3de-900e-48bc-bf47-f95fd75ef01b</family><suffix>AprvSuffix</suffix><title>AprvTitle</title></name></practitioner></approvedBy><dateCreated><literal>20111231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><totalResultCount>1</totalResultCount></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ DocumentType XPath Test" searchProperties="true" id="62631b7a-f7a2-4e08-a467-5e2b5150fbdb"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.panels.testcase.JTestRunLog$OptionsForm@max_rows">1000</con:setting><con:setting id="com.eviware.soapui.impl.wsdl.panels.testcase.JTestRunLog$OptionsForm@errors_only">false</con:setting></con:settings><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';


context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 
context.CREATED_DATE2 = '20011231170000-0700';
context.DOCUMENT_TYPE2 = 'Ischemic_Heart_Disease';

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 
context.CREATED_DATE3 = '20051231170000-0700';
context.DOCUMENT_TYPE3 = 'Hematologic_and_Lymphatic_Conditions';

context.CLIENT_REQUEST_INIT_TIME4 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID4  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY4 = UUID.randomUUID().toString(); 
context.CREATED_DATE4 = '20101231170000-0700';
context.DOCUMENT_TYPE4 = 'Parkinson\'s_Disease';
context.PATIENT_ID4 = UUID.randomUUID().toString();


context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID3 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID4 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID5 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID6 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID7 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID8 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID9 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID10 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID11 = UUID.randomUUID().toString();

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.DOCUMENT_TYPE_2 = context.DOCUMENT_TYPE + "_2";
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
   <templateId>DBQCreate2</templateId>
   <clientName>SOAP UI</clientName>
   <clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
   <patient>
      <questionnaireResults>
         <questionnaireResult>
            <patient>
               <identifier>
                  <identity>${PATIENT_ID}</identity>
                  <assigningFacility>200HD</assigningFacility>
                  <assigningAuthority>USVHA</assigningAuthority>
               </identifier>
               <name>
                  <prefix>${PATIENT_NAME_PREFIX}</prefix>
                  <given>Given</given>
                  <middle>MiddleName</middle>
                  <family>FamilyName</family>
                  <suffix>Suffix</suffix>
                  <title>Title</title>
               </name>
            </patient>
            <dateCreated>
               <literal>${CREATED_DATE}</literal>
            </dateCreated>
            <documentType>${DOCUMENT_TYPE}</documentType>
            <initiatingSystem>SOAP UI</initiatingSystem>
            <documentIdentifier>
               <identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
               <namespaceId>402</namespaceId>
               <universalId>UID_13359111174322</universalId>
               <universalIdType>universalIdType</universalIdType>
            </documentIdentifier>
            <facilityIdentifier>
               <identity>OrganizationId</identity>
               <name>OrganizationName</name>
               <assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
            </facilityIdentifier>
            <approvedFlag>${APPROVED_FLAG}</approvedFlag>
            <approvedBy>
               <comment>Approved By Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </approvedBy>
            <author>
               <comment>Author Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </author>
            <detailXML><gov.va.agentorange.fasttrack.model.dbq.luk.HairyCellLeukemia>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7777</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.luk.HairyCellLeukemia></detailXML>
         </questionnaireResult>
      </questionnaireResults>
   </patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE2}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid3" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
   <templateId>DBQCreate2</templateId>
   <clientName>SOAP UI</clientName>
   <clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
   <patient>
      <questionnaireResults>
         <questionnaireResult>
            <patient>
               <identifier>
                  <identity>${PATIENT_ID}</identity>
                  <assigningFacility>200HD</assigningFacility>
                  <assigningAuthority>USVHA</assigningAuthority>
               </identifier>
               <name>
                  <prefix>${PATIENT_NAME_PREFIX}</prefix>
                  <given>Given</given>
                  <middle>MiddleName</middle>
                  <family>FamilyName</family>
                  <suffix>Suffix</suffix>
                  <title>Title</title>
               </name>
            </patient>
            <dateCreated>
               <literal>${CREATED_DATE3}</literal>
            </dateCreated>
            <documentType>${DOCUMENT_TYPE3}</documentType>
            <initiatingSystem>SOAP UI</initiatingSystem>
            <documentIdentifier>
               <identity>${DOCUMENTIDENTIFIER_IDENTITY3}</identity>
               <namespaceId>402</namespaceId>
               <universalId>UID_13359111174322</universalId>
               <universalIdType>universalIdType</universalIdType>
            </documentIdentifier>
            <facilityIdentifier>
               <identity>OrganizationId</identity>
               <name>OrganizationName</name>
               <assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
            </facilityIdentifier>
            <approvedFlag>APPROVED</approvedFlag>
            <approvedBy>
               <comment>Approved By Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </approvedBy>
            <author>
               <comment>Author Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </author>
            <detailXML>
<gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
	<id>6949</id>
	<version>0</version>
	<dateCreated class="sql-timestamp">2012-01-03 11:57:05.25</dateCreated>
	<dateModified class="sql-timestamp">2012-01-03 11:57:05.25</dateModified>
	<formType>FORM_TYPE_DBQ_HEM</formType>
	<vetSsn>190842394</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>ONLINE</documentChannelType>
	<formFileNetStatus>
		<id>5180</id>
		<version>1</version>
		<dateCreated class="sql-timestamp">2012-01-03 11:57:05.3</dateCreated>
		<dateModified>2012-01-03 11:57:40.556 EST</dateModified>
		<formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>
		<formEntity class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
	</formFileNetStatus>
	<webFormType>HEM_DBQ</webFormType>
	<veteranFirstName>Delete</veteranFirstName>
	<veteranLastName>Delete</veteranLastName>
	<physicianFirstName>Doctor</physicianFirstName>
	<physicianLastName>HEM</physicianLastName>
	<medicalLicenseNumber>123</medicalLicenseNumber>
	<country>US</country>
	<addressLine1>1 Address</addressLine1>
	<addressLine2/>
	<addressLine3/>
	<city>Town</city>
	<state>KANSAS</state>
	<zip>23455</zip>
	<physicianPhoneNumber>3256246436</physicianPhoneNumber>
	<privacyActAck>true</privacyActAck>
	<physicianSignature>true</physicianSignature>
	<impactsAbilityToWork>true</impactsAbilityToWork>
	<impactDescription/>
	<remarks/>
	<dateSigned class="sql-timestamp">2012-01-03 11:57:05.25</dateSigned>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<medications class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</medications>
	<diagnosticTests class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnosticTests>
	<hasHemicLymphatic>true</hasHemicLymphatic>
	<hasALL>false</hasALL>
	<hasAML>false</hasAML>
	<hasCML>false</hasCML>
	<hasCLL>false</hasCLL>
	<hasHodgkins>false</hasHodgkins>
	<hasNonHodgkins>false</hasNonHodgkins>
	<hasMyeloma>true</hasMyeloma>
	<myelomaICD/>
	<hasMyeloSyndrome>false</hasMyeloSyndrome>
	<hasPlasmacytoma>false</hasPlasmacytoma>
	<hasAnemia>false</hasAnemia>
	<hasThrombo>false</hasThrombo>
	<hasPolycythemia>false</hasPolycythemia>
	<hasSickleCell>false</hasSickleCell>
	<hasSplenectomy>false</hasSplenectomy>
	<hasBCellLeukemia>false</hasBCellLeukemia>
	<hasOtherDiagnosis>false</hasOtherDiagnosis>
	<briefHistory/>
	<diseaseStatus>ACTIVE</diseaseStatus>
	<continuousMedication>false</continuousMedication>
	<treatmentStatus>NO_TREATMENT_WATCHFUL_WAITING</treatmentStatus>
	<transfusion>false</transfusion>
	<findings>false</findings>
	<recurringInfections>false</recurringInfections>
	<diagRelatedScar>false</diagRelatedScar>
	<otherPertinentFinding>false</otherPertinentFinding>
	<labTesting>false</labTesting>
	<otherSignificantResults>false</otherSignificantResults>
</gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
</detailXML>
         </questionnaireResult>
      </questionnaireResults>
   </patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID3}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="List Read All By XPath Filter, documentType, approvedFlag"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="List Read All By XPath Filter, documentType, approvedFlag"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQXmlRead2</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathExtractor>
			<expression>//diagnoses</expression>
		</xpathExtractor>
		<xpathFilter>
			<expression>//diagnoses[key='7553']</expression>
		</xpathFilter>
		<otherQueryParameters>
			<approvedFlag>${APPROVED_FLAG}</approvedFlag>
			<documentType>${DOCUMENT_TYPE}</documentType>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Validate List Read By XPath Filter, documentType, approvedFlag"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "List Read All By XPath Filter, documentType, approvedFlag#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>70ee8398-96fa-42bb-8ee2-667cf8f03b7a</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>102</identity></recordIdentifier><documentIdentifier><identity>f522bfc2-4609-482e-b5f3-058ddcff5e0b</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>2000-01-01 00:00:00</literal></dateCreated><previewXML><![CDATA[<vetSsn>941288701</vetSsn>]]]]>><![CDATA[</previewXML><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>103</identity></recordIdentifier><documentIdentifier><identity>1c3b83ea-7485-4505-8bf9-91dc74ef7d43</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>2002-01-01 00:00:00</literal></dateCreated><previewXML><![CDATA[]]]]>><![CDATA[</previewXML><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>104</identity></recordIdentifier><documentIdentifier><identity>a68ed595-a00b-4784-85e2-5f20955c8206</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>2006-01-01 00:00:00</literal></dateCreated><previewXML><![CDATA[]]]]>><![CDATA[</previewXML><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>102</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>103</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>104</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>105</con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Read By SSN" searchProperties="true" id="b8a790a5-0da3-4171-bb8a-799be028457f"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_SSN = UUID.randomUUID().toString();
context.PATIENT_ASSIGNING_FACILITY = '200SSA';
context.PATIENT_ASSIGNING_AUTHORITY = 'USSN';


context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';

context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 
context.CREATED_DATE2 = '20011231170000-0700';

context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.DOCUMENT_TYPE_2 = context.DOCUMENT_TYPE + "_2";
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_SSN}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_SSN}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE_2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG_2}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="List Read By Patient SSN, documentType, approvedFlag"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="List Read By Patient SSN, documentType, approvedFlag"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
			<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
			<identity>${PATIENT_SSN}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<approvedFlag>${APPROVED_FLAG}</approvedFlag>
			<documentType>${DOCUMENT_TYPE}</documentType>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:assertion type="Simple NotContains" name="Not Contains"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient SSN, documentType, approvedFlag"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "List Read By Patient SSN, documentType, approvedFlag#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>2c62515d-11b2-429b-8b5c-2008eb509ef1</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>110</identity></recordIdentifier><documentIdentifier><identity>9acb9f84-0078-422c-a923-3988e7fc4020</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19991231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>111</identity></recordIdentifier><documentIdentifier><identity>58bfd380-d242-413f-97c2-9e6e9e9d20f1</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20011231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>4432c922-c460-485b-863a-11e6a1b8e86a</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>112</identity></recordIdentifier><documentIdentifier><identity>9d8b0aea-c48d-455c-97e4-9f364f60acb6</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20051231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>110</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>111</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>112</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>113</con:value></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:testSuite name="DBQ Approved Flag (status) Test Suite"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Approved Flag Single Patient Test" searchProperties="true" id="1d109e53-1943-4214-9813-8ca1e6731949"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';


context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 
context.CREATED_DATE2 = '20011231170000-0700';
context.DOCUMENT_TYPE2 = 'Ischemic_Heart_Disease';

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 
context.CREATED_DATE3 = '20051231170000-0700';
context.DOCUMENT_TYPE3 = 'Hematologic_and_Lymphatic_Conditions';

context.CLIENT_REQUEST_INIT_TIME4 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID4  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY4 = UUID.randomUUID().toString(); 
context.CREATED_DATE4 = '20101231170000-0700';
context.DOCUMENT_TYPE4 = 'Parkinson\'s_Disease';
context.PATIENT_ID4 = UUID.randomUUID().toString();


context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID3 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID4 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID5 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID6 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID7 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID8 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID9 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID10 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID11 = UUID.randomUUID().toString();

context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
		          <approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE2}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
		          <approvedFlag>${APPROVED_FLAG_2}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid3" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
   <templateId>DBQCreate2</templateId>
   <clientName>SOAP UI</clientName>
   <clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
   <patient>
      <questionnaireResults>
         <questionnaireResult>
            <patient>
               <identifier>
                  <identity>${PATIENT_ID}</identity>
                  <assigningFacility>200HD</assigningFacility>
                  <assigningAuthority>USVHA</assigningAuthority>
               </identifier>
               <name>
                  <prefix>${PATIENT_NAME_PREFIX}</prefix>
                  <given>Given</given>
                  <middle>MiddleName</middle>
                  <family>FamilyName</family>
                  <suffix>Suffix</suffix>
                  <title>Title</title>
               </name>
            </patient>
            <dateCreated>
               <literal>${CREATED_DATE3}</literal>
            </dateCreated>
            <documentType>${DOCUMENT_TYPE3}</documentType>
            <initiatingSystem>SOAP UI</initiatingSystem>
            <documentIdentifier>
               <identity>${DOCUMENTIDENTIFIER_IDENTITY3}</identity>
               <namespaceId>402</namespaceId>
               <universalId>UID_13359111174322</universalId>
               <universalIdType>universalIdType</universalIdType>
            </documentIdentifier>
            <facilityIdentifier>
               <identity>OrganizationId</identity>
               <name>OrganizationName</name>
               <assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
            </facilityIdentifier>
            <approvedFlag>${APPROVED_FLAG}</approvedFlag>
            <approvedBy>
               <comment>Approved By Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </approvedBy>
            <author>
               <comment>Author Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </author>
            <detailXML>
<gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
	<id>6949</id>
	<version>0</version>
	<dateCreated class="sql-timestamp">2012-01-03 11:57:05.25</dateCreated>
	<dateModified class="sql-timestamp">2012-01-03 11:57:05.25</dateModified>
	<formType>FORM_TYPE_DBQ_HEM</formType>
	<vetSsn>190842394</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>ONLINE</documentChannelType>
	<formFileNetStatus>
		<id>5180</id>
		<version>1</version>
		<dateCreated class="sql-timestamp">2012-01-03 11:57:05.3</dateCreated>
		<dateModified>2012-01-03 11:57:40.556 EST</dateModified>
		<formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>
		<formEntity class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
	</formFileNetStatus>
	<webFormType>HEM_DBQ</webFormType>
	<veteranFirstName>Delete</veteranFirstName>
	<veteranLastName>Delete</veteranLastName>
	<physicianFirstName>Doctor</physicianFirstName>
	<physicianLastName>HEM</physicianLastName>
	<medicalLicenseNumber>123</medicalLicenseNumber>
	<country>US</country>
	<addressLine1>1 Address</addressLine1>
	<addressLine2/>
	<addressLine3/>
	<city>Town</city>
	<state>KANSAS</state>
	<zip>23455</zip>
	<physicianPhoneNumber>3256246436</physicianPhoneNumber>
	<privacyActAck>true</privacyActAck>
	<physicianSignature>true</physicianSignature>
	<impactsAbilityToWork>true</impactsAbilityToWork>
	<impactDescription/>
	<remarks/>
	<dateSigned class="sql-timestamp">2012-01-03 11:57:05.25</dateSigned>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">7777</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<medications class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</medications>
	<diagnosticTests class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnosticTests>
	<hasHemicLymphatic>true</hasHemicLymphatic>
	<hasALL>false</hasALL>
	<hasAML>false</hasAML>
	<hasCML>false</hasCML>
	<hasCLL>false</hasCLL>
	<hasHodgkins>false</hasHodgkins>
	<hasNonHodgkins>false</hasNonHodgkins>
	<hasMyeloma>true</hasMyeloma>
	<myelomaICD/>
	<hasMyeloSyndrome>false</hasMyeloSyndrome>
	<hasPlasmacytoma>false</hasPlasmacytoma>
	<hasAnemia>false</hasAnemia>
	<hasThrombo>false</hasThrombo>
	<hasPolycythemia>false</hasPolycythemia>
	<hasSickleCell>false</hasSickleCell>
	<hasSplenectomy>false</hasSplenectomy>
	<hasBCellLeukemia>false</hasBCellLeukemia>
	<hasOtherDiagnosis>false</hasOtherDiagnosis>
	<briefHistory/>
	<diseaseStatus>ACTIVE</diseaseStatus>
	<continuousMedication>false</continuousMedication>
	<treatmentStatus>NO_TREATMENT_WATCHFUL_WAITING</treatmentStatus>
	<transfusion>false</transfusion>
	<findings>false</findings>
	<recurringInfections>false</recurringInfections>
	<diagRelatedScar>false</diagRelatedScar>
	<otherPertinentFinding>false</otherPertinentFinding>
	<labTesting>false</labTesting>
	<otherSignificantResults>false</otherSignificantResults>
</gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
</detailXML>
         </questionnaireResult>
      </questionnaireResults>
   </patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID3}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="List Read By Patient And approvedFlag"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="List Read By Patient And approvedFlag"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<approvedFlag>${APPROVED_FLAG}</approvedFlag>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID4}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Patient And approvedFlag"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "List Read By Patient And approvedFlag#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "2"</script></con:config></con:testStep><con:testStep type="request" name="List Read By Patient Date Range And approvedFlag"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="List Read By Patient Date Range And approvedFlag"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>1998-06-01-05:00</startDate>
		<endDate>2000-06-01-05:00</endDate>
		<otherQueryParameters>
			<approvedFlag>${APPROVED_FLAG}</approvedFlag>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID5}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Patient Date Range And approvedFlag"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "List Read By Patient Date Range And approvedFlag#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="List Read By Patient And approvedFlag, documentType"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="List Read By Patient And approvedFlag, documentType"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<approvedFlag>${APPROVED_FLAG}</approvedFlag>
			<documentType>${DOCUMENT_TYPE}</documentType>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID4}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Patient And approvedFlag, documentType"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "List Read By Patient And approvedFlag, documentType#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>9b93e16b-9b73-43da-ae77-49a584a6856e</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>34faf28a-67e8-4faf-a60f-2b24f89dfd1f</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>34faf28a-67e8-4faf-a60f-2b24f89dfd1f</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>34faf28a-67e8-4faf-a60f-2b24f89dfd1f</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>1021</identity></recordIdentifier><documentIdentifier><identity>c8e24e8f-98cd-4ebd-8c3b-b0f3741e82e2</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19991231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>34faf28a-67e8-4faf-a60f-2b24f89dfd1f</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>1022</identity></recordIdentifier><documentIdentifier><identity>a44c09a0-79bc-4907-a6a2-19d587ef98b2</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME_2</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20011231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>34faf28a-67e8-4faf-a60f-2b24f89dfd1f</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>1023</identity></recordIdentifier><documentIdentifier><identity>2a235685-3386-49a0-ac85-e2e8538115c8</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20051231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>1021</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>1022</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>1023</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>1024</con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Approved Flag By Facility Filter Test" searchProperties="true" id="bb31632c-dd1c-48dd-a230-a904f0359113"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 

context.FACILITY_IDENTITY = UUID.randomUUID().toString();
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_NAME = 'OrganizationName';

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.DOCUMENT_TYPE_2 = context.DOCUMENT_TYPE + "_2";
//log.info(context.DOCUMENT_TYPE_2);
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";

</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE_2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG_2}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid3" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME3}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY3}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID3}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility &amp; approvedFlag"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility &amp; approvedFlag"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_FILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<approvedFlag>${APPROVED_FLAG}</approvedFlag>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Facility &amp; approvedFlag"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Facility &amp; approvedFlag#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = Integer.parseInt(holder["count(//recordIdentifier)"])
assert recordCount == 1
</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility &amp; Date &amp; approvedFlag"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility &amp; Date &amp; approvedFlag"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_FILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<approvedFlag>${APPROVED_FLAG}</approvedFlag>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Facility &amp; Date &amp; approvedFlag"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Facility &amp; Date &amp; approvedFlag#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = Integer.parseInt(holder["count(//recordIdentifier)"])
assert recordCount == 1
</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility &amp; Date &amp; approvedFlag (multiple)"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility &amp; Date &amp; approvedFlag (multiple)"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_FILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<approvedFlag>${APPROVED_FLAG}</approvedFlag>
			<approvedFlag>${APPROVED_FLAG_2}</approvedFlag>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Facility &amp; Date &amp; approvedFlag (multiple)"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Facility &amp; Date &amp; approvedFlag (multiple)#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = Integer.parseInt(holder["count(//recordIdentifier)"])
assert recordCount == 2
</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>4d4b6029-b165-4b2b-8cd7-17a28e56b780</requestId><patients><patient><questionnaireResults><questionnaireResult><patient><identifier><identity>5db28c54-c0e5-4e2e-965e-b050f9d45841</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>c19575ce-16b4-4786-b08f-937396f8c09f</documentType><recordIdentifier><identity>1008</identity></recordIdentifier><documentIdentifier><identity>148092fc-a9ce-43cd-a932-3b18fc2235ce</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>89347314-707b-4f3e-b808-78f25c288f29</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19691231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>5db28c54-c0e5-4e2e-965e-b050f9d45841</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>c19575ce-16b4-4786-b08f-937396f8c09f_2</documentType><recordIdentifier><identity>1009</identity></recordIdentifier><documentIdentifier><identity>20925294-0b36-4cb8-8e11-f72af0351a8c</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>89347314-707b-4f3e-b808-78f25c288f29</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME_2</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20111231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>5db28c54-c0e5-4e2e-965e-b050f9d45841</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>c19575ce-16b4-4786-b08f-937396f8c09f</documentType><recordIdentifier><identity>1010</identity></recordIdentifier><documentIdentifier><identity>dd7bccdd-cc74-4bd2-83ae-75fa5b9dc071</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>89347314-707b-4f3e-b808-78f25c288f29</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20111231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Approved Flag By Practitioner Filter Test" searchProperties="true" id="4f105f05-5345-4967-895e-2e9a8ae4eb9b"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString();

context.APRV_BY_NAME_FAMILY = UUID.randomUUID().toString();
context.APRV_BY_NAME_GIVEN = 'Aprv Given';
context.APRV_BY_NAME_MIDDLE = 'AprvMiddleName';
context.APRV_BY_NAME_PREFIX = 'AprvPrefix';
context.APRV_BY_NAME_SUFFIX = 'AprvSuffix';
context.APRV_BY_NAME_TITLE = 'AprvTitle';

context.APRV_BY_PERSON_ASGNING_AUTH = 'USVHA';
context.APRV_BY_PERSON_ASGNING_FCLT = 'AprvAssigningFacility';
context.APRV_BY_PERSON_IDENTITY = UUID.randomUUID().toString();

context.APRV_BY_PRACTITIONER_ID_S = 'IdSourceTable';

context.AUTH_NAME_FAMILY = UUID.randomUUID().toString();
context.AUTH_NAME_GIVEN = 'AuthGiven';
context.AUTH_NAME_MIDDLE = 'AuthMiddleName';
context.AUTH_NAME_PREFIX = 'AuthPrefix';
context.AUTH_NAME_SUFFIX = 'AuthSuffix';
context.AUTH_NAME_TITLE = 'AuthTitle';

context.AUTH_PERSON_ASGNING_AUTHORITY = 'Auth-USVHA';
context.AUTH_PERSON_ASGNING_FACILITY = 'AuthAssigningFacility';
context.AUTH_PERSON_IDENTITY = UUID.randomUUID().toString();

context.AUTH_PRACTITIONER_ID_SRC_TBL = 'IdSourceTable';

context.FACILITY_IDENTITY = 'ByPractitioner';
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_NAME = 'OrganizationName';

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>Ischemic_Heart_Disease</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="List Read By: approvedBy Practitioner ID And Date Range, approvedFlag"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="List Read By: approvedBy Practitioner ID And Date Range, approvedFlag"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_List_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByPractitioner" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<approvedFlag>${APPROVED_FLAG}</approvedFlag>
			<aprvPractitionerIdentifiers>
				<identity>${APRV_BY_PERSON_IDENTITY}</identity>
				<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
				<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
			</aprvPractitionerIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By: approvedBy Practitioner ID And Date Range, approvedFlag"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "List Read By: approvedBy Practitioner ID And Date Range, approvedFlag#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>0fee2e10-5c04-4a0d-8cfa-8fa5761b0834</requestId><patients><patient><questionnaireResults><questionnaireResult><patient><identifier><identity>f3210533-f844-454b-864c-63f230e2e692</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>b228fc74-43e2-486f-8cfe-db8da09dc1fc</documentType><recordIdentifier><identity>1013</identity></recordIdentifier><documentIdentifier><identity>da6b7fef-195f-46c7-803c-f5732a4f5f36</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>ByPractitioner</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>CHECK_ME</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>a5f39aab-830f-499c-ab1d-37ed6eba6f10</identity><assigningFacility>AuthAssigningFacility</assigningFacility><assigningAuthority>Auth-USVHA</assigningAuthority></identifier><name><prefix>AuthPrefix</prefix><given>AuthGiven</given><middle>AuthMiddleName</middle><family>c1baa943-0839-4264-9dbe-9d68bc19c6d6</family><suffix>AuthSuffix</suffix><title>AuthTitle</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>f39d5b1c-e2fe-46dd-8ccc-549a50283ec3</identity><assigningFacility>AprvAssigningFacility</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>AprvPrefix</prefix><given>Aprv Given</given><middle>AprvMiddleName</middle><family>70ed2562-b12a-4eb9-b0c6-e5d2fdd425cd</family><suffix>AprvSuffix</suffix><title>AprvTitle</title></name></practitioner></approvedBy><dateCreated><literal>20111231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ ApprovedFlag XPath Test" searchProperties="true" id="872d9bdb-a2bf-43c1-b4ff-4ebdc8aafd8d"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.panels.testcase.JTestRunLog$OptionsForm@max_rows">1000</con:setting><con:setting id="com.eviware.soapui.impl.wsdl.panels.testcase.JTestRunLog$OptionsForm@errors_only">false</con:setting></con:settings><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';


context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 
context.CREATED_DATE2 = '20011231170000-0700';
context.DOCUMENT_TYPE2 = 'Ischemic_Heart_Disease';

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 
context.CREATED_DATE3 = '20051231170000-0700';
context.DOCUMENT_TYPE3 = 'Hematologic_and_Lymphatic_Conditions';

context.CLIENT_REQUEST_INIT_TIME4 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID4  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY4 = UUID.randomUUID().toString(); 
context.CREATED_DATE4 = '20101231170000-0700';
context.DOCUMENT_TYPE4 = 'Parkinson\'s_Disease';
context.PATIENT_ID4 = UUID.randomUUID().toString();


context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID3 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID4 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID5 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID6 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID7 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID8 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID9 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID10 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID11 = UUID.randomUUID().toString();

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.DOCUMENT_TYPE_2 = context.DOCUMENT_TYPE + "_2";
context.APPROVED_FLAG = "CHECK_ME";
context.APPROVED_FLAG_2 = "CHECK_ME" + "_2";</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
   <templateId>DBQCreate2</templateId>
   <clientName>SOAP UI</clientName>
   <clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
   <patient>
      <questionnaireResults>
         <questionnaireResult>
            <patient>
               <identifier>
                  <identity>${PATIENT_ID}</identity>
                  <assigningFacility>200HD</assigningFacility>
                  <assigningAuthority>USVHA</assigningAuthority>
               </identifier>
               <name>
                  <prefix>${PATIENT_NAME_PREFIX}</prefix>
                  <given>Given</given>
                  <middle>MiddleName</middle>
                  <family>FamilyName</family>
                  <suffix>Suffix</suffix>
                  <title>Title</title>
               </name>
            </patient>
            <dateCreated>
               <literal>${CREATED_DATE}</literal>
            </dateCreated>
            <documentType>${DOCUMENT_TYPE}</documentType>
            <initiatingSystem>SOAP UI</initiatingSystem>
            <documentIdentifier>
               <identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
               <namespaceId>402</namespaceId>
               <universalId>UID_13359111174322</universalId>
               <universalIdType>universalIdType</universalIdType>
            </documentIdentifier>
            <facilityIdentifier>
               <identity>OrganizationId</identity>
               <name>OrganizationName</name>
               <assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
            </facilityIdentifier>
            <approvedFlag>${APPROVED_FLAG}</approvedFlag>
            <approvedBy>
               <comment>Approved By Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </approvedBy>
            <author>
               <comment>Author Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </author>
            <detailXML><gov.va.agentorange.fasttrack.model.dbq.luk.HairyCellLeukemia>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7777</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.luk.HairyCellLeukemia></detailXML>
         </questionnaireResult>
      </questionnaireResults>
   </patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="List Read All By XPath Filter, documentType, approvedFlag"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="List Read All By XPath Filter, documentType, approvedFlag"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQXmlRead2</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathExtractor>
			<expression>//diagnoses</expression>
		</xpathExtractor>
		<xpathFilter>
			<expression>//diagnoses[key='7553']</expression>
		</xpathFilter>
		<otherQueryParameters>
			<approvedFlag>${APPROVED_FLAG}</approvedFlag>
			<documentType>${DOCUMENT_TYPE}</documentType>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_XML_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Validate List Read By XPath Filter, documentType, approvedFlag"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "List Read All By XPath Filter, documentType, approvedFlag#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>70ee8398-96fa-42bb-8ee2-667cf8f03b7a</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>102</identity></recordIdentifier><documentIdentifier><identity>f522bfc2-4609-482e-b5f3-058ddcff5e0b</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>2000-01-01 00:00:00</literal></dateCreated><previewXML><![CDATA[<vetSsn>941288701</vetSsn>]]]]>><![CDATA[</previewXML><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>103</identity></recordIdentifier><documentIdentifier><identity>1c3b83ea-7485-4505-8bf9-91dc74ef7d43</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>2002-01-01 00:00:00</literal></dateCreated><previewXML><![CDATA[]]]]>><![CDATA[</previewXML><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>a6f09ff9-7ac7-43d9-ad6b-2ab26de69c1b</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>104</identity></recordIdentifier><documentIdentifier><identity>a68ed595-a00b-4784-85e2-5f20955c8206</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>2006-01-01 00:00:00</literal></dateCreated><previewXML><![CDATA[]]]]>><![CDATA[</previewXML><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>102</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>103</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>104</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>105</con:value></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:testSuite name="DBQ Performance Tests"><con:description>Basic DBQ  Create Test Scenario. Tests simple happy path scenario, a scenario where the template
XML is not valid and results in a schema validation error, and the scenario where a duplicate
message is received by CDS.</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DbqCreate-LargePayload" searchProperties="true" id="8ef63b2e-e9a8-46db-99ae-7ab968ca53cf"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.APPROVED_FLAG = 'APPROVED';
context.APRV_BY_NAME_FAMILY = 'FamilyName';
context.APRV_BY_NAME_GIVEN = 'Given';
context.APRV_BY_NAME_MIDDLE = 'MiddleName';
context.APRV_BY_NAME_PREFIX = 'Prefix';
context.APRV_BY_NAME_SUFFIX = 'Suffix';
context.APRV_BY_NAME_TITLE = 'Title';
context.APRV_BY_PERSON_ASGNING_AUTH = 'USVHA';
context.APRV_BY_PERSON_ASGNING_FCLT = '402';
context.APRV_BY_PERSON_IDENTITY = 'test_AUTHORID_1003';
context.APRV_BY_PRACTITIONER_COMMENTS = 'Approved By Comment';
context.APRV_BY_PRACTITIONER_ID_S = 'IdSourceTable';
context.APRV_BY_PRACTITIONER_DT = '20120501162517-0600';
context.APRV_BY_PRACTITIONER_DT_UTC = ''; //set by system
context.AUTH_NAME_FAMILY = 'FamilyName';
context.AUTH_NAME_GIVEN = 'Given';
context.AUTH_NAME_MIDDLE = 'MiddleName';
context.AUTH_NAME_PREFIX = 'Prefix';
context.AUTH_NAME_SUFFIX = 'Suffix';
context.AUTH_NAME_TITLE = 'Title';
context.AUTH_PERSON_ASGNING_AUTHORITY = 'USVHA';
context.AUTH_PERSON_ASGNING_FACILITY = '402';
context.AUTH_PERSON_IDENTITY = 'test_AUTHORID_1003';
context.AUTH_PRACTITIONER_COMMENTS = 'Author Comment';
context.AUTH_PRACTITIONER_ID_SRC_TBL = 'IdSourceTable';
context.AUTH_PRACTITIONER_DT = '20120501162517-0600';
context.AUTH_PRACTITIONER_DT_UTC = ''; //set by system
context.DATE_MODIFIED__DT = null; 
context.DATE_MODIFIED__DT_UTC = null;
def bytes62K = "[encoded data, 62000 characters]";
def bytes558K = bytes62K + bytes62K + bytes62K + bytes62K + bytes62K + bytes62K + bytes62K + bytes62K + bytes62K;
def over5M = bytes558K + bytes558K + bytes558K + bytes558K + bytes558K + bytes558K + bytes558K + bytes558K + bytes558K;//5.0022 MB
//log.info(over5M.size());
context.DETAIL_XML = "&lt;xml>${over5M}&lt;/xml>";
context.DOCUMENTIDENTIFIER_NAMESPACEID = '402';
context.DOCUMENTIDENTIFIER_UNIVERSALID = 'UID_13359111174322';
context.DOCUMENTIDENTIFIER_UNIVERSTYP = 'universalIdType';
context.DOCUMENT_TYPE = 'Document Type';
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_IDENTITY = 'OrganizationId';
context.FACILITY_NAME = 'OrganizationName';
context.INITIATING_SYSTEM = 'InitiatingSystem';
context.MESSAGE_INSERTION_TIME = ''; //entered by system? 5/10/2012 2:28:41.116285 PM
context.PATIENT_ASSIGNING_AUTHORITY = 'USVHA';
context.PATIENT_ASSIGNING_FACILITY = '402';
context.PATIENT_IDENTITY = 'test_10004';
context.PATIENT_NAME_FAMILY = 'FamilyName';
context.PATIENT_NAME_GIVEN = 'Given';
context.PATIENT_NAME_MIDDLE = 'MiddleName';
context.PATIENT_NAME_PREFIX = 'Prefix';
context.PATIENT_NAME_SUFFIX = 'Suffix';
context.PATIENT_NAME_TITLE = 'Title';
context.QUESTIONNAIRE_RESULT_ID = ''; //DB Primary Key?
context.RECORDIDENTIFIER_IDENTITY = null;
context.RECORDIDENTIFIER_NAMESPACEID = null;
context.RECORDIDENTIFIER_UNIVERSALID = null;
context.RECORDIDENTIFIER_UNIVERSTYP = null;
context.RECORD_UPDATE_DT = '19691231170000-0700'; //Updated by system?
context.RECORD_UPDATE_DT_UTC = ''; //set by system
context.RECORD_VERSION = null;
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid - 5MB detailXML"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid - 5MB detailXML" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_IDENTITY}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>${PATIENT_NAME_GIVEN}</given>
						<middle>${PATIENT_NAME_MIDDLE}</middle>
						<family>${PATIENT_NAME_FAMILY}</family>
						<suffix>${PATIENT_NAME_SUFFIX}</suffix>
						<title>${PATIENT_NAME_TITLE}</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${RECORD_UPDATE_DT}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>${INITIATING_SYSTEM}</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>${DOCUMENTIDENTIFIER_NAMESPACEID}</namespaceId>
					<universalId>${DOCUMENTIDENTIFIER_UNIVERSALID}</universalId>
					<universalIdType>${DOCUMENTIDENTIFIER_UNIVERSTYP}</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG}</approvedFlag>
				<approvedBy>
					<comment>${APRV_BY_PRACTITIONER_COMMENTS}</comment>
					<time>
						<literal>${APRV_BY_PRACTITIONER_DT}</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>${AUTH_PRACTITIONER_COMMENTS}</comment>
					<time>
						<literal>${AUTH_PRACTITIONER_DT}</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML>${DETAIL_XML}</detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Validate detailXML"><con:settings/><con:config><script>import groovy.sql.Sql;
//import oracle.xdb.XMLType;
//http://www.oracle.com/technetwork/database/features/xmldb/utilsoft-090607.html#nt
//https://forums.oracle.com/forums/thread.jspa?threadID=247398

def dbUrl = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_URL" );
def dbUser = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_USER" );
def dbPassword = com.eviware.soapui.SoapUI.globalProperties.getPropertyValue( "DB_PASSWORD" );

def db = [url:dbUrl,
          user:dbUser,
          password:dbPassword,
          driver:'oracle.jdbc.OracleDriver']

def sql = Sql.newInstance(db.url, db.user, db.password, db.driver);
//context.DOCUMENTIDENTIFIER_IDENTITY = 'cf6502e9-d230-4033-96eb-ac4a1ee4885a';

//columns = """DOCUMENTIDENTIFIER_IDENTITY""";
//columns = 'q.DETAIL_XML.getClobval() as xmlClob,' + columns;
def q = "select q.DETAIL_XML.getClobval() as xmlClob from questionnaire_result q where DOCUMENTIDENTIFIER_IDENTITY = :doc_id";
//log.info(q);
def row = sql.firstRow(q, [doc_id:context.DOCUMENTIDENTIFIER_IDENTITY]);
def detailXML = (oracle.sql.CLOB)row.xmlClob;

       
assert row != null;
assert context != null;
assert detailXML.length() == context.DETAIL_XML.size();
//log.info(detailXML.length());

</script></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:testSuite name="DBQ Update Test Suite"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DbqCreateAndUpdateApproverValid" searchProperties="true" id="fdfa1905-cc24-4274-bce8-e1745031c4a7"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script><![CDATA[import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
import org.apache.commons.lang.time.FastDateFormat;

def dateFormatter = FastDateFormat.getInstance('yyyyMMddHHmmssZ');

// initial create request setup data.
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();

context.APPROVED_FLAG_PENDING = 'PENDING APPROVAL';
context.APPROVED_FLAG_APPROVED = 'APPROVED';
context.AUTH_NAME_FAMILY = 'FamilyName';
context.AUTH_NAME_GIVEN = 'Given';
context.AUTH_NAME_MIDDLE = 'MiddleName';
context.AUTH_NAME_PREFIX = 'Prefix';
context.AUTH_NAME_SUFFIX = 'Suffix';
context.AUTH_NAME_TITLE = 'Title';
context.AUTH_PERSON_ASGNING_AUTHORITY = 'USVHA';
context.AUTH_PERSON_ASGNING_FACILITY = '402';
context.AUTH_PERSON_IDENTITY = 'test_AUTHORID_1003';
context.AUTH_PRACTITIONER_COMMENTS = 'Author Comment';
context.AUTH_PRACTITIONER_ID_SRC_TBL = 'IdSourceTable';
context.AUTH_PRACTITIONER_DT = '20120501162517-0600';
context.AUTH_PRACTITIONER_DT_UTC = ''; //set by system
context.DETAIL_XML = '<gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>';
context.DOCUMENTIDENTIFIER_NAMESPACEID = '402';
context.DOCUMENTIDENTIFIER_UNIVERSALID = 'UID_13359111174322';
context.DOCUMENTIDENTIFIER_UNIVERSTYP = 'universalIdType';
context.DOCUMENT_TYPE = 'Document Type';
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_IDENTITY = 'OrganizationId';
context.FACILITY_NAME = 'OrganizationName';
context.INITIATING_SYSTEM = 'InitiatingSystem';
context.MESSAGE_INSERTION_TIME = ''; //entered by system? 5/10/2012 2:28:41.116285 PM
context.PATIENT_ASSIGNING_AUTHORITY = 'USVHA';
context.PATIENT_ASSIGNING_FACILITY = '402';
context.PATIENT_IDENTITY = 'test_10004';
context.PATIENT_NAME_FAMILY = 'FamilyName';
context.PATIENT_NAME_GIVEN = 'Given';
context.PATIENT_NAME_MIDDLE = 'MiddleName';
context.PATIENT_NAME_PREFIX = 'Prefix';
context.PATIENT_NAME_SUFFIX = 'Suffix';
context.PATIENT_NAME_TITLE = 'Title';
context.QUESTIONNAIRE_RESULT_ID = ''; //DB Primary Key?
context.RECORDIDENTIFIER_IDENTITY = null;
context.RECORDIDENTIFIER_NAMESPACEID = null;
context.RECORDIDENTIFIER_UNIVERSALID = null;
context.RECORDIDENTIFIER_UNIVERSTYP = null;
context.RECORD_UPDATE_DT = '19691231170000-0700'; //Updated by system?
context.RECORD_UPDATE_DT_UTC = ''; //set by system


// update test setup data
context.UPDATE_CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.UPDATE_REQUEST_ID = UUID.randomUUID().toString(); 
context.UPDATE_DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.UPDATE_APPROVED_FLAG = 'APPROVED';
context.APRV_BY_NAME_FAMILY = 'FamilyName';
context.APRV_BY_NAME_GIVEN = 'Given';
context.APRV_BY_NAME_MIDDLE = 'MiddleName';
context.APRV_BY_NAME_PREFIX = 'Prefix';
context.APRV_BY_NAME_SUFFIX = 'Suffix';
context.APRV_BY_NAME_TITLE = 'Title';
context.APRV_BY_PERSON_ASGNING_AUTH = 'USVHA';
context.APRV_BY_PERSON_ASGNING_FCLT = '402';
context.APRV_BY_PERSON_IDENTITY = 'test_AUTHORID_1003';
context.APRV_BY_PRACTITIONER_COMMENTS = 'Approved By Comment';
context.APRV_BY_PRACTITIONER_ID_S = 'IdSourceTable';
context.APRV_BY_PRACTITIONER_DT = '20120501162517-0600';
context.APRV_BY_PRACTITIONER_DT_UTC = ''; //set by system
context.DATE_MODIFIED__DT = dateFormatter.format(new Date()); 
context.DATE_MODIFIED__DT_UTC = null; 
context.RECORD_VERSION = 1;]]></script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting><con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@follow-redirects">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_IDENTITY}</identity>
						<assigningFacility>${PATIENT_ASSIGNING_FACILITY}</assigningFacility>
						<assigningAuthority>${PATIENT_ASSIGNING_AUTHORITY}</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>${PATIENT_NAME_GIVEN}</given>
						<middle>${PATIENT_NAME_MIDDLE}</middle>
						<family>${PATIENT_NAME_FAMILY}</family>
						<suffix>${PATIENT_NAME_SUFFIX}</suffix>
						<title>${PATIENT_NAME_TITLE}</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${RECORD_UPDATE_DT}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>${INITIATING_SYSTEM}</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>${DOCUMENTIDENTIFIER_NAMESPACEID}</namespaceId>
					<universalId>${DOCUMENTIDENTIFIER_UNIVERSALID}</universalId>
					<universalIdType>${DOCUMENTIDENTIFIER_UNIVERSTYP}</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>${APPROVED_FLAG_PENDING}</approvedFlag>
				<author>
					<comment>${AUTH_PRACTITIONER_COMMENTS}</comment>
					<time>
						<literal>${AUTH_PRACTITIONER_DT}</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${AUTH_PERSON_IDENTITY}</identity>
							<assigningFacility>${AUTH_PERSON_ASGNING_FACILITY}</assigningFacility>
							<assigningAuthority>${AUTH_PERSON_ASGNING_AUTHORITY}</assigningAuthority>
						</identifier>
						<idSourceTable>${AUTH_PRACTITIONER_ID_SRC_TBL}</idSourceTable>
						<name>
							<prefix>${AUTH_NAME_PREFIX}</prefix>
							<given>${AUTH_NAME_GIVEN}</given>
							<middle>${AUTH_NAME_MIDDLE}</middle>
							<family>${AUTH_NAME_FAMILY}</family>
							<suffix>${AUTH_NAME_SUFFIX}</suffix>
							<title>${AUTH_NAME_TITLE}</title>
						</name>
					</practitioner>
				</author>
				<detailXML>${DETAIL_XML}</detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Record ID Property Transfer"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>RECORD_ID_XFER</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ Create Data - Valid</con:sourceStep><con:sourcePath>//recordIdentifier/identity</con:sourcePath><con:targetType>RECORD_ID</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="request" name="DBQ Detail Read By Record ID - Pre Update Approved By"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ Detail Read By Record ID - Pre Update Approved By"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQDetailRead2</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2012 rel. 2 sp1 (http://www.altova.com)-->
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Record_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_DETAIL_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ID_1" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<recordIdentifier>${#TestCase#RECORD_ID}</recordIdentifier>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>DBQ_DETAIL_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check DBQ Read By Record ID - Pre Update Approved By"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ Detail Read By Record ID - Pre Update Approved By#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"];
assert recordCount == "1";
def approvalFlag = holder["//approvedFlag"];
assert approvalFlag == "PENDING APPROVAL";
def approverCount = holder["count(//approver)"];
assert approverCount == "0";</script></con:config></con:testStep><con:testStep type="request" name="DBQ Update Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Update Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting><con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@follow-redirects">true</con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_UPDATE_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQUpdate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<recordIdentifier>
					<identity>${#TestCase#RECORD_ID}</identity>
				</recordIdentifier>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>${DOCUMENTIDENTIFIER_NAMESPACEID}</namespaceId>
					<universalId>${DOCUMENTIDENTIFIER_UNIVERSALID}</universalId>
					<universalIdType>${DOCUMENTIDENTIFIER_UNIVERSTYP}</universalIdType>
				</documentIdentifier>
				<dateModified>
					<literal>${DATE_MODIFIED__DT}</literal>
				</dateModified>
				<approvedFlag>${APPROVED_FLAG_APPROVED}</approvedFlag>
				<approvedBy>
					<comment>${APRV_BY_PRACTITIONER_COMMENTS}</comment>
					<time>
						<literal>${APRV_BY_PRACTITIONER_DT}</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>${APRV_BY_PERSON_IDENTITY}</identity>
							<assigningFacility>${APRV_BY_PERSON_ASGNING_FCLT}</assigningFacility>
							<assigningAuthority>${APRV_BY_PERSON_ASGNING_AUTH}</assigningAuthority>
						</identifier>
						<idSourceTable>${APRV_BY_PRACTITIONER_ID_S}</idSourceTable>
						<name>
							<prefix>${APRV_BY_NAME_PREFIX}</prefix>
							<given>${APRV_BY_NAME_GIVEN}</given>
							<middle>${APRV_BY_NAME_MIDDLE}</middle>
							<family>${APRV_BY_NAME_FAMILY}</family>
							<suffix>${APRV_BY_NAME_SUFFIX}</suffix>
							<title>${APRV_BY_NAME_TITLE}</title>
						</name>
					</practitioner>
				</approvedBy>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${UPDATE_REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQUpdate2"/><con:jmsProperties name="REQUEST_ID" value="${UPDATE_REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Detail Read By Record ID - Post Update Approved By"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ Detail Read By Record ID - Post Update Approved By"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQDetailRead2</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2012 rel. 2 sp1 (http://www.altova.com)-->
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Record_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_DETAIL_DATA_FILTER2</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ID_1" isPatientCentric="false">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<recordIdentifier>${#TestCase#RECORD_ID}</recordIdentifier>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>DBQ_DETAIL_DATA_FILTER2</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check DBQ Read By Record ID - Post Update Approved By"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ Detail Read By Record ID - Post Update Approved By#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//recordIdentifier)"]
assert recordCount == "1"
def approvalFlag = holder["//approvedFlag"];
assert approvalFlag == "APPROVED";
def approvedByCount = holder["count(//approvedBy)"];
assert approvedByCount == "1";</script></con:config></con:testStep><con:properties><con:property><con:name>RECORD_ID</con:name><con:value>198</con:value></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:testSuite name="DBQ 3.4 Record Count Read Test Suite"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Patient Centric Count Only Test" searchProperties="true" id="6fb23ab1-7873-486d-b445-10da6e16fc7b"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';


context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 
context.CREATED_DATE2 = '20011231170000-0700';
context.DOCUMENT_TYPE2 = 'Ischemic_Heart_Disease';

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 
context.CREATED_DATE3 = '20051231170000-0700';
context.DOCUMENT_TYPE3 = 'Hematologic_and_Lymphatic_Conditions';

context.CLIENT_REQUEST_INIT_TIME4 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID4  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY4 = UUID.randomUUID().toString(); 
context.CREATED_DATE4 = '20101231170000-0700';
context.DOCUMENT_TYPE4 = 'Parkinson\'s_Disease';
context.PATIENT_ID4 = UUID.randomUUID().toString();


context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID3 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID4 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID5 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID6 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID7 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID8 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID9 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID10 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID11 = UUID.randomUUID().toString();</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE2}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid3" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
   <templateId>DBQCreate2</templateId>
   <clientName>SOAP UI</clientName>
   <clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
   <patient>
      <questionnaireResults>
         <questionnaireResult>
            <patient>
               <identifier>
                  <identity>${PATIENT_ID}</identity>
                  <assigningFacility>200HD</assigningFacility>
                  <assigningAuthority>USVHA</assigningAuthority>
               </identifier>
               <name>
                  <prefix>${PATIENT_NAME_PREFIX}</prefix>
                  <given>Given</given>
                  <middle>MiddleName</middle>
                  <family>FamilyName</family>
                  <suffix>Suffix</suffix>
                  <title>Title</title>
               </name>
            </patient>
            <dateCreated>
               <literal>${CREATED_DATE3}</literal>
            </dateCreated>
            <documentType>${DOCUMENT_TYPE3}</documentType>
            <initiatingSystem>SOAP UI</initiatingSystem>
            <documentIdentifier>
               <identity>${DOCUMENTIDENTIFIER_IDENTITY3}</identity>
               <namespaceId>402</namespaceId>
               <universalId>UID_13359111174322</universalId>
               <universalIdType>universalIdType</universalIdType>
            </documentIdentifier>
            <facilityIdentifier>
               <identity>OrganizationId</identity>
               <name>OrganizationName</name>
               <assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
            </facilityIdentifier>
            <approvedFlag>APPROVED</approvedFlag>
            <approvedBy>
               <comment>Approved By Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </approvedBy>
            <author>
               <comment>Author Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </author>
            <detailXML>
<gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
	<id>6949</id>
	<version>0</version>
	<dateCreated class="sql-timestamp">2012-01-03 11:57:05.25</dateCreated>
	<dateModified class="sql-timestamp">2012-01-03 11:57:05.25</dateModified>
	<formType>FORM_TYPE_DBQ_HEM</formType>
	<vetSsn>190842394</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>ONLINE</documentChannelType>
	<formFileNetStatus>
		<id>5180</id>
		<version>1</version>
		<dateCreated class="sql-timestamp">2012-01-03 11:57:05.3</dateCreated>
		<dateModified>2012-01-03 11:57:40.556 EST</dateModified>
		<formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>
		<formEntity class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
	</formFileNetStatus>
	<webFormType>HEM_DBQ</webFormType>
	<veteranFirstName>Delete</veteranFirstName>
	<veteranLastName>Delete</veteranLastName>
	<physicianFirstName>Doctor</physicianFirstName>
	<physicianLastName>HEM</physicianLastName>
	<medicalLicenseNumber>123</medicalLicenseNumber>
	<country>US</country>
	<addressLine1>1 Address</addressLine1>
	<addressLine2/>
	<addressLine3/>
	<city>Town</city>
	<state>KANSAS</state>
	<zip>23455</zip>
	<physicianPhoneNumber>3256246436</physicianPhoneNumber>
	<privacyActAck>true</privacyActAck>
	<physicianSignature>true</physicianSignature>
	<impactsAbilityToWork>true</impactsAbilityToWork>
	<impactDescription/>
	<remarks/>
	<dateSigned class="sql-timestamp">2012-01-03 11:57:05.25</dateSigned>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">7777</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<medications class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</medications>
	<diagnosticTests class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnosticTests>
	<hasHemicLymphatic>true</hasHemicLymphatic>
	<hasALL>false</hasALL>
	<hasAML>false</hasAML>
	<hasCML>false</hasCML>
	<hasCLL>false</hasCLL>
	<hasHodgkins>false</hasHodgkins>
	<hasNonHodgkins>false</hasNonHodgkins>
	<hasMyeloma>true</hasMyeloma>
	<myelomaICD/>
	<hasMyeloSyndrome>false</hasMyeloSyndrome>
	<hasPlasmacytoma>false</hasPlasmacytoma>
	<hasAnemia>false</hasAnemia>
	<hasThrombo>false</hasThrombo>
	<hasPolycythemia>false</hasPolycythemia>
	<hasSickleCell>false</hasSickleCell>
	<hasSplenectomy>false</hasSplenectomy>
	<hasBCellLeukemia>false</hasBCellLeukemia>
	<hasOtherDiagnosis>false</hasOtherDiagnosis>
	<briefHistory/>
	<diseaseStatus>ACTIVE</diseaseStatus>
	<continuousMedication>false</continuousMedication>
	<treatmentStatus>NO_TREATMENT_WATCHFUL_WAITING</treatmentStatus>
	<transfusion>false</transfusion>
	<findings>false</findings>
	<recurringInfections>false</recurringInfections>
	<diagRelatedScar>false</diagRelatedScar>
	<otherPertinentFinding>false</otherPertinentFinding>
	<labTesting>false</labTesting>
	<otherSignificantResults>false</otherSignificantResults>
</gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
</detailXML>
         </questionnaireResult>
      </questionnaireResults>
   </patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID3}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient - Count Only"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient - Count Only"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Count_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" countOnly="true">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient  - Count Only"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient - Count Only#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def records = holder["count(//questionnaireResult)"];
assert records == "0";
def recordCount = holder["//questionnaireResults/totalResultCount"];
assert recordCount == "3";</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Patient And XPath - Count Only"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Patient And XPath - Count Only"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Count_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" countOnly="true">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathFilter>
			<expression>count(//diagnoses) > 1</expression>
		</xpathFilter>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Patient And XPath - Count Only"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Patient And XPath - Count Only#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["count(//totalResultCount)"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Patient And XPath Multiple Records - Count Only"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Patient And XPath Multiple Records - Count Only"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Count_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" countOnly="true">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathFilter>
			<expression>//diagnoses[key='7553']</expression>
		</xpathFilter>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Patient And XPath Multiple Records - Count Only"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Patient And XPath Multiple Records - Count Only#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["//totalResultCount"]
assert recordCount == "2"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Patient And Date Range - Count Only"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Patient And Date Range - Count Only"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Count_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" countOnly="true">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2004-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</in2>
         <in3>${FILTER_REQUEST_ID2}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check DBQ List Read By Patient And Date Range - Count Only"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Patient And Date Range - Count Only#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["//totalResultCount"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Patient And Document Type - Count Only"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Patient And Document Type - Count Only"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Count_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" countOnly="true">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</in2>
         <in3>${FILTER_REQUEST_ID4}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check DBQ List Read By Patient And Document Type - Count Only"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Patient And Document Type - Count Only#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["//totalResultCount"]
assert recordCount == "2"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Patient Date Range And Document Type - Count Only"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Patient Date Range And Document Type - Count Only"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Count_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" countOnly="true">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>1998-06-01-05:00</startDate>
		<endDate>2000-06-01-05:00</endDate>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</in2>
         <in3>${FILTER_REQUEST_ID5}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check DBQ List Read By Patient Date Range And Document Type - Count Only"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Patient Date Range And Document Type - Count Only#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["//totalResultCount"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient (EdiPi) - Count Only"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient (EdiPi) - Count Only"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Count_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<EdiPi>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</EdiPi>
	</patients>
	<entryPointFilter queryName="ID_1" countOnly="true">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_COUNT_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:assertion type="Simple NotContains" name="Not Contains"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient (EdiPi) - Count Only"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient (EdiPi) - Count Only#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["//totalResultCount"]
assert recordCount == "3"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>09724cae-6eea-449e-a476-3ac71a2404e6</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>152</identity></recordIdentifier><documentIdentifier><identity>682e7f6e-0446-465d-a685-379e46b5d813</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19991231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>153</identity></recordIdentifier><documentIdentifier><identity>debc0a25-77a3-4b40-818d-c4aeb9242eae</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20011231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>154</identity></recordIdentifier><documentIdentifier><identity>7ec074ee-cb30-4805-b155-f605f1beb040</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20051231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>152</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>153</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>154</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>146</con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Non Patient Centric Count Only Test" searchProperties="true" id="4b93cf69-af06-499d-bdbb-8387ce7bbf0f"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;
context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 

context.FACILITY_IDENTITY = UUID.randomUUID().toString();
context.FACILITY_ASSIGNING_AUTHORITY = 'AssigningAuthNamespaceId';
context.FACILITY_NAME = 'OrganizationName';

context.DOCUMENT_TYPE = UUID.randomUUID().toString();
context.DOCUMENT_TYPE_2 = context.DOCUMENT_TYPE + "_2";
//log.info(context.DOCUMENT_TYPE_2);
</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>19691231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE_2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid3" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME3}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>20111231170000-0700</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY3}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>${FACILITY_IDENTITY}</identity>
					<name>${FACILITY_NAME}</name>
					<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID3}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility - Count"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility - Count"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_COUNT_FILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_COUNT_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false" countOnly="true">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_COUNT_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By Facility - Count</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check that Record Count is THREE"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["//totalResultCount"]
assert recordCount == "3"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility And XPath - Count"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility And XPath - Count"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_COUNT_FILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_COUNT_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false" countOnly="true">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<xpathFilter>
			<expression>//diagnoses[key='7553']</expression>
		</xpathFilter>
		<otherQueryParameters>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_COUNT_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Facility And XPath - Count"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read By Facility And XPath - Count#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["//totalResultCount"]
assert recordCount == "3"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility And Date Range - Count"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility And Date Range - Count"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_COUNT_FILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_COUNT_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false" countOnly="true">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_COUNT_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read By Facility And Date Range - Count"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["//totalResultCount"]
assert recordCount == "3"</script></con:config></con:testStep><con:testStep type="transfer" name="Re-Extract CDATA Section"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By Facility And Date Range - Count</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check TWO Record Returned - Count"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["//totalResultCount"]
assert recordCount == "2"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility &amp; Date &amp; Doc Type - Count"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility &amp; Date &amp; Doc Type - Count"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_COUNT_FILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_COUNT_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false" countOnly="true">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<startDate>2011-06-01-05:00</startDate>
		<endDate>2012-06-01-05:00</endDate>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_COUNT_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - Facility &amp; Date &amp; Doc Type"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By Facility &amp; Date &amp; Doc Type - Count</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check ONE Records Returned - Count"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["//totalResultCount"]
assert recordCount == "1"</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read By Facility &amp; Doc Types (multiple) - Count"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read By Facility &amp; Doc Types (multiple) - Count"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_LIST_DATA_COUNTFILTER.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_LIST_DATA_COUNT_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<entryPointFilter queryName="ByFacility" isPatientCentric="false" countOnly="true">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
		<otherQueryParameters>
			<documentType>${DOCUMENT_TYPE}</documentType>
			<documentType>${DOCUMENT_TYPE_2}</documentType>
			<facilityIdentifiers>
				<identity>${FACILITY_IDENTITY}</identity>
				<name>${FACILITY_NAME}</name>
				<assigningAuthority>${FACILITY_ASSIGNING_AUTHORITY}</assigningAuthority>
			</facilityIdentifiers>
		</otherQueryParameters>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_LIST_DATA_COUNT_FILTER</in2>
         <in3>${FILTER_REQUEST_ID}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple NotContains" name="Not Contains &lt;errorSection>"><con:configuration><token>&lt;errorSection></token><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Extract CDATA Section - Facility &amp; Doc Type"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" useXQuery="false" entitize="false" transferChildNodes="false"><con:name>ExtractCDATASection</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>DBQ List Read By Facility &amp; Doc Types (multiple) - Count</con:sourceStep><con:sourcePath>//out</con:sourcePath><con:targetType>CDataSection</con:targetType><con:targetStep>#TestCase#</con:targetStep></con:transfers></con:config></con:testStep><con:testStep type="groovy" name="Check THREE Records Returned (multiple doc types) - Count"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
def content = testRunner.testCase.getPropertyValue( "CDataSection" ); 
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def recordCount = holder["//totalResultCount"]
assert recordCount == "3"</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>d428d446-99b6-44ce-b57f-0c87a2a4ee88</requestId><patients><patient><questionnaireResults><totalResultCount>3</totalResultCount></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:testSuite name="DBQ 3.4 Paging Results Test Suite"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Paging Results Test" searchProperties="true" id="4f323636-7fa3-40e5-84d2-8069245ac5fe"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';


context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 
context.CREATED_DATE2 = '20011231170000-0700';
context.DOCUMENT_TYPE2 = 'Ischemic_Heart_Disease';

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 
context.CREATED_DATE3 = '20051231170000-0700';
context.DOCUMENT_TYPE3 = 'Hematologic_and_Lymphatic_Conditions';

context.CLIENT_REQUEST_INIT_TIME4 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID4  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY4 = UUID.randomUUID().toString(); 
context.CREATED_DATE4 = '20101231170000-0700';
context.DOCUMENT_TYPE4 = 'Parkinson\'s_Disease';
context.PATIENT_ID4 = UUID.randomUUID().toString();


context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID3 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID4 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID5 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID6 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID7 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID8 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID9 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID10 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID11 = UUID.randomUUID().toString();</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE2}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid3" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
   <templateId>DBQCreate2</templateId>
   <clientName>SOAP UI</clientName>
   <clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
   <patient>
      <questionnaireResults>
         <questionnaireResult>
            <patient>
               <identifier>
                  <identity>${PATIENT_ID}</identity>
                  <assigningFacility>200HD</assigningFacility>
                  <assigningAuthority>USVHA</assigningAuthority>
               </identifier>
               <name>
                  <prefix>${PATIENT_NAME_PREFIX}</prefix>
                  <given>Given</given>
                  <middle>MiddleName</middle>
                  <family>FamilyName</family>
                  <suffix>Suffix</suffix>
                  <title>Title</title>
               </name>
            </patient>
            <dateCreated>
               <literal>${CREATED_DATE3}</literal>
            </dateCreated>
            <documentType>${DOCUMENT_TYPE3}</documentType>
            <initiatingSystem>SOAP UI</initiatingSystem>
            <documentIdentifier>
               <identity>${DOCUMENTIDENTIFIER_IDENTITY3}</identity>
               <namespaceId>402</namespaceId>
               <universalId>UID_13359111174322</universalId>
               <universalIdType>universalIdType</universalIdType>
            </documentIdentifier>
            <facilityIdentifier>
               <identity>OrganizationId</identity>
               <name>OrganizationName</name>
               <assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
            </facilityIdentifier>
            <approvedFlag>APPROVED</approvedFlag>
            <approvedBy>
               <comment>Approved By Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </approvedBy>
            <author>
               <comment>Author Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </author>
            <detailXML>
<gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
	<id>6949</id>
	<version>0</version>
	<dateCreated class="sql-timestamp">2012-01-03 11:57:05.25</dateCreated>
	<dateModified class="sql-timestamp">2012-01-03 11:57:05.25</dateModified>
	<formType>FORM_TYPE_DBQ_HEM</formType>
	<vetSsn>190842394</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>ONLINE</documentChannelType>
	<formFileNetStatus>
		<id>5180</id>
		<version>1</version>
		<dateCreated class="sql-timestamp">2012-01-03 11:57:05.3</dateCreated>
		<dateModified>2012-01-03 11:57:40.556 EST</dateModified>
		<formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>
		<formEntity class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
	</formFileNetStatus>
	<webFormType>HEM_DBQ</webFormType>
	<veteranFirstName>Delete</veteranFirstName>
	<veteranLastName>Delete</veteranLastName>
	<physicianFirstName>Doctor</physicianFirstName>
	<physicianLastName>HEM</physicianLastName>
	<medicalLicenseNumber>123</medicalLicenseNumber>
	<country>US</country>
	<addressLine1>1 Address</addressLine1>
	<addressLine2/>
	<addressLine3/>
	<city>Town</city>
	<state>KANSAS</state>
	<zip>23455</zip>
	<physicianPhoneNumber>3256246436</physicianPhoneNumber>
	<privacyActAck>true</privacyActAck>
	<physicianSignature>true</physicianSignature>
	<impactsAbilityToWork>true</impactsAbilityToWork>
	<impactDescription/>
	<remarks/>
	<dateSigned class="sql-timestamp">2012-01-03 11:57:05.25</dateSigned>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">7777</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<medications class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</medications>
	<diagnosticTests class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnosticTests>
	<hasHemicLymphatic>true</hasHemicLymphatic>
	<hasALL>false</hasALL>
	<hasAML>false</hasAML>
	<hasCML>false</hasCML>
	<hasCLL>false</hasCLL>
	<hasHodgkins>false</hasHodgkins>
	<hasNonHodgkins>false</hasNonHodgkins>
	<hasMyeloma>true</hasMyeloma>
	<myelomaICD/>
	<hasMyeloSyndrome>false</hasMyeloSyndrome>
	<hasPlasmacytoma>false</hasPlasmacytoma>
	<hasAnemia>false</hasAnemia>
	<hasThrombo>false</hasThrombo>
	<hasPolycythemia>false</hasPolycythemia>
	<hasSickleCell>false</hasSickleCell>
	<hasSplenectomy>false</hasSplenectomy>
	<hasBCellLeukemia>false</hasBCellLeukemia>
	<hasOtherDiagnosis>false</hasOtherDiagnosis>
	<briefHistory/>
	<diseaseStatus>ACTIVE</diseaseStatus>
	<continuousMedication>false</continuousMedication>
	<treatmentStatus>NO_TREATMENT_WATCHFUL_WAITING</treatmentStatus>
	<transfusion>false</transfusion>
	<findings>false</findings>
	<recurringInfections>false</recurringInfections>
	<diagRelatedScar>false</diagRelatedScar>
	<otherPertinentFinding>false</otherPertinentFinding>
	<labTesting>false</labTesting>
	<otherSignificantResults>false</otherSignificantResults>
</gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
</detailXML>
         </questionnaireResult>
      </questionnaireResults>
   </patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID3}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient - Page 1 of 3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient - Page 1 of 3"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" pageNumber="1" pageSize="1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient - Page 1 Records"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient - Page 1 of 3#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def records = holder["count(//questionnaireResult)"];
assert records == "1";

assert "1" == holder["//pageFirstRecord"]
assert "1" == holder["//pageLastRecord"]
</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient - Page 2 of 3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient - Page 2 of 3"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" pageNumber="2" pageSize="1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient - Page 2 Records"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient - Page 2 of 3#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def records = holder["count(//questionnaireResult)"];
assert records == "1";

assert "2" == holder["//pageFirstRecord"]
assert "2" == holder["//pageLastRecord"]
</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient - Page 3 of 3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient - Page 3 of 3"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" pageNumber="3" pageSize="1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient - Page 3 Records"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient - Page 3 of 3#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def records = holder["count(//questionnaireResult)"];
assert records == "1";

assert "3" == holder["//pageFirstRecord"]
assert "3" == holder["//pageLastRecord"]
</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient - Page 1 of 2 Size 2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient - Page 1 of 2 Size 2"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" pageNumber="1" pageSize="2">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient - Page 1 Records 1 - 2"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient - Page 1 of 2 Size 2#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def records = holder["count(//questionnaireResult)"];
assert records == "2";

assert "1" == holder["//pageFirstRecord"]
assert "2" == holder["//pageLastRecord"]
</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient - Page 2 of 2 Size 1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient - Page 2 of 2 Size 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" pageNumber="2" pageSize="2">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient - Page 2 Records 3 - 3"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient - Page 2 of 2 Size 1#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def records = holder["count(//questionnaireResult)"];
assert records == "1";

assert "3" == holder["//pageFirstRecord"]
assert "3" == holder["//pageLastRecord"]
</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>09724cae-6eea-449e-a476-3ac71a2404e6</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>152</identity></recordIdentifier><documentIdentifier><identity>682e7f6e-0446-465d-a685-379e46b5d813</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19991231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>153</identity></recordIdentifier><documentIdentifier><identity>debc0a25-77a3-4b40-818d-c4aeb9242eae</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20011231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>154</identity></recordIdentifier><documentIdentifier><identity>7ec074ee-cb30-4805-b155-f605f1beb040</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20051231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>152</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>153</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>154</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>177</con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="DBQ Max Results Test" searchProperties="true" id="f8939c5f-fe2f-4652-8b31-bd29ece035ce"><con:settings/><con:testStep type="groovy" name="Setup Test Data"><con:settings/><con:config><script>import java.util.UUID;  
import org.apache.commons.lang.time.DateFormatUtils;

context.PATIENT_ID = UUID.randomUUID().toString();

context.CLIENT_REQUEST_INIT_TIME = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID = UUID.randomUUID().toString();
context.REQUEST_ID  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY = UUID.randomUUID().toString(); 
context.CREATED_DATE = '19991231170000-0700';
context.DOCUMENT_TYPE = 'Ischemic_Heart_Disease';


context.CLIENT_REQUEST_INIT_TIME2 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.REQUEST_ID2  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY2 = UUID.randomUUID().toString(); 
context.CREATED_DATE2 = '20011231170000-0700';
context.DOCUMENT_TYPE2 = 'Ischemic_Heart_Disease';

context.CLIENT_REQUEST_INIT_TIME3 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID3  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY3 = UUID.randomUUID().toString(); 
context.CREATED_DATE3 = '20051231170000-0700';
context.DOCUMENT_TYPE3 = 'Hematologic_and_Lymphatic_Conditions';

context.CLIENT_REQUEST_INIT_TIME4 = DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format( new Date() );
context.REQUEST_ID4  = UUID.randomUUID().toString(); 
context.DOCUMENTIDENTIFIER_IDENTITY4 = UUID.randomUUID().toString(); 
context.CREATED_DATE4 = '20101231170000-0700';
context.DOCUMENT_TYPE4 = 'Parkinson\'s_Disease';
context.PATIENT_ID4 = UUID.randomUUID().toString();


context.FILTER_REQUEST_ID1 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID2 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID3 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID4 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID5 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID6 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID7 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID8 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID9 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID10 = UUID.randomUUID().toString();
context.FILTER_REQUEST_ID11 = UUID.randomUUID().toString();</script></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid1" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid2" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
	<templateId>DBQCreate2</templateId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME2}</clientRequestInitiationTime>
	<patient>
		<questionnaireResults>
			<questionnaireResult>
				<patient>
					<identifier>
						<identity>${PATIENT_ID}</identity>
						<assigningFacility>200HD</assigningFacility>
						<assigningAuthority>USVHA</assigningAuthority>
					</identifier>
					<name>
						<prefix>${PATIENT_NAME_PREFIX}</prefix>
						<given>Given</given>
						<middle>MiddleName</middle>
						<family>FamilyName</family>
						<suffix>Suffix</suffix>
						<title>Title</title>
					</name>
				</patient>
				<dateCreated>
					<literal>${CREATED_DATE2}</literal>
				</dateCreated>
				<documentType>${DOCUMENT_TYPE2}</documentType>
				<initiatingSystem>SOAP UI</initiatingSystem>
				<documentIdentifier>
					<identity>${DOCUMENTIDENTIFIER_IDENTITY2}</identity>
					<namespaceId>402</namespaceId>
					<universalId>UID_13359111174322</universalId>
					<universalIdType>universalIdType</universalIdType>
				</documentIdentifier>
				<facilityIdentifier>
					<identity>OrganizationId</identity>
					<name>OrganizationName</name>
					<assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
				</facilityIdentifier>
				<approvedFlag>APPROVED</approvedFlag>
				<approvedBy>
					<comment>Approved By Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</approvedBy>
				<author>
					<comment>Author Comment</comment>
					<time>
						<literal>20120501162517-0600</literal>
					</time>
					<practitioner>
						<identifier>
							<identity>test_AUTHORID_1003</identity>
							<assigningFacility>402</assigningFacility>
							<assigningAuthority>USVHA</assigningAuthority>
						</identifier>
						<idSourceTable>IdSourceTable</idSourceTable>
						<name>
							<prefix>Prefix</prefix>
							<given>Given</given>
							<middle>MiddleName</middle>
							<family>FamilyName</family>
							<suffix>Suffix</suffix>
							<title>Title</title>
						</name>
					</practitioner>
				</author>
				<detailXML><gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease>  <id>7553</id>  <version>0</version>  <dateCreated class="sql-timestamp">2012-01-10 09:45:51.397</dateCreated>  <dateModified class="sql-timestamp">2012-01-10 09:45:51.397</dateModified>  <formType>FORM_TYPE_DBQ_IHD</formType>  <vetSsn>941288701</vetSsn>  <documentStatusType>COMPLETE</documentStatusType>  <documentChannelType>ONLINE</documentChannelType>  <formFileNetStatus>    <id>5760</id>    <version>1</version>    <dateCreated class="sql-timestamp">2012-01-10 09:45:51.437</dateCreated>    <dateModified>2012-01-10 09:45:51.507 EST</dateModified>    <formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>    <formEntity class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>  </formFileNetStatus>  <webFormType>IHD_DBQ</webFormType>  <veteranFirstName>Test</veteranFirstName>  <veteranLastName>Test</veteranLastName>  <physicianFirstName>Dr</physicianFirstName>  <physicianLastName>Test</physicianLastName>  <medicalLicenseNumber>12</medicalLicenseNumber>  <country>US</country>  <addressLine1>Test</addressLine1>  <addressLine2></addressLine2>  <addressLine3></addressLine3>  <city>Test</city>  <state>DELAWARE</state>  <zip>12345</zip>  <physicianPhoneNumber>1231221312</physicianPhoneNumber>  <privacyActAck>true</privacyActAck>  <physicianSignature>true</physicianSignature>  <impactsAbilityToWork>false</impactsAbilityToWork>  <remarks></remarks>  <dateSigned class="sql-timestamp">2012-01-10 09:45:51.397</dateSigned>  <diagnoses class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnoses>  <medications class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </medications>  <diagnosticTests class="org.hibernate.collection.PersistentBag">    <initialized>true</initialized>    <owner class="gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease" reference="../.."/>    <cachedSize>-1</cachedSize>    <role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>    <key class="long">7553</key>    <dirty>false</dirty>    <storedSnapshot class="list"/>    <bag/>  </diagnosticTests>  <hasIschemicHeartDisease>true</hasIschemicHeartDisease>  <takesContinuousMedication>false</takesContinuousMedication>  <hasPercutaneousCoronaryIntervention>false</hasPercutaneousCoronaryIntervention>  <hasMyocardialInfarction>false</hasMyocardialInfarction>  <hasCoronaryBypassSurgery>false</hasCoronaryBypassSurgery>  <hasHeartTransplant>false</hasHeartTransplant>  <hasImplantedCardiacPacemaker>false</hasImplantedCardiacPacemaker>  <hasImplantedAicd>false</hasImplantedAicd>  <doesVeteranHaveCHF>false</doesVeteranHaveCHF>  <hasExerciseTestBeenConducted>false</hasExerciseTestBeenConducted>  <metsLevel>metsLevel13</metsLevel>  <hasDyspnea>false</hasDyspnea>  <hasFatigue>false</hasFatigue>  <hasAngina>false</hasAngina>  <hasDizziness>false</hasDizziness>  <hasSyncope>true</hasSyncope>  <isEvidenceOfHypertrophyOrDil>false</isEvidenceOfHypertrophyOrDil>  <hasEkg>false</hasEkg>  <hasChestXRay>false</hasChestXRay>  <hasEchocardiogram>false</hasEchocardiogram>  <hasOtherTest>false</hasOtherTest>  <hasLVEF>false</hasLVEF></gov.va.agentorange.fasttrack.model.dbq.ihd.IschemicHeartDisease></detailXML>
			</questionnaireResult>
		</questionnaireResults>
	</patient>
</clinicaldata:ClinicalData>
]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY2}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID2}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ Create Data - Valid3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>appendClinicalData</con:operation><con:request name="DBQ Create Data - Valid3" outgoingWss="" incomingWss=""><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>jms://${CDS_DBQ_JMS_ENDPOINT}</con:endpoint><con:request><![CDATA[<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata">
   <templateId>DBQCreate2</templateId>
   <clientName>SOAP UI</clientName>
   <clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
   <patient>
      <questionnaireResults>
         <questionnaireResult>
            <patient>
               <identifier>
                  <identity>${PATIENT_ID}</identity>
                  <assigningFacility>200HD</assigningFacility>
                  <assigningAuthority>USVHA</assigningAuthority>
               </identifier>
               <name>
                  <prefix>${PATIENT_NAME_PREFIX}</prefix>
                  <given>Given</given>
                  <middle>MiddleName</middle>
                  <family>FamilyName</family>
                  <suffix>Suffix</suffix>
                  <title>Title</title>
               </name>
            </patient>
            <dateCreated>
               <literal>${CREATED_DATE3}</literal>
            </dateCreated>
            <documentType>${DOCUMENT_TYPE3}</documentType>
            <initiatingSystem>SOAP UI</initiatingSystem>
            <documentIdentifier>
               <identity>${DOCUMENTIDENTIFIER_IDENTITY3}</identity>
               <namespaceId>402</namespaceId>
               <universalId>UID_13359111174322</universalId>
               <universalIdType>universalIdType</universalIdType>
            </documentIdentifier>
            <facilityIdentifier>
               <identity>OrganizationId</identity>
               <name>OrganizationName</name>
               <assigningAuthority>AssigningAuthNamespaceId</assigningAuthority>
            </facilityIdentifier>
            <approvedFlag>APPROVED</approvedFlag>
            <approvedBy>
               <comment>Approved By Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </approvedBy>
            <author>
               <comment>Author Comment</comment>
               <time>
                  <literal>20120501162517-0600</literal>
               </time>
               <practitioner>
                  <identifier>
                     <identity>test_AUTHORID_1003</identity>
                     <assigningFacility>402</assigningFacility>
                     <assigningAuthority>USVHA</assigningAuthority>
                  </identifier>
                  <idSourceTable>IdSourceTable</idSourceTable>
                  <name>
                     <prefix>Prefix</prefix>
                     <given>Given</given>
                     <middle>MiddleName</middle>
                     <family>FamilyName</family>
                     <suffix>Suffix</suffix>
                     <title>Title</title>
                  </name>
               </practitioner>
            </author>
            <detailXML>
<gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
	<id>6949</id>
	<version>0</version>
	<dateCreated class="sql-timestamp">2012-01-03 11:57:05.25</dateCreated>
	<dateModified class="sql-timestamp">2012-01-03 11:57:05.25</dateModified>
	<formType>FORM_TYPE_DBQ_HEM</formType>
	<vetSsn>190842394</vetSsn>
	<documentStatusType>COMPLETE</documentStatusType>
	<documentChannelType>ONLINE</documentChannelType>
	<formFileNetStatus>
		<id>5180</id>
		<version>1</version>
		<dateCreated class="sql-timestamp">2012-01-03 11:57:05.3</dateCreated>
		<dateModified>2012-01-03 11:57:40.556 EST</dateModified>
		<formFnStatusType>PROCESSOR_PROCESSING</formFnStatusType>
		<formEntity class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
	</formFileNetStatus>
	<webFormType>HEM_DBQ</webFormType>
	<veteranFirstName>Delete</veteranFirstName>
	<veteranLastName>Delete</veteranLastName>
	<physicianFirstName>Doctor</physicianFirstName>
	<physicianLastName>HEM</physicianLastName>
	<medicalLicenseNumber>123</medicalLicenseNumber>
	<country>US</country>
	<addressLine1>1 Address</addressLine1>
	<addressLine2/>
	<addressLine3/>
	<city>Town</city>
	<state>KANSAS</state>
	<zip>23455</zip>
	<physicianPhoneNumber>3256246436</physicianPhoneNumber>
	<privacyActAck>true</privacyActAck>
	<physicianSignature>true</physicianSignature>
	<impactsAbilityToWork>true</impactsAbilityToWork>
	<impactDescription/>
	<remarks/>
	<dateSigned class="sql-timestamp">2012-01-03 11:57:05.25</dateSigned>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<diagnoses class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnoses</role>
		<key class="long">7777</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnoses>
	<medications class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.medications</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</medications>
	<diagnosticTests class="org.hibernate.collection.PersistentBag">
		<initialized>true</initialized>
		<owner class="gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic" reference="../.."/>
		<cachedSize>-1</cachedSize>
		<role>gov.va.agentorange.fasttrack.model.dbq.DbqFormEntity.diagnosticTests</role>
		<key class="long">6949</key>
		<dirty>false</dirty>
		<storedSnapshot class="list"/>
		<bag/>
	</diagnosticTests>
	<hasHemicLymphatic>true</hasHemicLymphatic>
	<hasALL>false</hasALL>
	<hasAML>false</hasAML>
	<hasCML>false</hasCML>
	<hasCLL>false</hasCLL>
	<hasHodgkins>false</hasHodgkins>
	<hasNonHodgkins>false</hasNonHodgkins>
	<hasMyeloma>true</hasMyeloma>
	<myelomaICD/>
	<hasMyeloSyndrome>false</hasMyeloSyndrome>
	<hasPlasmacytoma>false</hasPlasmacytoma>
	<hasAnemia>false</hasAnemia>
	<hasThrombo>false</hasThrombo>
	<hasPolycythemia>false</hasPolycythemia>
	<hasSickleCell>false</hasSickleCell>
	<hasSplenectomy>false</hasSplenectomy>
	<hasBCellLeukemia>false</hasBCellLeukemia>
	<hasOtherDiagnosis>false</hasOtherDiagnosis>
	<briefHistory/>
	<diseaseStatus>ACTIVE</diseaseStatus>
	<continuousMedication>false</continuousMedication>
	<treatmentStatus>NO_TREATMENT_WATCHFUL_WAITING</treatmentStatus>
	<transfusion>false</transfusion>
	<findings>false</findings>
	<recurringInfections>false</recurringInfections>
	<diagRelatedScar>false</diagRelatedScar>
	<otherPertinentFinding>false</otherPertinentFinding>
	<labTesting>false</labTesting>
	<otherSignificantResults>false</otherSignificantResults>
</gov.va.agentorange.fasttrack.model.dbq.hem.HematologicLymphatic>
</detailXML>
         </questionnaireResult>
      </questionnaireResults>
   </patient>
</clinicaldata:ClinicalData>]]></con:request><con:assertion type="XPath Match" name="Matches Request ID"><con:configuration><path>//requestId</path><content>${REQUEST_ID3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Matches Docuent ID"><con:configuration><path>//identifier/documentIdentifier/identity</path><content>${DOCUMENTIDENTIFIER_IDENTITY3}</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="Response Includes Record Identifier"><con:configuration><path>count(//identifiers/identifier)</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>true</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" messageSelector="" TimeToLive=""/><con:jmsPropertyConfig><con:jmsProperties name="TEMPLATE_ID" value="DBQCreate2"/><con:jmsProperties name="REQUEST_ID" value="${REQUEST_ID3}"/></con:jmsPropertyConfig><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient - Max Results Unset"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient - Max Results Unset"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient - Result Count 3 (null/empty)"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient - Max Results Unset#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def records = holder["count(//questionnaireResult)"];
assert records == "3";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient - Max Results -1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient - Max Results -1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" pageNumber="0" pageSize="-1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient - Result Count 3(-1)"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient - Max Results -1#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def records = holder["count(//questionnaireResult)"];
assert records == "3";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient - Max Results 0"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient - Max Results 0"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" pageNumber="0" pageSize="0">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient - Result Count 3(0)"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient - Max Results 0#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def records = holder["count(//questionnaireResult)"];
assert records == "3";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient - Max Results 1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient - Max Results 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" pageNumber="1" pageSize="1">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient - Result Count 1"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient - Max Results 1#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def records = holder["count(//questionnaireResult)"];
assert records == "1";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient - Max Results 2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient - Max Results 2"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" pageNumber="1" pageSize="2">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient - Result Count 2"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient - Max Results 2#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def records = holder["count(//questionnaireResult)"];
assert records == "2";
</script></con:config></con:testStep><con:testStep type="request" name="DBQ List Read All By Patient - Max Results 4"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData1</con:operation><con:request name="DBQ List Read All By Patient - Max Results 4"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://${CDS_SERVICE_SOAP_ENDPOINT}</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1>
         <in0>DBQListRead1</in0>
         <in1><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter DBQ_Single_Patient_All_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<clientName>SOAP UI</clientName>
	<clientRequestInitiationTime>${CLIENT_REQUEST_INIT_TIME}</clientRequestInitiationTime>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>200HD</assigningFacility>
			<identity>${PATIENT_ID}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1" pageNumber="1" pageSize="4">
		<domainEntryPoint>QuestionnaireResult</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
         ]]]]>><![CDATA[</in1>
         <in2>DBQ_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>${FILTER_REQUEST_ID1}</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Simple Contains" name="Contains"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="groovy" name="Check List Read All By Patient - Result Count 3/4"><con:settings/><con:config><script>import com.eviware.soapui.support.XmlHolder 

def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );

def soapResponseHolder = groovyUtils.getXmlHolder( "DBQ List Read All By Patient - Max Results 4#Response" ) ;
def content = soapResponseHolder["//out"] ;
content = content.replaceAll( "&lt;!\\[CDATA\\[", "" ) 
content = content.replaceAll( "]]&gt;", "" ) 

def holder = groovyUtils.getXmlHolder( content ) ;
def records = holder["count(//questionnaireResult)"];
assert records == "3";
</script></con:config></con:testStep><con:properties><con:property><con:name>CDataSection</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>DBQListRead1</templateId><requestId>09724cae-6eea-449e-a476-3ac71a2404e6</requestId><patients><patient><requestedResolvedIdentifiers><requestedResolvedIdentifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></requestedResolvedIdentifier></requestedResolvedIdentifiers><resultantIdentifiers><resultantIdentifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifier></resultantIdentifiers><questionnaireResults><questionnaireResult><patient><identifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>152</identity></recordIdentifier><documentIdentifier><identity>682e7f6e-0446-465d-a685-379e46b5d813</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>19991231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Ischemic_Heart_Disease</documentType><recordIdentifier><identity>153</identity></recordIdentifier><documentIdentifier><identity>debc0a25-77a3-4b40-818d-c4aeb9242eae</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20011231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult><questionnaireResult><patient><identifier><identity>65943d54-51b6-4fe9-a7d2-3ad6a8618e8d</identity><assigningFacility>200HD</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></patient><documentType>Hematologic_and_Lymphatic_Conditions</documentType><recordIdentifier><identity>154</identity></recordIdentifier><documentIdentifier><identity>7ec074ee-cb30-4805-b155-f605f1beb040</identity><namespaceId>402</namespaceId><universalId>UID_13359111174322</universalId><universalIdType>universalIdType</universalIdType></documentIdentifier><initiatingSystem>SOAP UI</initiatingSystem><facilityIdentifier><identity>OrganizationId</identity><name>OrganizationName</name><assigningAuthority>AssigningAuthNamespaceId</assigningAuthority></facilityIdentifier><approvedFlag>APPROVED</approvedFlag><author><comment>Author Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></author><approvedBy><comment>Approved By Comment</comment><time><literal>20120501162517-0600</literal></time><practitioner><identifier><identity>test_AUTHORID_1003</identity><assigningFacility>402</assigningFacility><assigningAuthority>USVHA</assigningAuthority></identifier><name><prefix>Prefix</prefix><given>Given</given><middle>MiddleName</middle><family>FamilyName</family><suffix>Suffix</suffix><title>Title</title></name></practitioner></approvedBy><dateCreated><literal>20051231170000-0700</literal></dateCreated><recordVersion>3</recordVersion></questionnaireResult></questionnaireResults></patient></patients></clinicaldata:ClinicalData>]]></con:value></con:property><con:property><con:name>RecordId1</con:name><con:value>152</con:value></con:property><con:property><con:name>RecordId2</con:name><con:value>153</con:value></con:property><con:property><con:name>RecordId3</con:name><con:value>154</con:value></con:property><con:property><con:name>RecordId4</con:name><con:value>177</con:value></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:mockService port="8088" path="/mockClinicalDataServiceSynchronousInterfaceHttpBinding" host="ISL-EGBERTB-LT" name="ClinicalDataServiceSynchronousInterfaceHttpBinding MockService"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.mock.WsdlMockService@require-soap-action">false</con:setting></con:settings><con:mockOperation name="createClinicalData" interface="ClinicalDataServiceSynchronousInterfaceHttpBinding" operation="createClinicalData"><con:settings/><con:dispatchStyle>SEQUENCE</con:dispatchStyle><con:defaultResponse>Response 1</con:defaultResponse><con:response name="Response 1" encoding="UTF-8"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:createClinicalDataResponse>
         <out>?</out>
      </cli:createClinicalDataResponse>
   </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/createClinicalDataResponse"/></con:response><con:dispatchConfig/></con:mockOperation><con:mockOperation name="readClinicalData" interface="ClinicalDataServiceSynchronousInterfaceHttpBinding" operation="readClinicalData"><con:settings/><con:dispatchStyle>SEQUENCE</con:dispatchStyle><con:defaultResponse>Response 1</con:defaultResponse><con:response name="Response 1" encoding="UTF-8"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalDataResponse>
         <out>?</out>
      </cli:readClinicalDataResponse>
   </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataResponse"/></con:response><con:dispatchConfig/></con:mockOperation><con:mockOperation name="readClinicalData1" interface="ClinicalDataServiceSynchronousInterfaceHttpBinding" operation="readClinicalData1"><con:settings/><con:dispatchStyle>SEQUENCE</con:dispatchStyle><con:defaultResponse>Response 1</con:defaultResponse><con:response name="Response 1" encoding="UTF-8"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://client.cds.URL       ">
   <soapenv:Header/>
   <soapenv:Body>
      <cli:readClinicalData1Response>
         <out>?</out>
      </cli:readClinicalData1Response>
   </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalData1Response"/></con:response><con:dispatchConfig/></con:mockOperation><con:properties/></con:mockService><con:properties/><con:wssContainer/><con:beforeRunScript>com.eviware.soapui.support.GroovyUtils.registerJdbcDriver("oracle.jdbc.OracleDriver")</con:beforeRunScript><con:sensitiveInformation/></con:soapui-project>