This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Searchparameter-example.xml

Raw XML (canonical form)

General example for searching on an extension (id = "example")

Raw XML

<SearchParameter xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <url value="http://hl7.org/fhir/SearchParameter/example"/>
  <name value="Example Search Parameter"/>
  <publisher value="HL7 FHIR Project"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
  </contact><!--    this is the canonical definition for the _id search parameter    -->
  <base value="Resource"/>
  <type value="token"/>
  <description value="Search by resource identifier - e.g. same as the read interaction, but can return included
   resources"/>
  <xpath value="f:id"/>
</SearchParameter>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.