PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r4b.r3@0.1.0
    http://hl7.org/fhir/4.3/StructureDefinition/extension-Citation.relatesTo
description: 'R4B: `Citation.relatesTo` (new:BackboneElement)'
package_name: hl7.fhir.uv.xver-r4b.r3
derivation: constraint
name: ExtensionCitation_RelatesTo
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    min: 2
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        relationshipType:
          match: {url: relationshipType}
          schema:
            short: 'R4B: How the Citation resource relates to the target artifact (new)'
            _required: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: relationshipType}
                index: 2
              value:
                short: How the Citation resource relates to the target artifact
                choices: [valueCodeableConcept]
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                index: 4
              valueCodeableConcept:
                short: How the Citation resource relates to the target artifact
                type: CodeableConcept
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 5
            required: [url, value, valueCodeableConcept]
        targetClassifier:
          match: {url: targetClassifier}
          schema:
            short: 'R4B: The clasification of the related artifact (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: targetClassifier}
                index: 7
              value:
                short: The clasification of the related artifact
                choices: [valueCodeableConcept]
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                index: 9
              valueCodeableConcept:
                short: The clasification of the related artifact
                type: CodeableConcept
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 10
            required: [url]
        target:
          match: {url: target}
          schema:
            short: 'R4B: The article or artifact that the Citation Resource is related to (new)'
            _required: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: target}
                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, valueReference, valueAttachment]
                index: 14
              valueUri:
                short: The article or artifact that the Citation Resource is related to
                type: uri
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 15
              valueIdentifier:
                short: The article or artifact that the Citation Resource is related to
                type: Identifier
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 16
              valueReference:
                short: The article or artifact that the Citation Resource is related to
                refers: ['http://hl7.org/fhir/4.3/StructureDefinition/profile-Resource|0.1.0']
                type: Reference
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 17
              valueAttachment:
                short: The article or artifact that the Citation Resource is related to
                type: Attachment
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 19
            required: [valueUri, url, valueReference, valueAttachment, valueIdentifier, value]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-Citation.relatesTo'}
    index: 20
  value:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    choices: []
    index: 22
package_version: 0.1.0
extensions:
  relationshipType:
    url: relationshipType
    short: 'R4B: How the Citation resource relates to the target artifact (new)'
    _required: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: relationshipType}
        index: 2
      value:
        short: How the Citation resource relates to the target artifact
        choices: [valueCodeableConcept]
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        index: 4
      valueCodeableConcept:
        short: How the Citation resource relates to the target artifact
        type: CodeableConcept
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 5
    required: [url, value, valueCodeableConcept]
  targetClassifier:
    url: targetClassifier
    short: 'R4B: The clasification of the related artifact (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: targetClassifier}
        index: 7
      value:
        short: The clasification of the related artifact
        choices: [valueCodeableConcept]
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        index: 9
      valueCodeableConcept:
        short: The clasification of the related artifact
        type: CodeableConcept
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 10
    required: [url]
  target:
    url: target
    short: 'R4B: The article or artifact that the Citation Resource is related to (new)'
    _required: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: target}
        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, valueReference, valueAttachment]
        index: 14
      valueUri:
        short: The article or artifact that the Citation Resource is related to
        type: uri
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 15
      valueIdentifier:
        short: The article or artifact that the Citation Resource is related to
        type: Identifier
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 16
      valueReference:
        short: The article or artifact that the Citation Resource is related to
        refers: ['http://hl7.org/fhir/4.3/StructureDefinition/profile-Resource|0.1.0']
        type: Reference
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 17
      valueAttachment:
        short: The article or artifact that the Citation Resource is related to
        type: Attachment
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 19
    required: [valueUri, url, valueReference, valueAttachment, valueIdentifier, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.3/StructureDefinition/extension-Citation.relatesTo
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.1.0
required: [url]