Extensions for Using Data Elements from FHIR R5 in FHIR R4 - Downloaded Version null See the Directory of published versions
| Page standards status: Trial-use | Maturity Level: 4 |
<ValueSet xmlns="http://hl7.org/fhir">
<id value="R5-encounter-status-for-R4"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet R5-encounter-status-for-R4</b></p><a name="R5-encounter-status-for-R4"> </a><a name="hcR5-encounter-status-for-R4"> </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="R5-encounter-status-for-R4-http://hl7.org/fhir/encounter-status-completed"> </a><code>http://hl7.org/fhir/encounter-status</code></td><td>5.0.0</td><td style="white-space:nowrap"> <a href="CodeSystem-encounter-status.html#encounter-status-completed">completed</a></td><td>Completed</td><td>The Encounter has ended.</td></tr><tr><td><a name="R5-encounter-status-for-R4-http://hl7.org/fhir/encounter-status-discharged"> </a><code>http://hl7.org/fhir/encounter-status</code></td><td>5.0.0</td><td style="white-space:nowrap"> <a href="CodeSystem-encounter-status.html#encounter-status-discharged">discharged</a></td><td>Discharged</td><td>The Encounter has been clinically completed, the patient has been discharged from the facility or the visit has ended, and the patient may have departed (refer to subjectStatus). While the encounter is in this status, administrative activities are usually performed, collating all required documentation and charge information before being released for billing, at which point the status will move to completed.</td></tr><tr><td><a name="R5-encounter-status-for-R4-http://hl7.org/fhir/encounter-status-discontinued"> </a><code>http://hl7.org/fhir/encounter-status</code></td><td>5.0.0</td><td style="white-space:nowrap"> <a href="CodeSystem-encounter-status.html#encounter-status-discontinued">discontinued</a></td><td>Discontinued</td><td>The Encounter has started, but was not able to be completed. Further action may need to be performed, such as rescheduling appointments related to this encounter.</td></tr><tr><td><a name="R5-encounter-status-for-R4-http://hl7.org/fhir/encounter-status-unknown"> </a><code>http://hl7.org/fhir/encounter-status</code></td><td>5.0.0</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 "unknown" is a value of last resort and every attempt should be made to provide a meaningful value other than "unknown".</td></tr></table></div>
</text>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="4"/>
</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-r5.r4"/>
</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.r4"/>
</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-r5.r4"/>
</extension>
</valueCode>
</extension>
<url
value="http://hl7.org/fhir/uv/xver/ValueSet/R5-encounter-status-for-R4"/>
<version value="0.1.0"/>
<name value="R5EncounterStatusForR4"/>
<title
value="Cross-version ValueSet R5.EncounterStatus for use in FHIR R4"/>
<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|5.0.0 for use in FHIR R4 that is appropriate for use but unavailable in `http://hl7.org/fhir/ValueSet/encounter-status|4.0.1`."/>
<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
value set `http://hl7.org/fhir/ValueSet/encounter-status|5.0.0` as defined in FHIR R5
in FHIR R4.
The source value set is bound to the following FHIR R5 elements:
* `Encounter.status` as Required
* `EncounterHistory.status` as Required
Across FHIR versions, the value set has been mapped as:
* `http://hl7.org/fhir/ValueSet/encounter-status|5.0.0`
* `http://hl7.org/fhir/ValueSet/encounter-status|4.3.0`
* `http://hl7.org/fhir/ValueSet/encounter-status|4.0.1`
The following concepts are not included in this cross-version definition because they have valid representations:
* `http://hl7.org/fhir/encounter-status#cancelled`
* `http://hl7.org/fhir/encounter-status#entered-in-error`
* `http://hl7.org/fhir/encounter-status#in-progress`
* `http://hl7.org/fhir/encounter-status#in-progress`
* `http://hl7.org/fhir/encounter-status#on-hold`
* `http://hl7.org/fhir/encounter-status#planned`
* `http://hl7.org/fhir/encounter-status#planned`
Following are the generation technical comments:
One or more source concepts are either not mapped or broader than their targets, so the value set relationship is broadened.
The source and target value sets have the same number of active concepts (9).
All concepts in the comparison are listed as identical.
The source and target value sets have the same number of active concepts (9).
Using explicit mapping from `http://hl7.org/fhir/ValueSet/encounter-status|5.0.0` to `http://hl7.org/fhir/ValueSet/encounter-status|4.0.1` in `http://hl7.org/fhir/uv/xver/5.0/ConceptMap/R5-EncounterStatus-R4-EncounterStatus` (`ConceptMap-R5-EncounterStatus-R4-EncounterStatus.json`)"/>
<compose>
<include>
<system value="http://hl7.org/fhir/encounter-status"/>
<version value="5.0.0"/>
<concept>
<code value="completed"/>
<display value="Completed"/>
</concept>
<concept>
<code value="discharged"/>
<display value="Discharged"/>
</concept>
<concept>
<code value="discontinued"/>
<display value="Discontinued"/>
</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="5.0.0"/>
<code value="completed"/>
<display value="Completed"/>
</contains>
<contains>
<system value="http://hl7.org/fhir/encounter-status"/>
<version value="5.0.0"/>
<code value="discharged"/>
<display value="Discharged"/>
</contains>
<contains>
<system value="http://hl7.org/fhir/encounter-status"/>
<version value="5.0.0"/>
<code value="discontinued"/>
<display value="Discontinued"/>
</contains>
<contains>
<system value="http://hl7.org/fhir/encounter-status"/>
<version value="5.0.0"/>
<code value="unknown"/>
<display value="Unknown"/>
</contains>
</expansion>
</ValueSet>