<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tes="http://xml.netbeans.org/schema/testAdhocQrySchema" xmlns:urn="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:urn1="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:urn2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
  <soapenv:Body>
   <urn:AdhocQueryRequest>
      <urn:ResponseOption returnType="LeafClass" returnComposedObjects="true"/>
      <urn2:AdhocQuery id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d" home="2.16.840.1.113883.3.166.3.4">
        <urn2:Slot name="$XDSDocumentEntryPatientId">
          <urn2:ValueList>
            <urn2:Value>'338274^^^&amp;2.16.840.1.113883.3.166.1.1&amp;ISO'</urn2:Value>
          </urn2:ValueList>
        </urn2:Slot>
        <urn2:Slot name="$XDSDocumentEntryStatus">
          <urn2:ValueList>
            <urn2:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</urn2:Value>
          </urn2:ValueList>
        </urn2:Slot>
        <urn2:Slot name="$XDSDocumentEntryClassCodeScheme">
          <urn2:ValueList>
            <urn2:Value>'2.16.840.1.113883.6.1'</urn2:Value>
          </urn2:ValueList>
        </urn2:Slot>
      </urn2:AdhocQuery>
    </urn:AdhocQueryRequest>        
  </soapenv:Body>
</soapenv:Envelope>