US Core Implementation Guide
8.0.1 - STU 8 US

US Core Implementation Guide, published by HL7 International / Cross-Group Projects. This guide is not an authorized publication; it is the continuous build for version 8.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/US-Core/ and changes regularly. See the Directory of published versions

## : USCoreDocumentreferencePatient - XML Representation

Page standards status: Trial-use | Maturity Level: 3

Raw xml | Download

    <SearchParameter xmlns="http://hl7.org/fhir">
      <id value="us-core-documentreference-patient"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">    <!-- <h2>SearchParameter: USCoreDocumentreferencePatient</h2>
    				<b> description</b> : <p><strong>Who/what is the subject of the document</strong><br />
    NOTE: This SearchParameter is defined only to document Server and Client expectations. Its definition is derived from the standard FHIR SearchParameter and it uses the <a href="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">Conformance expectation extension</a> to define additional expectations for the following SearchParameter elements:</p>
    <ul>
    <li><code>multipleAnd</code></li>
    <li><code>multipleOr</code></li>
    <li><code>comparator</code></li>
    <li><code>modifier</code></li>
    <li><code>chain</code></li>
    </ul>
    <p>For search operations, Servers and Clients <strong>SHOULD</strong> use standard FHIR SearchParameter.</p>

    			<br/> --><p><b> id</b> us-core-documentreference-patient</p><p><b> url</b> : <b> http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient</b>
    			</p><p><b> name</b> : USCoreDocumentreferencePatient</p><p><b> derivedFrom</b> : http://hl7.org/fhir/SearchParameter/clinical-patient</p><p><b> status</b> : active</p><p><b> date</b> : 11/17/2024</p><p><b> publisher</b> : HL7 International - Cross-Group Projects</p><p><b> contact</b> : http://www.hl7.org/Special/committees/cgp</p>    <!-- <p>
    				<b> useContext</b> : </p> --><p><b> jurisdiction</b> : United States of America (the) <span> (Details : {urn:iso:std:iso:3166 code 'US' = 'United States of America', given as 'United
               States of America (the)'})</span>
    			</p>    <!-- <p>
    		<b> purpose</b> : Need to search by identifier for various infrastructural cases - mainly retrieving packages,
             and matching as part of a chain</p> --><p><b> code</b> : <code>patient</code>
    			</p><p><b> base</b> :DocumentReference</p><p><b> type</b> : reference</p><p><b> expression</b> : <code>DocumentReference.subject.where(resolve() is Patient)</code>
    			</p><p><b> xpath</b> : <code>f:AllergyIntolerance/f:patient|f:CarePlan/f:subject|f:CareTeam/f:subject|f:ClinicalImpression/f:subject|f:Composition/f:subject|f:Condition/f:subject|f:Consent/f:patient|f:DetectedIssue/f:patient|f:DeviceRequest/f:subject|f:DeviceUseStatement/f:subject|f:DiagnosticReport/f:subject|f:DocumentManifest/f:subject|f:DocumentReference/f:subject|f:Encounter/f:subject|f:EpisodeOfCare/f:patient|f:FamilyMemberHistory/f:patient|f:Flag/f:subject|f:Goal/f:subject|f:ImagingStudy/f:subject|f:Immunization/f:patient|f:List/f:subject|f:MedicationAdministration/f:subject|f:MedicationDispense/f:subject|f:MedicationRequest/f:subject|f:MedicationStatement/f:subject|f:NutritionOrder/f:patient|f:Observation/f:subject|f:Procedure/f:subject|f:RiskAssessment/f:subject|f:ServiceRequest/f:subject|f:SupplyDelivery/f:patient|f:VisionPrescription/f:patient</code>
    			</p><p><b> xpathUsage</b> : normal</p><p><b> target</b>  Patient</p><p><b> multipleOr</b> : True   (Conformance Expectation = MAY)</p><p><b> multipleAnd</b> : True  ( Conformance Expectation = MAY)</p></div>
      </text>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
        <valueCode value="cgp"/>
      </extension>
      <url
           value="http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient"/>
      <version value="8.0.1"/>
      <name value="USCoreDocumentreferencePatient"/>
      <derivedFrom value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
      <status value="active"/>
      <experimental value="false"/>
      <date value="2024-11-17"/>
      <publisher value="HL7 International / Cross-Group Projects"/>
      <contact>
        <name value="HL7 International / Cross-Group Projects"/>
        <telecom>
          <system value="url"/>
          <value value="http://www.hl7.org/Special/committees/cgp"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="cgp@lists.HL7.org"/>
        </telecom>
      </contact>
      <description
                   value="**Who/what is the subject of the document**
    NOTE: This SearchParameter is defined only to document Server and Client expectations. Its definition is derived from the standard FHIR SearchParameter and it uses the [Conformance expectation extension](http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation) to define additional expectations for the following SearchParameter elements:
    - `multipleAnd`
    - `multipleOr`
    - `comparator`
    - `modifier`
    - `chain`

    It **SHALL NOT** be used as a search parameter for search. Servers and Clients **SHOULD** use the standard FHIR SearchParameter.
    "/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="US"/>
        </coding>
      </jurisdiction>
      <code value="patient"/>
      <base value="DocumentReference"/>
      <type value="reference"/>
      <expression value="DocumentReference.subject.where(resolve() is Patient)"/>
      <xpathUsage value="normal"/>
      <target value="Patient"/>
      <multipleOr value="true">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
      </multipleOr>
      <multipleAnd value="true">
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="MAY"/>
        </extension>
      </multipleAnd>
    </SearchParameter>