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

<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="R5-EncounterHistory-element-map-to-R4"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap R5-EncounterHistory-element-map-to-R4</b></p><a name="R5-EncounterHistory-element-map-to-R4"> </a><a name="hcR5-EncounterHistory-element-map-to-R4"> </a><p>Mapping from http://hl7.org/fhir/5.0 to http://hl7.org/fhir/4.0</p><br/><p><b>Group 1 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0</code> to <a href="http://hl7.org/fhir/R4/encounter.html">Encounterversion: 4.0.1)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>EncounterHistory.meta (meta)</td><td><a href="CodeSystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.meta</td><td>Element `EncounterHistory.meta` is mapped to FHIR R4 element `Encounter.meta` as `Equivalent`.</td></tr><tr><td>EncounterHistory.implicitRules (implicitRules)</td><td><a href="CodeSystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.implicitRules</td><td>Element `EncounterHistory.implicitRules` is mapped to FHIR R4 element `Encounter.implicitRules` as `Equivalent`.
Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.</td></tr><tr><td>EncounterHistory.language (language)</td><td><a href="CodeSystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.language</td><td>Element `EncounterHistory.language` is mapped to FHIR R4 element `Encounter.language` as `Equivalent`.
Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).</td></tr><tr><td>EncounterHistory.text (text)</td><td><a href="CodeSystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.text</td><td>Element `EncounterHistory.text` is mapped to FHIR R4 element `Encounter.text` as `Equivalent`.
Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded information is added later.</td></tr><tr><td>EncounterHistory.contained (contained)</td><td><a href="CodeSystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.contained</td><td>Element `EncounterHistory.contained` is mapped to FHIR R4 element `Encounter.contained` as `Equivalent`.
This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.</td></tr><tr><td>EncounterHistory.identifier (identifier)</td><td><a href="CodeSystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.identifier</td><td>Element `EncounterHistory.identifier` is mapped to FHIR R4 element `Encounter.identifier` as `Equivalent`.</td></tr><tr><td>EncounterHistory.status (status)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Encounter.status</td><td>Element `EncounterHistory.status` is mapped to FHIR R4 element `Encounter.status` as `SourceIsBroaderThanTarget`.
The target context `Encounter.status` is a modifier element, so this extension does not need to be defined as a modifier.
Note that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes).</td></tr><tr><td>EncounterHistory.class (class)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Encounter.class</td><td>Element `EncounterHistory.class` is mapped to FHIR R4 element `Encounter.class` as `SourceIsBroaderThanTarget`.
The mappings for `EncounterHistory.class` do not cover the following types: CodeableConcept.
The mappings for `EncounterHistory.class` do not cover the following types based on type expansion: text.</td></tr><tr><td>EncounterHistory.type (type)</td><td><a href="CodeSystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.type</td><td>Element `EncounterHistory.type` is mapped to FHIR R4 element `Encounter.type` as `Equivalent`.
Since there are many ways to further classify encounters, this element is 0..*.</td></tr><tr><td>EncounterHistory.serviceType (serviceType)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Encounter.serviceType</td><td>Element `EncounterHistory.serviceType` is mapped to FHIR R4 element `Encounter.serviceType` as `SourceIsBroaderThanTarget`.
The mappings for `EncounterHistory.serviceType` do not cover the following types: CodeableReference.
The mappings for `EncounterHistory.serviceType` do not cover the following types based on type expansion: reference.</td></tr><tr><td>EncounterHistory.subject (subject)</td><td><a href="CodeSystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.subject</td><td>Element `EncounterHistory.subject` is mapped to FHIR R4 element `Encounter.subject` as `Equivalent`.
While the encounter is always about the patient, the patient might not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked).</td></tr><tr><td>EncounterHistory.length (length)</td><td><a href="CodeSystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.length</td><td>Element `EncounterHistory.length` is mapped to FHIR R4 element `Encounter.length` as `Equivalent`.
If the precision on these values is low (e.g. to the day only) then this may be considered was an all day (or multi-day) encounter, unless the duration is included, where that amount of time occurred sometime during the interval.May differ from the time in `Encounter.period` due to leave of absence(s).</td></tr><tr><td>EncounterHistory.location (location)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Encounter.location</td><td>Element `EncounterHistory.location` is mapped to FHIR R4 element `Encounter.location` as `Equivalent`.
Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type &quot;kind&quot; such as &quot;client's home&quot; and an encounter.class = &quot;virtual&quot;.</td></tr><tr><td>EncounterHistory.location.location (location)</td><td><a href="CodeSystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Encounter.location.location</td><td>Element `EncounterHistory.location.location` is mapped to FHIR R4 element `Encounter.location.location` as `Equivalent`.</td></tr></table><hr/><p><b>Group 2 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0</code> to <a href="StructureDefinition-ext-R5-EncounterHistory.encounter.html">R5: The Encounter associated with this set of historic values (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>EncounterHistory.encounter (encounter)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Extension (R5: The Encounter associated with this set of historic values (new))</td><td>Element `EncounterHistory.encounter` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.
Element `EncounterHistory.encounter` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).
This is also used for associating a child's encounter back to the mother's encounter.Refer to the Notes section in the Patient resource for further details.</td></tr></table><hr/><p><b>Group 3 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0</code> to <a href="StructureDefinition-ext-R5-EncounterHistory.status.html">R5: planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknownversion: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>EncounterHistory.status (status)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Extension (R5: planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknown)</td><td>Element `EncounterHistory.status` is mapped to FHIR R4 element `Encounter.status` as `SourceIsBroaderThanTarget`.
The target context `Encounter.status` is a modifier element, so this extension does not need to be defined as a modifier.
Note that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes).</td></tr></table><hr/><p><b>Group 4 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0</code> to <a href="StructureDefinition-ext-R5-EncounterHistory.class.html">R5: class additional typesversion: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>EncounterHistory.class (class)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Extension (R5: class additional types)</td><td>Element `EncounterHistory.class` is mapped to FHIR R4 element `Encounter.class` as `SourceIsBroaderThanTarget`.
The mappings for `EncounterHistory.class` do not cover the following types: CodeableConcept.
The mappings for `EncounterHistory.class` do not cover the following types based on type expansion: text.</td></tr></table><hr/><p><b>Group 5 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0</code> to <a href="StructureDefinition-ext-R5-EncounterHistory.serviceType.html">R5: serviceType additional typesversion: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>EncounterHistory.serviceType (serviceType)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Extension (R5: serviceType additional types)</td><td>Element `EncounterHistory.serviceType` is mapped to FHIR R4 element `Encounter.serviceType` as `SourceIsBroaderThanTarget`.
The mappings for `EncounterHistory.serviceType` do not cover the following types: CodeableReference.
The mappings for `EncounterHistory.serviceType` do not cover the following types based on type expansion: reference.</td></tr></table><hr/><p><b>Group 6 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0</code> to <a href="StructureDefinition-ext-R5-EncounterHistory.subjectStatus.html">R5: The current status of the subject in relation to the Encounter (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>EncounterHistory.subjectStatus (subjectStatus)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Extension (R5: The current status of the subject in relation to the Encounter (new))</td><td>Element `EncounterHistory.subjectStatus` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.
Element `EncounterHistory.subjectStatus` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 7 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0</code> to <a href="StructureDefinition-ext-R5-EncounterHistory.actualPeriod.html">R5: The actual start and end time associated with this set of values associated with the encounter (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>EncounterHistory.actualPeriod (actualPeriod)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Extension (R5: The actual start and end time associated with this set of values associated with the encounter (new))</td><td>Element `EncounterHistory.actualPeriod` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.
Element `EncounterHistory.actualPeriod` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 8 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0</code> to <a href="StructureDefinition-ext-R5-EncounterHistory.plannedStartDate.html">R5: The planned start date/time (or admission date) of the encounter (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>EncounterHistory.plannedStartDate (plannedStartDate)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Extension (R5: The planned start date/time (or admission date) of the encounter (new))</td><td>Element `EncounterHistory.plannedStartDate` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.
Element `EncounterHistory.plannedStartDate` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 9 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0</code> to <a href="StructureDefinition-ext-R5-EncounterHistory.plannedEndDate.html">R5: The planned end date/time (or discharge date) of the encounter (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>EncounterHistory.plannedEndDate (plannedEndDate)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Extension (R5: The planned end date/time (or discharge date) of the encounter (new))</td><td>Element `EncounterHistory.plannedEndDate` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.
Element `EncounterHistory.plannedEndDate` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 10 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0</code> to <a href="StructureDefinition-ext-R5-EncounterHistory.loc.form.html">R5: The physical type of the location (usually the level in the location hierarchy - bed, room, ward, virtual etc.) (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>EncounterHistory.location.form (form)</td><td><a href="CodeSystem-concept-map-relationship.html#wider" title="wider">maps to wider concept</a></td><td>Extension (R5: The physical type of the location (usually the level in the location hierarchy - bed, room, ward, virtual etc.) (new))</td><td>Element `EncounterHistory.location.form` has a context of Encounter.location based on following the parent source element upwards and mapping to `Encounter`.
Element `EncounterHistory.location.form` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).
This information is de-normalized from the Location resource to support the easier understanding of the encounter resource and processing in messaging or query.

There may be many levels in the hierachy, and this may only pic specific levels that are required for a specific usage scenario.</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/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-r5.r4"/>
      </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-r5.r4"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/uv/xver/ConceptMap/R5-EncounterHistory-element-map-to-R4"/>
  <version value="0.1.0"/>
  <name value="R5EncounterHistoryElementMapToR4"/>
  <title value="Cross-version mapping for FHIR R5 EncounterHistory to FHIR R4 Encounter"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-03-17T16:04:45.177765-05:00"/>
  <contact>
    <name value="FHIR Infrastructure"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="This ConceptMap represents cross-version mappings for elements from a FHIR R5 EncounterHistory to FHIR R4."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <sourceCanonical value="http://hl7.org/fhir/5.0"/>
  <targetUri value="http://hl7.org/fhir/4.0"/>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/EncounterHistory"/>
    <sourceVersion value="5.0.0"/>
    <target value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
    <targetVersion value="4.0.1"/>
    <element>
      <code value="EncounterHistory.meta"/>
      <display value="meta"/>
      <target>
        <code value="Encounter.meta"/>
        <display value="Encounter.meta"/>
        <equivalence value="equivalent"/>
        <comment value="Element `EncounterHistory.meta` is mapped to FHIR R4 element `Encounter.meta` as `Equivalent`."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.implicitRules"/>
      <display value="implicitRules"/>
      <target>
        <code value="Encounter.implicitRules"/>
        <display value="Encounter.implicitRules"/>
        <equivalence value="equivalent"/>
        <comment value="Element `EncounterHistory.implicitRules` is mapped to FHIR R4 element `Encounter.implicitRules` as `Equivalent`.&#xA;Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.language"/>
      <display value="language"/>
      <target>
        <code value="Encounter.language"/>
        <display value="Encounter.language"/>
        <equivalence value="equivalent"/>
        <comment value="Element `EncounterHistory.language` is mapped to FHIR R4 element `Encounter.language` as `Equivalent`.&#xA;Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.text"/>
      <display value="text"/>
      <target>
        <code value="Encounter.text"/>
        <display value="Encounter.text"/>
        <equivalence value="equivalent"/>
        <comment value="Element `EncounterHistory.text` is mapped to FHIR R4 element `Encounter.text` as `Equivalent`.&#xA;Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded information is added later."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.contained"/>
      <display value="contained"/>
      <target>
        <code value="Encounter.contained"/>
        <display value="Encounter.contained"/>
        <equivalence value="equivalent"/>
        <comment value="Element `EncounterHistory.contained` is mapped to FHIR R4 element `Encounter.contained` as `Equivalent`.&#xA;This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.identifier"/>
      <display value="identifier"/>
      <target>
        <code value="Encounter.identifier"/>
        <display value="Encounter.identifier"/>
        <equivalence value="equivalent"/>
        <comment value="Element `EncounterHistory.identifier` is mapped to FHIR R4 element `Encounter.identifier` as `Equivalent`."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.status"/>
      <display value="status"/>
      <target>
        <code value="Encounter.status"/>
        <display value="Encounter.status"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.status` is mapped to FHIR R4 element `Encounter.status` as `SourceIsBroaderThanTarget`.&#xA;The target context `Encounter.status` is a modifier element, so this extension does not need to be defined as a modifier.&#xA;Note that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes)."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.class"/>
      <display value="class"/>
      <target>
        <code value="Encounter.class"/>
        <display value="Encounter.class"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.class` is mapped to FHIR R4 element `Encounter.class` as `SourceIsBroaderThanTarget`.&#xA;The mappings for `EncounterHistory.class` do not cover the following types: CodeableConcept.&#xA;The mappings for `EncounterHistory.class` do not cover the following types based on type expansion: text."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.type"/>
      <display value="type"/>
      <target>
        <code value="Encounter.type"/>
        <display value="Encounter.type"/>
        <equivalence value="equivalent"/>
        <comment value="Element `EncounterHistory.type` is mapped to FHIR R4 element `Encounter.type` as `Equivalent`.&#xA;Since there are many ways to further classify encounters, this element is 0..*."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.serviceType"/>
      <display value="serviceType"/>
      <target>
        <code value="Encounter.serviceType"/>
        <display value="Encounter.serviceType"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.serviceType` is mapped to FHIR R4 element `Encounter.serviceType` as `SourceIsBroaderThanTarget`.&#xA;The mappings for `EncounterHistory.serviceType` do not cover the following types: CodeableReference.&#xA;The mappings for `EncounterHistory.serviceType` do not cover the following types based on type expansion: reference."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.subject"/>
      <display value="subject"/>
      <target>
        <code value="Encounter.subject"/>
        <display value="Encounter.subject"/>
        <equivalence value="equivalent"/>
        <comment value="Element `EncounterHistory.subject` is mapped to FHIR R4 element `Encounter.subject` as `Equivalent`.&#xA;While the encounter is always about the patient, the patient might not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked)."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.length"/>
      <display value="length"/>
      <target>
        <code value="Encounter.length"/>
        <display value="Encounter.length"/>
        <equivalence value="equivalent"/>
        <comment value="Element `EncounterHistory.length` is mapped to FHIR R4 element `Encounter.length` as `Equivalent`.&#xA;If the precision on these values is low (e.g. to the day only) then this may be considered was an all day (or multi-day) encounter, unless the duration is included, where that amount of time occurred sometime during the interval.&#xD;&#xD;May differ from the time in `Encounter.period` due to leave of absence(s)."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.location"/>
      <display value="location"/>
      <target>
        <code value="Encounter.location"/>
        <display value="Encounter.location"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.location` is mapped to FHIR R4 element `Encounter.location` as `Equivalent`.&#xA;Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type &quot;kind&quot; such as &quot;client's home&quot; and an encounter.class = &quot;virtual&quot;."/>
      </target>
    </element>
    <element>
      <code value="EncounterHistory.location.location"/>
      <display value="location"/>
      <target>
        <code value="Encounter.location.location"/>
        <display value="Encounter.location.location"/>
        <equivalence value="equivalent"/>
        <comment value="Element `EncounterHistory.location.location` is mapped to FHIR R4 element `Encounter.location.location` as `Equivalent`."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/EncounterHistory"/>
    <sourceVersion value="5.0.0"/>
    <target value="http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.encounter"/>
    <targetVersion value="0.1.0"/>
    <element>
      <code value="EncounterHistory.encounter"/>
      <display value="encounter"/>
      <target>
        <code value="Extension"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.encounter` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.&#xA;Element `EncounterHistory.encounter` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).&#xA;This is also used for associating a child's encounter back to the mother's encounter.&#xD;&#xD;Refer to the Notes section in the Patient resource for further details."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/EncounterHistory"/>
    <sourceVersion value="5.0.0"/>
    <target value="http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.status"/>
    <targetVersion value="0.1.0"/>
    <element>
      <code value="EncounterHistory.status"/>
      <display value="status"/>
      <target>
        <code value="Extension"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.status` is mapped to FHIR R4 element `Encounter.status` as `SourceIsBroaderThanTarget`.&#xA;The target context `Encounter.status` is a modifier element, so this extension does not need to be defined as a modifier.&#xA;Note that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes)."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/EncounterHistory"/>
    <sourceVersion value="5.0.0"/>
    <target value="http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.class"/>
    <targetVersion value="0.1.0"/>
    <element>
      <code value="EncounterHistory.class"/>
      <display value="class"/>
      <target>
        <code value="Extension"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.class` is mapped to FHIR R4 element `Encounter.class` as `SourceIsBroaderThanTarget`.&#xA;The mappings for `EncounterHistory.class` do not cover the following types: CodeableConcept.&#xA;The mappings for `EncounterHistory.class` do not cover the following types based on type expansion: text."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/EncounterHistory"/>
    <sourceVersion value="5.0.0"/>
    <target value="http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.serviceType"/>
    <targetVersion value="0.1.0"/>
    <element>
      <code value="EncounterHistory.serviceType"/>
      <display value="serviceType"/>
      <target>
        <code value="Extension"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.serviceType` is mapped to FHIR R4 element `Encounter.serviceType` as `SourceIsBroaderThanTarget`.&#xA;The mappings for `EncounterHistory.serviceType` do not cover the following types: CodeableReference.&#xA;The mappings for `EncounterHistory.serviceType` do not cover the following types based on type expansion: reference."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/EncounterHistory"/>
    <sourceVersion value="5.0.0"/>
    <target value="http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.subjectStatus"/>
    <targetVersion value="0.1.0"/>
    <element>
      <code value="EncounterHistory.subjectStatus"/>
      <display value="subjectStatus"/>
      <target>
        <code value="Extension"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.subjectStatus` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.&#xA;Element `EncounterHistory.subjectStatus` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element)."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/EncounterHistory"/>
    <sourceVersion value="5.0.0"/>
    <target value="http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.actualPeriod"/>
    <targetVersion value="0.1.0"/>
    <element>
      <code value="EncounterHistory.actualPeriod"/>
      <display value="actualPeriod"/>
      <target>
        <code value="Extension"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.actualPeriod` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.&#xA;Element `EncounterHistory.actualPeriod` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element)."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/EncounterHistory"/>
    <sourceVersion value="5.0.0"/>
    <target value="http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.plannedStartDate"/>
    <targetVersion value="0.1.0"/>
    <element>
      <code value="EncounterHistory.plannedStartDate"/>
      <display value="plannedStartDate"/>
      <target>
        <code value="Extension"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.plannedStartDate` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.&#xA;Element `EncounterHistory.plannedStartDate` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element)."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/EncounterHistory"/>
    <sourceVersion value="5.0.0"/>
    <target value="http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.plannedEndDate"/>
    <targetVersion value="0.1.0"/>
    <element>
      <code value="EncounterHistory.plannedEndDate"/>
      <display value="plannedEndDate"/>
      <target>
        <code value="Extension"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.plannedEndDate` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.&#xA;Element `EncounterHistory.plannedEndDate` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element)."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/EncounterHistory"/>
    <sourceVersion value="5.0.0"/>
    <target value="http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.location.form"/>
    <targetVersion value="0.1.0"/>
    <element>
      <code value="EncounterHistory.location.form"/>
      <display value="form"/>
      <target>
        <code value="Extension"/>
        <equivalence value="wider"/>
        <comment value="Element `EncounterHistory.location.form` has a context of Encounter.location based on following the parent source element upwards and mapping to `Encounter`.&#xA;Element `EncounterHistory.location.form` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).&#xA;This information is de-normalized from the Location resource to support the easier understanding of the encounter resource and processing in messaging or query.&#xA;&#xA;There may be many levels in the hierachy, and this may only pic specific levels that are required for a specific usage scenario."/>
      </target>
    </element>
  </group>
</ConceptMap>