PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver@r5.r4b-0.0.1-snapshot-1
    http://hl7.org/fhir/5.0/StructureDefinition/extension-Consent.provision
description: This cross-version extension represents Consent.provision from http://hl7.org/fhir/StructureDefinition/Consent|5.0.0 for use in FHIR R4B.
package_name: hl7.fhir.uv.xver
derivation: constraint
name: ext_R5_Consent_provision
type: Extension
elements:
  extension:
    array: true
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        provision:
          match: {url: null}
          schema:
            isModifier: false
            short: Nested Exception Provisions
            array: true
            index: 57
            extensions:
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                type: Extension
                short: Data type name for Consent.provision.provision from FHIR R5
                index: 58
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: String, value: Consent.provision}
                    choices: [valueString]
                    index: 60
                  valueString:
                    type: string
                    pattern: {type: String, value: Consent.provision}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 61
                required: [valueString, value]
            elements:
              extension:
                type: Extension
                short: Data type name for Consent.provision.provision from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 58
                slicing:
                  slices:
                    _datatype:
                      match: {}
                      schema:
                        type: Extension
                        short: Data type name for Consent.provision.provision from FHIR R5
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 58
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: String, value: Consent.provision}
                            choices: [valueString]
                            index: 60
                          valueString:
                            type: string
                            pattern: {type: String, value: Consent.provision}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 61
                        required: [valueString, value]
        expression:
          match: {url: null}
          schema:
            isModifier: false
            short: A computable expression of the consent
            index: 53
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A computable expression of the consent
                choices: [valueExpression]
                index: 55
              valueExpression:
                base: {path: 'Extension.value[x]'}
                type: Expression
                short: A computable expression of the consent
                choiceOf: value
                index: 56
        purpose:
          match: {url: null}
          schema:
            isModifier: false
            short: Context of activities covered by this provision
            array: true
            index: 23
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Context of activities covered by this provision
                choices: [valueCoding]
                index: 25
              valueCoding:
                base: {path: 'Extension.value[x]'}
                type: Coding
                short: Context of activities covered by this provision
                choiceOf: value
                index: 26
        dataPeriod:
          match: {url: null}
          schema:
            isModifier: false
            short: Timeframe for data controlled by this provision
            index: 39
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Timeframe for data controlled by this provision
                choices: [valuePeriod]
                index: 41
              valuePeriod:
                base: {path: 'Extension.value[x]'}
                type: Period
                short: Timeframe for data controlled by this provision
                choiceOf: value
                index: 42
        resourceType:
          match: {url: null}
          schema:
            isModifier: false
            short: e.g. Resource Type, Profile, etc
            array: true
            index: 31
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: e.g. Resource Type, Profile, etc
                choices: [valueCoding]
                index: 33
              valueCoding:
                base: {path: 'Extension.value[x]'}
                type: Coding
                short: e.g. Resource Type, Profile, etc
                choiceOf: value
                index: 34
        documentType:
          match: {url: null}
          schema:
            isModifier: false
            short: e.g. Resource Type, Profile, CDA, etc
            array: true
            index: 27
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: e.g. Resource Type, Profile, CDA, etc
                choices: [valueCoding]
                index: 29
              valueCoding:
                base: {path: 'Extension.value[x]'}
                type: Coding
                short: e.g. Resource Type, Profile, CDA, etc
                choiceOf: value
                index: 30
        code:
          match: {url: null}
          schema:
            isModifier: false
            short: e.g. LOINC or SNOMED CT code, etc. in the content
            array: true
            index: 35
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: e.g. LOINC or SNOMED CT code, etc. in the content
                choices: [valueCodeableConcept]
                index: 37
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: e.g. LOINC or SNOMED CT code, etc. in the content
                choiceOf: value
                index: 38
        action:
          match: {url: null}
          schema:
            short: Actions controlled by this provision
            isModifier: false
            array: true
            index: 15
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Actions controlled by this provision
                choices: [valueCodeableConcept]
                index: 17
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Actions controlled by this provision
                choiceOf: value
                index: 18
        period:
          match: {url: null}
          schema:
            short: Timeframe for this provision
            isModifier: false
            index: 1
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Timeframe for this provision
                choices: [valuePeriod]
                index: 3
              valuePeriod:
                base: {path: 'Extension.value[x]'}
                type: Period
                short: Timeframe for this provision
                choiceOf: value
                index: 4
        securityLabel:
          match: {url: null}
          schema:
            isModifier: false
            short: Security Labels that define affected resources
            array: true
            index: 19
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Security Labels that define affected resources
                choices: [valueCoding]
                index: 21
              valueCoding:
                base: {path: 'Extension.value[x]'}
                type: Coding
                short: Security Labels that define affected resources
                choiceOf: value
                index: 22
        actor:
          match: {url: null}
          schema:
            isModifier: false
            short: Who|what controlled by this provision (or group, by role)
            array: true
            index: 5
            extensions:
              role:
                url: null
                isModifier: false
                short: How the actor is involved
                index: 7
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: How the actor is involved
                    choices: [valueCodeableConcept]
                    index: 9
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: How the actor is involved
                    choiceOf: value
                    index: 10
              reference:
                url: null
                isModifier: false
                short: Resource for the actor (or group, by role)
                index: 11
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Resource for the actor (or group, by role)
                    choices: [valueReference]
                    index: 13
                  valueReference:
                    short: Resource for the actor (or group, by role)
                    refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                    type: Reference
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 14
            elements:
              extension:
                array: true
                index: 6
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    role:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: How the actor is involved
                        index: 7
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: How the actor is involved
                            choices: [valueCodeableConcept]
                            index: 9
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: How the actor is involved
                            choiceOf: value
                            index: 10
                    reference:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: Resource for the actor (or group, by role)
                        index: 11
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Resource for the actor (or group, by role)
                            choices: [valueReference]
                            index: 13
                          valueReference:
                            short: Resource for the actor (or group, by role)
                            refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                            type: Reference
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 14
        data:
          match: {url: null}
          schema:
            isModifier: false
            short: Data controlled by this provision
            array: true
            index: 43
            extensions:
              meaning:
                url: null
                isModifier: false
                short: instance | related | dependents | authoredby
                _required: true
                index: 45
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: instance | related | dependents | authoredby
                    choices: [valueCode]
                    index: 47
                  valueCode:
                    base: {path: 'Extension.value[x]'}
                    type: code
                    short: instance | related | dependents | authoredby
                    choiceOf: value
                    index: 48
              reference:
                url: null
                isModifier: false
                short: The actual data reference
                _required: true
                index: 49
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The actual data reference
                    choices: [valueReference]
                    index: 51
                  valueReference:
                    short: The actual data reference
                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                    type: Reference
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 52
            elements:
              extension:
                array: true
                min: 2
                index: 44
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 2
                  slices:
                    meaning:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: instance | related | dependents | authoredby
                        _required: true
                        index: 45
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: instance | related | dependents | authoredby
                            choices: [valueCode]
                            index: 47
                          valueCode:
                            base: {path: 'Extension.value[x]'}
                            type: code
                            short: instance | related | dependents | authoredby
                            choiceOf: value
                            index: 48
                    reference:
                      match: {url: null}
                      schema:
                        isModifier: false
                        short: The actual data reference
                        _required: true
                        index: 49
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The actual data reference
                            choices: [valueReference]
                            index: 51
                          valueReference:
                            short: The actual data reference
                            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                            type: Reference
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 52
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Consent.provision'}
    index: 62
