consent-aodr
type: StructureDefinition
node role: treeRoot
resource.id:
  value: consent-aodr
domain resource.text:
  narrative.status:
    value: generated
  narrative.div: Name Flags Card. Type Description & Constraints Consent I 0..* inv-dh-cons-01: If donation decision is 'permit', there SHALL be a specific organ (except.data.reference). inv-dh-cons-02: If donation decision is 'deny', there SHALL NOT be a specific organ (except.data.reference). inv-dh-cons-03: One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr'. meta 1..1 Meta profile 1..* uri extension 0..* Extension Slice: Unordered, Open by value:url extension-dateinitialregistration S 0..1 dateTime Date the individual first registered URL: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-dateinitialregistration extension-donationdecision S 1..1 CodeableConcept Individual's decision about donation URL: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision Binding: https://healthterminologies.gov.au/fhir/ValueSet/organ-donation-consent-finding-1 (required) identifier S 1..1 Identifier status S 1..1 code Fixed Value: active category S CodeableConcept Slice: Unordered, Open by value:coding.system, value:coding.code category S 1..1 CodeableConcept Fixed Value: {"coding":[{"system":"http://loinc.org","code":"64300-7"}]} (Organ donation consent) patient S 1..1 Reference(AU Base Patient) dateTime S 1..1 dateTime consentingParty 0..* Reference(RelatedPerson | AU Base Organisation | AU Base Patient | AU Base Practitioner) actor 0..* BackboneElement reference 1..1 Reference(AU Base Device | Group | CareTeam | RelatedPerson | AU Base Organisation | AU Base Patient | AU Base Practitioner) organization 0..1 Reference(AU Base Organisation) policy S 1..1 BackboneElement authority S 0..1 uri Fixed Value: http://australianorgandonorregister.gov.au uri S 1..1 uri Fixed Value: http://www.australianorgandonorregister.gov.au/aodr except S 0..* BackboneElement Individual's decision about donation of a specific organ or tissue. type S 1..1 code actor 0..* BackboneElement reference 1..1 R…
structure definition.url:
  value: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr
structure definition.version:
  value: 1.0.0
structure definition.name:
  value: ConsentAustralianOrganDonorRegister
structure definition.status:
  value: active
structure definition.experimental:
  value: false
structure definition.date:
  value: 2018-08-28T00:00:00+10: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.copyright:
  value: Copyright © 2018 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/. \n\n This resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. The rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material. No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. All copies of this resource must include this copyright statement and all information contained in this statement. \n\n This resource contains content from LOINC™ (http://loinc.org). The LOINC Table, LOINC Table Core, LOINC Panels and Forms File, LOINC Answer File, LOINC Part File, LOINC Group File, LOINC Document Ontology File, LOINC Hierarchies, LOINC Linguistic Variants File, LOINC/RSNA Radiology Playbook, and LOINC/IEEE Medical Device Code Mapping Table are copyright © 1995-2017, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license.
structure definition.fhir version:
  value: 3.0.1
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.mapping:
  index: 1
  structure definition.mapping.identity:
    value: w5
  structure definition.mapping.uri:
    value: http://hl7.org/fhir/w5
  structure definition.mapping.name:
    value: W5 Mapping
structure definition.mapping:
  index: 2
  structure definition.mapping.identity:
    value: v2
  structure definition.mapping.uri:
    value: http://hl7.org/v2
  structure definition.mapping.name:
    value: HL7 v2 Mapping
structure definition.kind:
  value: resource
structure definition.abstract:
  value: false
structure definition.type:
  value: Consent
structure definition.base definition:
  value: http://hl7.org/fhir/StructureDefinition/Consent
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  structure definition.snapshot.element:
    index: 0
    element.id:
      value: Consent
    element definition.path:
      value: Consent
    element definition.short:
      value: A healthcare consumer's policy choices to permits or denies recipients or roles to perform actions for specific purposes and periods of time
    element definition.definition:
      value: A record of a healthcare consumer’s policy choices, which permits or denies identified recipient(s) or recipient role(s) to perform one or more actions within a given policy context, for specific purposes and periods of time.
    element definition.comment:
      value: Broadly, there are 3 key areas of consent for patients: Consent around sharing information (aka Privacy Consent Directive - Authorization to Collect, Use, or Disclose information), consent for specific treatment, or kinds of treatment, and general advance care directives.
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: Consent
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.constraint:
      index: 0
      element definition.constraint.key:
        value: dom-2
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      element definition.constraint.expression:
        value: contained.contained.empty()
      element definition.constraint.xpath:
        value: not(parent::f:contained and f:contained)
      element definition.constraint.source:
        value: DomainResource
    element definition.constraint:
      index: 1
      element definition.constraint.key:
        value: dom-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL NOT contain any narrative
      element definition.constraint.expression:
        value: contained.text.empty()
      element definition.constraint.xpath:
        value: not(parent::f:contained and f:text)
      element definition.constraint.source:
        value: DomainResource
    element definition.constraint:
      index: 2
      element definition.constraint.key:
        value: dom-4
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      element definition.constraint.expression:
        value: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      element definition.constraint.xpath:
        value: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      element definition.constraint.source:
        value: DomainResource
    element definition.constraint:
      index: 3
      element definition.constraint.key:
        value: dom-3
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
      element definition.constraint.expression:
        value: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
      element definition.constraint.xpath:
        value: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))
      element definition.constraint.source:
        value: DomainResource
    element definition.constraint:
      index: 4
      element definition.constraint.key:
        value: ppc-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: Either a Policy or PolicyRule
      element definition.constraint.expression:
        value: policy.exists() or policyRule.exists()
      element definition.constraint.xpath:
        value: exists(f:policy) or exists(f:policyRule)
      element definition.constraint.source:
        value: Consent
    element definition.constraint:
      index: 5
      element definition.constraint.key:
        value: inv-dh-cons-01
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If donation decision is 'permit', there SHALL be a specific organ (except.data.reference).
      element definition.constraint.expression:
        value: donationDecision.valueCodeableConcept.coding.code='160654005' implies except.exists()
    element definition.constraint:
      index: 6
      element definition.constraint.key:
        value: inv-dh-cons-02
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: If donation decision is 'deny', there SHALL NOT be a specific organ (except.data.reference).
      element definition.constraint.expression:
        value: donationDecision.valueCodeableConcept.coding.code='161034004' implies except.empty()
    element definition.constraint:
      index: 7
      element definition.constraint.key:
        value: inv-dh-cons-03
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr'.
      element definition.constraint.expression:
        value: meta.profile.where($this='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr').exists()
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: Entity. Role, or Act
    element definition.mapping:
      index: 1
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: FinancialConsent

