PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r4b.r5@0.0.1-snapshot-2
    http://hl7.org/fhir/4.3/StructureDefinition/extension-Citation.relatesTo
description: This cross-version extension represents Citation.relatesTo from http://hl7.org/fhir/StructureDefinition/Citation|4.3.0 for use in FHIR R5.
package_name: hl7.fhir.uv.xver-r4b.r5
derivation: constraint
name: Ext_R4B_Citation_relatesTo
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    min: 2
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        relationshipType:
          match: {url: relationshipType}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: How the Citation resource relates to the target artifact
            _required: true
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: relationshipType}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: How the Citation resource relates to the target artifact
                choices: [valueCodeableConcept]
                index: 4
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: How the Citation resource relates to the target artifact
                choiceOf: value
                index: 5
            required: [url]
        targetClassifier:
          match: {url: targetClassifier}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The clasification of the related artifact
            array: true
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: targetClassifier}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The clasification of the related artifact
                choices: [valueCodeableConcept]
                index: 9
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: The clasification of the related artifact
                choiceOf: value
                index: 10
            required: [url]
        target[x]:
          match: {url: 'target[x]'}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The article or artifact that the Citation Resource is related to
            _required: true
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: 'target[x]'}
                index: 12
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The article or artifact that the Citation Resource is related to
                choices: [valueUri, valueIdentifier, valueReference, valueAttachment]
                index: 14
              valueUri:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: uri
                short: The article or artifact that the Citation Resource is related to
                choiceOf: value
                index: 15
              valueIdentifier:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Identifier
                short: The article or artifact that the Citation Resource is related to
                choiceOf: value
                index: 16
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: The article or artifact that the Citation Resource is related to
                choiceOf: value
                index: 17
              valueAttachment:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Attachment
                short: The article or artifact that the Citation Resource is related to
                choiceOf: value
                index: 18
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-Citation.relatesTo'}
    index: 19
package_version: 0.0.1-snapshot-2
extensions:
  relationshipType:
    url: relationshipType
    base: {max: '*', min: 0, path: Extension.extension}
    short: How the Citation resource relates to the target artifact
    _required: true
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: relationshipType}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: How the Citation resource relates to the target artifact
        choices: [valueCodeableConcept]
        index: 4
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: How the Citation resource relates to the target artifact
        choiceOf: value
        index: 5
    required: [url]
  targetClassifier:
    url: targetClassifier
    base: {max: '*', min: 0, path: Extension.extension}
    short: The clasification of the related artifact
    array: true
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: targetClassifier}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The clasification of the related artifact
        choices: [valueCodeableConcept]
        index: 9
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: The clasification of the related artifact
        choiceOf: value
        index: 10
    required: [url]
  target[x]:
    url: target[x]
    base: {max: '*', min: 0, path: Extension.extension}
    short: The article or artifact that the Citation Resource is related to
    _required: true
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: 'target[x]'}
        index: 12
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The article or artifact that the Citation Resource is related to
        choices: [valueUri, valueIdentifier, valueReference, valueAttachment]
        index: 14
      valueUri:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: uri
        short: The article or artifact that the Citation Resource is related to
        choiceOf: value
        index: 15
      valueIdentifier:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Identifier
        short: The article or artifact that the Citation Resource is related to
        choiceOf: value
        index: 16
      valueReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Reference
        short: The article or artifact that the Citation Resource is related to
        choiceOf: value
        index: 17
      valueAttachment:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Attachment
        short: The article or artifact that the Citation Resource is related to
        choiceOf: value
        index: 18
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.3/StructureDefinition/extension-Citation.relatesTo
base: http://hl7.org/fhir/StructureDefinition/Extension|5.0.0
version: 0.0.1-snapshot-2
required: [url]