PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.hdr@0.1.0-ballot
    http://hl7.eu/fhir/hdr/StructureDefinition/consent-eu-hdr
description: This profile constrains the Consent resource for the purpose representing Advance Directives for the scope of this guide.
package_name: hl7.fhir.eu.hdr
derivation: constraint
name: ConsentHdrEu
type: Consent
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        note:
          match: {url: null}
          schema: {type: Extension, short: Comment, url: 'http://hl7.org/fhir/StructureDefinition/note', index: 1}
          min: 0
        relatedCondition:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.eu/fhir/StructureDefinition/consent-relatedCondition
            index: 2
            elements:
              value:
                short: Related conditions
                choices: []
                index: 4
  scope:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: adr, system: 'http://terminology.hl7.org/CodeSystem/consentscope'}
    type: CodeableConcept
    index: 5
  category: {short: Living will type, index: 6}
  dateTime: {short: Living will date and time, index: 7}
  source:
    short: Living will document
    choices: []
    index: 9
package_version: 0.1.0-ballot
extensions:
  note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Comment, index: 1}
  relatedCondition:
    url: http://hl7.eu/fhir/StructureDefinition/consent-relatedCondition
    type: Extension
    index: 2
    elements:
      value:
        short: Related conditions
        choices: []
        index: 4
class: profile
kind: resource
url: http://hl7.eu/fhir/hdr/StructureDefinition/consent-eu-hdr
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 0.1.0-ballot