index: 2
element definition.mapping.identity:
  value: w5
element definition.mapping.map:
  value: infrastructure.information

index: 1
element.id:
  value: Consent.id
element definition.path:
  value: Consent.id
element definition.short:
  value: Logical id of this artifact
element definition.definition:
  value: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
element definition.comment:
  value: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: id
element definition.is summary:
  value: true

index: 2
element.id:
  value: Consent.meta
element definition.path:
  value: Consent.meta
element definition.short:
  value: Metadata about the resource
element definition.definition:
  value: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.meta
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Meta
element definition.is summary:
  value: true

index: 3
element.id:
  value: Consent.meta.id
element definition.path:
  value: Consent.meta.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

index: 4
element.id:
  value: Consent.meta.extension
element definition.path:
  value: Consent.meta.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  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

index: 5
element.id:
  value: Consent.meta.versionId
element definition.path:
  value: Consent.meta.versionId
element definition.short:
  value: Version specific identifier
element definition.definition:
  value: The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.
element definition.comment:
  value: The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Meta.versionId
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: id
element definition.is summary:
  value: true

index: 6
element.id:
  value: Consent.meta.lastUpdated
element definition.path:
  value: Consent.meta.lastUpdated
element definition.short:
  value: When the resource version last changed
element definition.definition:
  value: When the resource last changed - e.g. when the version changed.
element definition.comment:
  value: This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Meta.lastUpdated
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: instant
element definition.is summary:
  value: true

index: 7
element.id:
  value: Consent.meta.profile
element definition.path:
  value: Consent.meta.profile
element definition.short:
  value: Profiles this resource claims to conform to
element definition.definition:
  value: A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).
element definition.comment:
  value: It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.
element definition.min:
  value: 1
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Meta.profile
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.is summary:
  value: true

index: 8
element.id:
  value: Consent.meta.security
element definition.path:
  value: Consent.meta.security
element definition.short:
  value: Security Labels applied to this resource
element definition.definition:
  value: Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.
element definition.comment:
  value: The security labels can be updated without changing the stated version of the resource The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Meta.security
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Coding
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: SecurityLabels
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    extension.value boolean:
      value: true
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: Security Labels from the Healthcare Privacy and Security Classification System.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/security-labels
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/security-labels

index: 9
element.id:
  value: Consent.meta.tag
element definition.path:
  value: Consent.meta.tag
element definition.short:
  value: Tags applied to this resource
element definition.definition:
  value: Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.
element definition.comment:
  value: The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Meta.tag
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Coding
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: Tags
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/common-tags
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/common-tags

index: 10
element.id:
  value: Consent.implicitRules
element definition.path:
  value: Consent.implicitRules
element definition.short:
  value: A set of rules under which this content was created
element definition.definition:
  value: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
element definition.comment:
  value: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.implicitRules
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.is modifier:
  value: true
element definition.is summary:
  value: true

index: 11
element.id:
  value: Consent.language
element definition.path:
  value: Consent.language
element definition.short:
  value: Language of the resource content
element definition.definition:
  value: The base language in which the resource is written.
element definition.comment:
  value: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Resource.language
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
    extension.value reference:
      link: http://hl7.org/fhir/ValueSet/all-languages
      reference.reference:
        value: http://hl7.org/fhir/ValueSet/all-languages
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: Language
  element.extension:
    index: 2
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    extension.value boolean:
      value: true
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: A human language.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/languages
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/languages

index: 12
element.id:
  value: Consent.text
element definition.path:
  value: Consent.text
element definition.short:
  value: Text summary of the resource, for human interpretation
element definition.definition:
  value: A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
element definition.comment:
  value: Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.
element definition.alias:
  value: narrative
  index: 0
element definition.alias:
  value: html
  index: 1
element definition.alias:
  value: xhtml
  index: 2
element definition.alias:
  value: display
  index: 3
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.text
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Narrative
element definition.condition:
  value: dom-1
  index: 0
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Act.text?

