FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.xver-r5.r4b
Resource TypeConceptMap
IdConceptMap-R5-EncounterHistory-element-map-to-R4B.json
FHIR VersionR4B
Sourcehttp://hl7.org/fhir/uv/xver-r5.r4b/0.1.0/ConceptMap-R5-EncounterHistory-element-map-to-R4B.html
URLhttp://hl7.org/fhir/uv/xver/ConceptMap/R5-EncounterHistory-element-map-to-R4B
Version0.1.0
Statusactive
Date2026-03-17T16:03:56.5609279-05:00
NameR5EncounterHistoryElementMapToR4B
TitleCross-version mapping for FHIR R5 EncounterHistory to FHIR R4B Encounter
Realmuv
Authorityhl7
DescriptionThis ConceptMap represents cross-version mappings for elements from a FHIR R5 EncounterHistory to FHIR R4B.

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
hl7.fhir.uv.xver-r5.r4#0.1.0extension-EncounterHistory.actualPeriodR5: The actual start and end time associated with this set of values associated with the encounter (new)
hl7.fhir.uv.xver-r5.r4#0.1.0extension-EncounterHistory.classR5: class additional types
hl7.fhir.uv.xver-r5.r4#0.1.0extension-EncounterHistory.encounterR5: The Encounter associated with this set of historic values (new)
hl7.fhir.uv.xver-r5.r4#0.1.0extension-EncounterHistory.location.formR5: The physical type of the location (usually the level in the location hierarchy - bed, room, ward, virtual etc.) (new)
hl7.fhir.uv.xver-r5.r4#0.1.0extension-EncounterHistory.plannedEndDateR5: The planned end date/time (or discharge date) of the encounter (new)
hl7.fhir.uv.xver-r5.r4#0.1.0extension-EncounterHistory.plannedStartDateR5: The planned start date/time (or admission date) of the encounter (new)
hl7.fhir.uv.xver-r5.r4#0.1.0extension-EncounterHistory.serviceTypeR5: serviceType additional types
hl7.fhir.uv.xver-r5.r4#0.1.0extension-EncounterHistory.statusR5: planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknown
hl7.fhir.uv.xver-r5.r4#0.1.0extension-EncounterHistory.subjectStatusR5: The current status of the subject in relation to the Encounter (new)

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: ConceptMap R5-EncounterHistory-element-map-to-R4B

Mapping from http://hl7.org/fhir/5.0 to http://hl7.org/fhir/4.3


Group 1 Mapping from http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0 to Encounterversion: 4.3.0)

Source CodeRelationshipTarget CodeComment
EncounterHistory.meta (meta)is equivalent toEncounter.metaElement `EncounterHistory.meta` is mapped to FHIR R4B element `Encounter.meta` as `Equivalent`.
EncounterHistory.implicitRules (implicitRules)is equivalent toEncounter.implicitRulesElement `EncounterHistory.implicitRules` is mapped to FHIR R4B 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.
EncounterHistory.language (language)is equivalent toEncounter.languageElement `EncounterHistory.language` is mapped to FHIR R4B 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).
EncounterHistory.text (text)is equivalent toEncounter.textElement `EncounterHistory.text` is mapped to FHIR R4B 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 "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
EncounterHistory.contained (contained)is equivalent toEncounter.containedElement `EncounterHistory.contained` is mapped to FHIR R4B 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.
EncounterHistory.identifier (identifier)is equivalent toEncounter.identifierElement `EncounterHistory.identifier` is mapped to FHIR R4B element `Encounter.identifier` as `Equivalent`.
EncounterHistory.status (status)maps to wider conceptEncounter.statusElement `EncounterHistory.status` is mapped to FHIR R4B 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).
EncounterHistory.class (class)maps to wider conceptEncounter.classElement `EncounterHistory.class` is mapped to FHIR R4B 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.
EncounterHistory.type (type)is equivalent toEncounter.typeElement `EncounterHistory.type` is mapped to FHIR R4B element `Encounter.type` as `Equivalent`. Since there are many ways to further classify encounters, this element is 0..*.
EncounterHistory.serviceType (serviceType)maps to wider conceptEncounter.serviceTypeElement `EncounterHistory.serviceType` is mapped to FHIR R4B 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.
EncounterHistory.subject (subject)is equivalent toEncounter.subjectElement `EncounterHistory.subject` is mapped to FHIR R4B 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).
EncounterHistory.length (length)is equivalent toEncounter.lengthElement `EncounterHistory.length` is mapped to FHIR R4B 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).
EncounterHistory.location (location)maps to wider conceptEncounter.locationElement `EncounterHistory.location` is mapped to FHIR R4B element `Encounter.location` as `Equivalent`. Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type "kind" such as "client's home" and an encounter.class = "virtual".
EncounterHistory.location.location (location)is equivalent toEncounter.location.locationElement `EncounterHistory.location.location` is mapped to FHIR R4B element `Encounter.location.location` as `Equivalent`.

