PackagesCanonicalsLogsProblems
    Packages
    de.einwilligungsmanagement@0.0.1-snapshot
    http://fhir.de/ConsentManagement/StructureDefinition/Consent
description: null
package_name: de.einwilligungsmanagement
derivation: constraint
name: ConsentManagementConsent
type: Consent
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.de/ConsentManagement/StructureDefinition/Patient']
    index: 6
    elements:
      reference: {mustSupport: true, index: 7}
    required: [reference]
  category:
    mustSupport: true
    index: 2
    elements:
      coding:
        mustSupport: true
        index: 3
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            index: 4
          code:
            pattern: {type: Code, value: 59284-0}
            index: 5
    required: [coding]
  provision:
    mustSupport: true
    index: 17
    elements:
      period: {mustSupport: true, index: 18}
  organization: {short: 'Organisation, in der die Einwilligung erfasst wurde.', mustSupport: true, index: 9}
  source:
    mustSupport: true
    choices: [sourceReference]
    index: 11
  scope: {index: 1}
  sourceReference:
    type: Reference
    mustSupport: true
    choiceOf: source
    refers: ['http://fhir.de/ConsentManagement/StructureDefinition/QuestionnaireResponse']
    index: 12
  dateTime: {mustSupport: true, index: 8}
  status: {mustSupport: true, index: 0}
  policyRule:
    mustSupport: true
    index: 14
    extensions:
      xacml: {url: 'http://fhir.de/ConsentManagement/StructureDefinition/Xacml', max: 1, type: Extension, mustSupport: true, index: 16}
    elements:
      extension:
        index: 15
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            xacml:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/ConsentManagement/StructureDefinition/Xacml', index: 16}
              max: 1
  source[x]:
    elements:
      reference: {mustSupport: true, index: 13}
    required: [reference]
package_version: 0.0.1-snapshot
class: profile
kind: resource
url: http://fhir.de/ConsentManagement/StructureDefinition/Consent
base: http://hl7.org/fhir/StructureDefinition/Consent
version: '0.1'
required: [dateTime, sourceReference, source, patient]