index: 13
element.id:
  value: Consent.contained
element definition.path:
  value: Consent.contained
element definition.short:
  value: Contained, inline Resources
element definition.definition:
  value: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
element definition.comment:
  value: This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.
element definition.alias:
  value: inline resources
  index: 0
element definition.alias:
  value: anonymous resources
  index: 1
element definition.alias:
  value: contained resources
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.contained
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Resource
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 14
element.id:
  value: Consent.extension
element definition.path:
  value: Consent.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: DomainResource.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension

index: 15
element.id:
  value: Consent.extension:dateInitialRegistration
element definition.path:
  value: Consent.extension
element definition.slice name:
  value: dateInitialRegistration
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.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.type.profile:
    value: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-dateinitialregistration
element definition.must support:
  value: true

index: 16
element.id:
  value: Consent.extension:donationDecision
element definition.path:
  value: Consent.extension
element definition.slice name:
  value: donationDecision
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: DomainResource.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.type.profile:
    value: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision
element definition.must support:
  value: true

index: 17
element.id:
  value: Consent.modifierExtension
element definition.path:
  value: Consent.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.
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: DomainResource.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 18
element.id:
  value: Consent.identifier
element definition.path:
  value: Consent.identifier
element definition.short:
  value: Identifier for this record (external references)
element definition.definition:
  value: Unique identifier for this copy of the Consent Statement.
element definition.comment:
  value: This identifier is identifies this copy of the consent. Where this identifier is also used elsewhere as the identifier for a consent record (e.g. a CDA consent document) then the consent details are expected to be the same.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.identifier
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Identifier
element definition.example:
  index: 0
  element definition.example.label:
    value: General
  element definition.example.value identifier:
    identifier.system:
      value: urn:ietf:rfc:3986
    identifier.value:
      value: Local eCMS identifier
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .id
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: id

index: 19
element.id:
  value: Consent.status
element definition.path:
  value: Consent.status
element definition.short:
  value: draft | proposed | active | rejected | inactive | entered-in-error
element definition.definition:
  value: Indicates the current state of this consent.
element definition.comment:
  value: This element is labeled as a modifier because the status contains the codes rejected and entered-in-error that mark the Consent as not currently valid.
element definition.requirements:
  value: The Consent Directive that is pointed to might be in various lifecycle states, e.g., a revoked Consent Directive.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.status
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.fixed code:
  value: active
element definition.must support:
  value: true
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ConsentState
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: Indicates the state of the consent
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/consent-state-codes
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/consent-state-codes
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: v2
  element definition.mapping.map:
    value: HL7 Table 0498 - Consent Status
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: .statusCode
element definition.mapping:
  index: 2
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: status

index: 20
element.id:
  value: Consent.category
element definition.path:
  value: Consent.category
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: coding.system
  element definition.slicing.discriminator:
    index: 1
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: coding.code
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Classification of the consent statement - for indexing/retrieval
element definition.definition:
  value: A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements.
element definition.min:
  value: 1
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.category
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ConsentCategory
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: A classification of the type of consents found in a consent statement
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/consent-category
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/consent-category
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: CNTRCT
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: class

index: 21
element.id:
  value: Consent.category:organDonationConsent
element definition.path:
  value: Consent.category
element definition.slice name:
  value: organDonationConsent
element definition.short:
  value: Classification of the consent statement - for indexing/retrieval
element definition.definition:
  value: A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.category
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.fixed codeable concept:
  codeable concept.coding: http://loinc.org/rdf#64300-7
    index: 0
    coding.system:
      value: http://loinc.org
    coding.code:
      value: 64300-7
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ConsentCategory
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: A classification of the type of consents found in a consent statement
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/consent-category
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/consent-category
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: CNTRCT
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: class

index: 22
element.id:
  value: Consent.patient
element definition.path:
  value: Consent.patient
element definition.short:
  value: Who the consent applies to
element definition.definition:
  value: The patient/healthcare consumer to whom this consent applies.
element definition.comment:
  value: Commonly, the patient the consent pertains to is the author, but for young and old people, it may be some other person.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.patient
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-patient
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Role
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.focus

index: 23
element.id:
  value: Consent.period
element definition.path:
  value: Consent.period
element definition.short:
  value: Period that this consent applies
element definition.definition:
  value: Relevant time or time-period when this Consent is applicable.
element definition.comment:
  value: This can be a subset of the period of the original statement.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.period
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Period
element definition.meaning when missing:
  value: all date ranges included
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: FinancialConsent activityTime
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: when.done

index: 24
element.id:
  value: Consent.dateTime
element definition.path:
  value: Consent.dateTime
element definition.short:
  value: When this Consent was created or indexed
element definition.definition:
  value: When this Consent was issued / created / indexed.
element definition.comment:
  value: This is not the time of the original consent, but the time that this statement was made or derived.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.dateTime
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: dateTime
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: FinancialConsent effectiveTime
element definition.mapping:
  index: 1
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: when.recorded

index: 25
element.id:
  value: Consent.consentingParty
element definition.path:
  value: Consent.consentingParty
element definition.short:
  value: Who is agreeing to the policy and exceptions
element definition.definition:
  value: Either the Grantor, which is the entity responsible for granting the rights listed in a Consent Directive or the Grantee, which is the entity responsible for complying with the Consent Directive, including any obligations or limitations on authorizations and enforcement of prohibitions.
