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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="R5-compartment-type-for-R3"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet R5-compartment-type-for-R3</b></p><a name="R5-compartment-type-for-R3"> </a><a name="hcR5-compartment-type-for-R3"> </a><p>This value set expansion contains 1 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="R5-compartment-type-for-R3-http://hl7.org/fhir/compartment-type-EpisodeOfCare"> </a><code>http://hl7.org/fhir/compartment-type</code></td><td>5.0.0</td><td style="white-space:nowrap">  <a href="CodeSystem-compartment-type.html#compartment-type-EpisodeOfCare">EpisodeOfCare</a></td><td>EpisodeOfCare</td><td>The compartment definition is for the episodeofcare compartment.</td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="3"/>
  </extension>
  <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-r5.r3"/>
    </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-r5.r3"/>
    </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">
        <valueUri value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r3"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/uv/xver/ValueSet/R5-compartment-type-for-R3"/>
  <version value="0.1.0"/>
  <name value="R5CompartmentTypeForR3"/>
  <title value="Cross-version ValueSet R5.CompartmentType for use in FHIR STU3"/>
  <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/compartment-type|5.0.0 for use in FHIR STU3 that is appropriate for use but unavailable in `http://hl7.org/fhir/ValueSet/compartment-type|3.0.2`."/>
  <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/compartment-type|5.0.0` as defined in FHIR R5&#xD;&#xA;in FHIR STU3.&#xD;&#xA;&#xD;&#xA;The source value set is bound to the following FHIR R5 elements:&#xD;&#xA;* `CompartmentDefinition.code` as Required&#xA;* `GraphDefinition.link.compartment.code` as Required&#xD;&#xA;&#xD;&#xA;Across FHIR versions, the value set has been mapped as:&#xD;&#xA;* `http://hl7.org/fhir/ValueSet/compartment-type|5.0.0`&#xA;* `http://hl7.org/fhir/ValueSet/compartment-type|4.3.0`&#xA;* `http://hl7.org/fhir/ValueSet/compartment-type|4.0.1`&#xA;* `http://hl7.org/fhir/ValueSet/compartment-type|3.0.2`&#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/compartment-type#Device`&#xA;* `http://hl7.org/fhir/compartment-type#Encounter`&#xA;* `http://hl7.org/fhir/compartment-type#Patient`&#xA;* `http://hl7.org/fhir/compartment-type#Practitioner`&#xA;* `http://hl7.org/fhir/compartment-type#RelatedPerson`&#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 more active concepts (6) than the target (5), so the source is broader 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 (5).&#xA;All concepts in the comparison are listed as identical.&#xA;The source and target value sets have the same number of active concepts (5)."/>
  <compose>
    <include>
      <system value="http://hl7.org/fhir/compartment-type"/>
      <version value="5.0.0"/>
      <concept>
        <code value="EpisodeOfCare"/>
        <display value="EpisodeOfCare"/>
      </concept>
    </include>
  </compose>
  <expansion>
    <timestamp value="2026-03-17T21:02:03.8104715+00:00"/>
    <contains>
      <system value="http://hl7.org/fhir/compartment-type"/>
      <version value="5.0.0"/>
      <code value="EpisodeOfCare"/>
      <display value="EpisodeOfCare"/>
    </contains>
  </expansion>
</ValueSet>