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

<SearchParameter xmlns="http://hl7.org/fhir">
  <id value="ie-core-documentreference-patient"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: SearchParameter ie-core-documentreference-patient</b></p><a name="ie-core-documentreference-patient"> </a><a name="hcie-core-documentreference-patient"> </a><h2>IECoreDocumentReferencePatient</h2><p>Parameter <code>patient</code>:<code>reference</code></p><div><p>Search for DocumentReferences by patient reference.</p>
</div><table class="grid"><tr><td>Resource</td><td><a href="http://hl7.org/fhir/R4/documentreference.html">DocumentReference</a></td></tr><tr><td>Expression</td><td><code>DocumentReference.subject.where(resolve() is Patient)</code></td></tr><tr><td>Target Resources</td><td><a href="http://hl7.org/fhir/R4/patient.html">Patient</a></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://hl7-ie.github.io/ie-core/fhir/ie/core/SearchParameter/ie-core-documentreference-patient"/>
  <version value="0.3.0"/>
  <name value="IECoreDocumentReferencePatient"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2025-01-01"/>
  <publisher value="Nithin Mohan T K (Proof of Concept)"/>
  <contact>
    <name value="Nithin Mohan T K (Proof of Concept)"/>
    <telecom>
      <system value="url"/>
      <value value="https://github.com/hl7-ie"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="nithinmohantk1@gmail.com"/>
    </telecom>
  </contact>
  <description value="Search for DocumentReferences by patient reference."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="IE"/>
      <display value="Ireland"/>
    </coding>
  </jurisdiction>
  <code value="patient"/>
  <base value="DocumentReference"/>
  <type value="reference"/>
  <expression value="DocumentReference.subject.where(resolve() is Patient)"/>
  <target value="Patient"/>
</SearchParameter>