type: exampleresource: SearchParameterexample: searchparameter-example-constraint
SearchParameter Example: searchparameter-example-constraint
Example XML
<?xml version="1.0" encoding="UTF-8"?>
<SearchParameter xmlns="http://hl7.org/fhir">
<id value="example-constraint"/>
<url value="http://hl7.org/fhir/SearchParameter/example-constraint"/>
<name value="Exampleconstraint"/>
<title value="example-constraint"/>
<status value="draft"/>
<experimental value="true"/>
<publisher value="HL7 International / FHIR Infrastructure"/>
<description value="Search Composition Bundle"/>
<code value="example-constraint"/>
<aliasCode value="constraint-example"/>
<base value="Bundle"/>
<type value="reference"/>
<expression value="Bundle.entry[0].resource"/>
<processingMode value="normal"/>
<constraint value="Bundle.type = 'document' and Bundle.entry[0].resource is Composition"/>
<target value="Composition"/>
</SearchParameter>