<?xml version="1.0" encoding="UTF-8"?>

<SearchParameter xmlns="http://hl7.org/fhir">
  <id value="condition-long-term-condition"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: SearchParameter condition-long-term-condition</b></p><a name="condition-long-term-condition"> </a><a name="hccondition-long-term-condition"> </a><h2>ConditionLongTermCondition</h2><p>Parameter <code>long-term-condition</code>:<code>token</code></p><div><p>Search for conditions marked as long term in the SDHRCondition profile</p>
</div><table class="grid"><tr><td>Resource</td><td><a href="http://hl7.org/fhir/R4/condition.html">Condition</a></td></tr><tr><td>Expression</td><td><code>Condition.extension('http://hl7.org.nz/fhir/StructureDefinition/long-term-condition')</code></td></tr><tr><td>Processing Mode</td><td>Normal</td></tr><tr><td>Multiples</td><td><ul><li>multipleAnd: It's up to the server whether the parameter may repeat in order to specify multiple values that must all be true</li><li>multipleOr: It's up to the server whether the parameter can have multiple values (separated by comma) where at least one must be true</li></ul></td></tr></table></div>
  </text>
  <url value="https://fhir-ig.digital.health.nz/sdhr/SearchParameter/condition-long-term-condition"/>
  <version value="1.0.1"/>
  <name value="ConditionLongTermCondition"/>
  <status value="active"/>
  <date value="2026-06-05T02:07:34+00:00"/>
  <publisher value="Health New Zealand"/>
  <contact>
    <name value="Health New Zealand"/>
    <telecom>
      <system value="url"/>
      <value value="https://github.com/tewhatuora"/>
    </telecom>
  </contact>
  <contact>
    <name value="HNZ Integration Team"/>
    <telecom>
      <system value="email"/>
      <value value="integration@tewhatuora.govt.nz"/>
      <use value="work"/>
    </telecom>
  </contact>
  <description value="Search for conditions marked as long term in the SDHRCondition profile"/>
  <code value="long-term-condition"/>
  <base value="Condition"/>
  <type value="token"/>
  <expression value="Condition.extension('http://hl7.org.nz/fhir/StructureDefinition/long-term-condition')"/>
  <xpathUsage value="normal"/>
</SearchParameter>