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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="R4-template-status-code-for-R5"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet R4-template-status-code-for-R5</b></p><a name="R4-template-status-code-for-R5"> </a><a name="hcR4-template-status-code-for-R5"> </a><p>This value set expansion contains 8 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-template-status-code-for-R5-urn:oid:2.16.840.1.113883.3.1937.98.5.8-active"> </a><code>urn:oid:2.16.840.1.113883.3.1937.98.5.8</code></td><td>4.0.1</td><td style="white-space:nowrap">  <a href="CodeSystem-tldc.html#tldc-active">active</a></td><td>Active</td><td>Design has been deemed fit for the intended purpose and is published by the governance group.</td></tr><tr><td><a name="R4-template-status-code-for-R5-urn:oid:2.16.840.1.113883.3.1937.98.5.8-cancelled"> </a><code>urn:oid:2.16.840.1.113883.3.1937.98.5.8</code></td><td>4.0.1</td><td style="white-space:nowrap">  <a href="CodeSystem-tldc.html#tldc-cancelled">cancelled</a></td><td>Cancelled</td><td>A drafted design is determined to be erroneous or not fit for intended purpose and is discontinued before ever being published in an active state.</td></tr><tr><td><a name="R4-template-status-code-for-R5-urn:oid:2.16.840.1.113883.3.1937.98.5.8-draft"> </a><code>urn:oid:2.16.840.1.113883.3.1937.98.5.8</code></td><td>4.0.1</td><td style="white-space:nowrap">  <a href="CodeSystem-tldc.html#tldc-draft">draft</a></td><td>Draft</td><td>Design is under development (nascent).</td></tr><tr><td><a name="R4-template-status-code-for-R5-urn:oid:2.16.840.1.113883.3.1937.98.5.8-pending"> </a><code>urn:oid:2.16.840.1.113883.3.1937.98.5.8</code></td><td>4.0.1</td><td style="white-space:nowrap">  <a href="CodeSystem-tldc.html#tldc-pending">pending</a></td><td>Under pre-publication review</td><td>Design is completed and is being reviewed.</td></tr><tr><td><a name="R4-template-status-code-for-R5-urn:oid:2.16.840.1.113883.3.1937.98.5.8-rejected"> </a><code>urn:oid:2.16.840.1.113883.3.1937.98.5.8</code></td><td>4.0.1</td><td style="white-space:nowrap">  <a href="CodeSystem-tldc.html#tldc-rejected">rejected</a></td><td>Rejected</td><td>A previously drafted design is determined to be erroneous or not fit for intended purpose and is discontinued before ever being published for consideration in a pending state.</td></tr><tr><td><a name="R4-template-status-code-for-R5-urn:oid:2.16.840.1.113883.3.1937.98.5.8-retired"> </a><code>urn:oid:2.16.840.1.113883.3.1937.98.5.8</code></td><td>4.0.1</td><td style="white-space:nowrap">  <a href="CodeSystem-tldc.html#tldc-retired">retired</a></td><td>Retired</td><td>A previously active design is discontinued from use. It should no longer be used for future designs, but for historical purposes may be used to process data previously recorded using this design. A newer design may or may not exist. The design is published in the retired state.</td></tr><tr><td><a name="R4-template-status-code-for-R5-urn:oid:2.16.840.1.113883.3.1937.98.5.8-review"> </a><code>urn:oid:2.16.840.1.113883.3.1937.98.5.8</code></td><td>4.0.1</td><td style="white-space:nowrap">  <a href="CodeSystem-tldc.html#tldc-review">review</a></td><td>In Review</td><td>Design is active, but is under review. The review may result in a change to the design. The change may necessitate a new version to be created. This in turn may result in the prior version of the template to be retired. Alternatively, the review may result in a change to the design that does not require a new version to be created, or it may result in no change to the design at all.</td></tr><tr><td><a name="R4-template-status-code-for-R5-urn:oid:2.16.840.1.113883.3.1937.98.5.8-terminated"> </a><code>urn:oid:2.16.840.1.113883.3.1937.98.5.8</code></td><td>4.0.1</td><td style="white-space:nowrap">  <a href="CodeSystem-tldc.html#tldc-terminated">terminated</a></td><td>Terminated</td><td>A design is determined to be erroneous or not fit for the intended purpose and should no longer be used, even for historical purposes. No new designs can be developed for this template. The associated template no longer needs to be published, but if published, is shown in the terminated state.</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-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-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-r4.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-r4.r5"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/uv/xver/ValueSet/R4-template-status-code-for-R5"/>
  <version value="0.1.0"/>
  <name value="R4TemplateStatusCodeForR5"/>
  <title value="Cross-version ValueSet R4.TemplateStatusCode 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/template-status-code|4.0.1` for use in FHIR R5."/>
  <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/template-status-code|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;* &#xD;&#xA;&#xD;&#xA;Across FHIR versions, the value set has been mapped as:&#xD;&#xA;* `http://hl7.org/fhir/ValueSet/template-status-code|4.0.1`&#xA;* `http://hl7.org/fhir/ValueSet/template-status-code|4.3.0`&#xD;&#xA;&#xD;&#xA;Note that all concepts are included in this cross-version definition because no concepts have compatible representations&#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 (8).&#xA;FHIR ValueSet `http://hl7.org/fhir/ValueSet/template-status-code|4.0.1`, defined in FHIR R4 does not have any mapping to FHIR R5"/>
  <compose>
    <include>
      <system value="urn:oid:2.16.840.1.113883.3.1937.98.5.8"/>
      <version value="4.0.1"/>
      <concept>
        <code value="active"/>
        <display value="Active"/>
      </concept>
      <concept>
        <code value="cancelled"/>
        <display value="Cancelled"/>
      </concept>
      <concept>
        <code value="draft"/>
        <display value="Draft"/>
      </concept>
      <concept>
        <code value="pending"/>
        <display value="Under pre-publication review"/>
      </concept>
      <concept>
        <code value="rejected"/>
        <display value="Rejected"/>
      </concept>
      <concept>
        <code value="retired"/>
        <display value="Retired"/>
      </concept>
      <concept>
        <code value="review"/>
        <display value="In Review"/>
      </concept>
      <concept>
        <code value="terminated"/>
        <display value="Terminated"/>
      </concept>
    </include>
  </compose>
  <expansion>
    <timestamp value="2026-03-17T21:02:03.8104715+00:00"/>
    <contains>
      <system value="urn:oid:2.16.840.1.113883.3.1937.98.5.8"/>
      <version value="4.0.1"/>
      <code value="active"/>
      <display value="Active"/>
    </contains>
    <contains>
      <system value="urn:oid:2.16.840.1.113883.3.1937.98.5.8"/>
      <version value="4.0.1"/>
      <code value="cancelled"/>
      <display value="Cancelled"/>
    </contains>
    <contains>
      <system value="urn:oid:2.16.840.1.113883.3.1937.98.5.8"/>
      <version value="4.0.1"/>
      <code value="draft"/>
      <display value="Draft"/>
    </contains>
    <contains>
      <system value="urn:oid:2.16.840.1.113883.3.1937.98.5.8"/>
      <version value="4.0.1"/>
      <code value="pending"/>
      <display value="Under pre-publication review"/>
    </contains>
    <contains>
      <system value="urn:oid:2.16.840.1.113883.3.1937.98.5.8"/>
      <version value="4.0.1"/>
      <code value="rejected"/>
      <display value="Rejected"/>
    </contains>
    <contains>
      <system value="urn:oid:2.16.840.1.113883.3.1937.98.5.8"/>
      <version value="4.0.1"/>
      <code value="retired"/>
      <display value="Retired"/>
    </contains>
    <contains>
      <system value="urn:oid:2.16.840.1.113883.3.1937.98.5.8"/>
      <version value="4.0.1"/>
      <code value="review"/>
      <display value="In Review"/>
    </contains>
    <contains>
      <system value="urn:oid:2.16.840.1.113883.3.1937.98.5.8"/>
      <version value="4.0.1"/>
      <code value="terminated"/>
      <display value="Terminated"/>
    </contains>
  </expansion>
</ValueSet>