element definition.comment:
  value: Commonly, the patient the consent pertains to is the consentor, but particularly for young and old people, it may be some other person - e.g. a legal guardian.
element definition.alias:
  value: consentor
  index: 0
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.consentingParty
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/RelatedPerson
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-organisation
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-patient
element definition.type:
  index: 3
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-practitioner
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.actor

index: 26
element.id:
  value: Consent.actor
element definition.path:
  value: Consent.actor
element definition.short:
  value: Who|what controlled by this consent (or group, by role)
element definition.definition:
  value: Who or what is controlled by this consent. Use group to identify a set of actors by some property they share (e.g. 'admitting officers').
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.actor
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.meaning when missing:
  value: There is no specific actor associated with the consent
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: Element
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.actor

index: 27
element.id:
  value: Consent.actor.id
element definition.path:
  value: Consent.actor.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

index: 28
element.id:
  value: Consent.actor.extension
element definition.path:
  value: Consent.actor.extension
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

index: 29
element.id:
  value: Consent.actor.modifierExtension
element definition.path:
  value: Consent.actor.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.
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.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 30
element.id:
  value: Consent.actor.role
element definition.path:
  value: Consent.actor.role
element definition.short:
  value: How the actor is involved
element definition.definition:
  value: How the individual is involved in the resources content that is described in the consent.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.actor.role
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ConsentActorRole
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: How an actor is involved in the consent considerations
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/security-role-type
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/security-role-type

index: 31
element.id:
  value: Consent.actor.reference
element definition.path:
  value: Consent.actor.reference
element definition.short:
  value: Resource for the actor (or group, by role)
element definition.definition:
  value: The resource that identifies the actor. To identify a actors by type, use group to identify a set of actors by some property they share (e.g. 'admitting officers').
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.actor.reference
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-device
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Group
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/CareTeam
element definition.type:
  index: 3
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/RelatedPerson
element definition.type:
  index: 4
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-organisation
element definition.type:
  index: 5
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-patient
element definition.type:
  index: 6
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-practitioner

index: 32
element.id:
  value: Consent.action
element definition.path:
  value: Consent.action
element definition.short:
  value: Actions controlled by this consent
element definition.definition:
  value: Actions controlled by this consent.
element definition.comment:
  value: Note that this is the direct action (not the grounds for the action covered in the purpose element). At present, the only action in the understood and tested scope of this resource is 'read'.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.action
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.meaning when missing:
  value: all actions
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ConsentAction
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Detailed codes for the consent action.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/consent-action
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/consent-action

index: 33
element.id:
  value: Consent.organization
element definition.path:
  value: Consent.organization
element definition.short:
  value: Custodian of the consent
element definition.definition:
  value: The organization that manages the consent, and the framework within which it is executed.
element definition.alias:
  value: custodian
  index: 0
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.organization
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-organisation
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: w5
  element definition.mapping.map:
    value: who.witness

index: 34
element.id:
  value: Consent.source[x]
element definition.path:
  value: Consent.source[x]
element definition.short:
  value: Source from which this consent is taken
element definition.definition:
  value: The source on which this consent statement is based. The source might be a scanned original paper form, or a reference to a consent that links back to such a source, a reference to a document repository (e.g. XDS) that stores the original consent document.
