PackagesCanonicalsLogsProblems
    Packages
    de.einwilligungsmanagement@2.0.1
    http://fhir.de/ConsentManagement/StructureDefinition/Provenance
description: null
package_name: de.einwilligungsmanagement
derivation: constraint
name: ConsentManagementProvenance
type: Provenance
elements:
  target:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.de/ConsentManagement/StructureDefinition/Consent', 'http://fhir.de/ConsentManagement/StructureDefinition/QuestionnaireResponse']
    index: 0
    elements:
      reference: {mustSupport: true, index: 1}
    required: [reference]
  recorded: {mustSupport: true, index: 2}
  agent:
    mustSupport: true
    index: 3
    elements:
      who: {mustSupport: true, index: 4}
  entity:
    mustSupport: true
    index: 5
    elements:
      role:
        pattern: {type: code, value: source}
        mustSupport: true
        type: code
        index: 6
      what:
        type: Reference
        mustSupport: true
        refers: ['http://fhir.de/ConsentManagement/StructureDefinition/DocumentReference', 'http://fhir.de/ConsentManagement/StructureDefinition/QuestionnaireResponse']
        index: 7
        elements:
          reference: {mustSupport: true, index: 8}
        required: [reference]
  signature:
    mustSupport: true
    index: 9
    extensions:
      where:
        url: http://fhir.de/ConsentManagement/StructureDefinition/SignatureLocation
        type: Extension
        mustSupport: true
        index: 11
        elements:
          value:
            mustSupport: true
            choices: []
            index: 13
        required: [value]
    elements:
      extension:
        index: 10
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            where:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://fhir.de/ConsentManagement/StructureDefinition/SignatureLocation
                index: 11
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 13
                required: [value]
      type:
        mustSupport: true
        index: 14
        elements:
          system: {mustSupport: true, index: 15}
          code: {mustSupport: true, index: 16}
        required: [code, system]
      when: {mustSupport: true, index: 17}
      who: {mustSupport: true, index: 18}
      onBehalfOf: {mustSupport: true, index: 19}
      data: {mustSupport: true, index: 20}
package_version: 2.0.1
class: profile
kind: resource
url: http://fhir.de/ConsentManagement/StructureDefinition/Provenance
base: http://hl7.org/fhir/StructureDefinition/Provenance
version: 2.0.0