PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r2.r5@0.0.1-snapshot-2
    http://hl7.org/fhir/1.0/StructureDefinition/extension-DocumentManifest
description: This cross-version extension represents DocumentManifest from http://hl7.org/fhir/StructureDefinition/DocumentManifest|1.0.2 for use in FHIR R5.
package_name: hl7.fhir.uv.xver-r2.r5
derivation: constraint
name: Ext_R2_DocumentManifest
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:
        masterIdentifier:
          match: {url: masterIdentifier}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Unique Identifier for the set of documents
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: masterIdentifier}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Unique Identifier for the set of documents
                choices: [valueIdentifier]
                index: 4
              valueIdentifier:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Identifier
                short: Unique Identifier for the set of documents
                choiceOf: value
                index: 5
            required: [url]
        recipient:
          match: {url: recipient}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Intended to get notified about this set of documents
            array: true
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: recipient}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Intended to get notified about this set of documents
                choices: [valueReference]
                index: 9
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: Intended to get notified about this set of documents
                choiceOf: value
                index: 10
            required: [url]
        type:
          match: {url: type}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Kind of document set
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: type}
                index: 12
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Kind of document set
                choices: [valueCodeableConcept]
                index: 14
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Kind of document set
                choiceOf: value
                index: 15
            required: [url]
        source:
          match: {url: source}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The source system/application/software
            index: 16
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: source}
                index: 17
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The source system/application/software
                choices: [valueUri]
                index: 19
              valueUri:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: uri
                short: The source system/application/software
                choiceOf: value
                index: 20
            required: [url]
        status:
          match: {url: status}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: current | superseded | entered-in-error
            _required: true
            index: 21
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: status}
                index: 22
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: current | superseded | entered-in-error
                choices: [valueCode]
                index: 24
              valueCode:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: code
                short: current | superseded | entered-in-error
                choiceOf: value
                index: 25
            required: [url]
        description:
          match: {url: description}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Human-readable description (title)
            index: 26
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: description}
                index: 27
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Human-readable description (title)
                choices: [valueString]
                index: 29
              valueString:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: string
                short: Human-readable description (title)
                choiceOf: value
                index: 30
            required: [url]
        content:
          match: {url: content}
          schema:
            min: 1
            short: The items included
            index: 31
            array: true
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                min: 1
                index: 32
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    p[x]:
                      match: {url: 'p[x]'}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Contents of this set of documents
                        _required: true
                        index: 33
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: 'p[x]'}
                            index: 34
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Contents of this set of documents
                            choices: [valueAttachment, valueReference]
                            index: 36
                          valueAttachment:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Attachment
                            short: Contents of this set of documents
                            choiceOf: value
                            index: 37
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: Contents of this set of documents
                            choiceOf: value
                            index: 38
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: content}
                index: 39
            _required: true
            extensions:
              p[x]:
                url: p[x]
                base: {max: '*', min: 0, path: Extension.extension}
                short: Contents of this set of documents
                _required: true
                index: 33
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: 'p[x]'}
                    index: 34
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Contents of this set of documents
                    choices: [valueAttachment, valueReference]
                    index: 36
                  valueAttachment:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Attachment
                    short: Contents of this set of documents
                    choiceOf: value
                    index: 37
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Contents of this set of documents
                    choiceOf: value
                    index: 38
                required: [url]
            base: {max: '*', min: 0, path: Extension.extension}
            required: [url, extension]
        related:
          match: {url: related}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Related things
            array: true
            index: 40
            extensions:
              identifier:
                url: identifier
                base: {max: '*', min: 0, path: Extension.extension}
                short: Identifiers of things that are related
                index: 42
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: identifier}
                    index: 43
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Identifiers of things that are related
                    choices: [valueIdentifier]
                    index: 45
                  valueIdentifier:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Identifier
                    short: Identifiers of things that are related
                    choiceOf: value
                    index: 46
                required: [url]
              ref:
                url: ref
                base: {max: '*', min: 0, path: Extension.extension}
                short: Related Resource
                index: 47
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: ref}
                    index: 48
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Related Resource
                    choices: [valueReference]
                    index: 50
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Related Resource
                    choiceOf: value
                    index: 51
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                index: 41
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    identifier:
                      match: {url: identifier}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Identifiers of things that are related
                        index: 42
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: identifier}
                            index: 43
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Identifiers of things that are related
                            choices: [valueIdentifier]
                            index: 45
                          valueIdentifier:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Identifier
                            short: Identifiers of things that are related
                            choiceOf: value
                            index: 46
                        required: [url]
                    ref:
                      match: {url: ref}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Related Resource
                        index: 47
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: ref}
                            index: 48
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Related Resource
                            choices: [valueReference]
                            index: 50
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: Related Resource
                            choiceOf: value
                            index: 51
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: related}
                index: 52
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/1.0/StructureDefinition/extension-DocumentManifest'}
    index: 53
