PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.extensions.r4@5.3.0-ballot-tc1
    http://hl7.org/fhir/StructureDefinition/translation
description: Language translation from base language of resource to another language, used to provide translations for strings, including markdown. Generally, the type of the translation extension SHOULD match that of the element being extended.\n\nIt is also allowed to provide translations of elements of type `code`, which may be appropriate to use for rendering when the code itself is a natural language word (usually in English). In such cases, the translation is not provided as an alternative code, and is not intended for machine interpretation. This extension should never appear on a code that is part of a Coding, as placing the translation on Coding.display is more appropriate.
package_name: hl7.fhir.uv.extensions.r4
derivation: constraint
name: Translation
type: Extension
elements:
  extension:
    type: Extension
    short: Code for Language
    index: 0
    slicing:
      slices:
        lang:
          match: {}
          schema:
            type: Extension
            short: Code for Language
            _required: true
            index: 0
            extensions: {}
            elements:
              extension: {index: 1}
              url:
                type: uri
                pattern: {type: Uri, value: lang}
                index: 2
              value:
                choices: [valueCode]
                index: 4
              valueCode: {type: code, choiceOf: value, index: 5}
            required: [valueCode, value]
        content:
          match: {}
          schema:
            short: Content in other Language
            type: Extension
            _required: true
            index: 6
            extensions: {}
            elements:
              extension: {index: 7}
              url:
                type: uri
                pattern: {type: Uri, value: content}
                index: 8
              value:
                choices: [valueString, valueMarkdown]
                index: 10
              valueString: {type: string, choiceOf: value, index: 11}
              valueMarkdown: {type: markdown, choiceOf: value, index: 12}
            required: [valueMarkdown, valueString, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/translation'}
    index: 13
  value:
    choices: []
    index: 15
package_version: 5.3.0-ballot-tc1
extensions:
  lang:
    url: null
    type: Extension
    short: Code for Language
    _required: true
    index: 0
    extensions: {}
    elements:
      extension: {index: 1}
      url:
        type: uri
        pattern: {type: Uri, value: lang}
        index: 2
      value:
        choices: [valueCode]
        index: 4
      valueCode: {type: code, choiceOf: value, index: 5}
    required: [valueCode, value]
  content:
    url: null
    short: Content in other Language
    type: Extension
    _required: true
    index: 6
    extensions: {}
    elements:
      extension: {index: 7}
      url:
        type: uri
        pattern: {type: Uri, value: content}
        index: 8
      value:
        choices: [valueString, valueMarkdown]
        index: 10
      valueString: {type: string, choiceOf: value, index: 11}
      valueMarkdown: {type: markdown, choiceOf: value, index: 12}
    required: [valueMarkdown, valueString, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/translation
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 5.3.0-ballot-tc1
required: [extension]