Group 2 Mapping from http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0 to R5: The Encounter associated with this set of historic values (new)version: 0.1.0)

Source CodeRelationshipTarget CodeComment
EncounterHistory.encounter (encounter)maps to wider conceptExtension (R5: The Encounter associated with this set of historic values (new))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 R4B. 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.

Group 3 Mapping from http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0 to R5: planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknownversion: 0.1.0)

Source CodeRelationshipTarget CodeComment
EncounterHistory.status (status)maps to wider conceptExtension (R5: planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknown)Element `EncounterHistory.status` is mapped to FHIR R4B 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).

Group 4 Mapping from http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0 to R5: class additional typesversion: 0.1.0)

Source CodeRelationshipTarget CodeComment
EncounterHistory.class (class)maps to wider conceptExtension (R5: class additional types)Element `EncounterHistory.class` is mapped to FHIR R4B 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.

Group 5 Mapping from http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0 to R5: serviceType additional typesversion: 0.1.0)

Source CodeRelationshipTarget CodeComment
EncounterHistory.serviceType (serviceType)maps to wider conceptExtension (R5: serviceType additional types)Element `EncounterHistory.serviceType` is mapped to FHIR R4B 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.

Group 6 Mapping from http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0 to R5: The current status of the subject in relation to the Encounter (new)version: 0.1.0)

Source CodeRelationshipTarget CodeComment
EncounterHistory.subjectStatus (subjectStatus)maps to wider conceptExtension (R5: The current status of the subject in relation to the Encounter (new))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 R4B. Typically, this is because the element has been added (is a new element).

Group 7 Mapping from http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0 to R5: The actual start and end time associated with this set of values associated with the encounter (new)version: 0.1.0)

Source CodeRelationshipTarget CodeComment
EncounterHistory.actualPeriod (actualPeriod)maps to wider conceptExtension (R5: The actual start and end time associated with this set of values associated with the encounter (new))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 R4B. Typically, this is because the element has been added (is a new element).

Group 8 Mapping from http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0 to R5: The planned start date/time (or admission date) of the encounter (new)version: 0.1.0)

Source CodeRelationshipTarget CodeComment
EncounterHistory.plannedStartDate (plannedStartDate)maps to wider conceptExtension (R5: The planned start date/time (or admission date) of the encounter (new))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 R4B. Typically, this is because the element has been added (is a new element).

Group 9 Mapping from http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0 to R5: The planned end date/time (or discharge date) of the encounter (new)version: 0.1.0)

Source CodeRelationshipTarget CodeComment
EncounterHistory.plannedEndDate (plannedEndDate)maps to wider conceptExtension (R5: The planned end date/time (or discharge date) of the encounter (new))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 R4B. Typically, this is because the element has been added (is a new element).

