extension-donationdecision
type: StructureDefinition
node role: treeRoot
resource.id:
  value: extension-donationdecision
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Name Flags Card. Type Description & Constraints Extension 0..* Extension Individual's decision about donation url 1..1 uri "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision" valueCodeableConcept 1..1 CodeableConcept Value of extension Binding: https://healthterminologies.gov.au/fhir/ValueSet/organ-donation-consent-finding-1 (required) Documentation for this format
structure definition.url:
  value: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision
structure definition.version:
  value: 1.0.5
structure definition.name:
  value: ConsentDonationDecision
structure definition.title:
  value: Consent Donation Decision
structure definition.status:
  value: active
structure definition.experimental:
  value: false
structure definition.date:
  value: 2023-04-14T04:08:50+00:00
structure definition.publisher:
  value: Australian Digital Health Agency
structure definition.contact:
  index: 0
  contact detail.telecom:
    index: 0
    contact point.system:
      value: email
structure definition.description:
  value: This extension applies to the Consent resource and is used to represent an individual's decision about organ and tissue donation.
structure definition.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: urn:iso:std:iso:3166
    coding.code:
      value: AU
    coding.display:
      value: Australia
structure definition.copyright:
  value: Copyright © 2022 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.
structure definition.fhir version:
  value: 3.0.2
structure definition.mapping:
  index: 0
  structure definition.mapping.identity:
    value: rim
  structure definition.mapping.uri:
    value: http://hl7.org/v3
  structure definition.mapping.name:
    value: RIM Mapping
structure definition.kind:
  value: complex-type
structure definition.abstract:
  value: false
structure definition.context type:
  value: resource
structure definition.context:
  value: Consent
  index: 0
structure definition.type:
  value: Extension
structure definition.base definition:
  value: http://hl7.org/fhir/StructureDefinition/Extension
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  structure definition.snapshot.element:
    index: 0
    element.id:
      value: Extension
    element definition.path:
      value: Extension
    element definition.short:
      value: Individual's decision about donation
    element definition.definition:
      value: The individual's decision about donation.
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: Extension
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.condition:
      value: ele-1
      index: 0
    element definition.constraint:
      index: 0
      element definition.constraint.key:
        value: ele-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: All FHIR elements must have a @value or children
      element definition.constraint.expression:
        value: hasValue() | (children().count() > id.count())
      element definition.constraint.xpath:
        value: @value|f:*|h:div
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/Element
    element definition.constraint:
      index: 1
      element definition.constraint.key:
        value: ext-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: Must have either extensions or value[x], not both
      element definition.constraint.expression:
        value: extension.exists() != value.exists()
      element definition.constraint.xpath:
        value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/Extension
  structure definition.snapshot.element:
    index: 1
    element.id:
      value: Extension.id
    element definition.path:
      value: Extension.id
    element definition.representation:
      value: xmlAttr
      index: 0
    element definition.short:
      value: xml:id (or equivalent in JSON)
    element definition.definition:
      value: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    element definition.min:
      value: 0
    element definition.max:
      value: 1
    element definition.base:
      element definition.base.path:
        value: Element.id
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: 1
    element definition.type:
      index: 0
      element definition.type.code:
        value: string
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: n/a
  structure definition.snapshot.element:
    index: 2
    element.id:
      value: Extension.extension
    element definition.path:
      value: Extension.extension
    element definition.slicing:
      element definition.slicing.discriminator:
        index: 0
      element definition.slicing.description:
        value: Extensions are always sliced by (at least) url
      element definition.slicing.rules:
        value: open
    element definition.short:
      value: Additional Content defined by implementations
    element definition.definition:
      value: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
    element definition.comment:
      value: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
    element definition.alias:
      value: extensions
      index: 0
    element definition.alias:
      value: user content
      index: 1
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: Element.extension
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.type:
      index: 0
      element definition.type.code:
        value: Extension
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: n/a

value: value

value: url

index: 3
element.id:
  value: Extension.url
element definition.path:
  value: Extension.url
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: identifies the meaning of the extension
element definition.definition:
  value: Source of the definition for the extension code - a logical name or a URL.
element definition.comment:
  value: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.url
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.fixed uri:
  value: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 4
element.id:
  value: Extension.value[x]
element definition.path:
  value: Extension.value[x]
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: type
    element definition.slicing.discriminator.path:
      value: $this
  element definition.slicing.ordered:
    value: false
  element definition.slicing.rules:
    value: closed
element definition.short:
  value: Value of extension
element definition.definition:
  value: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.value[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 5
element.id:
  value: Extension.value[x]:valueCodeableConcept
element definition.path:
  value: Extension.value[x]
element definition.slice name:
  value: valueCodeableConcept
element definition.short:
  value: Value of extension
element definition.definition:
  value: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.value[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.value set reference:
    link: https://healthterminologies.gov.au/fhir/ValueSet/organ-donation-consent-finding-1
    reference.reference:
      value: https://healthterminologies.gov.au/fhir/ValueSet/organ-donation-consent-finding-1
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

structure definition.differential.element:
  index: 0
  element.id:
    value: Extension
  element definition.path:
    value: Extension
  element definition.short:
    value: Individual's decision about donation
  element definition.definition:
    value: The individual's decision about donation.
structure definition.differential.element:
  index: 1
  element.id:
    value: Extension.url
  element definition.path:
    value: Extension.url
  element definition.fixed uri:
    value: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision
structure definition.differential.element:
  index: 2
  element.id:
    value: Extension.valueCodeableConcept
  element definition.path:
    value: Extension.valueCodeableConcept
  element definition.min:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: CodeableConcept
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.value set uri:
      value: https://healthterminologies.gov.au/fhir/ValueSet/organ-donation-consent-finding-1