element definition.comment:
  value: The source can be contained inline (Attachment), referenced directly (Consent), referenced in a consent repository (DocumentReference), or simply by an identifier (Identifier), e.g. a CDA document id.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.source[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Attachment
element definition.type:
  index: 1
  element definition.type.code:
    value: Identifier
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Consent
element definition.type:
  index: 3
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/DocumentReference
element definition.type:
  index: 4
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Contract
element definition.type:
  index: 5
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
element definition.is summary:
  value: true

index: 35
element.id:
  value: Consent.policy
element definition.path:
  value: Consent.policy
element definition.short:
  value: Policies covered by this consent
element definition.definition:
  value: The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.policy
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
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: Element
element definition.must support:
  value: true

index: 36
element.id:
  value: Consent.policy.id
element definition.path:
  value: Consent.policy.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

index: 37
element.id:
  value: Consent.policy.extension
element definition.path:
  value: Consent.policy.extension
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

index: 38
element.id:
  value: Consent.policy.modifierExtension
element definition.path:
  value: Consent.policy.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.
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.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 39
element.id:
  value: Consent.policy.authority
element definition.path:
  value: Consent.policy.authority
element definition.short:
  value: Enforcement source for policy
element definition.definition:
  value: Entity or Organization having regulatory jurisdiction or accountability for enforcing policies pertaining to Consent Directives.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.policy.authority
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.fixed uri:
  value: http://australianorgandonorregister.gov.au
element definition.condition:
  value: ppc-1
  index: 0
element definition.must support:
  value: true

index: 40
element.id:
  value: Consent.policy.uri
element definition.path:
  value: Consent.policy.uri
element definition.short:
  value: Specific policy covered by this consent
element definition.definition:
  value: The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.
element definition.comment:
  value: This element is for discoverability / documentation, and does not modify or qualify the policy rules.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.policy.uri
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.fixed uri:
  value: http://www.australianorgandonorregister.gov.au/aodr
element definition.condition:
  value: ppc-1
  index: 0
element definition.must support:
  value: true

index: 41
element.id:
  value: Consent.policyRule
element definition.path:
  value: Consent.policyRule
element definition.short:
  value: Policy that this consents to
element definition.definition:
  value: A referece to the specific computable policy.
element definition.comment:
  value: If the policy reference is not known, the resource cannot be processed. Where the reference is absent, there is no particular policy other than what is expressed directly in the consent resource.
element definition.requirements:
  value: Might be a unique identifier of a policy set in XACML, or other rules engine.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.policyRule
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: uri
element definition.condition:
  value: ppc-1
  index: 0
element definition.is summary:
  value: true

index: 42
element.id:
  value: Consent.securityLabel
element definition.path:
  value: Consent.securityLabel
element definition.short:
  value: Security Labels that define affected resources
element definition.definition:
  value: A set of security labels that define which resources are controlled by this consent. If more than one label is specified, all resources must have all the specified labels.
element definition.comment:
  value: If the consent specifies a security label of "R" then it applies to all resources that are labeled "R" or lower. E.g. for Confidentiality, it's a high water mark. For other kinds of security labels, subsumption logic applies. Not all of the security labels make sense for use in this element (may define a narrower value set?).
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.securityLabel
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Coding
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: SecurityLabels
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    extension.value boolean:
      value: true
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: Security Labels from the Healthcare Privacy and Security Classification System.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/security-labels
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/security-labels

index: 43
element.id:
  value: Consent.purpose
element definition.path:
  value: Consent.purpose
element definition.short:
  value: Context of activities for which the agreement is made
element definition.definition:
  value: The context of the activities a user is taking - why the user is accessing the data - that are controlled by this consent.
element definition.comment:
  value: This element is for discoverability / documentation, and does not modify or qualify the policy (e.g. the policy itself describes the purposes for which it applies).
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.purpose
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Coding
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: PurposeOfUse
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/v3-PurposeOfUse
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/v3-PurposeOfUse

index: 44
element.id:
  value: Consent.dataPeriod
element definition.path:
  value: Consent.dataPeriod
element definition.short:
  value: Timeframe for data controlled by this consent
element definition.definition:
  value: Clinical or Operational Relevant period of time that bounds the data controlled by this consent.
element definition.comment:
  value: This has a different sense to the Consent.period - that is when the consent agreement holds. This is the time period of the data that is controlled by the agreement.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.dataPeriod
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Period
element definition.is summary:
  value: true

index: 45
element.id:
  value: Consent.data
element definition.path:
  value: Consent.data
element definition.short:
  value: Data controlled by this consent
element definition.definition:
  value: The resources controlled by this consent, if specific resources are referenced.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.data
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.meaning when missing:
  value: all data
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: Element
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Role

index: 46
element.id:
  value: Consent.data.id
element definition.path:
  value: Consent.data.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

index: 47
element.id:
  value: Consent.data.extension
element definition.path:
  value: Consent.data.extension
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

index: 48
element.id:
  value: Consent.data.modifierExtension
element definition.path:
  value: Consent.data.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.
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.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 49
element.id:
  value: Consent.data.meaning
element definition.path:
  value: Consent.data.meaning
element definition.short:
  value: instance | related | dependents | authoredby
element definition.definition:
  value: How the resource reference is interpreted when testing consent restrictions.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.data.meaning
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ConsentDataMeaning
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: How a resource reference is interpreted when testing consent restrictions
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/consent-data-meaning
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/consent-data-meaning

index: 50
element.id:
  value: Consent.data.reference
element definition.path:
  value: Consent.data.reference
element definition.short:
  value: The actual data reference
element definition.definition:
  value: A reference to a specific resource that defines which resources are covered by this consent.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.data.reference
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Resource
element definition.is summary:
  value: true

index: 51
element.id:
  value: Consent.except
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
  extension.value string:
    value: Except
element definition.path:
  value: Consent.except
element definition.short:
  value: Individual's decision about donation of a specific organ or tissue.
element definition.definition:
  value: Individual's decision about donation of a specific organ or tissue.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.except
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
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: Element
element definition.must support:
  value: true
element definition.is summary:
  value: true

index: 52
element.id:
  value: Consent.except.id
element definition.path:
  value: Consent.except.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

index: 53
element.id:
  value: Consent.except.extension
element definition.path:
  value: Consent.except.extension
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

index: 54
element.id:
  value: Consent.except.modifierExtension
element definition.path:
  value: Consent.except.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.
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.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 55
element.id:
  value: Consent.except.type
element definition.path:
  value: Consent.except.type
element definition.short:
  value: deny | permit
element definition.definition:
  value: Action to take - permit or deny - when the exception conditions are met.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.except.type
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ConsentExceptType
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: How an exception statement is applied, such as adding additional consent or removing consent
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/consent-except-type
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/consent-except-type

index: 56
element.id:
  value: Consent.except.period
element definition.path:
  value: Consent.except.period
element definition.short:
  value: Timeframe for this exception
element definition.definition:
  value: The timeframe in this exception is valid.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.except.period
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Period
element definition.is summary:
  value: true

index: 57
element.id:
  value: Consent.except.actor
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
  extension.value string:
    value: ExceptActor
element definition.path:
  value: Consent.except.actor
element definition.short:
  value: Who|what controlled by this exception (or group, by role)
element definition.definition:
  value: Who or what is controlled by this Exception. Use group to identify a set of actors by some property they share (e.g. 'admitting officers').
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.except.actor
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.meaning when missing:
  value: There is no specific actor associated with the exception
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: Element
element definition.is summary:
  value: true

index: 58
element.id:
  value: Consent.except.actor.id
element definition.path:
  value: Consent.except.actor.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

index: 59
element.id:
  value: Consent.except.actor.extension
element definition.path:
  value: Consent.except.actor.extension
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

index: 60
element.id:
  value: Consent.except.actor.modifierExtension
element definition.path:
  value: Consent.except.actor.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.
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.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 61
element.id:
  value: Consent.except.actor.role
element definition.path:
  value: Consent.except.actor.role
element definition.short:
  value: How the actor is involved
element definition.definition:
  value: How the individual is involved in the resources content that is described in the exception.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.except.actor.role
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ConsentActorRole
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: How an actor is involved in the consent considerations
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/security-role-type
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/security-role-type

index: 62
element.id:
  value: Consent.except.actor.reference
element definition.path:
  value: Consent.except.actor.reference
element definition.short:
  value: Resource for the actor (or group, by role)
element definition.definition:
  value: The resource that identifies the actor. To identify a actors by type, use group to identify a set of actors by some property they share (e.g. 'admitting officers').
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.except.actor.reference
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-device
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Group
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/CareTeam
element definition.type:
  index: 3
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/RelatedPerson
element definition.type:
  index: 4
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-organisation
element definition.type:
  index: 5
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-patient
element definition.type:
  index: 6
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-practitioner

index: 63
element.id:
  value: Consent.except.action
element definition.path:
  value: Consent.except.action
element definition.short:
  value: Actions controlled by this exception
element definition.definition:
  value: Actions controlled by this Exception.
element definition.comment:
  value: Note that this is the direct action (not the grounds for the action covered in the purpose element). At present, the only action in the understood and tested scope of this resource is 'read'.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.except.action
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.meaning when missing:
  value: all actions
element definition.fixed codeable concept:
  codeable concept.coding: http://snomed.info/id/53958007
    index: 0
    coding.system:
      value: http://snomed.info/sct
    coding.code:
      value: 53958007
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ConsentAction
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: Detailed codes for the consent action.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/consent-action
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/consent-action

index: 64
element.id:
  value: Consent.except.securityLabel
element definition.path:
  value: Consent.except.securityLabel
element definition.short:
  value: Security Labels that define affected resources
element definition.definition:
  value: A set of security labels that define which resources are controlled by this exception. If more than one label is specified, all resources must have all the specified labels.
element definition.comment:
  value: If the consent specifies a security label of "R" then it applies to all resources that are labeled "R" or lower. E.g. for Confidentiality, it's a high water mark. For other kinds of security labels, subsumption logic applies. Not all of the security labels make sense for use in this element (may define a narrower value set?).
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.except.securityLabel
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Coding
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: SecurityLabels
  element.extension:
    index: 1
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    extension.value boolean:
      value: true
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: Security Labels from the Healthcare Privacy and Security Classification System.
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/security-labels
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/security-labels

index: 65
element.id:
  value: Consent.except.purpose
element definition.path:
  value: Consent.except.purpose
element definition.short:
  value: Context of activities covered by this exception
element definition.definition:
  value: The context of the activities a user is taking - why the user is accessing the data - that are controlled by this exception.
element definition.comment:
  value: E.g. if the purpose is 'research', then the operational context must be research, in order for the consent to apply. Not all of the security labels make sense for use in this element (may define a narrower value set?).
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.except.purpose
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Coding
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: PurposeOfUse
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/v3-PurposeOfUse
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/v3-PurposeOfUse

index: 66
element.id:
  value: Consent.except.class
element definition.path:
  value: Consent.except.class
element definition.short:
  value: e.g. Resource Type, Profile, or CDA etc
element definition.definition:
  value: The class of information covered by this exception. The type can be a FHIR resource type, a profile on a type, or a CDA document, or some other type that indicates what sort of information the consent relates to.
element definition.comment:
  value: Multiple types are or'ed together. The intention of the contentType element is that the codes refer to profiles or document types defined in a standard or an implementation guide somewhere.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.except.class
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Coding
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ConsentContentClass
  element definition.binding.strength:
    value: extensible
  element definition.binding.description:
    value: The class (type) of information a consent rule covers
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/consent-content-class
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/consent-content-class

index: 67
element.id:
  value: Consent.except.code
element definition.path:
  value: Consent.except.code
element definition.short:
  value: e.g. LOINC or SNOMED CT code, etc in the content
element definition.definition:
  value: If this code is found in an instance, then the exception applies.
element definition.comment:
  value: Typical use of this is a Document code with class = CDA.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Consent.except.code
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Coding
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ConsentContentCode
  element definition.binding.strength:
    value: example
  element definition.binding.description:
    value: If this code is found in an instance, then the exception applies
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/consent-content-code
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/consent-content-code

index: 68
element.id:
  value: Consent.except.dataPeriod
element definition.path:
  value: Consent.except.dataPeriod
element definition.short:
  value: Timeframe for data controlled by this exception
element definition.definition:
  value: Clinical or Operational Relevant period of time that bounds the data controlled by this exception.
element definition.comment:
  value: This has a different sense to the Consent.period - that is when the consent agreement holds. This is the time period of the data that is controlled by the agreement.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.except.dataPeriod
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Period
element definition.is summary:
  value: true

index: 69
element.id:
  value: Consent.except.data
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
  extension.value string:
    value: ExceptData
element definition.path:
  value: Consent.except.data
element definition.short:
  value: The body site controlled by this exception.
element definition.definition:
  value: The body site controlled by this exception.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.except.data
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: BackboneElement
element definition.meaning when missing:
  value: all data
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: Element
element definition.must support:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: Role

index: 70
element.id:
  value: Consent.except.data.id
element definition.path:
  value: Consent.except.data.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

index: 71
element.id:
  value: Consent.except.data.extension
element definition.path:
  value: Consent.except.data.extension
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

index: 72
element.id:
  value: Consent.except.data.modifierExtension
element definition.path:
  value: Consent.except.data.modifierExtension
element definition.short:
  value: Extensions that cannot be ignored
element definition.definition:
  value: May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.
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.alias:
  value: modifiers
  index: 2
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: BackboneElement.modifierExtension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.is modifier:
  value: true
element definition.is summary:
  value: true
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 73
element.id:
  value: Consent.except.data.meaning
element definition.path:
  value: Consent.except.data.meaning
element definition.short:
  value: instance | related | dependents | authoredby
element definition.definition:
  value: How the resource reference is interpreted when testing consent restrictions.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.except.data.meaning
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.fixed code:
  value: instance
element definition.is summary:
  value: true
element definition.binding:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    extension.value string:
      value: ConsentDataMeaning
  element definition.binding.strength:
    value: required
  element definition.binding.description:
    value: How a resource reference is interpreted when testing consent restrictions
  element definition.binding.value set reference:
    link: http://hl7.org/fhir/ValueSet/consent-data-meaning
    reference.reference:
      value: http://hl7.org/fhir/ValueSet/consent-data-meaning

index: 74
element.id:
  value: Consent.except.data.reference
element definition.path:
  value: Consent.except.data.reference
element definition.short:
  value: The actual data reference
element definition.definition:
  value: A reference to a specific resource that defines which resources are covered by this consent.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Consent.except.data.reference
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/bodysite-aodr
element definition.must support:
  value: true
element definition.is summary:
  value: true

structure definition.differential.element:
  index: 0
  element.id:
    value: Consent
  element definition.path:
    value: Consent
  element definition.constraint:
    index: 0
    element definition.constraint.key:
      value: inv-dh-cons-01
    element definition.constraint.severity:
      value: error
    element definition.constraint.human:
      value: If donation decision is 'permit', there SHALL be a specific organ (except.data.reference).
    element definition.constraint.expression:
      value: donationDecision.valueCodeableConcept.coding.code='160654005' implies except.exists()
  element definition.constraint:
    index: 1
    element definition.constraint.key:
      value: inv-dh-cons-02
    element definition.constraint.severity:
      value: error
    element definition.constraint.human:
      value: If donation decision is 'deny', there SHALL NOT be a specific organ (except.data.reference).
    element definition.constraint.expression:
      value: donationDecision.valueCodeableConcept.coding.code='161034004' implies except.empty()
  element definition.constraint:
    index: 2
    element definition.constraint.key:
      value: inv-dh-cons-03
    element definition.constraint.severity:
      value: error
    element definition.constraint.human:
      value: One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr'.
    element definition.constraint.expression:
      value: meta.profile.where($this='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr').exists()
structure definition.differential.element:
  index: 1
  element.id:
    value: Consent.meta
  element definition.path:
    value: Consent.meta
  element definition.min:
    value: 1
structure definition.differential.element:
  index: 2
  element.id:
    value: Consent.meta.profile
  element definition.path:
    value: Consent.meta.profile
  element definition.definition:
    value: A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url).
  element definition.min:
    value: 1
