<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="HDRSmokeTest" resourceRoot="" soapui-version="3.6.1" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><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://vahdrsvwls02.aac.DNS   :7261/cds-wsclient/cds-service?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://vahdrsvwls02.aac.DNS   :7261/cds-wsclient/cds-service?wsdl"><con:part><con:url>http://vahdrsvwls02.aac.DNS   :7261/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://vahdrsvwls02.aac.DNS   :7261/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>http://vahdrsvwls02.aac.DNS   :7261/cds-wsclient/cds-service</con:endpoint><con:endpoint>http://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://vahdrsvwls02.aac.DNS   :7261/cds-wsclient/cds-service</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:jmsConfig JMSDeliveryMode="PERSISTENT"/><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://vahdrsvwls02.aac.DNS   :7261/cds-wsclient/cds-service</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:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/createClinicalDataRequest"/></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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://vahdrsvwls02.aac.DNS   :7261/cds-wsclient/cds-service</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:jmsConfig JMSDeliveryMode="PERSISTENT"/><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://vahdrsvwls02.aac.DNS   :7261/cds-wsclient/cds-service</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:jmsConfig JMSDeliveryMode="PERSISTENT"/><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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://vahdrsvwls02.aac.DNS   :7261/cds-wsclient/cds-service</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:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest"/></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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://vahdrsvwls02.aac.DNS   :7261/cds-wsclient/cds-service</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: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"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://vahdrsvwls02.aac.DNS   :7261/cds-wsclient/cds-service</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:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/updateClinicalDataRequest"/></con:call></con:operation></con:interface><con:testSuite name="CDS 2 ClinicalDataServiceSynchronousInterfaceHttpBinding TestSuite"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="isAlive SOAP TestCase" searchProperties="true" id="8128660e-2079-4aed-bf1d-22482df418af"><con:settings/><con:testStep type="request" name="isAliveSOAP"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>isAlive</con:operation><con:request name="isAliveSOAP"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace soap="http://schemas.xmlsoap.org/soap/envelope/"
soap:Envelope[1]/soap:Body[1]</path><content><![CDATA[<soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <isAliveResponse xmlns="http://client.cds.URL       ">
    <out xmlns="">true</out>
  </isAliveResponse>
</soap:Body>]]></content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/isAliveRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="isAlive HTTP TestCase" searchProperties="true" id="0df94837-7311-4dd6-99ee-66d34311b859"><con:settings/><con:testStep type="httprequest" name="isAliveHTTP"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="isAliveHTTP" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:endpoint>http://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service/isAlive</con:endpoint><con:request/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>//html[1]/body[1]</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP RDI_IC_RX TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="5484eac2-67e9-45fd-b772-33ecd46b2c83"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_RDI_IC_RX"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData</con:operation><con:request name="readClinicalDataSOAP_RDI_IC_RX"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>RDIIntoleranceConditionPharmacyRead40010</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
           <filter:filter vhimVersion="Vhim_4_00" xmlns:filter="Filter">
	     <filterId>RDI_IC_RX_SINGLE_PATIENT_FILTER</filterId>
             <patients>
               <NationalId>${#Project#PATIENTID_1}</NationalId>
	     </patients>
             <entryPointFilter queryName="IC-Standardized">
               <domainEntryPoint>IntoleranceCondition</domainEntryPoint>
               <xpathQuery>
                 <xpath>intoleranceConditions[((gmrAllergyAgent[(code!='') and (codingSystem = '99VHA_ERT' or contains(.,'99VA'))]) or (drugClass/code[(code!='') and (codingSystem = '99VHA_ERT' or contains(.,'99VA'))]) or (drugIngredient/code[(code!='') and (codingSystem = '99VHA_ERT' or contains(.,'99VA'))])) and (status = 'F')]</xpath>
               </xpathQuery>
             </entryPointFilter>
             <entryPointFilter queryName="OMP-Standardized">
               <domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint>
               <xpathQuery>
                 <xpath>outpatientMedicationPromises[pharmacyRequest/orderedMedication/medicationCode[(code!='') and (codingSystem = '99VHA_ERT' or contains(.,'99VA'))]]</xpath>
               </xpathQuery>
             </entryPointFilter>
           </filter:filter>]]]]>><![CDATA[</in1>
         <in2>RDI_IC_RX_SINGLE_PATIENT_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors" )
assert fatalerrors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warnings = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings" )
assert warnings.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/resultantIdentifiers" )
log.info("patientCount = " + patientResultantIdentifiersCount.length)
assert patientResultantIdentifiersCount.length >= 3

</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - intolerance Condition Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def intoleranceConditionCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/intoleranceConditions" )
assert intoleranceConditionCount.length >= 2
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - outpatientMedications Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def outpatientMedicationsCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/outpatientMedicationPromises" ).length
assert outpatientMedicationsCount >= 58
</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties><con:property><con:name>CLINICALDATA</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>RDIIntoleranceConditionPharmacyRead40010</templateId><requestId>1</requestId><patient><requestedNationalId>1012591599</requestedNationalId><resultantIdentifiers><identity>7206652</identity><assigningFacility>992</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>201485</identity><assigningFacility>613</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>1012591599V655848</identity><assigningFacility>200M</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>8000797</identity><assigningFacility>657</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers></patient><errorSection><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 657. Patient ID is 8000797. Domain entry point is IntoleranceCondition. Database is VISTA-657-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 992. Patient ID is 7206652. Domain entry point is IntoleranceCondition. Database is VISTA-992-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 613. Patient ID is 201485. Domain entry point is IntoleranceCondition. Database is VISTA-613-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings></errorSection></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData HTTP RDI_IC_RX TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="afa23508-a239-4cce-88b2-19fe45546ad9"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="httprequest" name="readClinicalDataHTTP_RDI_IC_RX"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="readClinicalDataHTTP_RDI_IC_RX" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:endpoint>http://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service/readClinicalData1</con:endpoint><con:request/><con:assertion type="XPath Match" name="XPath Match - Patient Identifier Count"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/resultantIdentifiers)</path><content>4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match - intoleranceCondition Count"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/intoleranceConditions) >= 2</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match - outpatientMedicationPromises Count"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/outpatientMedicationPromises) >= 58</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match - 2 intoleranceConditions from 644"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/intoleranceConditions[/clinicaldata:ClinicalData/patient/intoleranceConditions/patient/identifier/assigningFacility='644']) >= 2</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match - 0 intoleranceConditions from 660"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/intoleranceConditions[/clinicaldata:ClinicalData/patient/intoleranceConditions/patient/identifier/assigningFacility='660']) = 0</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match - 58 outpatientMedicationPromises from 644"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/outpatientMedicationPromises[/clinicaldata:ClinicalData/patient/outpatientMedicationPromises/patient/identifier/assigningFacility='644']) >= 58</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match - 0 outpatientMedicationPromises from 660"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/outpatientMedicationPromises[/clinicaldata:ClinicalData/patient/outpatientMedicationPromises/patient/identifier/assigningFacility='660']) = 0</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters><con:parameter><con:name>templateId</con:name><con:value>RDIIntoleranceConditionPharmacyRead40010</con:value><con:style>QUERY</con:style></con:parameter><con:parameter><con:name>filterRequest</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?><filter:filter xmlns:filter="Filter" vhimVersion="Vhim_4_00"> 	<filterId>RDI_IC_RX_SINGLE_PATIENT_FILTER</filterId> 	<patients> 		<NationalId>${#Project#PATIENTID_1}</NationalId> 	</patients> 	<entryPointFilter queryName="IC-Standardized"> 		<domainEntryPoint>IntoleranceCondition</domainEntryPoint> 	</entryPointFilter> 	<entryPointFilter queryName="OMP-Standardized"> 		<domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint> 	</entryPointFilter> </filter:filter>]]></con:value><con:style>QUERY</con:style></con:parameter><con:parameter><con:name>filterId</con:name><con:value>RDI_IC_RX_SINGLE_PATIENT_FILTER</con:value><con:style>QUERY</con:style></con:parameter><con:parameter><con:name>requestId</con:name><con:value>1</con:value><con:style>QUERY</con:style></con:parameter></con:parameters></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP VitalSigns TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="d5c6ef65-c2f4-44dd-ade2-b6ce0ff1eaec"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_VW_VitalSigns"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData</con:operation><con:request name="readClinicalDataSOAP_VW_VitalSigns"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>VWVitalsignsRead40010</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter VW_VITAL_Single_Patient_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>VW_VITAL_SINGLE_PATIENT_FILTER</filterId>
	<patients>
		<NationalId>${#Project#PATIENTID_1}</NationalId>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>VitalSignObservationEvent</domainEntryPoint>
		<xpathQuery>
			<xpath>vitalSignObservationEvents[status != 'E']</xpath>
		</xpathQuery>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>VW_VITAL_SINGLE_PATIENT_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors" )
assert fatalerrors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warnings = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings" )
assert warnings.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/resultantIdentifiers" )
assert patientResultantIdentifiersCount.length == 4

</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - VitalSigns Count >= 64"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def vitalSignsCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/vitalSignObservationEvents" ).length
log.info("vitals count = " + vitalSignsCount)
assert vitalSignsCount >= 64
</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP IntoleranceConditions TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="ccdfbcb8-3c52-478b-afa7-2b12d12bf50a"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_IntoleranceConditions"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData</con:operation><con:request name="readClinicalDataSOAP_IntoleranceConditions"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>IntoleranceConditionRead40010</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>IC_SINGLE_PATIENT_ALL_DATA_FILTER</filterId>
	<patients>
		<NationalId>${#Project#PATIENTID_1}</NationalId>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>IntoleranceCondition</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
]]]]>><![CDATA[</in1>
         <in2>IC_SINGLE_PATIENT_ALL_DATA_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors" )
assert fatalerrors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warnings = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings" )
assert warnings.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/resultantIdentifiers" )
assert patientResultantIdentifiersCount.length == 4

</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - intolerance Condition Count >= 2"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def intoleranceConditionCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/intoleranceConditions" )
log.info("ic count = " + intoleranceConditionCount.length)
assert intoleranceConditionCount.length >= 2
</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties><con:property><con:name>CLINICALDATA</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>RDIIntoleranceConditionPharmacyRead40010</templateId><requestId>1</requestId><patient><requestedNationalId>1012591599</requestedNationalId><resultantIdentifiers><identity>7206652</identity><assigningFacility>992</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>201485</identity><assigningFacility>613</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>1012591599V655848</identity><assigningFacility>200M</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>8000797</identity><assigningFacility>657</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers></patient><errorSection><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 657. Patient ID is 8000797. Domain entry point is IntoleranceCondition. Database is VISTA-657-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 992. Patient ID is 7206652. Domain entry point is IntoleranceCondition. Database is VISTA-992-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 613. Patient ID is 201485. Domain entry point is IntoleranceCondition. Database is VISTA-613-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings></errorSection></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP Lab TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="c2f088ef-8fa4-4eb0-91d7-d682b786f141"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_labTestPromises"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData</con:operation><con:request name="readClinicalDataSOAP_labTestPromises"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>LabRead40010</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>LAB_SINGLE_PATIENT_ALL_DATA_FILTER</filterId>
	<patients>
		<NationalId>${#Project#PATIENTID_1}</NationalId>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>LabTestPromise</domainEntryPoint>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>LAB_SINGLE_PATIENT_ALL_DATA_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors" )
assert fatalerrors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warnings = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings" )
assert warnings.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/resultantIdentifiers" )
assert patientResultantIdentifiersCount.length == 4

</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - labTestPromises Count >= 10"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def labTestPromisesCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/labTestPromises" ).length
log.info("lab count = " + labTestPromisesCount)
assert labTestPromisesCount >= 10
</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties><con:property><con:name>CLINICALDATA</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>RDIIntoleranceConditionPharmacyRead40010</templateId><requestId>1</requestId><patient><requestedNationalId>1012591599</requestedNationalId><resultantIdentifiers><identity>7206652</identity><assigningFacility>992</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>201485</identity><assigningFacility>613</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>1012591599V655848</identity><assigningFacility>200M</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>8000797</identity><assigningFacility>657</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers></patient><errorSection><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 657. Patient ID is 8000797. Domain entry point is IntoleranceCondition. Database is VISTA-657-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 992. Patient ID is 7206652. Domain entry point is IntoleranceCondition. Database is VISTA-992-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 613. Patient ID is 201485. Domain entry point is IntoleranceCondition. Database is VISTA-613-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings></errorSection></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP VW Pharmacy TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="61c41568-2a13-4cfd-9940-955d9ac1151a"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_OutpatientMedicationPromise"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData</con:operation><con:request name="readClinicalDataSOAP_OutpatientMedicationPromise"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>VWPharmacyRead40010</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
	<filter:filter vhimVersion="Vhim_4_00" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>RX_SINGLE_PATIENT_ALL_DATA_FILTER</filterId>
	<patients>
		<NationalId>${#Project#PATIENTID_1}</NationalId>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint>
	</entryPointFilter>
	</filter:filter>
	]]]]>><![CDATA[</in1>
         <in2>RX_SINGLE_PATIENT_ALL_DATA_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors" )
assert fatalerrors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warnings = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings" )
assert warnings.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/resultantIdentifiers" )
assert patientResultantIdentifiersCount.length == 4

</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - OutpatientMedPromises Count >= 58"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def outpatientMedicationPromisesCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/outpatientMedicationPromises" ).length
log.info("outpatient meds = " + outpatientMedicationPromisesCount)
assert outpatientMedicationPromisesCount >= 58
</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties><con:property><con:name>CLINICALDATA</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>RDIIntoleranceConditionPharmacyRead40010</templateId><requestId>1</requestId><patient><requestedNationalId>1012591599</requestedNationalId><resultantIdentifiers><identity>7206652</identity><assigningFacility>992</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>201485</identity><assigningFacility>613</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>1012591599V655848</identity><assigningFacility>200M</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>8000797</identity><assigningFacility>657</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers></patient><errorSection><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 657. Patient ID is 8000797. Domain entry point is IntoleranceCondition. Database is VISTA-657-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 992. Patient ID is 7206652. Domain entry point is IntoleranceCondition. Database is VISTA-992-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 613. Patient ID is 201485. Domain entry point is IntoleranceCondition. Database is VISTA-613-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings></errorSection></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP Algy TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="a64ac55e-31fb-459d-9348-5dddb25af079"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_Allergies"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData</con:operation><con:request name="readClinicalDataSOAP_Allergies"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>AllergiesRead40010</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
           <filter:filter vhimVersion="Vhim_4_00" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>ALLERGY_SINGLE_PATIENT_ALL_DATA_FILTER</filterId>
	<patients>
		<NationalId>${#Project#PATIENTID_1}</NationalId>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>IntoleranceCondition</domainEntryPoint>
	</entryPointFilter>
	<entryPointFilter queryName="ID_2">
		<domainEntryPoint>AllergyAssessment</domainEntryPoint>
	</entryPointFilter>
	</filter:filter>]]]]>><![CDATA[</in1>
         <in2>ALLERGY_SINGLE_PATIENT_ALL_DATA_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors" )
assert fatalerrors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warnings = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings" )
assert warnings.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/resultantIdentifiers" )
assert patientResultantIdentifiersCount.length == 4

</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - intolerance Condition Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def intoleranceConditionCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/intoleranceConditions" )
log.info("intolerance condition count = " + intoleranceConditionCount.length)
assert intoleranceConditionCount.length >= 2
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - allergyAssessments Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def allergyAssessmentsCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/allergyAssessments" ).length
log.info("allergy assessment count = " + allergyAssessmentsCount)
assert allergyAssessmentsCount >= 1
</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties><con:property><con:name>CLINICALDATA</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>RDIIntoleranceConditionPharmacyRead40010</templateId><requestId>1</requestId><patient><requestedNationalId>1012591599</requestedNationalId><resultantIdentifiers><identity>7206652</identity><assigningFacility>992</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>201485</identity><assigningFacility>613</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>1012591599V655848</identity><assigningFacility>200M</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>8000797</identity><assigningFacility>657</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers></patient><errorSection><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 657. Patient ID is 8000797. Domain entry point is IntoleranceCondition. Database is VISTA-657-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 992. Patient ID is 7206652. Domain entry point is IntoleranceCondition. Database is VISTA-992-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 613. Patient ID is 201485. Domain entry point is IntoleranceCondition. Database is VISTA-613-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings></errorSection></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:properties><con:property><con:name>host</con:name><con:value/></con:property><con:property><con:name>port</con:name><con:value/></con:property></con:properties></con:testSuite><con:testSuite name="CDS 3 ClinicalDataServiceSynchronousInterfaceHttpBinding TestSuite"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="isAlive SOAP TestCase" searchProperties="true" id="a69c7c5e-5b29-4b2b-9286-71e69f640eff"><con:settings/><con:testStep type="request" name="isAliveSOAP"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>isAlive</con:operation><con:request name="isAliveSOAP"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace soap="http://schemas.xmlsoap.org/soap/envelope/"
soap:Envelope[1]/soap:Body[1]</path><content><![CDATA[<soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <isAliveResponse xmlns="http://client.cds.URL       ">
    <out xmlns="">true</out>
  </isAliveResponse>
</soap:Body>]]></content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/isAliveRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="isAlive HTTP TestCase" searchProperties="true" id="45266902-f723-4c94-84bf-6d19f3ac6aae"><con:settings/><con:testStep type="httprequest" name="isAliveHTTP"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="isAliveHTTP" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:endpoint>http://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service/isAlive</con:endpoint><con:request/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>//html[1]/body[1]</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP RDI_IC_RX TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="9ad0ff1d-d843-4fc9-97dd-47c723d34268"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_RDI_IC_RX"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData</con:operation><con:request name="readClinicalDataSOAP_RDI_IC_RX"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>RDIIntoleranceConditionPharmacyRead40010</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
           <filter:filter vhimVersion="Vhim_4_00" xmlns:filter="Filter">
	     <filterId>RDI_IC_RX_SINGLE_PATIENT_FILTER</filterId>
             <patients>
               <NationalId>${#Project#PATIENTID_1}</NationalId>
	     </patients>
             <entryPointFilter queryName="IC-Standardized">
               <domainEntryPoint>IntoleranceCondition</domainEntryPoint>
               <xpathQuery>
                 <xpath>intoleranceConditions[((gmrAllergyAgent[(code!='') and (codingSystem = '99VHA_ERT' or contains(.,'99VA'))]) or (drugClass/code[(code!='') and (codingSystem = '99VHA_ERT' or contains(.,'99VA'))]) or (drugIngredient/code[(code!='') and (codingSystem = '99VHA_ERT' or contains(.,'99VA'))])) and (status = 'F')]</xpath>
               </xpathQuery>
             </entryPointFilter>
             <entryPointFilter queryName="OMP-Standardized">
               <domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint>
               <xpathQuery>
                 <xpath>outpatientMedicationPromises[pharmacyRequest/orderedMedication/medicationCode[(code!='') and (codingSystem = '99VHA_ERT' or contains(.,'99VA'))]]</xpath>
               </xpathQuery>
             </entryPointFilter>
           </filter:filter>]]]]>><![CDATA[</in1>
         <in2>RDI_IC_RX_SINGLE_PATIENT_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors" )
assert fatalerrors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warnings = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings" )
assert warnings.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/resultantIdentifiers" )
log.info("patientCount = " + patientResultantIdentifiersCount.length)
assert patientResultantIdentifiersCount.length >= 3

</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - intolerance Condition Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def intoleranceConditionCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/intoleranceConditions" )
assert intoleranceConditionCount.length >= 2
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - outpatientMedications Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def outpatientMedicationsCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/outpatientMedicationPromises" ).length
assert outpatientMedicationsCount >= 58
</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties><con:property><con:name>CLINICALDATA</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>RDIIntoleranceConditionPharmacyRead40010</templateId><requestId>1</requestId><patient><requestedNationalId>1012591599</requestedNationalId><resultantIdentifiers><identity>7206652</identity><assigningFacility>992</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>201485</identity><assigningFacility>613</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>1012591599V655848</identity><assigningFacility>200M</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>8000797</identity><assigningFacility>657</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers></patient><errorSection><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 657. Patient ID is 8000797. Domain entry point is IntoleranceCondition. Database is VISTA-657-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 992. Patient ID is 7206652. Domain entry point is IntoleranceCondition. Database is VISTA-992-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 613. Patient ID is 201485. Domain entry point is IntoleranceCondition. Database is VISTA-613-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings></errorSection></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData HTTP RDI_IC_RX TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="6ef54c63-fee3-4c6b-bf03-a2d54d0c0798"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="httprequest" name="readClinicalDataHTTP_RDI_IC_RX"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="readClinicalDataHTTP_RDI_IC_RX" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:endpoint>http://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service/readClinicalData1</con:endpoint><con:request/><con:assertion type="XPath Match" name="XPath Match - Patient Identifier Count"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/resultantIdentifiers)</path><content>4</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match - intoleranceCondition Count"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/intoleranceConditions) >= 2</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match - outpatientMedicationPromises Count"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/outpatientMedicationPromises) >= 58</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match - 2 intoleranceConditions from 644"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/intoleranceConditions[/clinicaldata:ClinicalData/patient/intoleranceConditions/patient/identifier/assigningFacility='644']) >= 2</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match - 0 intoleranceConditions from 660"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/intoleranceConditions[/clinicaldata:ClinicalData/patient/intoleranceConditions/patient/identifier/assigningFacility='660']) = 0</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match - 58 outpatientMedicationPromises from 644"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/outpatientMedicationPromises[/clinicaldata:ClinicalData/patient/outpatientMedicationPromises/patient/identifier/assigningFacility='644']) >= 58</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match - 0 outpatientMedicationPromises from 660"><con:configuration><path>declare namespace clinicaldata='Clinicaldata';
count(//clinicaldata:ClinicalData/patient/outpatientMedicationPromises[/clinicaldata:ClinicalData/patient/outpatientMedicationPromises/patient/identifier/assigningFacility='660']) = 0</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters><con:parameter><con:name>templateId</con:name><con:value>RDIIntoleranceConditionPharmacyRead40010</con:value><con:style>QUERY</con:style></con:parameter><con:parameter><con:name>filterRequest</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?><filter:filter xmlns:filter="Filter" vhimVersion="Vhim_4_00"> 	<filterId>RDI_IC_RX_SINGLE_PATIENT_FILTER</filterId> 	<patients> 		<NationalId>${#Project#PATIENTID_1}</NationalId> 	</patients> 	<entryPointFilter queryName="IC-Standardized"> 		<domainEntryPoint>IntoleranceCondition</domainEntryPoint> 	</entryPointFilter> 	<entryPointFilter queryName="OMP-Standardized"> 		<domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint> 	</entryPointFilter> </filter:filter>]]></con:value><con:style>QUERY</con:style></con:parameter><con:parameter><con:name>filterId</con:name><con:value>RDI_IC_RX_SINGLE_PATIENT_FILTER</con:value><con:style>QUERY</con:style></con:parameter><con:parameter><con:name>requestId</con:name><con:value>1</con:value><con:style>QUERY</con:style></con:parameter></con:parameters></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP VitalSigns TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="3a3fcd39-3b4b-4be2-8352-6027fc2bb563"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_VW_VitalSigns"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData</con:operation><con:request name="readClinicalDataSOAP_VW_VitalSigns"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>VWVitalsignsRead40010</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter VW_VITAL_Single_Patient_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>VW_VITAL_SINGLE_PATIENT_FILTER</filterId>
	<patients>
		<NationalId>${#Project#PATIENTID_1}</NationalId>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>VitalSignObservationEvent</domainEntryPoint>
		<xpathQuery>
			<xpath>vitalSignObservationEvents[status != 'E']</xpath>
		</xpathQuery>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>VW_VITAL_SINGLE_PATIENT_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors" )
assert fatalerrors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warnings = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings" )
assert warnings.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/resultantIdentifiers" )
assert patientResultantIdentifiersCount.length == 4

</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - VitalSigns Count >= 64"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def vitalSignsCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/vitalSignObservationEvents" ).length
log.info("vitals count = " + vitalSignsCount)
assert vitalSignsCount >= 64
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - VitalSigns Count from 660 >= 4"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def vitalSignsCount660 = descHolder.getDomNodes( "//vitalSignObservationEvents/recordIdentifier/namespaceId[.='660_120.5']" ).length
log.info("vitals count = " + vitalSignsCount660)
assert vitalSignsCount660 >= 4
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - VitalSigns Count from 644 >= 68"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def vitalSignsCount644 = descHolder.getDomNodes( "//vitalSignObservationEvents/recordIdentifier/namespaceId[.='644_120.5']" ).length
log.info("vitals count = " + vitalSignsCount644)
assert vitalSignsCount644 >= 68
</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP IntoleranceConditions TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="4c2c337b-ad84-4cb9-8d53-4b07f9dcca5a"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_IntoleranceConditions"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData</con:operation><con:request name="readClinicalDataSOAP_IntoleranceConditions"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>IntoleranceConditionRead40010</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>IC_SINGLE_PATIENT_ALL_DATA_FILTER</filterId>
	<patients>
		<NationalId>${#Project#PATIENTID_1}</NationalId>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>IntoleranceCondition</domainEntryPoint>
	</entryPointFilter>
</filter:filter>
]]]]>><![CDATA[</in1>
         <in2>IC_SINGLE_PATIENT_ALL_DATA_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors" )
assert fatalerrors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warnings = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings" )
assert warnings.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/resultantIdentifiers" )
assert patientResultantIdentifiersCount.length == 4

</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - intolerance Condition Count >= 2"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def intoleranceConditionCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/intoleranceConditions" )
log.info("ic count = " + intoleranceConditionCount.length)
assert intoleranceConditionCount.length >= 2
</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties><con:property><con:name>CLINICALDATA</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>RDIIntoleranceConditionPharmacyRead40010</templateId><requestId>1</requestId><patient><requestedNationalId>1012591599</requestedNationalId><resultantIdentifiers><identity>7206652</identity><assigningFacility>992</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>201485</identity><assigningFacility>613</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>1012591599V655848</identity><assigningFacility>200M</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>8000797</identity><assigningFacility>657</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers></patient><errorSection><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 657. Patient ID is 8000797. Domain entry point is IntoleranceCondition. Database is VISTA-657-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 992. Patient ID is 7206652. Domain entry point is IntoleranceCondition. Database is VISTA-992-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 613. Patient ID is 201485. Domain entry point is IntoleranceCondition. Database is VISTA-613-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings></errorSection></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP Lab TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="0086b61d-f3cc-4c01-b511-7d9e0eb0cd4c"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_labTestPromises"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData</con:operation><con:request name="readClinicalDataSOAP_labTestPromises"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>LabRead40010</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>LAB_SINGLE_PATIENT_ALL_DATA_FILTER</filterId>
	<patients>
		<NationalId>${#Project#PATIENTID_1}</NationalId>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>LabTestPromise</domainEntryPoint>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>LAB_SINGLE_PATIENT_ALL_DATA_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors" )
assert fatalerrors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warnings = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings" )
assert warnings.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/resultantIdentifiers" )
assert patientResultantIdentifiersCount.length == 4

</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - labTestPromises Count >= 10"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def labTestPromisesCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/labTestPromises" ).length
log.info("lab count = " + labTestPromisesCount)
assert labTestPromisesCount >= 10
</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties><con:property><con:name>CLINICALDATA</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>RDIIntoleranceConditionPharmacyRead40010</templateId><requestId>1</requestId><patient><requestedNationalId>1012591599</requestedNationalId><resultantIdentifiers><identity>7206652</identity><assigningFacility>992</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>201485</identity><assigningFacility>613</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>1012591599V655848</identity><assigningFacility>200M</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>8000797</identity><assigningFacility>657</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers></patient><errorSection><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 657. Patient ID is 8000797. Domain entry point is IntoleranceCondition. Database is VISTA-657-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 992. Patient ID is 7206652. Domain entry point is IntoleranceCondition. Database is VISTA-992-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 613. Patient ID is 201485. Domain entry point is IntoleranceCondition. Database is VISTA-613-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings></errorSection></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP VW Pharmacy TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="88c75eac-29d4-481e-8c34-70536b48c328"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_OutpatientMedicationPromise"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData</con:operation><con:request name="readClinicalDataSOAP_OutpatientMedicationPromise"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>VWPharmacyRead40010</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
	<filter:filter vhimVersion="Vhim_4_00" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>RX_SINGLE_PATIENT_ALL_DATA_FILTER</filterId>
	<patients>
		<NationalId>${#Project#PATIENTID_1}</NationalId>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint>
	</entryPointFilter>
	</filter:filter>
	]]]]>><![CDATA[</in1>
         <in2>RX_SINGLE_PATIENT_ALL_DATA_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors" )
assert fatalerrors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warnings = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings" )
assert warnings.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/resultantIdentifiers" )
assert patientResultantIdentifiersCount.length == 4

</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - OutpatientMedPromises Count >= 58"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def outpatientMedicationPromisesCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/outpatientMedicationPromises" ).length
log.info("outpatient meds = " + outpatientMedicationPromisesCount)
assert outpatientMedicationPromisesCount >= 58
</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties><con:property><con:name>CLINICALDATA</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>RDIIntoleranceConditionPharmacyRead40010</templateId><requestId>1</requestId><patient><requestedNationalId>1012591599</requestedNationalId><resultantIdentifiers><identity>7206652</identity><assigningFacility>992</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>201485</identity><assigningFacility>613</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>1012591599V655848</identity><assigningFacility>200M</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>8000797</identity><assigningFacility>657</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers></patient><errorSection><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 657. Patient ID is 8000797. Domain entry point is IntoleranceCondition. Database is VISTA-657-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 992. Patient ID is 7206652. Domain entry point is IntoleranceCondition. Database is VISTA-992-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 613. Patient ID is 201485. Domain entry point is IntoleranceCondition. Database is VISTA-613-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings></errorSection></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP Algy TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="c77dbc8b-ef60-4ba3-bc71-b5a3a450ab25"><con:settings><con:setting id="HttpSettings@socket_timeout">10000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_Allergies"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ClinicalDataServiceSynchronousInterfaceHttpBinding</con:interface><con:operation>readClinicalData</con:operation><con:request name="readClinicalDataSOAP_Allergies"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>AllergiesRead40010</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
           <filter:filter vhimVersion="Vhim_4_00" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>ALLERGY_SINGLE_PATIENT_ALL_DATA_FILTER</filterId>
	<patients>
		<NationalId>${#Project#PATIENTID_1}</NationalId>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>IntoleranceCondition</domainEntryPoint>
	</entryPointFilter>
	<entryPointFilter queryName="ID_2">
		<domainEntryPoint>AllergyAssessment</domainEntryPoint>
	</entryPointFilter>
	</filter:filter>]]]]>><![CDATA[</in1>
         <in2>ALLERGY_SINGLE_PATIENT_ALL_DATA_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="SOAP Response" name="SOAP Response"/><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors" )
assert fatalerrors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warnings = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings" )
assert warnings.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/resultantIdentifiers" )
assert patientResultantIdentifiersCount.length == 4

</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - intolerance Condition Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def intoleranceConditionCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/intoleranceConditions" )
log.info("intolerance condition count = " + intoleranceConditionCount.length)
assert intoleranceConditionCount.length >= 2
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - allergyAssessments Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def allergyAssessmentsCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patient/allergyAssessments" ).length
log.info("allergy assessment count = " + allergyAssessmentsCount)
assert allergyAssessmentsCount >= 1
</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig action="http://client.cds.URL       /ClinicalDataServiceSynchronousInterfacePortType/readClinicalDataRequest" mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties><con:property><con:name>CLINICALDATA</con:name><con:value><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <clinicaldata:ClinicalData xmlns:clinicaldata="Clinicaldata"><templateId>RDIIntoleranceConditionPharmacyRead40010</templateId><requestId>1</requestId><patient><requestedNationalId>1012591599</requestedNationalId><resultantIdentifiers><identity>7206652</identity><assigningFacility>992</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>201485</identity><assigningFacility>613</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>1012591599V655848</identity><assigningFacility>200M</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers><resultantIdentifiers><identity>8000797</identity><assigningFacility>657</assigningFacility><assigningAuthority>USVHA</assigningAuthority></resultantIdentifiers></patient><errorSection><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 657. Patient ID is 8000797. Domain entry point is IntoleranceCondition. Database is VISTA-657-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 992. Patient ID is 7206652. Domain entry point is IntoleranceCondition. Database is VISTA-992-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings><warnings><errorId>1</errorId><exception>gov.va.med.cds.persistence.PersistenceException</exception><exceptionMessage>READ_REQUEST_DATA_SOURCE_FAILURE</exceptionMessage><errorCode>READ_REQUEST_DATA_SOURCE_FAILURE</errorCode><displayMessage>Assigning Facility is 613. Patient ID is 201485. Domain entry point is IntoleranceCondition. Database is VISTA-613-R. The Error reason is READ_REQUEST_DATA_SOURCE_FAILURE: Cannot open connection.</displayMessage></warnings></errorSection></clinicaldata:ClinicalData>]]></con:value></con:property></con:properties></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP TIU List Read TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="3454963a-2c87-4030-a073-75f4dac4c755"><con:settings><con:setting id="HttpSettings@socket_timeout">1000000</con:setting></con:settings><con:testStep type="request" name="readClinicalDataSOAP_TIUListRead"><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="readClinicalDataSOAP_TIUListRead"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>TiuDocumentListRead2</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xmlns:filter="Filter" xmlns:xsi="_http://www.w3.org/2001/XMLSchema-instance">
	<filterId>TIU_SINGLE_PATIENT_LIST_DATA_FILTER</filterId>
	<patients>
		<NationalId>${#Project#PATIENTID_1}</NationalId>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>ClinicalDocumentEvent</domainEntryPoint>
		<otherQueryParameters>
			<documentClass>3</documentClass>
		</otherQueryParameters>
		<orderBy>
			<xqueryExpression>/referenceDate/literal descending</xqueryExpression>
		</orderBy>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>TIU_SINGLE_PATIENT_LIST_DATA_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrorsCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors/fatalError" ).length
assert fatalerrorsCount == 0</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errorsCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors/error" ).length
assert errorsCount == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errors = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors" )
assert errors.length == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiers Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patients/patient/resultantIdentifiers/resultantIdentifier" ).length
assert patientResultantIdentifiersCount == 4</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - clinicalDocumentEvent Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patients/patient/clinicalDocumentEvents/clinicalDocumentEvent" ).length
assert patientResultantIdentifiersCount >= 29
def patient664NotesCount = descHolder.getDomNodes("//clinicalDocumentEvents/clinicalDocumentEvent/recordIdentifier/namespaceId[//clinicaldata:ClinicalData/patients/patient/clinicalDocumentEvents/clinicalDocumentEvent/recordIdentifier/namespaceId='644_8925']").length
log.info("TIU Note Count for site 664 = " + patient664NotesCount)
assert patient664NotesCount >= 29

def patient660NotesCount = descHolder.getDomNodes("//clinicalDocumentEvents/clinicalDocumentEvent/recordIdentifier/namespaceId[//clinicaldata:ClinicalData/patients/patient/clinicalDocumentEvents/clinicalDocumentEvent/recordIdentifier/namespaceId='660_8925']").length
log.info("TIU Note Count for site 660 = " + patient660NotesCount)
assert patient660NotesCount == 0</scriptText></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="readClinicalData SOAP TIU Detai lRead TestCase" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" id="77c7a8b7-8ca5-4a15-b80a-651ed4a3ec7c"><con:settings><con:setting id="HttpSettings@socket_timeout">1000000</con:setting></con:settings><con:testStep type="request" name="readClinicalData SOAP_TIUDetailRead"><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="readClinicalData SOAP_TIUDetailRead"><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://${#TestSuite#host}:${#TestSuite#port}/cds-wsclient/cds-service</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>TiuDocumentDetailRead2</in0>
         <in1><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xsi:schemaLocation="Filter Tiu_Single_Patient_Detail_Data_Filter.xsd" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>TIU_SINGLE_PATIENT_DETAIL_DATA_FILTER</filterId>
	<patients>
		<resolvedIdentifiers>
			<assigningAuthority>${#Project#AssigningAuthority}</assigningAuthority>
			<assigningFacility>${#Project#AssigningFacility}</assigningFacility>
			<identity>${#Project#DFN}</identity>
		</resolvedIdentifiers>
	</patients>
	<entryPointFilter queryName="ID_1">
		<domainEntryPoint>ClinicalDocumentEvent</domainEntryPoint>
		<recordIdentifiers>
			<identity>${#Project#RecordId.identity}</identity>
			<namespaceId>${#Project#RecordId.namespaceId}</namespaceId>
			<universalId/>
			<universalIdType/>
		</recordIdentifiers>
	</entryPointFilter>
</filter:filter>]]]]>><![CDATA[</in1>
         <in2>TIU_SINGLE_PATIENT_DETAIL_DATA_FILTER</in2>
         <in3>1</in3>
      </cli:readClinicalData1>
   </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion" name="Not SOAP Fault"/><con:assertion type="Schema Compliance" name="Schema Compliance"><con:configuration><definition/></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - fatalErrors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def fatalerrorsCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/fatalErrors/fatalError" ).length
assert fatalerrorsCount == 0</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - errors Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def errorsCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/errors/error" ).length
assert errorsCount == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - warnings Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def warningsCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/errorSection/warnings/warning" ).length
assert warningsCount == 0
</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - patientResultantIdentifiersCount Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patients/patient/resultantIdentifiers/resultantIdentifier" ).length
assert patientResultantIdentifiersCount == 1</scriptText></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion - clinicalDocumentEvent Count"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder
import org.w3c.dom.*

def holder = new XmlHolder( messageExchange.responseContentAsXml )
holder.namespaces["clinicaldata"] = "Clinicaldata"
def node = holder["//out"]
def descHolder = new XmlHolder( node )

def patientResultantIdentifiersCount = descHolder.getDomNodes( "//clinicaldata:ClinicalData/patients/patient/clinicalDocumentEvents/clinicalDocumentEvent" ).length
assert patientResultantIdentifiersCount == 1</scriptText></con:configuration></con:assertion><con:assertion type="Simple Contains" name="Contains" disabled="true"><con:configuration><token/><ignoreCase>false</ignoreCase><useRegEx>false</useRegEx></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>10</con:testLimit><con:limitType>COUNT_PER_THREAD</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:properties><con:property><con:name>host</con:name><con:value/></con:property><con:property><con:name>port</con:name><con:value/></con:property></con:properties></con:testSuite><con:properties><con:property><con:name>PATIENTID_1</con:name><con:value/></con:property><con:property><con:name>DFN</con:name><con:value/></con:property><con:property><con:name>AssigningFacility</con:name><con:value>644</con:value></con:property><con:property><con:name>AssigningAuthority</con:name><con:value>USVHA</con:value></con:property><con:property><con:name>RecordId.identity</con:name><con:value>20208467</con:value></con:property><con:property><con:name>RecordId.namespaceId</con:name><con:value>644_8925</con:value></con:property></con:properties><con:wssContainer/></con:soapui-project>