PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.uv.xver@r5.r4b-0.0.1-snapshot-1
    http://hl7.org/fhir/5.0/StructureDefinition/extension-Permission
description: This cross-version extension represents Permission from http://hl7.org/fhir/StructureDefinition/Permission|5.0.0 for use in FHIR R4B.
package_name: rs/hl7.fhir.uv.xver
derivation: constraint
name: ext_R5_Permission
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        status:
          match: {url: null}
          schema:
            short: active | entered-in-error | draft | rejected
            isModifier: false
            _required: true
            index: 1
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: active | entered-in-error | draft | rejected
                choices: [valueCode]
                index: 3
              valueCode:
                base: {path: 'Extension.value[x]'}
                type: code
                short: active | entered-in-error | draft | rejected
                choiceOf: value
                index: 4
        asserter:
          match: {url: null}
          schema:
            short: The person or entity that asserts the permission
            isModifier: false
            index: 5
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The person or entity that asserts the permission
                choices: [valueReference]
                index: 7
              valueReference:
                base: {path: 'Extension.value[x]'}
                type: Reference
                short: The person or entity that asserts the permission
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/HealthcareService', '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']
                index: 8
        date:
          match: {url: null}
          schema:
            short: The date that permission was asserted
            isModifier: false
            array: true
            index: 9
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The date that permission was asserted
                choices: [valueDateTime]
                index: 11
              valueDateTime:
                base: {path: 'Extension.value[x]'}
                type: dateTime
                short: The date that permission was asserted
                choiceOf: value
                index: 12
        validity:
          match: {url: null}
          schema:
            short: The period in which the permission is active
            isModifier: false
            index: 13
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The period in which the permission is active
                choices: [valuePeriod]
                index: 15
              valuePeriod:
                base: {path: 'Extension.value[x]'}
                type: Period
                short: The period in which the permission is active
                choiceOf: value
                index: 16
        justification:
          match: {url: null}
          schema:
            short: The asserted justification for using the data
            isModifier: false
            index: 17
            extensions:
              basis:
                url: null
                short: The regulatory grounds upon which this Permission builds
                isModifier: false
                array: true
                index: 19
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The regulatory grounds upon which this Permission builds
                    choices: [valueCodeableConcept]
                    index: 21
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The regulatory grounds upon which this Permission builds
                    choiceOf: value
                    index: 22
              evidence:
                url: null
                short: Justifing rational
                isModifier: false
                array: true
                index: 23
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Justifing rational
                    choices: [valueReference]
                    index: 25
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Justifing rational
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                    index: 26
            elements:
              extension:
                array: true
                index: 18
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    basis:
                      match: {url: null}
                      schema:
                        short: The regulatory grounds upon which this Permission builds
                        isModifier: false
                        array: true
                        index: 19
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The regulatory grounds upon which this Permission builds
                            choices: [valueCodeableConcept]
                            index: 21
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The regulatory grounds upon which this Permission builds
                            choiceOf: value
                            index: 22
                    evidence:
                      match: {url: null}
                      schema:
                        short: Justifing rational
                        isModifier: false
                        array: true
                        index: 23
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Justifing rational
                            choices: [valueReference]
                            index: 25
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Justifing rational
                            choiceOf: value
                            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                            index: 26
        combining:
          match: {url: null}
          schema:
            isModifier: true
            short: deny-overrides | permit-overrides | ordered-deny-overrides | ordered-permit-overrides | deny-unless-permit | permit-unless-deny
            _required: true
            isModifierReason: Defines how the rules are to be combined.
            index: 27
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: deny-overrides | permit-overrides | ordered-deny-overrides | ordered-permit-overrides | deny-unless-permit | permit-unless-deny
                choices: [valueCode]
                index: 29
              valueCode:
                base: {path: 'Extension.value[x]'}
                type: code
                short: deny-overrides | permit-overrides | ordered-deny-overrides | ordered-permit-overrides | deny-unless-permit | permit-unless-deny
                choiceOf: value
                index: 30
        rule:
          match: {url: null}
          schema:
            short: Constraints to the Permission
            isModifier: false
            array: true
            index: 31
            extensions:
              type:
                url: null
                short: deny | permit
                isModifier: true
                isModifierReason: Sets the context for the meaning of the rules.
                index: 33
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: deny | permit
                    choices: [valueCode]
                    index: 35
                  valueCode:
                    base: {path: 'Extension.value[x]'}
                    type: code
                    short: deny | permit
                    choiceOf: value
                    index: 36
              data:
                url: null
                short: The selection criteria to identify data that is within scope of this provision
                isModifier: false
                array: true
                index: 37
                extensions:
                  resource:
                    url: null
                    short: Explicit FHIR Resource references
                    isModifier: false
                    array: true
                    index: 39
                    extensions:
                      meaning:
                        url: null
                        short: instance | related | dependents | authoredby
                        isModifier: false
                        _required: true
                        index: 41
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: instance | related | dependents | authoredby
                            choices: [valueCode]
                            index: 43
                          valueCode:
                            base: {path: 'Extension.value[x]'}
                            type: code
                            short: instance | related | dependents | authoredby
                            choiceOf: value
                            index: 44
                      reference:
                        url: null
                        short: The actual data reference
                        isModifier: false
                        _required: true
                        index: 45
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The actual data reference
                            choices: [valueReference]
                            index: 47
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: The actual data reference
                            choiceOf: value
                            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                            index: 48
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 40
                        slicing:
                          rules: closed
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: 2
                          slices:
                            meaning:
                              match: {url: null}
                              schema:
                                short: instance | related | dependents | authoredby
                                isModifier: false
                                _required: true
                                index: 41
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: instance | related | dependents | authoredby
                                    choices: [valueCode]
                                    index: 43
                                  valueCode:
                                    base: {path: 'Extension.value[x]'}
                                    type: code
                                    short: instance | related | dependents | authoredby
                                    choiceOf: value
                                    index: 44
                            reference:
                              match: {url: null}
                              schema:
                                short: The actual data reference
                                isModifier: false
                                _required: true
                                index: 45
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: The actual data reference
                                    choices: [valueReference]
                                    index: 47
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: The actual data reference
                                    choiceOf: value
                                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                                    index: 48
                  security:
                    url: null
                    short: Security tag code on .meta.security
                    isModifier: false
                    array: true
                    index: 49
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Security tag code on .meta.security
                        choices: [valueCoding]
                        index: 51
                      valueCoding:
                        base: {path: 'Extension.value[x]'}
                        type: Coding
                        short: Security tag code on .meta.security
                        choiceOf: value
                        index: 52
                  period:
                    url: null
                    short: Timeframe encompasing data create/update
                    isModifier: false
                    array: true
                    index: 53
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Timeframe encompasing data create/update
                        choices: [valuePeriod]
                        index: 55
                      valuePeriod:
                        base: {path: 'Extension.value[x]'}
                        type: Period
                        short: Timeframe encompasing data create/update
                        choiceOf: value
                        index: 56
                  expression:
                    url: null
                    short: Expression identifying the data
                    isModifier: false
                    index: 57
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Expression identifying the data
                        choices: [valueExpression]
                        index: 59
                      valueExpression:
                        base: {path: 'Extension.value[x]'}
                        type: Expression
                        short: Expression identifying the data
                        choiceOf: value
                        index: 60
                elements:
                  extension:
                    array: true
                    index: 38
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        resource:
                          match: {url: null}
                          schema:
                            short: Explicit FHIR Resource references
                            isModifier: false
                            array: true
                            index: 39
                            extensions:
                              meaning:
                                url: null
                                short: instance | related | dependents | authoredby
                                isModifier: false
                                _required: true
                                index: 41
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: instance | related | dependents | authoredby
                                    choices: [valueCode]
                                    index: 43
                                  valueCode:
                                    base: {path: 'Extension.value[x]'}
                                    type: code
                                    short: instance | related | dependents | authoredby
                                    choiceOf: value
                                    index: 44
                              reference:
                                url: null
                                short: The actual data reference
                                isModifier: false
                                _required: true
                                index: 45
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: The actual data reference
                                    choices: [valueReference]
                                    index: 47
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: The actual data reference
                                    choiceOf: value
                                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                                    index: 48
                            elements:
                              extension:
                                array: true
                                min: 2
                                index: 40
                                slicing:
                                  rules: closed
                                  ordered: false
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 2
                                  slices:
                                    meaning:
                                      match: {url: null}
                                      schema:
                                        short: instance | related | dependents | authoredby
                                        isModifier: false
                                        _required: true
                                        index: 41
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: instance | related | dependents | authoredby
                                            choices: [valueCode]
                                            index: 43
                                          valueCode:
                                            base: {path: 'Extension.value[x]'}
                                            type: code
                                            short: instance | related | dependents | authoredby
                                            choiceOf: value
                                            index: 44
                                    reference:
                                      match: {url: null}
                                      schema:
                                        short: The actual data reference
                                        isModifier: false
                                        _required: true
                                        index: 45
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: The actual data reference
                                            choices: [valueReference]
                                            index: 47
                                          valueReference:
                                            base: {path: 'Extension.value[x]'}
                                            type: Reference
                                            short: The actual data reference
                                            choiceOf: value
                                            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                                            index: 48
                        security:
                          match: {url: null}
                          schema:
                            short: Security tag code on .meta.security
                            isModifier: false
                            array: true
                            index: 49
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Security tag code on .meta.security
                                choices: [valueCoding]
                                index: 51
                              valueCoding:
                                base: {path: 'Extension.value[x]'}
                                type: Coding
                                short: Security tag code on .meta.security
                                choiceOf: value
                                index: 52
                        period:
                          match: {url: null}
                          schema:
                            short: Timeframe encompasing data create/update
                            isModifier: false
                            array: true
                            index: 53
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Timeframe encompasing data create/update
                                choices: [valuePeriod]
                                index: 55
                              valuePeriod:
                                base: {path: 'Extension.value[x]'}
                                type: Period
                                short: Timeframe encompasing data create/update
                                choiceOf: value
                                index: 56
                        expression:
                          match: {url: null}
                          schema:
                            short: Expression identifying the data
                            isModifier: false
                            index: 57
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Expression identifying the data
                                choices: [valueExpression]
                                index: 59
                              valueExpression:
                                base: {path: 'Extension.value[x]'}
                                type: Expression
                                short: Expression identifying the data
                                choiceOf: value
                                index: 60
              activity:
                url: null
                short: A description or definition of which activities are allowed to be done on the data
                isModifier: false
                array: true
                index: 61
                extensions:
                  actor:
                    url: null
                    short: Authorized actor(s)
                    isModifier: false
                    array: true
                    index: 63
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Authorized actor(s)
                        choices: [valueReference]
                        index: 65
                      valueReference:
                        base: {path: 'Extension.value[x]'}
                        type: Reference
                        short: Authorized actor(s)
                        choiceOf: value
                        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']
                        index: 66
                  action:
                    url: null
                    short: Actions controlled by this rule
                    isModifier: false
                    array: true
                    index: 67
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Actions controlled by this rule
                        choices: [valueCodeableConcept]
                        index: 69
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Actions controlled by this rule
                        choiceOf: value
                        index: 70
                  purpose:
                    url: null
                    short: The purpose for which the permission is given
                    isModifier: false
                    array: true
                    index: 71
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The purpose for which the permission is given
                        choices: [valueCodeableConcept]
                        index: 73
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: The purpose for which the permission is given
                        choiceOf: value
                        index: 74
                elements:
                  extension:
                    array: true
                    index: 62
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        actor:
                          match: {url: null}
                          schema:
                            short: Authorized actor(s)
                            isModifier: false
                            array: true
                            index: 63
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Authorized actor(s)
                                choices: [valueReference]
                                index: 65
                              valueReference:
                                base: {path: 'Extension.value[x]'}
                                type: Reference
                                short: Authorized actor(s)
                                choiceOf: value
                                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']
                                index: 66
                        action:
                          match: {url: null}
                          schema:
                            short: Actions controlled by this rule
                            isModifier: false
                            array: true
                            index: 67
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Actions controlled by this rule
                                choices: [valueCodeableConcept]
                                index: 69
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Actions controlled by this rule
                                choiceOf: value
                                index: 70
                        purpose:
                          match: {url: null}
                          schema:
                            short: The purpose for which the permission is given
                            isModifier: false
                            array: true
                            index: 71
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The purpose for which the permission is given
                                choices: [valueCodeableConcept]
                                index: 73
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: The purpose for which the permission is given
                                choiceOf: value
                                index: 74
              limit:
                url: null
                short: What limits apply to the use of the data
                isModifier: false
                array: true
                index: 75
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: What limits apply to the use of the data
                    choices: [valueCodeableConcept]
                    index: 77
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: What limits apply to the use of the data
                    choiceOf: value
                    index: 78
            elements:
              extension:
                array: true
                index: 32
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    type:
                      match: {url: null}
                      schema:
                        short: deny | permit
                        isModifier: true
                        isModifierReason: Sets the context for the meaning of the rules.
                        index: 33
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: deny | permit
                            choices: [valueCode]
                            index: 35
                          valueCode:
                            base: {path: 'Extension.value[x]'}
                            type: code
                            short: deny | permit
                            choiceOf: value
                            index: 36
                    data:
                      match: {url: null}
                      schema:
                        short: The selection criteria to identify data that is within scope of this provision
                        isModifier: false
                        array: true
                        index: 37
                        extensions:
                          resource:
                            url: null
                            short: Explicit FHIR Resource references
                            isModifier: false
                            array: true
                            index: 39
                            extensions:
                              meaning:
                                url: null
                                short: instance | related | dependents | authoredby
                                isModifier: false
                                _required: true
                                index: 41
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: instance | related | dependents | authoredby
                                    choices: [valueCode]
                                    index: 43
                                  valueCode:
                                    base: {path: 'Extension.value[x]'}
                                    type: code
                                    short: instance | related | dependents | authoredby
                                    choiceOf: value
                                    index: 44
                              reference:
                                url: null
                                short: The actual data reference
                                isModifier: false
                                _required: true
                                index: 45
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: The actual data reference
                                    choices: [valueReference]
                                    index: 47
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: The actual data reference
                                    choiceOf: value
                                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                                    index: 48
                            elements:
                              extension:
                                array: true
                                min: 2
                                index: 40
                                slicing:
                                  rules: closed
                                  ordered: false
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 2
                                  slices:
                                    meaning:
                                      match: {url: null}
                                      schema:
                                        short: instance | related | dependents | authoredby
                                        isModifier: false
                                        _required: true
                                        index: 41
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: instance | related | dependents | authoredby
                                            choices: [valueCode]
                                            index: 43
                                          valueCode:
                                            base: {path: 'Extension.value[x]'}
                                            type: code
                                            short: instance | related | dependents | authoredby
                                            choiceOf: value
                                            index: 44
                                    reference:
                                      match: {url: null}
                                      schema:
                                        short: The actual data reference
                                        isModifier: false
                                        _required: true
                                        index: 45
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: The actual data reference
                                            choices: [valueReference]
                                            index: 47
                                          valueReference:
                                            base: {path: 'Extension.value[x]'}
                                            type: Reference
                                            short: The actual data reference
                                            choiceOf: value
                                            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                                            index: 48
                          security:
                            url: null
                            short: Security tag code on .meta.security
                            isModifier: false
                            array: true
                            index: 49
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Security tag code on .meta.security
                                choices: [valueCoding]
                                index: 51
                              valueCoding:
                                base: {path: 'Extension.value[x]'}
                                type: Coding
                                short: Security tag code on .meta.security
                                choiceOf: value
                                index: 52
                          period:
                            url: null
                            short: Timeframe encompasing data create/update
                            isModifier: false
                            array: true
                            index: 53
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Timeframe encompasing data create/update
                                choices: [valuePeriod]
                                index: 55
                              valuePeriod:
                                base: {path: 'Extension.value[x]'}
                                type: Period
                                short: Timeframe encompasing data create/update
                                choiceOf: value
                                index: 56
                          expression:
                            url: null
                            short: Expression identifying the data
                            isModifier: false
                            index: 57
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Expression identifying the data
                                choices: [valueExpression]
                                index: 59
                              valueExpression:
                                base: {path: 'Extension.value[x]'}
                                type: Expression
                                short: Expression identifying the data
                                choiceOf: value
                                index: 60
                        elements:
                          extension:
                            array: true
                            index: 38
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 0
                              slices:
                                resource:
                                  match: {url: null}
                                  schema:
                                    short: Explicit FHIR Resource references
                                    isModifier: false
                                    array: true
                                    index: 39
                                    extensions:
                                      meaning:
                                        url: null
                                        short: instance | related | dependents | authoredby
                                        isModifier: false
                                        _required: true
                                        index: 41
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: instance | related | dependents | authoredby
                                            choices: [valueCode]
                                            index: 43
                                          valueCode:
                                            base: {path: 'Extension.value[x]'}
                                            type: code
                                            short: instance | related | dependents | authoredby
                                            choiceOf: value
                                            index: 44
                                      reference:
                                        url: null
                                        short: The actual data reference
                                        isModifier: false
                                        _required: true
                                        index: 45
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: The actual data reference
                                            choices: [valueReference]
                                            index: 47
                                          valueReference:
                                            base: {path: 'Extension.value[x]'}
                                            type: Reference
                                            short: The actual data reference
                                            choiceOf: value
                                            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                                            index: 48
                                    elements:
                                      extension:
                                        array: true
                                        min: 2
                                        index: 40
                                        slicing:
                                          rules: closed
                                          ordered: false
                                          discriminator:
                                          - {path: url, type: value}
                                          min: 2
                                          slices:
                                            meaning:
                                              match: {url: null}
                                              schema:
                                                short: instance | related | dependents | authoredby
                                                isModifier: false
                                                _required: true
                                                index: 41
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    short: instance | related | dependents | authoredby
                                                    choices: [valueCode]
                                                    index: 43
                                                  valueCode:
                                                    base: {path: 'Extension.value[x]'}
                                                    type: code
                                                    short: instance | related | dependents | authoredby
                                                    choiceOf: value
                                                    index: 44
                                            reference:
                                              match: {url: null}
                                              schema:
                                                short: The actual data reference
                                                isModifier: false
                                                _required: true
                                                index: 45
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    short: The actual data reference
                                                    choices: [valueReference]
                                                    index: 47
                                                  valueReference:
                                                    base: {path: 'Extension.value[x]'}
                                                    type: Reference
                                                    short: The actual data reference
                                                    choiceOf: value
                                                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                                                    index: 48
                                security:
                                  match: {url: null}
                                  schema:
                                    short: Security tag code on .meta.security
                                    isModifier: false
                                    array: true
                                    index: 49
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: Security tag code on .meta.security
                                        choices: [valueCoding]
                                        index: 51
                                      valueCoding:
                                        base: {path: 'Extension.value[x]'}
                                        type: Coding
                                        short: Security tag code on .meta.security
                                        choiceOf: value
                                        index: 52
                                period:
                                  match: {url: null}
                                  schema:
                                    short: Timeframe encompasing data create/update
                                    isModifier: false
                                    array: true
                                    index: 53
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: Timeframe encompasing data create/update
                                        choices: [valuePeriod]
                                        index: 55
                                      valuePeriod:
                                        base: {path: 'Extension.value[x]'}
                                        type: Period
                                        short: Timeframe encompasing data create/update
                                        choiceOf: value
                                        index: 56
                                expression:
                                  match: {url: null}
                                  schema:
                                    short: Expression identifying the data
                                    isModifier: false
                                    index: 57
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: Expression identifying the data
                                        choices: [valueExpression]
                                        index: 59
                                      valueExpression:
                                        base: {path: 'Extension.value[x]'}
                                        type: Expression
                                        short: Expression identifying the data
                                        choiceOf: value
                                        index: 60
                    activity:
                      match: {url: null}
                      schema:
                        short: A description or definition of which activities are allowed to be done on the data
                        isModifier: false
                        array: true
                        index: 61
                        extensions:
                          actor:
                            url: null
                            short: Authorized actor(s)
                            isModifier: false
                            array: true
                            index: 63
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Authorized actor(s)
                                choices: [valueReference]
                                index: 65
                              valueReference:
                                base: {path: 'Extension.value[x]'}
                                type: Reference
                                short: Authorized actor(s)
                                choiceOf: value
                                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']
                                index: 66
                          action:
                            url: null
                            short: Actions controlled by this rule
                            isModifier: false
                            array: true
                            index: 67
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Actions controlled by this rule
                                choices: [valueCodeableConcept]
                                index: 69
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Actions controlled by this rule
                                choiceOf: value
                                index: 70
                          purpose:
                            url: null
                            short: The purpose for which the permission is given
                            isModifier: false
                            array: true
                            index: 71
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The purpose for which the permission is given
                                choices: [valueCodeableConcept]
                                index: 73
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: The purpose for which the permission is given
                                choiceOf: value
                                index: 74
                        elements:
                          extension:
                            array: true
                            index: 62
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 0
                              slices:
                                actor:
                                  match: {url: null}
                                  schema:
                                    short: Authorized actor(s)
                                    isModifier: false
                                    array: true
                                    index: 63
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: Authorized actor(s)
                                        choices: [valueReference]
                                        index: 65
                                      valueReference:
                                        base: {path: 'Extension.value[x]'}
                                        type: Reference
                                        short: Authorized actor(s)
                                        choiceOf: value
                                        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']
                                        index: 66
                                action:
                                  match: {url: null}
                                  schema:
                                    short: Actions controlled by this rule
                                    isModifier: false
                                    array: true
                                    index: 67
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: Actions controlled by this rule
                                        choices: [valueCodeableConcept]
                                        index: 69
                                      valueCodeableConcept:
                                        base: {path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: Actions controlled by this rule
                                        choiceOf: value
                                        index: 70
                                purpose:
                                  match: {url: null}
                                  schema:
                                    short: The purpose for which the permission is given
                                    isModifier: false
                                    array: true
                                    index: 71
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: The purpose for which the permission is given
                                        choices: [valueCodeableConcept]
                                        index: 73
                                      valueCodeableConcept:
                                        base: {path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: The purpose for which the permission is given
                                        choiceOf: value
                                        index: 74
                    limit:
                      match: {url: null}
                      schema:
                        short: What limits apply to the use of the data
                        isModifier: false
                        array: true
                        index: 75
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: What limits apply to the use of the data
                            choices: [valueCodeableConcept]
                            index: 77
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: What limits apply to the use of the data
                            choiceOf: value
                            index: 78
  url:
    pattern: {type: uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Permission'}
    type: uri
    index: 79
package_version: r5.r4b-0.0.1-snapshot-1
extensions:
  status:
    url: null
    short: active | entered-in-error | draft | rejected
    isModifier: false
    _required: true
    index: 1
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: active | entered-in-error | draft | rejected
        choices: [valueCode]
        index: 3
      valueCode:
        base: {path: 'Extension.value[x]'}
        type: code
        short: active | entered-in-error | draft | rejected
        choiceOf: value
        index: 4
  asserter:
    url: null
    short: The person or entity that asserts the permission
    isModifier: false
    index: 5
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The person or entity that asserts the permission
        choices: [valueReference]
        index: 7
      valueReference:
        base: {path: 'Extension.value[x]'}
        type: Reference
        short: The person or entity that asserts the permission
        choiceOf: value
        refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/HealthcareService', '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']
        index: 8
  date:
    url: null
    short: The date that permission was asserted
    isModifier: false
    array: true
    index: 9
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The date that permission was asserted
        choices: [valueDateTime]
        index: 11
      valueDateTime:
        base: {path: 'Extension.value[x]'}
        type: dateTime
        short: The date that permission was asserted
        choiceOf: value
        index: 12
  validity:
    url: null
    short: The period in which the permission is active
    isModifier: false
    index: 13
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The period in which the permission is active
        choices: [valuePeriod]
        index: 15
      valuePeriod:
        base: {path: 'Extension.value[x]'}
        type: Period
        short: The period in which the permission is active
        choiceOf: value
        index: 16
  justification:
    url: null
    short: The asserted justification for using the data
    isModifier: false
    index: 17
    extensions:
      basis:
        url: null
        short: The regulatory grounds upon which this Permission builds
        isModifier: false
        array: true
        index: 19
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The regulatory grounds upon which this Permission builds
            choices: [valueCodeableConcept]
            index: 21
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The regulatory grounds upon which this Permission builds
            choiceOf: value
            index: 22
      evidence:
        url: null
        short: Justifing rational
        isModifier: false
        array: true
        index: 23
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Justifing rational
            choices: [valueReference]
            index: 25
          valueReference:
            base: {path: 'Extension.value[x]'}
            type: Reference
            short: Justifing rational
            choiceOf: value
            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
            index: 26
    elements:
      extension:
        array: true
        index: 18
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            basis:
              match: {url: null}
              schema:
                short: The regulatory grounds upon which this Permission builds
                isModifier: false
                array: true
                index: 19
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The regulatory grounds upon which this Permission builds
                    choices: [valueCodeableConcept]
                    index: 21
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The regulatory grounds upon which this Permission builds
                    choiceOf: value
                    index: 22
            evidence:
              match: {url: null}
              schema:
                short: Justifing rational
                isModifier: false
                array: true
                index: 23
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Justifing rational
                    choices: [valueReference]
                    index: 25
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Justifing rational
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                    index: 26
  combining:
    url: null
    isModifier: true
    short: deny-overrides | permit-overrides | ordered-deny-overrides | ordered-permit-overrides | deny-unless-permit | permit-unless-deny
    _required: true
    isModifierReason: Defines how the rules are to be combined.
    index: 27
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: deny-overrides | permit-overrides | ordered-deny-overrides | ordered-permit-overrides | deny-unless-permit | permit-unless-deny
        choices: [valueCode]
        index: 29
      valueCode:
        base: {path: 'Extension.value[x]'}
        type: code
        short: deny-overrides | permit-overrides | ordered-deny-overrides | ordered-permit-overrides | deny-unless-permit | permit-unless-deny
        choiceOf: value
        index: 30
  rule:
    url: null
    short: Constraints to the Permission
    isModifier: false
    array: true
    index: 31
    extensions:
      type:
        url: null
        short: deny | permit
        isModifier: true
        isModifierReason: Sets the context for the meaning of the rules.
        index: 33
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: deny | permit
            choices: [valueCode]
            index: 35
          valueCode:
            base: {path: 'Extension.value[x]'}
            type: code
            short: deny | permit
            choiceOf: value
            index: 36
      data:
        url: null
        short: The selection criteria to identify data that is within scope of this provision
        isModifier: false
        array: true
        index: 37
        extensions:
          resource:
            url: null
            short: Explicit FHIR Resource references
            isModifier: false
            array: true
            index: 39
            extensions:
              meaning:
                url: null
                short: instance | related | dependents | authoredby
                isModifier: false
                _required: true
                index: 41
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: instance | related | dependents | authoredby
                    choices: [valueCode]
                    index: 43
                  valueCode:
                    base: {path: 'Extension.value[x]'}
                    type: code
                    short: instance | related | dependents | authoredby
                    choiceOf: value
                    index: 44
              reference:
                url: null
                short: The actual data reference
                isModifier: false
                _required: true
                index: 45
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The actual data reference
                    choices: [valueReference]
                    index: 47
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: The actual data reference
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                    index: 48
            elements:
              extension:
                array: true
                min: 2
                index: 40
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 2
                  slices:
                    meaning:
                      match: {url: null}
                      schema:
                        short: instance | related | dependents | authoredby
                        isModifier: false
                        _required: true
                        index: 41
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: instance | related | dependents | authoredby
                            choices: [valueCode]
                            index: 43
                          valueCode:
                            base: {path: 'Extension.value[x]'}
                            type: code
                            short: instance | related | dependents | authoredby
                            choiceOf: value
                            index: 44
                    reference:
                      match: {url: null}
                      schema:
                        short: The actual data reference
                        isModifier: false
                        _required: true
                        index: 45
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The actual data reference
                            choices: [valueReference]
                            index: 47
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: The actual data reference
                            choiceOf: value
                            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                            index: 48
          security:
            url: null
            short: Security tag code on .meta.security
            isModifier: false
            array: true
            index: 49
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Security tag code on .meta.security
                choices: [valueCoding]
                index: 51
              valueCoding:
                base: {path: 'Extension.value[x]'}
                type: Coding
                short: Security tag code on .meta.security
                choiceOf: value
                index: 52
          period:
            url: null
            short: Timeframe encompasing data create/update
            isModifier: false
            array: true
            index: 53
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Timeframe encompasing data create/update
                choices: [valuePeriod]
                index: 55
              valuePeriod:
                base: {path: 'Extension.value[x]'}
                type: Period
                short: Timeframe encompasing data create/update
                choiceOf: value
                index: 56
          expression:
            url: null
            short: Expression identifying the data
            isModifier: false
            index: 57
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Expression identifying the data
                choices: [valueExpression]
                index: 59
              valueExpression:
                base: {path: 'Extension.value[x]'}
                type: Expression
                short: Expression identifying the data
                choiceOf: value
                index: 60
        elements:
          extension:
            array: true
            index: 38
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                resource:
                  match: {url: null}
                  schema:
                    short: Explicit FHIR Resource references
                    isModifier: false
                    array: true
                    index: 39
                    extensions:
                      meaning:
                        url: null
                        short: instance | related | dependents | authoredby
                        isModifier: false
                        _required: true
                        index: 41
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: instance | related | dependents | authoredby
                            choices: [valueCode]
                            index: 43
                          valueCode:
                            base: {path: 'Extension.value[x]'}
                            type: code
                            short: instance | related | dependents | authoredby
                            choiceOf: value
                            index: 44
                      reference:
                        url: null
                        short: The actual data reference
                        isModifier: false
                        _required: true
                        index: 45
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The actual data reference
                            choices: [valueReference]
                            index: 47
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: The actual data reference
                            choiceOf: value
                            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                            index: 48
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 40
                        slicing:
                          rules: closed
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: 2
                          slices:
                            meaning:
                              match: {url: null}
                              schema:
                                short: instance | related | dependents | authoredby
                                isModifier: false
                                _required: true
                                index: 41
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: instance | related | dependents | authoredby
                                    choices: [valueCode]
                                    index: 43
                                  valueCode:
                                    base: {path: 'Extension.value[x]'}
                                    type: code
                                    short: instance | related | dependents | authoredby
                                    choiceOf: value
                                    index: 44
                            reference:
                              match: {url: null}
                              schema:
                                short: The actual data reference
                                isModifier: false
                                _required: true
                                index: 45
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: The actual data reference
                                    choices: [valueReference]
                                    index: 47
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: The actual data reference
                                    choiceOf: value
                                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                                    index: 48
                security:
                  match: {url: null}
                  schema:
                    short: Security tag code on .meta.security
                    isModifier: false
                    array: true
                    index: 49
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Security tag code on .meta.security
                        choices: [valueCoding]
                        index: 51
                      valueCoding:
                        base: {path: 'Extension.value[x]'}
                        type: Coding
                        short: Security tag code on .meta.security
                        choiceOf: value
                        index: 52
                period:
                  match: {url: null}
                  schema:
                    short: Timeframe encompasing data create/update
                    isModifier: false
                    array: true
                    index: 53
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Timeframe encompasing data create/update
                        choices: [valuePeriod]
                        index: 55
                      valuePeriod:
                        base: {path: 'Extension.value[x]'}
                        type: Period
                        short: Timeframe encompasing data create/update
                        choiceOf: value
                        index: 56
                expression:
                  match: {url: null}
                  schema:
                    short: Expression identifying the data
                    isModifier: false
                    index: 57
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Expression identifying the data
                        choices: [valueExpression]
                        index: 59
                      valueExpression:
                        base: {path: 'Extension.value[x]'}
                        type: Expression
                        short: Expression identifying the data
                        choiceOf: value
                        index: 60
      activity:
        url: null
        short: A description or definition of which activities are allowed to be done on the data
        isModifier: false
        array: true
        index: 61
        extensions:
          actor:
            url: null
            short: Authorized actor(s)
            isModifier: false
            array: true
            index: 63
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Authorized actor(s)
                choices: [valueReference]
                index: 65
              valueReference:
                base: {path: 'Extension.value[x]'}
                type: Reference
                short: Authorized actor(s)
                choiceOf: value
                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']
                index: 66
          action:
            url: null
            short: Actions controlled by this rule
            isModifier: false
            array: true
            index: 67
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Actions controlled by this rule
                choices: [valueCodeableConcept]
                index: 69
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Actions controlled by this rule
                choiceOf: value
                index: 70
          purpose:
            url: null
            short: The purpose for which the permission is given
            isModifier: false
            array: true
            index: 71
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The purpose for which the permission is given
                choices: [valueCodeableConcept]
                index: 73
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: The purpose for which the permission is given
                choiceOf: value
                index: 74
        elements:
          extension:
            array: true
            index: 62
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                actor:
                  match: {url: null}
                  schema:
                    short: Authorized actor(s)
                    isModifier: false
                    array: true
                    index: 63
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Authorized actor(s)
                        choices: [valueReference]
                        index: 65
                      valueReference:
                        base: {path: 'Extension.value[x]'}
                        type: Reference
                        short: Authorized actor(s)
                        choiceOf: value
                        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']
                        index: 66
                action:
                  match: {url: null}
                  schema:
                    short: Actions controlled by this rule
                    isModifier: false
                    array: true
                    index: 67
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Actions controlled by this rule
                        choices: [valueCodeableConcept]
                        index: 69
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Actions controlled by this rule
                        choiceOf: value
                        index: 70
                purpose:
                  match: {url: null}
                  schema:
                    short: The purpose for which the permission is given
                    isModifier: false
                    array: true
                    index: 71
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The purpose for which the permission is given
                        choices: [valueCodeableConcept]
                        index: 73
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: The purpose for which the permission is given
                        choiceOf: value
                        index: 74
      limit:
        url: null
        short: What limits apply to the use of the data
        isModifier: false
        array: true
        index: 75
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: What limits apply to the use of the data
            choices: [valueCodeableConcept]
            index: 77
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: What limits apply to the use of the data
            choiceOf: value
            index: 78
    elements:
      extension:
        array: true
        index: 32
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            type:
              match: {url: null}
              schema:
                short: deny | permit
                isModifier: true
                isModifierReason: Sets the context for the meaning of the rules.
                index: 33
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: deny | permit
                    choices: [valueCode]
                    index: 35
                  valueCode:
                    base: {path: 'Extension.value[x]'}
                    type: code
                    short: deny | permit
                    choiceOf: value
                    index: 36
            data:
              match: {url: null}
              schema:
                short: The selection criteria to identify data that is within scope of this provision
                isModifier: false
                array: true
                index: 37
                extensions:
                  resource:
                    url: null
                    short: Explicit FHIR Resource references
                    isModifier: false
                    array: true
                    index: 39
                    extensions:
                      meaning:
                        url: null
                        short: instance | related | dependents | authoredby
                        isModifier: false
                        _required: true
                        index: 41
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: instance | related | dependents | authoredby
                            choices: [valueCode]
                            index: 43
                          valueCode:
                            base: {path: 'Extension.value[x]'}
                            type: code
                            short: instance | related | dependents | authoredby
                            choiceOf: value
                            index: 44
                      reference:
                        url: null
                        short: The actual data reference
                        isModifier: false
                        _required: true
                        index: 45
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The actual data reference
                            choices: [valueReference]
                            index: 47
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: The actual data reference
                            choiceOf: value
                            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                            index: 48
                    elements:
                      extension:
                        array: true
                        min: 2
                        index: 40
                        slicing:
                          rules: closed
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: 2
                          slices:
                            meaning:
                              match: {url: null}
                              schema:
                                short: instance | related | dependents | authoredby
                                isModifier: false
                                _required: true
                                index: 41
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: instance | related | dependents | authoredby
                                    choices: [valueCode]
                                    index: 43
                                  valueCode:
                                    base: {path: 'Extension.value[x]'}
                                    type: code
                                    short: instance | related | dependents | authoredby
                                    choiceOf: value
                                    index: 44
                            reference:
                              match: {url: null}
                              schema:
                                short: The actual data reference
                                isModifier: false
                                _required: true
                                index: 45
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: The actual data reference
                                    choices: [valueReference]
                                    index: 47
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: The actual data reference
                                    choiceOf: value
                                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                                    index: 48
                  security:
                    url: null
                    short: Security tag code on .meta.security
                    isModifier: false
                    array: true
                    index: 49
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Security tag code on .meta.security
                        choices: [valueCoding]
                        index: 51
                      valueCoding:
                        base: {path: 'Extension.value[x]'}
                        type: Coding
                        short: Security tag code on .meta.security
                        choiceOf: value
                        index: 52
                  period:
                    url: null
                    short: Timeframe encompasing data create/update
                    isModifier: false
                    array: true
                    index: 53
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Timeframe encompasing data create/update
                        choices: [valuePeriod]
                        index: 55
                      valuePeriod:
                        base: {path: 'Extension.value[x]'}
                        type: Period
                        short: Timeframe encompasing data create/update
                        choiceOf: value
                        index: 56
                  expression:
                    url: null
                    short: Expression identifying the data
                    isModifier: false
                    index: 57
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Expression identifying the data
                        choices: [valueExpression]
                        index: 59
                      valueExpression:
                        base: {path: 'Extension.value[x]'}
                        type: Expression
                        short: Expression identifying the data
                        choiceOf: value
                        index: 60
                elements:
                  extension:
                    array: true
                    index: 38
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        resource:
                          match: {url: null}
                          schema:
                            short: Explicit FHIR Resource references
                            isModifier: false
                            array: true
                            index: 39
                            extensions:
                              meaning:
                                url: null
                                short: instance | related | dependents | authoredby
                                isModifier: false
                                _required: true
                                index: 41
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: instance | related | dependents | authoredby
                                    choices: [valueCode]
                                    index: 43
                                  valueCode:
                                    base: {path: 'Extension.value[x]'}
                                    type: code
                                    short: instance | related | dependents | authoredby
                                    choiceOf: value
                                    index: 44
                              reference:
                                url: null
                                short: The actual data reference
                                isModifier: false
                                _required: true
                                index: 45
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: The actual data reference
                                    choices: [valueReference]
                                    index: 47
                                  valueReference:
                                    base: {path: 'Extension.value[x]'}
                                    type: Reference
                                    short: The actual data reference
                                    choiceOf: value
                                    refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                                    index: 48
                            elements:
                              extension:
                                array: true
                                min: 2
                                index: 40
                                slicing:
                                  rules: closed
                                  ordered: false
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 2
                                  slices:
                                    meaning:
                                      match: {url: null}
                                      schema:
                                        short: instance | related | dependents | authoredby
                                        isModifier: false
                                        _required: true
                                        index: 41
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: instance | related | dependents | authoredby
                                            choices: [valueCode]
                                            index: 43
                                          valueCode:
                                            base: {path: 'Extension.value[x]'}
                                            type: code
                                            short: instance | related | dependents | authoredby
                                            choiceOf: value
                                            index: 44
                                    reference:
                                      match: {url: null}
                                      schema:
                                        short: The actual data reference
                                        isModifier: false
                                        _required: true
                                        index: 45
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: The actual data reference
                                            choices: [valueReference]
                                            index: 47
                                          valueReference:
                                            base: {path: 'Extension.value[x]'}
                                            type: Reference
                                            short: The actual data reference
                                            choiceOf: value
                                            refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
                                            index: 48
                        security:
                          match: {url: null}
                          schema:
                            short: Security tag code on .meta.security
                            isModifier: false
                            array: true
                            index: 49
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Security tag code on .meta.security
                                choices: [valueCoding]
                                index: 51
                              valueCoding:
                                base: {path: 'Extension.value[x]'}
                                type: Coding
                                short: Security tag code on .meta.security
                                choiceOf: value
                                index: 52
                        period:
                          match: {url: null}
                          schema:
                            short: Timeframe encompasing data create/update
                            isModifier: false
                            array: true
                            index: 53
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Timeframe encompasing data create/update
                                choices: [valuePeriod]
                                index: 55
                              valuePeriod:
                                base: {path: 'Extension.value[x]'}
                                type: Period
                                short: Timeframe encompasing data create/update
                                choiceOf: value
                                index: 56
                        expression:
                          match: {url: null}
                          schema:
                            short: Expression identifying the data
                            isModifier: false
                            index: 57
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Expression identifying the data
                                choices: [valueExpression]
                                index: 59
                              valueExpression:
                                base: {path: 'Extension.value[x]'}
                                type: Expression
                                short: Expression identifying the data
                                choiceOf: value
                                index: 60
            activity:
              match: {url: null}
              schema:
                short: A description or definition of which activities are allowed to be done on the data
                isModifier: false
                array: true
                index: 61
                extensions:
                  actor:
                    url: null
                    short: Authorized actor(s)
                    isModifier: false
                    array: true
                    index: 63
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Authorized actor(s)
                        choices: [valueReference]
                        index: 65
                      valueReference:
                        base: {path: 'Extension.value[x]'}
                        type: Reference
                        short: Authorized actor(s)
                        choiceOf: value
                        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']
                        index: 66
                  action:
                    url: null
                    short: Actions controlled by this rule
                    isModifier: false
                    array: true
                    index: 67
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Actions controlled by this rule
                        choices: [valueCodeableConcept]
                        index: 69
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Actions controlled by this rule
                        choiceOf: value
                        index: 70
                  purpose:
                    url: null
                    short: The purpose for which the permission is given
                    isModifier: false
                    array: true
                    index: 71
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The purpose for which the permission is given
                        choices: [valueCodeableConcept]
                        index: 73
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: The purpose for which the permission is given
                        choiceOf: value
                        index: 74
                elements:
                  extension:
                    array: true
                    index: 62
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        actor:
                          match: {url: null}
                          schema:
                            short: Authorized actor(s)
                            isModifier: false
                            array: true
                            index: 63
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Authorized actor(s)
                                choices: [valueReference]
                                index: 65
                              valueReference:
                                base: {path: 'Extension.value[x]'}
                                type: Reference
                                short: Authorized actor(s)
                                choiceOf: value
                                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']
                                index: 66
                        action:
                          match: {url: null}
                          schema:
                            short: Actions controlled by this rule
                            isModifier: false
                            array: true
                            index: 67
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Actions controlled by this rule
                                choices: [valueCodeableConcept]
                                index: 69
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Actions controlled by this rule
                                choiceOf: value
                                index: 70
                        purpose:
                          match: {url: null}
                          schema:
                            short: The purpose for which the permission is given
                            isModifier: false
                            array: true
                            index: 71
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The purpose for which the permission is given
                                choices: [valueCodeableConcept]
                                index: 73
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: The purpose for which the permission is given
                                choiceOf: value
                                index: 74
            limit:
              match: {url: null}
              schema:
                short: What limits apply to the use of the data
                isModifier: false
                array: true
                index: 75
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: What limits apply to the use of the data
                    choices: [valueCodeableConcept]
                    index: 77
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: What limits apply to the use of the data
                    choiceOf: value
                    index: 78
class: extension
kind: complex-type
url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Permission
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url]