package_version: r5.r4b-0.0.1-snapshot-1
extensions:
  provision:
    url: null
    isModifier: false
    short: Nested Exception Provisions
    array: true
    index: 57
    extensions:
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        type: Extension
        short: Data type name for Consent.provision.provision from FHIR R5
        index: 58
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            pattern: {type: String, value: Consent.provision}
            choices: [valueString]
            index: 60
          valueString:
            type: string
            pattern: {type: String, value: Consent.provision}
            base: {path: 'Extension.value[x]'}
            choiceOf: value
            index: 61
        required: [valueString, value]
    elements:
      extension:
        type: Extension
        short: Data type name for Consent.provision.provision from FHIR R5
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        index: 58
        slicing:
          slices:
            _datatype:
              match: {}
              schema:
                type: Extension
                short: Data type name for Consent.provision.provision from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 58
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: String, value: Consent.provision}
                    choices: [valueString]
                    index: 60
                  valueString:
                    type: string
                    pattern: {type: String, value: Consent.provision}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 61
                required: [valueString, value]
  expression:
    url: null
    isModifier: false
    short: A computable expression of the consent
    index: 53
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: A computable expression of the consent
        choices: [valueExpression]
        index: 55
      valueExpression:
        base: {path: 'Extension.value[x]'}
        type: Expression
        short: A computable expression of the consent
        choiceOf: value
        index: 56
  purpose:
    url: null
    isModifier: false
    short: Context of activities covered by this provision
    array: true
    index: 23
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Context of activities covered by this provision
        choices: [valueCoding]
        index: 25
      valueCoding:
        base: {path: 'Extension.value[x]'}
        type: Coding
        short: Context of activities covered by this provision
        choiceOf: value
        index: 26
  dataPeriod:
    url: null
    isModifier: false
    short: Timeframe for data controlled by this provision
    index: 39
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Timeframe for data controlled by this provision
        choices: [valuePeriod]
        index: 41
      valuePeriod:
        base: {path: 'Extension.value[x]'}
        type: Period
        short: Timeframe for data controlled by this provision
        choiceOf: value
        index: 42
  resourceType:
    url: null
    isModifier: false
    short: e.g. Resource Type, Profile, etc
    array: true
    index: 31
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: e.g. Resource Type, Profile, etc
        choices: [valueCoding]
        index: 33
      valueCoding:
        base: {path: 'Extension.value[x]'}
        type: Coding
        short: e.g. Resource Type, Profile, etc
        choiceOf: value
        index: 34
  documentType:
    url: null
    isModifier: false
    short: e.g. Resource Type, Profile, CDA, etc
    array: true
    index: 27
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: e.g. Resource Type, Profile, CDA, etc
        choices: [valueCoding]
        index: 29
      valueCoding:
        base: {path: 'Extension.value[x]'}
        type: Coding
        short: e.g. Resource Type, Profile, CDA, etc
        choiceOf: value
        index: 30
  code:
    url: null
    isModifier: false
    short: e.g. LOINC or SNOMED CT code, etc. in the content
    array: true
    index: 35
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: e.g. LOINC or SNOMED CT code, etc. in the content
        choices: [valueCodeableConcept]
        index: 37
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: e.g. LOINC or SNOMED CT code, etc. in the content
        choiceOf: value
        index: 38
  action:
    url: null
    short: Actions controlled by this provision
    isModifier: false
    array: true
    index: 15
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Actions controlled by this provision
        choices: [valueCodeableConcept]
        index: 17
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Actions controlled by this provision
        choiceOf: value
        index: 18
  period:
    url: null
    short: Timeframe for this provision
    isModifier: false
    index: 1
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Timeframe for this provision
        choices: [valuePeriod]
        index: 3
      valuePeriod:
        base: {path: 'Extension.value[x]'}
        type: Period
        short: Timeframe for this provision
        choiceOf: value
        index: 4
  securityLabel:
    url: null
    isModifier: false
    short: Security Labels that define affected resources
    array: true
    index: 19
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Security Labels that define affected resources
        choices: [valueCoding]
        index: 21
      valueCoding:
        base: {path: 'Extension.value[x]'}
        type: Coding
        short: Security Labels that define affected resources
        choiceOf: value
        index: 22
  actor:
    url: null
    isModifier: false
    short: Who|what controlled by this provision (or group, by role)
    array: true
    index: 5
    extensions:
      role:
        url: null
        isModifier: false
        short: How the actor is involved
        index: 7
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: How the actor is involved
            choices: [valueCodeableConcept]
            index: 9
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: How the actor is involved
            choiceOf: value
            index: 10
      reference:
        url: null
        isModifier: false
        short: Resource for the actor (or group, by role)
        index: 11
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Resource for the actor (or group, by role)
            choices: [valueReference]
            index: 13
          valueReference:
            short: Resource for the actor (or group, by role)
            refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
            type: Reference
            base: {path: 'Extension.value[x]'}
            choiceOf: value
            index: 14
    elements:
      extension:
        array: true
        index: 6
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            role:
              match: {url: null}
              schema:
                isModifier: false
                short: How the actor is involved
                index: 7
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: How the actor is involved
                    choices: [valueCodeableConcept]
                    index: 9
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: How the actor is involved
                    choiceOf: value
                    index: 10
            reference:
              match: {url: null}
              schema:
                isModifier: false
                short: Resource for the actor (or group, by role)
                index: 11
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Resource for the actor (or group, by role)
                    choices: [valueReference]
                    index: 13
                  valueReference:
                    short: Resource for the actor (or group, by role)
                    refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                    type: Reference
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 14
  data:
    url: null
    isModifier: false
    short: Data controlled by this provision
    array: true
    index: 43
    extensions:
      meaning:
        url: null
        isModifier: false
        short: instance | related | dependents | authoredby
        _required: true
        index: 45
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: instance | related | dependents | authoredby
            choices: [valueCode]
            index: 47
          valueCode:
            base: {path: 'Extension.value[x]'}
            type: code
            short: instance | related | dependents | authoredby
            choiceOf: value
            index: 48
      reference:
        url: null
        isModifier: false
        short: The actual data reference
        _required: true
        index: 49
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The actual data reference
            choices: [valueReference]
            index: 51
          valueReference:
            short: The actual data reference
            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
            type: Reference
            base: {path: 'Extension.value[x]'}
            choiceOf: value
            index: 52
    elements:
      extension:
        array: true
        min: 2
        index: 44
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 2
          slices:
            meaning:
              match: {url: null}
              schema:
                isModifier: false
                short: instance | related | dependents | authoredby
                _required: true
                index: 45
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: instance | related | dependents | authoredby
                    choices: [valueCode]
                    index: 47
                  valueCode:
                    base: {path: 'Extension.value[x]'}
                    type: code
                    short: instance | related | dependents | authoredby
                    choiceOf: value
                    index: 48
            reference:
              match: {url: null}
              schema:
                isModifier: false
                short: The actual data reference
                _required: true
                index: 49
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The actual data reference
                    choices: [valueReference]
                    index: 51
                  valueReference:
                    short: The actual data reference
                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                    type: Reference
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 52
class: extension
kind: complex-type
url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Consent.provision
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url]