PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.extensions.r4b@5.3.0-ballot-tc
    http://hl7.org/fhir/StructureDefinition/textLink
description: 'Used to denote which portions of the narrative are linked to (usually, generated from) structured data in resources. This information might be used in several different ways, including translating and regenerating narrative in applications that are using/presenting the narrative. Note that there are two related extensions for linking data and narrative: [originalText](StructureDefinition-originalText.html) and [narrativeLink](StructureDefinition-narrativeLink.html).'
package_name: hl7.fhir.uv.extensions.r4b
derivation: constraint
name: TextLink
type: Extension
elements:
  extension:
    min: 1
    short: Unique identifier
    type: Extension
    array: true
    index: 0
    slicing:
      slices:
        htmlid:
          match: {}
          schema:
            min: 1
            short: Unique identifier
            index: 0
            type: Extension
            array: true
            elements:
              extension: {index: 1}
              url:
                type: uri
                pattern: {type: Uri, value: htmlid}
                index: 2
              value:
                choices: [valueString]
                index: 4
              valueString: {type: string, choiceOf: value, index: 5}
            _required: true
            extensions: {}
            required: [valueString, value]
        data:
          match: {}
          schema:
            short: Unique identifier
            type: Extension
            _required: true
            index: 6
            extensions: {}
            elements:
              extension: {index: 7}
              url:
                type: uri
                pattern: {type: Uri, value: data}
                index: 8
              value:
                short: The actual data element in this resource, or another resource
                choices: [valueUri]
                index: 10
              valueUri: {type: uri, short: 'The actual data element in this resource, or another resource', choiceOf: value, index: 11}
            required: [valueUri, value]
        selector:
          match: {}
          schema:
            type: Extension
            short: FHIRPath that selects a subset of the identified data
            index: 12
            extensions: {}
            elements:
              extension: {index: 13}
              url:
                type: uri
                pattern: {type: Uri, value: selector}
                index: 14
              value:
                short: Simple FHIRPath that can't use .resolve()
                choices: [valueString]
                index: 16
              valueString: {type: string, short: Simple FHIRPath that can't use .resolve(), choiceOf: value, index: 17}
            required: [valueString, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/textLink'}
    index: 18
  value:
    choices: []
    index: 20
package_version: 5.3.0-ballot-tc
extensions:
  htmlid:
    min: 1
    short: Unique identifier
    index: 0
    type: Extension
    array: true
    elements:
      extension: {index: 1}
      url:
        type: uri
        pattern: {type: Uri, value: htmlid}
        index: 2
      value:
        choices: [valueString]
        index: 4
      valueString: {type: string, choiceOf: value, index: 5}
    _required: true
    extensions: {}
    url: null
    required: [valueString, value]
  data:
    url: null
    short: Unique identifier
    type: Extension
    _required: true
    index: 6
    extensions: {}
    elements:
      extension: {index: 7}
      url:
        type: uri
        pattern: {type: Uri, value: data}
        index: 8
      value:
        short: The actual data element in this resource, or another resource
        choices: [valueUri]
        index: 10
      valueUri: {type: uri, short: 'The actual data element in this resource, or another resource', choiceOf: value, index: 11}
    required: [valueUri, value]
  selector:
    url: null
    type: Extension
    short: FHIRPath that selects a subset of the identified data
    index: 12
    extensions: {}
    elements:
      extension: {index: 13}
      url:
        type: uri
        pattern: {type: Uri, value: selector}
        index: 14
      value:
        short: Simple FHIRPath that can't use .resolve()
        choices: [valueString]
        index: 16
      valueString: {type: string, short: Simple FHIRPath that can't use .resolve(), choiceOf: value, index: 17}
    required: [valueString, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/textLink
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 5.3.0-ballot-tc
required: [extension]