
<query:AdhocQueryRequest xmlns:query="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0">
    <query:ResponseOption returnComposedObjects="true" returnType="LeafClass"/>
    <tag0:AdhocQuery xmlns:tag0="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d">
        <tag0:Slot name="$XDSDocumentEntryPatientId">
            <tag0:ValueList>
                <tag0:Value>'666-66-0010^^^&amp;2.16.840.1.113883.4.1&amp;ISO'</tag0:Value>
            </tag0:ValueList>
        </tag0:Slot>
        <tag0:Slot name="$XDSDocumentEntryStatus">
            <tag0:ValueList>
                <tag0:Value>('urn:oasis:names:tc:ebxml-regrep:StatusType:Approved')</tag0:Value>
            </tag0:ValueList>
        </tag0:Slot>
	<tag0:Slot name="$XDSDocumentEntryType">
		<tag0:ValueList>
			<!-- requests Stable Document Entries be included in the response.-->
			<tag0:Value>('urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1')</tag0:Value>
		</tag0:ValueList>
	</tag0:Slot>
    </tag0:AdhocQuery>
</query:AdhocQueryRequest>