package_version: 0.0.1-snapshot-2
extensions:
  masterIdentifier:
    url: masterIdentifier
    base: {max: '*', min: 0, path: Extension.extension}
    short: Unique Identifier for the set of documents
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: masterIdentifier}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Unique Identifier for the set of documents
        choices: [valueIdentifier]
        index: 4
      valueIdentifier:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Identifier
        short: Unique Identifier for the set of documents
        choiceOf: value
        index: 5
    required: [url]
  recipient:
    url: recipient
    base: {max: '*', min: 0, path: Extension.extension}
    short: Intended to get notified about this set of documents
    array: true
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: recipient}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Intended to get notified about this set of documents
        choices: [valueReference]
        index: 9
      valueReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Reference
        short: Intended to get notified about this set of documents
        choiceOf: value
        index: 10
    required: [url]
  type:
    url: type
    base: {max: '*', min: 0, path: Extension.extension}
    short: Kind of document set
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: type}
        index: 12
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Kind of document set
        choices: [valueCodeableConcept]
        index: 14
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Kind of document set
        choiceOf: value
        index: 15
    required: [url]
  source:
    url: source
    base: {max: '*', min: 0, path: Extension.extension}
    short: The source system/application/software
    index: 16
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: source}
        index: 17
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The source system/application/software
        choices: [valueUri]
        index: 19
      valueUri:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: uri
        short: The source system/application/software
        choiceOf: value
        index: 20
    required: [url]
  status:
    url: status
    base: {max: '*', min: 0, path: Extension.extension}
    short: current | superseded | entered-in-error
    _required: true
    index: 21
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: status}
        index: 22
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: current | superseded | entered-in-error
        choices: [valueCode]
        index: 24
      valueCode:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: code
        short: current | superseded | entered-in-error
        choiceOf: value
        index: 25
    required: [url]
  description:
    url: description
    base: {max: '*', min: 0, path: Extension.extension}
    short: Human-readable description (title)
    index: 26
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: description}
        index: 27
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Human-readable description (title)
        choices: [valueString]
        index: 29
      valueString:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: string
        short: Human-readable description (title)
        choiceOf: value
        index: 30
    required: [url]
  content:
    min: 1
    short: The items included
    index: 31
    array: true
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        min: 1
        index: 32
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            p[x]:
              match: {url: 'p[x]'}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Contents of this set of documents
                _required: true
                index: 33
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: 'p[x]'}
                    index: 34
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Contents of this set of documents
                    choices: [valueAttachment, valueReference]
                    index: 36
                  valueAttachment:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Attachment
                    short: Contents of this set of documents
                    choiceOf: value
                    index: 37
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Contents of this set of documents
                    choiceOf: value
                    index: 38
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: content}
        index: 39
    _required: true
    extensions:
      p[x]:
        url: p[x]
        base: {max: '*', min: 0, path: Extension.extension}
        short: Contents of this set of documents
        _required: true
        index: 33
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: 'p[x]'}
            index: 34
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Contents of this set of documents
            choices: [valueAttachment, valueReference]
            index: 36
          valueAttachment:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Attachment
            short: Contents of this set of documents
            choiceOf: value
            index: 37
          valueReference:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Reference
            short: Contents of this set of documents
            choiceOf: value
            index: 38
        required: [url]
    url: content
    base: {max: '*', min: 0, path: Extension.extension}
    required: [url, extension]
  related:
    url: related
    base: {max: '*', min: 0, path: Extension.extension}
    short: Related things
    array: true
    index: 40
    extensions:
      identifier:
        url: identifier
        base: {max: '*', min: 0, path: Extension.extension}
        short: Identifiers of things that are related
        index: 42
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: identifier}
            index: 43
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Identifiers of things that are related
            choices: [valueIdentifier]
            index: 45
          valueIdentifier:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Identifier
            short: Identifiers of things that are related
            choiceOf: value
            index: 46
        required: [url]
      ref:
        url: ref
        base: {max: '*', min: 0, path: Extension.extension}
        short: Related Resource
        index: 47
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: ref}
            index: 48
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Related Resource
            choices: [valueReference]
            index: 50
          valueReference:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Reference
            short: Related Resource
            choiceOf: value
            index: 51
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        index: 41
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            identifier:
              match: {url: identifier}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Identifiers of things that are related
                index: 42
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: identifier}
                    index: 43
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Identifiers of things that are related
                    choices: [valueIdentifier]
                    index: 45
                  valueIdentifier:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Identifier
                    short: Identifiers of things that are related
                    choiceOf: value
                    index: 46
                required: [url]
            ref:
              match: {url: ref}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Related Resource
                index: 47
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: ref}
                    index: 48
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Related Resource
                    choices: [valueReference]
                    index: 50
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Related Resource
                    choiceOf: value
                    index: 51
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: related}
        index: 52
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/1.0/StructureDefinition/extension-DocumentManifest
base: http://hl7.org/fhir/StructureDefinition/Extension|5.0.0
version: 0.0.1-snapshot-2
required: [url]