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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="R4-encounter-status-for-R5"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet R4-encounter-status-for-R5</b></p><a name="R4-encounter-status-for-R5"> </a><a name="hcR4-encounter-status-for-R5"> </a><p>This value set expansion contains 4 concepts.</p><table class="codes"><tr><td><b>System</b></td><td><b>Version</b></td><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td><a name="R4-encounter-status-for-R5-http://hl7.org/fhir/encounter-status-arrived"> </a><code>http://hl7.org/fhir/encounter-status</code></td><td>4.0.1</td><td style="white-space:nowrap">  <a href="CodeSystem-encounter-status.html#encounter-status-arrived">arrived</a></td><td>Arrived</td><td>The Patient is present for the encounter, however is not currently meeting with a practitioner.</td></tr><tr><td><a name="R4-encounter-status-for-R5-http://hl7.org/fhir/encounter-status-finished"> </a><code>http://hl7.org/fhir/encounter-status</code></td><td>4.0.1</td><td style="white-space:nowrap">  <a href="CodeSystem-encounter-status.html#encounter-status-finished">finished</a></td><td>Finished</td><td>The Encounter has ended.</td></tr><tr><td><a name="R4-encounter-status-for-R5-http://hl7.org/fhir/encounter-status-triaged"> </a><code>http://hl7.org/fhir/encounter-status</code></td><td>4.0.1</td><td style="white-space:nowrap">  <a href="CodeSystem-encounter-status.html#encounter-status-triaged">triaged</a></td><td>Triaged</td><td>The patient has been assessed for the priority of their treatment based on the severity of their condition.</td></tr><tr><td><a name="R4-encounter-status-for-R5-http://hl7.org/fhir/encounter-status-unknown"> </a><code>http://hl7.org/fhir/encounter-status</code></td><td>4.0.1</td><td style="white-space:nowrap">  <a href="CodeSystem-encounter-status.html#encounter-status-unknown">unknown</a></td><td>Unknown</td><td>The encounter status is unknown. Note that &quot;unknown&quot; is a value of last resort and every attempt should be made to provide a meaningful value other than &quot;unknown&quot;.</td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="2"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="pa"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/package-source">
    <extension url="packageId">
      <valueId value="hl7.fhir.uv.xver-r4.r5"/>
    </extension>
    <extension url="version">
      <valueString value="0.1.0"/>
    </extension>
    <extension url="uri">
      <valueUri value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r5"/>
    </extension>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r5"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/uv/xver/ValueSet/R4-encounter-status-for-R5"/>
  <version value="0.1.0"/>
  <name value="R4EncounterStatusForR5"/>
  <title value="Cross-version ValueSet R4.EncounterStatus for use in FHIR R5"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-03-17T21:02:03.8104715+00:00"/>
  <publisher value="Patient Administration"/>
  <contact>
    <name value="Patient Administration"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/pafm"/>
    </telecom>
  </contact>
  <description value="This cross-version ValueSet represents content from http://hl7.org/fhir/ValueSet/encounter-status|4.0.1 for use in FHIR R5 that is appropriate for use but unavailable in `http://hl7.org/fhir/ValueSet/encounter-status|5.0.0`."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <purpose value="This value set is part of the cross-version definitions generated to enable use of the&#xD;&#xA;value set `http://hl7.org/fhir/ValueSet/encounter-status|4.0.1` as defined in FHIR R4&#xD;&#xA;in FHIR R5.&#xD;&#xA;&#xD;&#xA;The source value set is bound to the following FHIR R4 elements:&#xD;&#xA;* `Encounter.status` as Required&#xA;* `Encounter.statusHistory.status` as Required&#xD;&#xA;&#xD;&#xA;Across FHIR versions, the value set has been mapped as:&#xD;&#xA;* `http://hl7.org/fhir/ValueSet/encounter-status|4.0.1`&#xA;* `http://hl7.org/fhir/ValueSet/encounter-status|4.3.0`&#xA;* `http://hl7.org/fhir/ValueSet/encounter-status|5.0.0`&#xD;&#xA;&#xD;&#xA;The following concepts are not included in this cross-version definition because they have valid representations:&#xA;&#xA;* `http://hl7.org/fhir/encounter-status#cancelled`&#xA;* `http://hl7.org/fhir/encounter-status#entered-in-error`&#xA;* `http://hl7.org/fhir/encounter-status#in-progress`&#xA;* `http://hl7.org/fhir/encounter-status#onleave`&#xA;* `http://hl7.org/fhir/encounter-status#planned`&#xD;&#xA;&#xD;&#xA;Following are the generation technical comments:&#xD;&#xA;All concepts in the comparison are listed as identical.&#xA;The source and target value sets have the same number of active concepts (9).&#xA;One or more source concepts are either not mapped or broader than their targets, so the value set relationship is broadened.&#xA;The source and target value sets have the same number of active concepts (9).&#xA;Using explicit mapping from `http://hl7.org/fhir/ValueSet/encounter-status|4.0.1` to `http://hl7.org/fhir/ValueSet/encounter-status|5.0.0` in `http://hl7.org/fhir/uv/xver/4.0/ConceptMap/R4-EncounterStatus-R5-EncounterStatus` (`ConceptMap-R4-EncounterStatus-R5-EncounterStatus.json`)"/>
  <compose>
    <include>
      <system value="http://hl7.org/fhir/encounter-status"/>
      <version value="4.0.1"/>
      <concept>
        <code value="arrived"/>
        <display value="Arrived"/>
      </concept>
      <concept>
        <code value="finished"/>
        <display value="Finished"/>
      </concept>
      <concept>
        <code value="triaged"/>
        <display value="Triaged"/>
      </concept>
      <concept>
        <code value="unknown"/>
        <display value="Unknown"/>
      </concept>
    </include>
  </compose>
  <expansion>
    <timestamp value="2026-03-17T21:02:03.8104715+00:00"/>
    <contains>
      <system value="http://hl7.org/fhir/encounter-status"/>
      <version value="4.0.1"/>
      <code value="arrived"/>
      <display value="Arrived"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/encounter-status"/>
      <version value="4.0.1"/>
      <code value="finished"/>
      <display value="Finished"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/encounter-status"/>
      <version value="4.0.1"/>
      <code value="triaged"/>
      <display value="Triaged"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/encounter-status"/>
      <version value="4.0.1"/>
      <code value="unknown"/>
      <display value="Unknown"/>
    </contains>
  </expansion>
</ValueSet>