structure definition.differential.element:
  index: 3
  element.id:
    value: Consent.extension
  element definition.path:
    value: Consent.extension
  element definition.slicing:
    element definition.slicing.discriminator:
      index: 0
      element definition.slicing.discriminator.type:
        value: value
      element definition.slicing.discriminator.path:
        value: url
    element definition.slicing.rules:
      value: open
structure definition.differential.element:
  index: 4
  element.id:
    value: Consent.extension:dateInitialRegistration
  element definition.path:
    value: Consent.extension
  element definition.slice name:
    value: dateInitialRegistration
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Extension
    element definition.type.profile:
      value: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-dateinitialregistration
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 5
  element.id:
    value: Consent.extension:donationDecision
  element definition.path:
    value: Consent.extension
  element definition.slice name:
    value: donationDecision
  element definition.min:
    value: 1
  element definition.max:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: Extension
    element definition.type.profile:
      value: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 6
  element.id:
    value: Consent.identifier
  element definition.path:
    value: Consent.identifier
  element definition.min:
    value: 1
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 7
  element.id:
    value: Consent.status
  element definition.path:
    value: Consent.status
  element definition.fixed code:
    value: active
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 8
  element.id:
    value: Consent.category
  element definition.path:
    value: Consent.category
  element definition.slicing:
    element definition.slicing.discriminator:
      index: 0
      element definition.slicing.discriminator.type:
        value: value
      element definition.slicing.discriminator.path:
        value: coding.system
    element definition.slicing.discriminator:
      index: 1
      element definition.slicing.discriminator.type:
        value: value
      element definition.slicing.discriminator.path:
        value: coding.code
    element definition.slicing.rules:
      value: open
  element definition.min:
    value: 1
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 9
  element.id:
    value: Consent.category:organDonationConsent
  element definition.path:
    value: Consent.category
  element definition.slice name:
    value: organDonationConsent
  element definition.min:
    value: 1
  element definition.max:
    value: 1
  element definition.fixed codeable concept:
    codeable concept.coding: http://loinc.org/rdf#64300-7
      index: 0
      coding.system:
        value: http://loinc.org
      coding.code:
        value: 64300-7
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 10
  element.id:
    value: Consent.patient
  element definition.path:
    value: Consent.patient
  element definition.type:
    index: 0
    element definition.type.code:
      value: Reference
    element definition.type.target profile:
      value: http://hl7.org.au/fhir/StructureDefinition/au-patient
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 11
  element.id:
    value: Consent.dateTime
  element definition.path:
    value: Consent.dateTime
  element definition.min:
    value: 1
  element definition.must support:
    value: true
