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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="R2-encounter-class-for-R5-v3-ActEncounterCode"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet R2-encounter-class-for-R5-v3-ActEncounterCode</b></p><a name="R2-encounter-class-for-R5-v3-ActEncounterCode"> </a><a name="hcR2-encounter-class-for-R5-v3-ActEncounterCode"> </a><p>This value set expansion contains 3 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="R2-encounter-class-for-R5-v3-ActEncounterCode-http://hl7.org/fhir/encounter-class-ambulatory"> </a><code>http://hl7.org/fhir/encounter-class</code></td><td>1.0.2</td><td style="white-space:nowrap">  <a href="CodeSystem-encounter-class.html#encounter-class-ambulatory">ambulatory</a></td><td>Ambulatory</td><td>An encounter where the patient visits the practitioner in his/her office, e.g. a G.P. visit.</td></tr><tr><td><a name="R2-encounter-class-for-R5-v3-ActEncounterCode-http://hl7.org/fhir/encounter-class-other"> </a><code>http://hl7.org/fhir/encounter-class</code></td><td>1.0.2</td><td style="white-space:nowrap">  <a href="CodeSystem-encounter-class.html#encounter-class-other">other</a></td><td>Other</td><td>Any other encounter type that is not described by one of the other values. Where this is used it is expected that an implementer will include an extension value to define what the actual other type is.</td></tr><tr><td><a name="R2-encounter-class-for-R5-v3-ActEncounterCode-http://hl7.org/fhir/encounter-class-outpatient"> </a><code>http://hl7.org/fhir/encounter-class</code></td><td>1.0.2</td><td style="white-space:nowrap">  <a href="CodeSystem-encounter-class.html#encounter-class-outpatient">outpatient</a></td><td>Outpatient</td><td>An encounter during which the patient is not hospitalized overnight.</td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/package-source">
    <extension url="packageId">
      <valueId value="hl7.fhir.uv.xver-r2.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-r2.r5"/>
    </extension>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r2.r5"/>
      </extension>
    </valueInteger>
  </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-r2.r5"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/uv/xver/ValueSet/R2-encounter-class-for-R5-v3-ActEncounterCode"/>
  <version value="0.1.0"/>
  <name value="R2EncounterClassForR5V3ActEncounterCode"/>
  <title value="Cross-version ValueSet DSTU2.EncounterClass for use in FHIR R5"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-03-17T21:02:03.8104715+00:00"/>
  <publisher value="FHIR Infrastructure"/>
  <contact>
    <name value="FHIR Infrastructure"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="This cross-version ValueSet represents content from http://hl7.org/fhir/ValueSet/encounter-class|1.0.2 for use in FHIR R5 that is appropriate for use but unavailable in `http://terminology.hl7.org/ValueSet/v3-ActEncounterCode|2.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-class|1.0.2` as defined in FHIR DSTU2&#xD;&#xA;in FHIR R5.&#xD;&#xA;&#xD;&#xA;The source value set is bound to the following FHIR DSTU2 elements:&#xD;&#xA;* `Encounter.class` as Required&#xD;&#xA;&#xD;&#xA;Across FHIR versions, the value set has been mapped as:&#xD;&#xA;* `http://hl7.org/fhir/ValueSet/encounter-class|1.0.2`&#xA;* `http://hl7.org/fhir/ValueSet/v3-ActEncounterCode|2014-03-26`&#xA;* `http://terminology.hl7.org/ValueSet/v3-ActEncounterCode|2014-03-26`&#xA;* `http://terminology.hl7.org/ValueSet/v3-ActEncounterCode|2.0.0`&#xA;* `http://terminology.hl7.org/ValueSet/v3-ActEncounterCode|2.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-class#daytime`&#xA;* `http://hl7.org/fhir/encounter-class#emergency`&#xA;* `http://hl7.org/fhir/encounter-class#field`&#xA;* `http://hl7.org/fhir/encounter-class#home`&#xA;* `http://hl7.org/fhir/encounter-class#inpatient`&#xA;* `http://hl7.org/fhir/encounter-class#virtual`&#xD;&#xA;&#xD;&#xA;Following are the generation technical comments:&#xD;&#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 value set has fewer active concepts (9) than the target (10), so the source is narrower than the target.&#xA;All concepts in the comparison are listed as identical.&#xA;The source value set has fewer active concepts (10) than the target (11), so the source is narrower than the target.&#xA;All concepts in the comparison are listed as identical.&#xA;The source and target value sets have the same number of active concepts (11).&#xA;All concepts in the comparison are listed as identical.&#xA;The source and target value sets have the same number of active concepts (11)."/>
  <compose>
    <include>
      <system value="http://hl7.org/fhir/encounter-class"/>
      <version value="1.0.2"/>
      <concept>
        <code value="ambulatory"/>
        <display value="Ambulatory"/>
      </concept>
      <concept>
        <code value="other"/>
        <display value="Other"/>
      </concept>
      <concept>
        <code value="outpatient"/>
        <display value="Outpatient"/>
      </concept>
    </include>
  </compose>
  <expansion>
    <timestamp value="2026-03-17T21:02:03.8104715+00:00"/>
    <contains>
      <system value="http://hl7.org/fhir/encounter-class"/>
      <version value="1.0.2"/>
      <code value="ambulatory"/>
      <display value="Ambulatory"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/encounter-class"/>
      <version value="1.0.2"/>
      <code value="other"/>
      <display value="Other"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/encounter-class"/>
      <version value="1.0.2"/>
      <code value="outpatient"/>
      <display value="Outpatient"/>
    </contains>
  </expansion>
</ValueSet>