PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@9.0.1
    http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent
description: null
package_name: dk.ehealth.sundhed.fhir.ig.core
derivation: constraint
name: ehealth-consent
type: Consent
elements:
  patient:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient']
    index: 4
  category:
    binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/consent-category'}
    index: 3
  provision:
    elements:
      class:
        short: Specific class covered by this consent
        binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/ehealth-consent-provision-class'}
        index: 12
      code:
        short: Specific code covered by this consent
        binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/ehealth-consent-provision-code'}
        index: 13
  organization:
    type: Reference
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']
    index: 5
  source:
    choices: []
    index: 7
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        sourceReference:
          match: {}
          schema:
            choices: [sourceReference]
            index: 9
          min: 0
          max: 1
  scope:
    short: Specific scope covered by this consent
    binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/ehealth-consent-scope'}
    index: 2
  policy:
    elements:
      uri:
        binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/ehealth-consent-policy'}
        index: 11
  sourceReference:
    type: Reference
    choiceOf: source
    refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse', 'http://hl7.org/fhir/StructureDefinition/Contract']
    index: 10
    slicing:
      slices:
        sourceReference:
          match: {}
          schema:
            type: Reference
            choiceOf: source
            refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse', 'http://hl7.org/fhir/StructureDefinition/Contract']
            index: 10
          min: 0
          max: 1
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        affiliation:
          match: {url: null}
          schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent-affiliation', index: 1}
          min: 0
package_version: 9.0.1
extensions:
  affiliation: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent-affiliation', min: 0, type: Extension, index: 1}
class: profile
kind: resource
url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 9.0.1
required: [patient]