structure definition.differential.element:
  index: 12
  element.id:
    value: Consent.consentingParty

value: Consent.consentingParty

index: 0
element definition.type.code:
  value: Reference
element definition.type.target profile:
  value: http://hl7.org/fhir/StructureDefinition/RelatedPerson

index: 1
element definition.type.code:
  value: Reference
element definition.type.target profile:
  value: http://hl7.org.au/fhir/StructureDefinition/au-organisation

index: 2
element definition.type.code:
  value: Reference
element definition.type.target profile:
  value: http://hl7.org.au/fhir/StructureDefinition/au-patient

index: 3
element definition.type.code:
  value: Reference
element definition.type.target profile:
  value: http://hl7.org.au/fhir/StructureDefinition/au-practitioner

index: 13
element.id:
  value: Consent.actor
element definition.path:
  value: Consent.actor
element definition.meaning when missing:
  value: There is no specific actor associated with the consent.

index: 14
element.id:
  value: Consent.actor.reference
element definition.path:
  value: Consent.actor.reference
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-device
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Group
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/CareTeam
element definition.type:
  index: 3
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/RelatedPerson
element definition.type:
  index: 4
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-organisation
element definition.type:
  index: 5
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-patient
element definition.type:
  index: 6
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-practitioner

index: 15
element.id:
  value: Consent.organization
