{
  "resourceType" : "SearchParameter",
  "id" : "EncounterHistory-patient",
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: SearchParameter EncounterHistory-patient</b></p><a name=\"EncounterHistory-patient\"> </a><a name=\"hcEncounterHistory-patient\"> </a><h2>EncounterHistoryPatientSearchParam <a style=\"padding-left: 3px; padding-right: 3px; border: 1px grey solid; font-weight: bold; color: black; background-color: #fff5e6\" href=\"https://hl7.org/fhir/R5/versions.html#std-process\" title=\"Standards Status = Trial Use\">TU</a></h2><p>Parameter <code>patient</code>:<code>reference</code></p><div><p>The patient present at the encounter</p>\n</div><table class=\"grid\"><tr><td>Resource</td><td><a href=\"StructureDefinition-EncounterHistory.html\">EncounterHistory</a></td></tr><tr><td>Expression</td><td><code>EncounterHistory.subject.where(resolve() is Patient)</code></td></tr><tr><td>Processing Mode</td><td>Normal</td></tr><tr><td>Target Resources</td><td><a href=\"http://hl7.org/fhir/R5/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>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  },
  {
    "url" : "http://hl7.org/fhir/build/StructureDefinition/path",
    "valueString" : "EncounterHistory.subject"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "pa"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 3,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/admin-incubator/ImplementationGuide/hl7.fhir.uv.admin-incubator"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/SearchParameter/EncounterHistory-patient",
  "version" : "0.1.0",
  "name" : "EncounterHistoryPatientSearchParam",
  "title" : "EncounterHistory Patient Search Parameter",
  "status" : "draft",
  "date" : "2025-11-08T00:07:35+00:00",
  "publisher" : "HL7 International / Patient Administration",
  "contact" : [{
    "name" : "HL7 International / Patient Administration",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/pa"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/pa"
    }]
  }],
  "description" : "The patient present at the encounter",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "code" : "patient",
  "base" : ["EncounterHistory"],
  "type" : "reference",
  "expression" : "EncounterHistory.subject.where(resolve() is Patient)",
  "processingMode" : "normal",
  "target" : ["Patient"]
}