FHIR Extensions Pack
5.3.0-ballot-tc1 - (September 2025 Ballot) International flag

FHIR Extensions Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 5.3.0-ballot-tc1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-extensions/ and changes regularly. See the Directory of published versions

Extension: Encounter Record Linkage

Official URL: http://hl7.org/fhir/StructureDefinition/encounter-recordLinkage Version: 5.3.0-ballot-tc1
Standards status: Trial-use Maturity Level: 1 Responsible: HL7 International / Patient Administration Computable Name: EncRecordLinkage

This extension can be used to link two encounters that are related. This extension may be used when you want to provide a directional relationship between two encounters. If you just want to just list a set of related encounters without directional relationship, use the Linkage resource instead.

Context of Use

This extension may be used on the following element(s)

Usage info

Usages:

  • This Extension is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Changes since version 5.2.0:

  • New Content
  • Formal Views of Extension Content

    Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

    This structure is derived from Extension

    Summary

    Complex Extension: This extension can be used to link two encounters that are related. This extension may be used when you want to provide a directional relationship between two encounters. If you just want to just list a set of related encounters without directional relationship, use the Linkage resource instead.

    • other: Reference: Reference to the other encounter that is linked to this one.
    • type: code: The type of link between this encounter and the other encounter.

    Maturity: 1

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Link to another encounter record
    ... Slices for extension Content/Rules for all slices
    .... extension:other 1..1 Extension The other encounter in the link
    ..... extension 0..0 Extension
    ..... url 1..1 uri "other"
    ..... value[x] 1..1 Reference(Encounter) Value of extension
    .... extension:type 1..1 Extension replaces | replaced-by
    ..... extension 0..0 Extension
    ..... url 1..1 uri "type"
    ..... value[x] 1..1 code Value of extension
    Binding: EncounterLinkType (required): The type of link between two encounters.
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/encounter-recordLinkage"
    ... value[x] 0..0 Value of extension

    doco Documentation for this format
    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Link to another encounter record
    ... id 0..1 id Unique id for inter-element referencing
    ... Slices for extension 2..* Extension Additional content defined by implementations
    Slice: Unordered, Open by value:url
    .... extension:other 1..1 Extension The other encounter in the link
    ..... id 0..1 id Unique id for inter-element referencing
    ..... extension 0..0 Extension
    Slice: Unordered, Open by value:url
    ..... url 1..1 uri "other"
    ..... value[x] 1..1 Reference(Encounter) Value of extension
    .... extension:type 1..1 Extension replaces | replaced-by
    ..... id 0..1 id Unique id for inter-element referencing
    ..... extension 0..0 Extension
    Slice: Unordered, Open by value:url
    ..... url 1..1 uri "type"
    ..... value[x] 1..1 code Value of extension
    Binding: EncounterLinkType (required): The type of link between two encounters.
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/encounter-recordLinkage"

    doco Documentation for this format

    This structure is derived from Extension

    Summary

    Complex Extension: This extension can be used to link two encounters that are related. This extension may be used when you want to provide a directional relationship between two encounters. If you just want to just list a set of related encounters without directional relationship, use the Linkage resource instead.

    • other: Reference: Reference to the other encounter that is linked to this one.
    • type: code: The type of link between this encounter and the other encounter.

    Maturity: 1

    Differential View

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Link to another encounter record
    ... Slices for extension Content/Rules for all slices
    .... extension:other 1..1 Extension The other encounter in the link
    ..... extension 0..0 Extension
    ..... url 1..1 uri "other"
    ..... value[x] 1..1 Reference(Encounter) Value of extension
    .... extension:type 1..1 Extension replaces | replaced-by
    ..... extension 0..0 Extension
    ..... url 1..1 uri "type"
    ..... value[x] 1..1 code Value of extension
    Binding: EncounterLinkType (required): The type of link between two encounters.
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/encounter-recordLinkage"
    ... value[x] 0..0 Value of extension

    doco Documentation for this format

    Snapshot View

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Link to another encounter record
    ... id 0..1 id Unique id for inter-element referencing
    ... Slices for extension 2..* Extension Additional content defined by implementations
    Slice: Unordered, Open by value:url
    .... extension:other 1..1 Extension The other encounter in the link
    ..... id 0..1 id Unique id for inter-element referencing
    ..... extension 0..0 Extension
    Slice: Unordered, Open by value:url
    ..... url 1..1 uri "other"
    ..... value[x] 1..1 Reference(Encounter) Value of extension
    .... extension:type 1..1 Extension replaces | replaced-by
    ..... id 0..1 id Unique id for inter-element referencing
    ..... extension 0..0 Extension
    Slice: Unordered, Open by value:url
    ..... url 1..1 uri "type"
    ..... value[x] 1..1 code Value of extension
    Binding: EncounterLinkType (required): The type of link between two encounters.
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/encounter-recordLinkage"

    doco Documentation for this format

     

    Other representations of profile: CSV, Excel, Schematron

    Terminology Bindings

    Path Status Usage ValueSet Version Source
    Extension.extension:type.​value[x] Base required Encounter Link Type 📦5.3.0-ballot-tc1 This IG

    Constraints

    Id Grade Path(s) Description Expression
    ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
    ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

    R4B

    The extension is unchanged in R4B

    R4

    The extension is unchanged in R4

    R3

    The extension is unchanged in R3

    Search Parameters for this Extension

    (none found)