element definition.path:
  value: Consent.organization
element definition.max:
  value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-organisation

index: 16
element.id:
  value: Consent.policy
element definition.path:
  value: Consent.policy
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.must support:
  value: true

index: 17
element.id:
  value: Consent.policy.authority
element definition.path:
  value: Consent.policy.authority
element definition.fixed uri:
  value: http://australianorgandonorregister.gov.au
element definition.must support:
  value: true

index: 18
element.id:
  value: Consent.policy.uri
element definition.path:
  value: Consent.policy.uri
element definition.min:
  value: 1
element definition.fixed uri:
  value: http://www.australianorgandonorregister.gov.au/aodr
element definition.must support:
  value: true

index: 19
element.id:
  value: Consent.except
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
  extension.value string:
    value: Except
element definition.path:
  value: Consent.except
element definition.short:
  value: Individual's decision about donation of a specific organ or tissue.
element definition.definition:
  value: Individual's decision about donation of a specific organ or tissue.
element definition.must support:
  value: true

index: 20
element.id:
  value: Consent.except.type
element definition.path:
  value: Consent.except.type
element definition.must support:
  value: true

index: 21
element.id:
  value: Consent.except.actor
element definition.path:
  value: Consent.except.actor

index: 22
element.id:
  value: Consent.except.actor.reference
element definition.path:
  value: Consent.except.actor.reference
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-device
element definition.type:
  index: 1
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/Group
element definition.type:
  index: 2
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/CareTeam
element definition.type:
  index: 3
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org/fhir/StructureDefinition/RelatedPerson
element definition.type:
  index: 4
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-organisation
element definition.type:
  index: 5
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-patient
element definition.type:
  index: 6
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://hl7.org.au/fhir/StructureDefinition/au-practitioner

index: 23
element.id:
  value: Consent.except.action
element definition.path:
  value: Consent.except.action
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.fixed codeable concept:
  codeable concept.coding: http://snomed.info/id/53958007
    index: 0
    coding.system:
      value: http://snomed.info/sct
    coding.code:
      value: 53958007
element definition.must support:
  value: true

index: 24
element.id:
  value: Consent.except.data
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
  extension.value string:
    value: ExceptData
element definition.path:
  value: Consent.except.data
element definition.short:
  value: The body site controlled by this exception.
element definition.definition:
  value: The body site controlled by this exception.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.must support:
  value: true

index: 25
element.id:
  value: Consent.except.data.meaning
element definition.path:
  value: Consent.except.data.meaning
element definition.fixed code:
  value: instance

index: 26
element.id:
  value: Consent.except.data.reference
element definition.path:
  value: Consent.except.data.reference
element definition.type:
  index: 0
  element definition.type.code:
    value: Reference
  element definition.type.target profile:
    value: http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/bodysite-aodr
element definition.must support:
  value: true