Group 10 Mapping from http://hl7.org/fhir/StructureDefinition/EncounterHistory|5.0.0 to R5: The physical type of the location (usually the level in the location hierarchy - bed, room, ward, virtual etc.) (new)version: 0.1.0)

Source CodeRelationshipTarget CodeComment
EncounterHistory.location.form (form)maps to wider conceptExtension (R5: The physical type of the location (usually the level in the location hierarchy - bed, room, ward, virtual etc.) (new))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 R4B. 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.

Source1

{
  "resourceType": "ConceptMap",
  "id": "R5-EncounterHistory-element-map-to-R4B",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 0,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4b"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4b"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/uv/xver/ConceptMap/R5-EncounterHistory-element-map-to-R4B",
  "version": "0.1.0",
  "name": "R5EncounterHistoryElementMapToR4B",
  "title": "Cross-version mapping for FHIR R5 EncounterHistory to FHIR R4B Encounter",
  "status": "active",
  "experimental": false,
  "date": "2026-03-17T16:03:56.5609279-05:00",
  "contact": [
    {
      "name": "FHIR Infrastructure",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "This ConceptMap represents cross-version mappings for elements from a FHIR R5 EncounterHistory to FHIR R4B.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "sourceCanonical": "http://hl7.org/fhir/5.0",
  "targetUri": "http://hl7.org/fhir/4.3",
  "group": [
    {
      "source": "http://hl7.org/fhir/StructureDefinition/EncounterHistory",
      "sourceVersion": "5.0.0",
      "target": "http://hl7.org/fhir/StructureDefinition/Encounter",
      "targetVersion": "4.3.0",
      "element": [
        {
          "code": "EncounterHistory.meta",
          "display": "meta",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "equivalent"
                }
              ],
              "code": "Encounter.meta",
              "display": "Encounter.meta",
              "equivalence": "equivalent",
              "comment": "Element `EncounterHistory.meta` is mapped to FHIR R4B element `Encounter.meta` as `Equivalent`."
            }
          ]
        },
        {
          "code": "EncounterHistory.implicitRules",
          "display": "implicitRules",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "equivalent"
                }
              ],
              "code": "Encounter.implicitRules",
              "display": "Encounter.implicitRules",
              "equivalence": "equivalent",
              "comment": "Element `EncounterHistory.implicitRules` is mapped to FHIR R4B element `Encounter.implicitRules` as `Equivalent`.\nAsserting 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."
            }
          ]
        },
        {
          "code": "EncounterHistory.language",
          "display": "language",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "equivalent"
                }
              ],
              "code": "Encounter.language",
              "display": "Encounter.language",
              "equivalence": "equivalent",
              "comment": "Element `EncounterHistory.language` is mapped to FHIR R4B element `Encounter.language` as `Equivalent`.\nLanguage 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)."
            }
          ]
        },
        {
          "code": "EncounterHistory.text",
          "display": "text",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "equivalent"
                }
              ],
              "code": "Encounter.text",
              "display": "Encounter.text",
              "equivalence": "equivalent",
              "comment": "Element `EncounterHistory.text` is mapped to FHIR R4B element `Encounter.text` as `Equivalent`.\nContained 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 \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later."
            }
          ]
        },
        {
          "code": "EncounterHistory.contained",
          "display": "contained",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "equivalent"
                }
              ],
              "code": "Encounter.contained",
              "display": "Encounter.contained",
              "equivalence": "equivalent",
              "comment": "Element `EncounterHistory.contained` is mapped to FHIR R4B element `Encounter.contained` as `Equivalent`.\nThis 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."
            }
          ]
        },
        {
          "code": "EncounterHistory.identifier",
          "display": "identifier",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "equivalent"
                }
              ],
              "code": "Encounter.identifier",
              "display": "Encounter.identifier",
              "equivalence": "equivalent",
              "comment": "Element `EncounterHistory.identifier` is mapped to FHIR R4B element `Encounter.identifier` as `Equivalent`."
            }
          ]
        },
        {
          "code": "EncounterHistory.status",
          "display": "status",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Encounter.status",
              "display": "Encounter.status",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.status` is mapped to FHIR R4B element `Encounter.status` as `SourceIsBroaderThanTarget`.\nThe target context `Encounter.status` is a modifier element, so this extension does not need to be defined as a modifier.\nNote that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes)."
            }
          ]
        },
        {
          "code": "EncounterHistory.class",
          "display": "class",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Encounter.class",
              "display": "Encounter.class",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.class` is mapped to FHIR R4B element `Encounter.class` as `SourceIsBroaderThanTarget`.\nThe mappings for `EncounterHistory.class` do not cover the following types: CodeableConcept.\nThe mappings for `EncounterHistory.class` do not cover the following types based on type expansion: text."
            }
          ]
        },
        {
          "code": "EncounterHistory.type",
          "display": "type",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "equivalent"
                }
              ],
              "code": "Encounter.type",
              "display": "Encounter.type",
              "equivalence": "equivalent",
              "comment": "Element `EncounterHistory.type` is mapped to FHIR R4B element `Encounter.type` as `Equivalent`.\nSince there are many ways to further classify encounters, this element is 0..*."
            }
          ]
        },
        {
          "code": "EncounterHistory.serviceType",
          "display": "serviceType",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Encounter.serviceType",
              "display": "Encounter.serviceType",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.serviceType` is mapped to FHIR R4B element `Encounter.serviceType` as `SourceIsBroaderThanTarget`.\nThe mappings for `EncounterHistory.serviceType` do not cover the following types: CodeableReference.\nThe mappings for `EncounterHistory.serviceType` do not cover the following types based on type expansion: reference."
            }
          ]
        },
        {
          "code": "EncounterHistory.subject",
          "display": "subject",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "equivalent"
                }
              ],
              "code": "Encounter.subject",
              "display": "Encounter.subject",
              "equivalence": "equivalent",
              "comment": "Element `EncounterHistory.subject` is mapped to FHIR R4B element `Encounter.subject` as `Equivalent`.\nWhile 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)."
            }
          ]
        },
        {
          "code": "EncounterHistory.length",
          "display": "length",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "equivalent"
                }
              ],
              "code": "Encounter.length",
              "display": "Encounter.length",
              "equivalence": "equivalent",
              "comment": "Element `EncounterHistory.length` is mapped to FHIR R4B element `Encounter.length` as `Equivalent`.\nIf 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.\r\rMay differ from the time in `Encounter.period` due to leave of absence(s)."
            }
          ]
        },
        {
          "code": "EncounterHistory.location",
          "display": "location",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Encounter.location",
              "display": "Encounter.location",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.location` is mapped to FHIR R4B element `Encounter.location` as `Equivalent`.\nVirtual encounters can be recorded in the Encounter by specifying a location reference to a location of type \"kind\" such as \"client's home\" and an encounter.class = \"virtual\"."
            }
          ]
        },
        {
          "code": "EncounterHistory.location.location",
          "display": "location",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "equivalent"
                }
              ],
              "code": "Encounter.location.location",
              "display": "Encounter.location.location",
              "equivalence": "equivalent",
              "comment": "Element `EncounterHistory.location.location` is mapped to FHIR R4B element `Encounter.location.location` as `Equivalent`."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/EncounterHistory",
      "sourceVersion": "5.0.0",
      "target": "http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.encounter",
      "targetVersion": "0.1.0",
      "element": [
        {
          "code": "EncounterHistory.encounter",
          "display": "encounter",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Extension",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.encounter` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.\nElement `EncounterHistory.encounter` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).\nThis is also used for associating a child's encounter back to the mother's encounter.\r\rRefer to the Notes section in the Patient resource for further details."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/EncounterHistory",
      "sourceVersion": "5.0.0",
      "target": "http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.status",
      "targetVersion": "0.1.0",
      "element": [
        {
          "code": "EncounterHistory.status",
          "display": "status",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Extension",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.status` is mapped to FHIR R4B element `Encounter.status` as `SourceIsBroaderThanTarget`.\nThe target context `Encounter.status` is a modifier element, so this extension does not need to be defined as a modifier.\nNote that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes)."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/EncounterHistory",
      "sourceVersion": "5.0.0",
      "target": "http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.class",
      "targetVersion": "0.1.0",
      "element": [
        {
          "code": "EncounterHistory.class",
          "display": "class",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Extension",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.class` is mapped to FHIR R4B element `Encounter.class` as `SourceIsBroaderThanTarget`.\nThe mappings for `EncounterHistory.class` do not cover the following types: CodeableConcept.\nThe mappings for `EncounterHistory.class` do not cover the following types based on type expansion: text."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/EncounterHistory",
      "sourceVersion": "5.0.0",
      "target": "http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.serviceType",
      "targetVersion": "0.1.0",
      "element": [
        {
          "code": "EncounterHistory.serviceType",
          "display": "serviceType",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Extension",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.serviceType` is mapped to FHIR R4B element `Encounter.serviceType` as `SourceIsBroaderThanTarget`.\nThe mappings for `EncounterHistory.serviceType` do not cover the following types: CodeableReference.\nThe mappings for `EncounterHistory.serviceType` do not cover the following types based on type expansion: reference."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/EncounterHistory",
      "sourceVersion": "5.0.0",
      "target": "http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.subjectStatus",
      "targetVersion": "0.1.0",
      "element": [
        {
          "code": "EncounterHistory.subjectStatus",
          "display": "subjectStatus",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Extension",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.subjectStatus` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.\nElement `EncounterHistory.subjectStatus` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element)."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/EncounterHistory",
      "sourceVersion": "5.0.0",
      "target": "http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.actualPeriod",
      "targetVersion": "0.1.0",
      "element": [
        {
          "code": "EncounterHistory.actualPeriod",
          "display": "actualPeriod",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Extension",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.actualPeriod` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.\nElement `EncounterHistory.actualPeriod` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element)."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/EncounterHistory",
      "sourceVersion": "5.0.0",
      "target": "http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.plannedStartDate",
      "targetVersion": "0.1.0",
      "element": [
        {
          "code": "EncounterHistory.plannedStartDate",
          "display": "plannedStartDate",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Extension",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.plannedStartDate` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.\nElement `EncounterHistory.plannedStartDate` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element)."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/EncounterHistory",
      "sourceVersion": "5.0.0",
      "target": "http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.plannedEndDate",
      "targetVersion": "0.1.0",
      "element": [
        {
          "code": "EncounterHistory.plannedEndDate",
          "display": "plannedEndDate",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Extension",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.plannedEndDate` has a context of Encounter based on following the parent source element upwards and mapping to `Encounter`.\nElement `EncounterHistory.plannedEndDate` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element)."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/EncounterHistory",
      "sourceVersion": "5.0.0",
      "target": "http://hl7.org/fhir/5.0/StructureDefinition/extension-EncounterHistory.location.form",
      "targetVersion": "0.1.0",
      "element": [
        {
          "code": "EncounterHistory.location.form",
          "display": "form",
          "target": [
            {
              "modifierExtension": [
                {
                  "url": "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
                  "valueCode": "wider"
                }
              ],
              "code": "Extension",
              "equivalence": "wider",
              "comment": "Element `EncounterHistory.location.form` has a context of Encounter.location based on following the parent source element upwards and mapping to `Encounter`.\nElement `EncounterHistory.location.form` has no mapping targets in FHIR R4B. Typically, this is because the element has been added (is a new element).\nThis information is de-normalized from the Location resource to support the easier understanding of the encounter resource and processing in messaging or query.\n\nThere may be many levels in the hierachy, and this may only pic specific levels that are required for a specific usage scenario."
            }
          ]
        }
      ]
    }
  ]
}