| Australian Digital Health Agency Medicare Records FHIR Implementation Guide 2.1.0

Australian Digital Health Agency Medicare Records FHIR Implementation Guide. The current version which supersedes this version is 2.2.0. It is based on FHIR® version 3.0.2. See the Directory of published versions for a list of available versions.

# StructureDefinition-consent-aodr.xml

Formats: Narrative, XML, JSON, Turtle

Raw xml

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="consent-aodr"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent">Consent</a><a name="Consent"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/STU3conformance-rules.html#constraints" title="This element has or is affected by constraints (inv-dh-cons-01, inv-dh-cons-02, inv-dh-cons-03)">C</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/consent.html">Consent</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">A healthcare consumer's policy choices to permits or denies recipients or roles to perform actions for specific purposes and periods of time</span><br/><span style="font-weight:bold">inv-dh-cons-01: </span>If donation decision is 'permit', there SHALL be a specific organ (except.data.reference).<br/><span style="font-weight:bold">inv-dh-cons-02: </span>If donation decision is 'deny', there SHALL NOT be a specific organ (except.data.reference).<br/><span style="font-weight:bold">inv-dh-cons-03: </span>One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr'.</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.meta">meta</a><a name="Consent.meta"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#Meta">Meta</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Metadata about the resource</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.meta.profile" title="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).">profile</a><a name="Consent.meta.profile"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Profiles this resource claims to conform to</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_extension_simple.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Simple Extension" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.extension">Slices for extension</a><a name="Consent.extension"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/extensibility.html#Extension">Extension</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Extension</span><br/><span style="font-weight:bold">Slice: </span>Unordered, Open by value:url</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.extension:dateInitialRegistration" title="Extension URL = http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-dateinitialregistration">dateInitialRegistration</a><a name="Consent.extension"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span>..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Date the individual first registered</span><br/><span style="font-weight:bold">URL: </span><a href="http://hl7.org/fhir/STU3/StructureDefinition-extension-dateinitialregistration.html">http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-dateinitialregistration</a></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.extension:donationDecision" title="Extension URL = http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision">donationDecision</a><a name="Consent.extension"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Individual's decision about donation</span><br/><span style="font-weight:bold">URL: </span><a href="http://hl7.org/fhir/STU3/StructureDefinition-extension-donationdecision.html">http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision</a><br/><span style="font-weight:bold">Binding: </span><a href="https://healthterminologies.gov.au/fhir/ValueSet/organ-donation-consent-finding-1">https://healthterminologies.gov.au/fhir/ValueSet/organ-donation-consent-finding-1</a> (<a href="http://hl7.org/fhir/STU3/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.identifier">identifier</a><a name="Consent.identifier"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Identifier for this record (external references)</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.status">status</a><a name="Consent.status"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">draft | proposed | active | rejected | inactive | entered-in-error</span><br/><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">active</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: white; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-consent-aodr-definitions.html#Consent.category">Slices for category</a><a name="Consent.category"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red; font-style: italic" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic"/><span style="font-style: italic">1</span><span style="font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic" href="http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5; font-style: italic">Classification of the consent statement - for indexing/retrieval</span><br style="font-style: italic"/><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by pattern:$this</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.category:organDonationConsent" title="Slice organDonationConsent">category:organDonationConsent</a><a name="Consent.category"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Classification of the consent statement - for indexing/retrieval</span><br/><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">At least the following</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1241.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_fixed.gif" alt="." style="background-color: white; background-color: inherit" title="Fixed Value" class="hierarchy"/> <a href="http://hl7.org/fhir/STU3/datatypes-definitions.html#CodeableConcept.coding">coding</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/datatypes.html#Coding">Coding</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Code defined by a terminology system<br/><span style="font-weight: bold">Fixed Value: </span><span style="color: darkgreen">(complex)</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12410.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_fixed.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Fixed Value" class="hierarchy"/> <a href="http://hl7.org/fhir/STU3/datatypes-definitions.html#Coding.system">system</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Identity of the terminology system<br/><span style="font-weight: bold">Fixed Value: </span><span style="color: darkgreen">http://loinc.org</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12400.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_fixed.gif" alt="." style="background-color: white; background-color: inherit" title="Fixed Value" class="hierarchy"/> <a href="http://hl7.org/fhir/STU3/datatypes-definitions.html#Coding.code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Symbol in syntax defined by the system<br/><span style="font-weight: bold">Fixed Value: </span><span style="color: darkgreen">64300-7</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.patient">patient</a><a name="Consent.patient"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-patient.html">AU Base Patient</a>)</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Who the consent applies to</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.dateTime">dateTime</a><a name="Consent.dateTime"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">When this Consent was created or indexed</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.consentingParty">consentingParty</a><a name="Consent.consentingParty"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="http://hl7.org/fhir/STU3/relatedperson.html">RelatedPerson</a> | <a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-organisation.html">AU Base Organisation</a> | <a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-patient.html">AU Base Patient</a> | <a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-practitioner.html">AU Base Practitioner</a>)</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Who is agreeing to the policy and exceptions</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.actor">actor</a><a name="Consent.actor"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Who|what controlled by this consent (or group, by role)</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.actor.reference">reference</a><a name="Consent.actor.reference"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-device.html">AU Base Device</a> | <a href="http://hl7.org/fhir/STU3/group.html">Group</a> | <a href="http://hl7.org/fhir/STU3/careteam.html">CareTeam</a> | <a href="http://hl7.org/fhir/STU3/relatedperson.html">RelatedPerson</a> | <a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-organisation.html">AU Base Organisation</a> | <a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-patient.html">AU Base Patient</a> | <a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-practitioner.html">AU Base Practitioner</a>)</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Resource for the actor (or group, by role)</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.organization">organization</a><a name="Consent.organization"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span>..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-organisation.html">AU Base Organisation</a>)</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Custodian of the consent</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.policy">policy</a><a name="Consent.policy"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Policies covered by this consent</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.policy.authority">authority</a><a name="Consent.policy.authority"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Enforcement source for policy</span><br/><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">http://australianorgandonorregister.gov.au</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.policy.uri">uri</a><a name="Consent.policy.uri"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Specific policy covered by this consent</span><br/><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">http://www.australianorgandonorregister.gov.au/aodr</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.except" title="Individual's decision about donation of a specific organ or tissue.">except</a><a name="Consent.except"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Individual's decision about donation of a specific organ or tissue.</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.except.type">type</a><a name="Consent.except.type"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">deny | permit</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck011.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.except.actor">actor</a><a name="Consent.except.actor"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Who|what controlled by this exception (or group, by role)</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.except.actor.reference">reference</a><a name="Consent.except.actor.reference"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-device.html">AU Base Device</a> | <a href="http://hl7.org/fhir/STU3/group.html">Group</a> | <a href="http://hl7.org/fhir/STU3/careteam.html">CareTeam</a> | <a href="http://hl7.org/fhir/STU3/relatedperson.html">RelatedPerson</a> | <a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-organisation.html">AU Base Organisation</a> | <a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-patient.html">AU Base Patient</a> | <a href="http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-practitioner.html">AU Base Practitioner</a>)</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Resource for the actor (or group, by role)</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck011.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.except.action">action</a><a name="Consent.except.action"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Actions controlled by this exception</span><br/><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">At least the following</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0101.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_fixed.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Fixed Value" class="hierarchy"/> <a href="http://hl7.org/fhir/STU3/datatypes-definitions.html#CodeableConcept.coding">coding</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/datatypes.html#Coding">Coding</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Code defined by a terminology system<br/><span style="font-weight: bold">Fixed Value: </span><span style="color: darkgreen">(complex)</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_fixed.gif" alt="." style="background-color: white; background-color: inherit" title="Fixed Value" class="hierarchy"/> <a href="http://hl7.org/fhir/STU3/datatypes-definitions.html#Coding.system">system</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Identity of the terminology system<br/><span style="font-weight: bold">Fixed Value: </span><span style="color: darkgreen">http://snomed.info/sct</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_fixed.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Fixed Value" class="hierarchy"/> <a href="http://hl7.org/fhir/STU3/datatypes-definitions.html#Coding.code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Symbol in syntax defined by the system<br/><span style="font-weight: bold">Fixed Value: </span><span style="color: darkgreen">53958007</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck001.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.except.data" title="The body site controlled by this exception.">data</a><a name="Consent.except.data"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The body site controlled by this exception.</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.except.data.meaning">meaning</a><a name="Consent.except.data.meaning"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">instance | related | dependents | authoredby</span><br/><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">instance</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_reference.png" alt="." style="background-color: white; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-consent-aodr-definitions.html#Consent.except.data.reference">reference</a><a name="Consent.except.data.reference"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: red" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/references.html">Reference</a>(<a href="StructureDefinition-bodysite-aodr.html">ADHA Australian Organ Donor Register BodySite</a>)<a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html"> {</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html" title="The reference is a local reference to a contained resource.">c</a><a href="http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html">}</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">The actual data reference</span></td></tr>
    <tr><td colspan="5" class="hierarchy"><br/><a href="http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
      </text>
      <url
           value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr"/>
      <version value="1.0.6"/>
      <name value="ADHAConsentAODR"/>
      <title value="ADHA Australian Organ Donor Register Consent"/>
      <status value="active"/>
      <experimental value="false"/>
      <date value="2023-04-14T04:15:22+00:00"/>
      <publisher value="Australian Digital Health Agency"/>
      <contact>
        <telecom>
          <system value="email"/>
          <value value="help@digitalhealth.gov.au"/>
        </telecom>
      </contact>
      <description
                   value="The purpose of this profile is to define a representation of a record of organ and tissue donation decision held by the Australian Organ Donor Register for the electronic exchange of digital health information between Medicare repositories and the My Health Record system infrastructure in Australia."/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="AU"/>
          <display value="Australia"/>
        </coding>
      </jurisdiction>
      <copyright
                 value="Copyright © 2022 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.

    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.

    This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2021, 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. LOINC® is a registered United States trademark of Regenstrief Institute, Inc.

    All copies of this resource must include this copyright statement and all information contained in this statement."/>
      <fhirVersion value="3.0.2"/>
      <mapping>
        <identity value="rim"/>
        <uri value="http://hl7.org/v3"/>
        <name value="RIM Mapping"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <uri value="http://hl7.org/fhir/w5"/>
        <name value="W5 Mapping"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <uri value="http://hl7.org/v2"/>
        <name value="HL7 v2 Mapping"/>
      </mapping>
      <kind value="resource"/>
      <abstract value="false"/>
      <type value="Consent"/>
      <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Consent"/>
      <derivation value="constraint"/>
      <snapshot>
        <element id="Consent">
          <path value="Consent"/>
          <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"/>
          <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."/>
          <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."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <constraint>
            <key value="dom-2"/>
            <severity value="error"/>
            <human
                   value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
            <expression value="contained.contained.empty()"/>
            <xpath value="not(parent::f:contained and f:contained)"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <constraint>
            <key value="dom-1"/>
            <severity value="error"/>
            <human
                   value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
            <expression value="contained.text.empty()"/>
            <xpath value="not(parent::f:contained and f:text)"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <constraint>
            <key value="dom-4"/>
            <severity value="error"/>
            <human
                   value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
            <expression
                        value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
            <xpath
                   value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <constraint>
            <key value="dom-3"/>
            <severity value="error"/>
            <human
                   value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
            <expression
                        value="contained.where(('#'+id in %resource.descendants().reference).not()).empty()"/>
            <xpath
                   value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <constraint>
            <key value="ppc-1"/>
            <severity value="error"/>
            <human value="Either a Policy or PolicyRule"/>
            <expression value="policy.exists() or policyRule.exists()"/>
            <xpath value="exists(f:policy) or exists(f:policyRule)"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Consent"/>
          </constraint>
          <constraint>
            <key value="inv-dh-cons-01"/>
            <severity value="error"/>
            <human
                   value="If donation decision is 'permit', there SHALL be a specific organ (except.data.reference)."/>
            <expression
                        value="extension.where(url='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision').value.coding.where(code='160654005').exists() implies except.exists()"/>
          </constraint>
          <constraint>
            <key value="inv-dh-cons-02"/>
            <severity value="error"/>
            <human
                   value="If donation decision is 'deny', there SHALL NOT be a specific organ (except.data.reference)."/>
            <expression
                        value="extension.where(url='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision').value.coding.where(code='161034004').exists() implies except.empty()"/>
          </constraint>
          <constraint>
            <key value="inv-dh-cons-03"/>
            <severity value="error"/>
            <human
                   value="One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr'."/>
            <expression
                        value="meta.profile.where($this='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr').exists()"/>
          </constraint>
          <mapping>
            <identity value="rim"/>
            <map value="Entity. Role, or Act"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="FinancialConsent"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="infrastructure.information"/>
          </mapping>
        </element>
        <element id="Consent.id">
          <path value="Consent.id"/>
          <short value="Logical id of this artifact"/>
          <definition
                      value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
          <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."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="id"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="Consent.meta">
          <path value="Consent.meta"/>
          <short value="Metadata about the resource"/>
          <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."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Resource.meta"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Meta"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="Consent.meta.id">
          <path value="Consent.meta.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.meta.extension">
          <path value="Consent.meta.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional Content defined by implementations"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.meta.versionId">
          <path value="Consent.meta.versionId"/>
          <short value="Version specific identifier"/>
          <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."/>
          <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."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Meta.versionId"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="id"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="Consent.meta.lastUpdated">
          <path value="Consent.meta.lastUpdated"/>
          <short value="When the resource version last changed"/>
          <definition
                      value="When the resource last changed - e.g. when the version changed."/>
          <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."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Meta.lastUpdated"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="instant"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="Consent.meta.profile">
          <path value="Consent.meta.profile"/>
          <short value="Profiles this resource claims to conform to"/>
          <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)."/>
          <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."/>
          <min value="1"/>
          <max value="*"/>
          <base>
            <path value="Meta.profile"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="Consent.meta.security">
          <path value="Consent.meta.security"/>
          <short value="Security Labels applied to this resource"/>
          <definition
                      value="Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure."/>
          <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."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Meta.security"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="SecurityLabels"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
              <valueBoolean value="true"/>
            </extension>
            <strength value="extensible"/>
            <description
                         value="Security Labels from the Healthcare Privacy and Security Classification System."/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/security-labels"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.meta.tag">
          <path value="Consent.meta.tag"/>
          <short value="Tags applied to this resource"/>
          <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."/>
          <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."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Meta.tag"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="Tags"/>
            </extension>
            <strength value="example"/>
            <description
                         value="Codes that represent various types of tags, commonly workflow-related; e.g. &quot;Needs review by Dr. Jones&quot;"/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/common-tags"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.implicitRules">
          <path value="Consent.implicitRules"/>
          <short value="A set of rules under which this content was created"/>
          <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."/>
          <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."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.implicitRules"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
        </element>
        <element id="Consent.language">
          <path value="Consent.language"/>
          <short value="Language of the resource content"/>
          <definition
                      value="The base language in which the resource is written."/>
          <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)."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.language"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
              <valueReference>
                <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
              </valueReference>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="Language"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
              <valueBoolean value="true"/>
            </extension>
            <strength value="extensible"/>
            <description value="A human language."/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/languages"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.text">
          <path value="Consent.text"/>
          <short value="Text summary of the resource, for human interpretation"/>
          <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 &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
          <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 &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later."/>
          <alias value="narrative"/>
          <alias value="html"/>
          <alias value="xhtml"/>
          <alias value="display"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="DomainResource.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Narrative"/>
          </type>
          <condition value="dom-1"/>
          <mapping>
            <identity value="rim"/>
            <map value="Act.text?"/>
          </mapping>
        </element>
        <element id="Consent.contained">
          <path value="Consent.contained"/>
          <short value="Contained, inline Resources"/>
          <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."/>
          <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."/>
          <alias value="inline resources"/>
          <alias value="anonymous resources"/>
          <alias value="contained resources"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="DomainResource.contained"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Resource"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.extension">
          <path value="Consent.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <rules value="open"/>
          </slicing>
          <short value="Extension"/>
          <definition value="An Extension"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="DomainResource.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
        </element>
        <element id="Consent.extension:dateInitialRegistration">
          <path value="Consent.extension"/>
          <sliceName value="dateInitialRegistration"/>
          <short value="Date the individual first registered"/>
          <definition value="The date the individual first registered."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="DomainResource.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
            <profile
                     value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-dateinitialregistration"/>
          </type>
          <condition value="ele-1"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.extension:donationDecision">
          <path value="Consent.extension"/>
          <sliceName value="donationDecision"/>
          <short value="Individual's decision about donation"/>
          <definition value="The individual's decision about donation."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="DomainResource.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
            <profile
                     value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision"/>
          </type>
          <condition value="ele-1"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.modifierExtension">
          <path value="Consent.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="DomainResource.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.identifier">
          <path value="Consent.identifier"/>
          <short value="Identifier for this record (external references)"/>
          <definition
                      value="Unique identifier for this copy of the Consent Statement."/>
          <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."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.identifier"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Identifier"/>
          </type>
          <example>
            <label value="General"/>
            <valueIdentifier>
              <system value="urn:ietf:rfc:3986"/>
              <value value="Local eCMS identifier"/>
            </valueIdentifier>
          </example>
          <mustSupport value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value=".id"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="id"/>
          </mapping>
        </element>
        <element id="Consent.status">
          <path value="Consent.status"/>
          <short
                 value="draft | proposed | active | rejected | inactive | entered-in-error"/>
          <definition value="Indicates the current state of this consent."/>
          <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."/>
          <requirements
                        value="The Consent Directive that is pointed to might be in various lifecycle states, e.g., a revoked Consent Directive."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.status"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <fixedCode value="active"/>
          <mustSupport value="true"/>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentState"/>
            </extension>
            <strength value="required"/>
            <description value="Indicates the state of the consent"/>
            <valueSetReference>
              <reference
                         value="http://hl7.org/fhir/ValueSet/consent-state-codes"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="v2"/>
            <map value="HL7 Table 0498 - Consent Status"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".statusCode"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="status"/>
          </mapping>
        </element>
        <element id="Consent.category">
          <path value="Consent.category"/>
          <slicing>
            <discriminator>
              <type value="pattern"/>
              <path value="$this"/>
            </discriminator>
            <rules value="open"/>
          </slicing>
          <short
                 value="Classification of the consent statement - for indexing/retrieval"/>
          <definition
                      value="A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements."/>
          <min value="1"/>
          <max value="*"/>
          <base>
            <path value="Consent.category"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <mustSupport value="true"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentCategory"/>
            </extension>
            <strength value="example"/>
            <description
                         value="A classification of the type of consents found in a consent statement"/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/consent-category"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map value="CNTRCT"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="class"/>
          </mapping>
        </element>
        <element id="Consent.category:organDonationConsent">
          <path value="Consent.category"/>
          <sliceName value="organDonationConsent"/>
          <short
                 value="Classification of the consent statement - for indexing/retrieval"/>
          <definition
                      value="A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.category"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <patternCodeableConcept>
            <coding>
              <system value="http://loinc.org"/>
              <code value="64300-7"/>
            </coding>
          </patternCodeableConcept>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentCategory"/>
            </extension>
            <strength value="example"/>
            <description
                         value="A classification of the type of consents found in a consent statement"/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/consent-category"/>
            </valueSetReference>
          </binding>
          <mapping>
            <identity value="rim"/>
            <map value="CNTRCT"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="class"/>
          </mapping>
        </element>
        <element id="Consent.patient">
          <path value="Consent.patient"/>
          <short value="Who the consent applies to"/>
          <definition
                      value="The patient/healthcare consumer to whom this consent applies."/>
          <comment
                   value="Commonly, the patient the consent pertains to is the author, but for young and old people, it may be some other person."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.patient"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-patient"/>
          </type>
          <mustSupport value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="Role"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="who.focus"/>
          </mapping>
        </element>
        <element id="Consent.period">
          <path value="Consent.period"/>
          <short value="Period that this consent applies"/>
          <definition
                      value="Relevant time or time-period when this Consent is applicable."/>
          <comment
                   value="This can be a subset of the period of the original statement."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Consent.period"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Period"/>
          </type>
          <meaningWhenMissing value="all date ranges included"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="FinancialConsent activityTime"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="when.done"/>
          </mapping>
        </element>
        <element id="Consent.dateTime">
          <path value="Consent.dateTime"/>
          <short value="When this Consent was created or indexed"/>
          <definition value="When this  Consent was issued / created / indexed."/>
          <comment
                   value="This is not the time of the original consent, but the time that this statement was made or derived."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.dateTime"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
          <mustSupport value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="FinancialConsent effectiveTime"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="when.recorded"/>
          </mapping>
        </element>
        <element id="Consent.consentingParty">
          <path value="Consent.consentingParty"/>
          <short value="Who is agreeing to the policy and exceptions"/>
          <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."/>
          <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."/>
          <alias value="consentor"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.consentingParty"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-organisation"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-patient"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-practitioner"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="w5"/>
            <map value="who.actor"/>
          </mapping>
        </element>
        <element id="Consent.actor">
          <path value="Consent.actor"/>
          <short value="Who|what controlled by this consent (or group, by role)"/>
          <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')."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.actor"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <meaningWhenMissing
                              value="There is no specific actor associated with the consent"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isSummary value="true"/>
          <mapping>
            <identity value="w5"/>
            <map value="who.actor"/>
          </mapping>
        </element>
        <element id="Consent.actor.id">
          <path value="Consent.actor.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.actor.extension">
          <path value="Consent.actor.extension"/>
          <short value="Additional Content defined by implementations"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.actor.modifierExtension">
          <path value="Consent.actor.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.actor.role">
          <path value="Consent.actor.role"/>
          <short value="How the actor is involved"/>
          <definition
                      value="How the individual is involved in the resources content that is described in the consent."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.actor.role"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentActorRole"/>
            </extension>
            <strength value="extensible"/>
            <description
                         value="How an actor is involved in the consent considerations"/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/security-role-type"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.actor.reference">
          <path value="Consent.actor.reference"/>
          <short value="Resource for the actor (or group, by role)"/>
          <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')."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.actor.reference"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-device"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-organisation"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-patient"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-practitioner"/>
          </type>
        </element>
        <element id="Consent.action">
          <path value="Consent.action"/>
          <short value="Actions controlled by this consent"/>
          <definition value="Actions controlled by this consent."/>
          <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'."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.action"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <meaningWhenMissing value="all actions"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentAction"/>
            </extension>
            <strength value="example"/>
            <description value="Detailed codes for the consent action."/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/consent-action"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.organization">
          <path value="Consent.organization"/>
          <short value="Custodian of the consent"/>
          <definition
                      value="The organization that manages the consent, and the framework within which it is executed."/>
          <alias value="custodian"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Consent.organization"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-organisation"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="w5"/>
            <map value="who.witness"/>
          </mapping>
        </element>
        <element id="Consent.source[x]">
          <path value="Consent.source[x]"/>
          <short value="Source from which this consent is taken"/>
          <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."/>
          <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."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Consent.source[x]"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Attachment"/>
          </type>
          <type>
            <code value="Identifier"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Consent"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/DocumentReference"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Contract"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="Consent.policy">
          <path value="Consent.policy"/>
          <short value="Policies covered by this consent"/>
          <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."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.policy"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.policy.id">
          <path value="Consent.policy.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.policy.extension">
          <path value="Consent.policy.extension"/>
          <short value="Additional Content defined by implementations"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.policy.modifierExtension">
          <path value="Consent.policy.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.policy.authority">
          <path value="Consent.policy.authority"/>
          <short value="Enforcement source for policy"/>
          <definition
                      value="Entity or Organization having regulatory jurisdiction or accountability for  enforcing policies pertaining to Consent Directives."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Consent.policy.authority"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="http://australianorgandonorregister.gov.au"/>
          <condition value="ppc-1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.policy.uri">
          <path value="Consent.policy.uri"/>
          <short value="Specific policy covered by this consent"/>
          <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."/>
          <comment
                   value="This element is for discoverability / documentation, and does not modify or qualify the policy rules."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.policy.uri"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="http://www.australianorgandonorregister.gov.au/aodr"/>
          <condition value="ppc-1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.policyRule">
          <path value="Consent.policyRule"/>
          <short value="Policy that this consents to"/>
          <definition value="A referece to the specific computable policy."/>
          <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."/>
          <requirements
                        value="Might be a unique identifier of a policy set in XACML, or other rules engine."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Consent.policyRule"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <condition value="ppc-1"/>
          <isSummary value="true"/>
        </element>
        <element id="Consent.securityLabel">
          <path value="Consent.securityLabel"/>
          <short value="Security Labels that define affected resources"/>
          <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."/>
          <comment
                   value="If the consent specifies a security label of &quot;R&quot; then it applies to all resources that are labeled &quot;R&quot; 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?)."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.securityLabel"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="SecurityLabels"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
              <valueBoolean value="true"/>
            </extension>
            <strength value="extensible"/>
            <description
                         value="Security Labels from the Healthcare Privacy and Security Classification System."/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/security-labels"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.purpose">
          <path value="Consent.purpose"/>
          <short value="Context of activities for which the agreement is made"/>
          <definition
                      value="The context of the activities a user is taking - why the user is accessing the data - that are controlled by this consent."/>
          <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)."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.purpose"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="PurposeOfUse"/>
            </extension>
            <strength value="extensible"/>
            <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"/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.dataPeriod">
          <path value="Consent.dataPeriod"/>
          <short value="Timeframe for data controlled by this consent"/>
          <definition
                      value="Clinical or Operational Relevant period of time that bounds the data controlled by this consent."/>
          <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."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Consent.dataPeriod"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Period"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="Consent.data">
          <path value="Consent.data"/>
          <short value="Data controlled by this consent"/>
          <definition
                      value="The resources controlled by this consent, if specific resources are referenced."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.data"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <meaningWhenMissing value="all data"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="Role"/>
          </mapping>
        </element>
        <element id="Consent.data.id">
          <path value="Consent.data.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.data.extension">
          <path value="Consent.data.extension"/>
          <short value="Additional Content defined by implementations"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.data.modifierExtension">
          <path value="Consent.data.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.data.meaning">
          <path value="Consent.data.meaning"/>
          <short value="instance | related | dependents | authoredby"/>
          <definition
                      value="How the resource reference is interpreted when testing consent restrictions."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.data.meaning"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentDataMeaning"/>
            </extension>
            <strength value="required"/>
            <description
                         value="How a resource reference is interpreted when testing consent restrictions"/>
            <valueSetReference>
              <reference
                         value="http://hl7.org/fhir/ValueSet/consent-data-meaning"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.data.reference">
          <path value="Consent.data.reference"/>
          <short value="The actual data reference"/>
          <definition
                      value="A reference to a specific resource that defines which resources are covered by this consent."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.data.reference"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Resource"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="Consent.except">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
            <valueString value="Except"/>
          </extension>
          <path value="Consent.except"/>
          <short
                 value="Individual's decision about donation of a specific organ or tissue."/>
          <definition
                      value="Individual's decision about donation of a specific organ or tissue."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.except"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isSummary value="true"/>
        </element>
        <element id="Consent.except.id">
          <path value="Consent.except.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.except.extension">
          <path value="Consent.except.extension"/>
          <short value="Additional Content defined by implementations"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.except.modifierExtension">
          <path value="Consent.except.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.except.type">
          <path value="Consent.except.type"/>
          <short value="deny | permit"/>
          <definition
                      value="Action  to take - permit or deny - when the exception conditions are met."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.except.type"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <mustSupport value="true"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentExceptType"/>
            </extension>
            <strength value="required"/>
            <description
                         value="How an exception statement is applied, such as adding additional consent or removing consent"/>
            <valueSetReference>
              <reference
                         value="http://hl7.org/fhir/ValueSet/consent-except-type"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.except.period">
          <path value="Consent.except.period"/>
          <short value="Timeframe for this exception"/>
          <definition value="The timeframe in this exception is valid."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Consent.except.period"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Period"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="Consent.except.actor">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
            <valueString value="ExceptActor"/>
          </extension>
          <path value="Consent.except.actor"/>
          <short
                 value="Who|what controlled by this exception (or group, by role)"/>
          <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')."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.except.actor"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <meaningWhenMissing
                              value="There is no specific actor associated with the exception"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isSummary value="true"/>
        </element>
        <element id="Consent.except.actor.id">
          <path value="Consent.except.actor.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.except.actor.extension">
          <path value="Consent.except.actor.extension"/>
          <short value="Additional Content defined by implementations"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.except.actor.modifierExtension">
          <path value="Consent.except.actor.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.except.actor.role">
          <path value="Consent.except.actor.role"/>
          <short value="How the actor is involved"/>
          <definition
                      value="How the individual is involved in the resources content that is described in the exception."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.except.actor.role"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentActorRole"/>
            </extension>
            <strength value="extensible"/>
            <description
                         value="How an actor is involved in the consent considerations"/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/security-role-type"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.except.actor.reference">
          <path value="Consent.except.actor.reference"/>
          <short value="Resource for the actor (or group, by role)"/>
          <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')."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.except.actor.reference"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-device"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-organisation"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-patient"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-practitioner"/>
          </type>
        </element>
        <element id="Consent.except.action">
          <path value="Consent.except.action"/>
          <short value="Actions controlled by this exception"/>
          <definition value="Actions controlled by this Exception."/>
          <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'."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.except.action"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <meaningWhenMissing value="all actions"/>
          <patternCodeableConcept>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="53958007"/>
            </coding>
          </patternCodeableConcept>
          <mustSupport value="true"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentAction"/>
            </extension>
            <strength value="example"/>
            <description value="Detailed codes for the consent action."/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/consent-action"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.except.securityLabel">
          <path value="Consent.except.securityLabel"/>
          <short value="Security Labels that define affected resources"/>
          <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."/>
          <comment
                   value="If the consent specifies a security label of &quot;R&quot; then it applies to all resources that are labeled &quot;R&quot; 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?)."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.except.securityLabel"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="SecurityLabels"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
              <valueBoolean value="true"/>
            </extension>
            <strength value="extensible"/>
            <description
                         value="Security Labels from the Healthcare Privacy and Security Classification System."/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/security-labels"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.except.purpose">
          <path value="Consent.except.purpose"/>
          <short value="Context of activities covered by this exception"/>
          <definition
                      value="The context of the activities a user is taking - why the user is accessing the data - that are controlled by this exception."/>
          <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?)."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.except.purpose"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="PurposeOfUse"/>
            </extension>
            <strength value="extensible"/>
            <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"/>
            <valueSetReference>
              <reference value="http://hl7.org/fhir/ValueSet/v3-PurposeOfUse"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.except.class">
          <path value="Consent.except.class"/>
          <short value="e.g. Resource Type, Profile, or CDA etc"/>
          <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."/>
          <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."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.except.class"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentContentClass"/>
            </extension>
            <strength value="extensible"/>
            <description
                         value="The class (type) of information a consent rule covers"/>
            <valueSetReference>
              <reference
                         value="http://hl7.org/fhir/ValueSet/consent-content-class"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.except.code">
          <path value="Consent.except.code"/>
          <short value="e.g. LOINC or SNOMED CT code, etc in the content"/>
          <definition
                      value="If this code is found in an instance, then the exception applies."/>
          <comment
                   value="Typical use of this is a Document code with class = CDA."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.except.code"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentContentCode"/>
            </extension>
            <strength value="example"/>
            <description
                         value="If this code is found in an instance, then the exception applies"/>
            <valueSetReference>
              <reference
                         value="http://hl7.org/fhir/ValueSet/consent-content-code"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.except.dataPeriod">
          <path value="Consent.except.dataPeriod"/>
          <short value="Timeframe for data controlled by this exception"/>
          <definition
                      value="Clinical or Operational Relevant period of time that bounds the data controlled by this exception."/>
          <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."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Consent.except.dataPeriod"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Period"/>
          </type>
          <isSummary value="true"/>
        </element>
        <element id="Consent.except.data">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
            <valueString value="ExceptData"/>
          </extension>
          <path value="Consent.except.data"/>
          <short value="The body site controlled by this exception."/>
          <definition value="The body site controlled by this exception."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.except.data"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <meaningWhenMissing value="all data"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() | (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="Role"/>
          </mapping>
        </element>
        <element id="Consent.except.data.id">
          <path value="Consent.except.data.id"/>
          <representation value="xmlAttr"/>
          <short value="xml:id (or equivalent in JSON)"/>
          <definition
                      value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.except.data.extension">
          <path value="Consent.except.data.extension"/>
          <short value="Additional Content defined by implementations"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.except.data.modifierExtension">
          <path value="Consent.except.data.modifierExtension"/>
          <short value="Extensions that cannot be ignored"/>
          <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."/>
          <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."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <isModifier value="true"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.except.data.meaning">
          <path value="Consent.except.data.meaning"/>
          <short value="instance | related | dependents | authoredby"/>
          <definition
                      value="How the resource reference is interpreted when testing consent restrictions."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.except.data.meaning"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <fixedCode value="instance"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentDataMeaning"/>
            </extension>
            <strength value="required"/>
            <description
                         value="How a resource reference is interpreted when testing consent restrictions"/>
            <valueSetReference>
              <reference
                         value="http://hl7.org/fhir/ValueSet/consent-data-meaning"/>
            </valueSetReference>
          </binding>
        </element>
        <element id="Consent.except.data.reference">
          <path value="Consent.except.data.reference"/>
          <short value="The actual data reference"/>
          <definition
                      value="A reference to a specific resource that defines which resources are covered by this consent."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.except.data.reference"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/bodysite-aodr"/>
            <aggregation value="contained"/>
          </type>
          <mustSupport value="true"/>
          <isSummary value="true"/>
        </element>
      </snapshot>
      <differential>
        <element id="Consent">
          <path value="Consent"/>
          <constraint>
            <key value="inv-dh-cons-01"/>
            <severity value="error"/>
            <human
                   value="If donation decision is 'permit', there SHALL be a specific organ (except.data.reference)."/>
            <expression
                        value="extension.where(url='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision').value.coding.where(code='160654005').exists() implies except.exists()"/>
          </constraint>
          <constraint>
            <key value="inv-dh-cons-02"/>
            <severity value="error"/>
            <human
                   value="If donation decision is 'deny', there SHALL NOT be a specific organ (except.data.reference)."/>
            <expression
                        value="extension.where(url='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision').value.coding.where(code='161034004').exists() implies except.empty()"/>
          </constraint>
          <constraint>
            <key value="inv-dh-cons-03"/>
            <severity value="error"/>
            <human
                   value="One meta.profile SHALL have value 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr'."/>
            <expression
                        value="meta.profile.where($this='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr').exists()"/>
          </constraint>
        </element>
        <element id="Consent.meta">
          <path value="Consent.meta"/>
          <min value="1"/>
        </element>
        <element id="Consent.meta.profile">
          <path value="Consent.meta.profile"/>
          <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)."/>
          <min value="1"/>
        </element>
        <element id="Consent.extension">
          <path value="Consent.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <rules value="open"/>
          </slicing>
        </element>
        <element id="Consent.extension:dateInitialRegistration">
          <path value="Consent.extension"/>
          <sliceName value="dateInitialRegistration"/>
          <max value="1"/>
          <type>
            <code value="Extension"/>
            <profile
                     value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-dateinitialregistration"/>
          </type>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.extension:donationDecision">
          <path value="Consent.extension"/>
          <sliceName value="donationDecision"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="Extension"/>
            <profile
                     value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision"/>
          </type>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.identifier">
          <path value="Consent.identifier"/>
          <min value="1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.status">
          <path value="Consent.status"/>
          <fixedCode value="active"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.category">
          <path value="Consent.category"/>
          <slicing>
            <discriminator>
              <type value="pattern"/>
              <path value="$this"/>
            </discriminator>
            <rules value="open"/>
          </slicing>
          <min value="1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.category:organDonationConsent">
          <path value="Consent.category"/>
          <sliceName value="organDonationConsent"/>
          <min value="1"/>
          <max value="1"/>
          <patternCodeableConcept>
            <coding>
              <system value="http://loinc.org"/>
              <code value="64300-7"/>
            </coding>
          </patternCodeableConcept>
        </element>
        <element id="Consent.patient">
          <path value="Consent.patient"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-patient"/>
          </type>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.dateTime">
          <path value="Consent.dateTime"/>
          <min value="1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.consentingParty">
          <path value="Consent.consentingParty"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-organisation"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-patient"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-practitioner"/>
          </type>
        </element>
        <element id="Consent.actor">
          <path value="Consent.actor"/>
          <meaningWhenMissing
                              value="There is no specific actor associated with the consent."/>
        </element>
        <element id="Consent.actor.reference">
          <path value="Consent.actor.reference"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-device"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-organisation"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-patient"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-practitioner"/>
          </type>
        </element>
        <element id="Consent.organization">
          <path value="Consent.organization"/>
          <max value="1"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-organisation"/>
          </type>
        </element>
        <element id="Consent.policy">
          <path value="Consent.policy"/>
          <min value="1"/>
          <max value="1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.policy.authority">
          <path value="Consent.policy.authority"/>
          <fixedUri value="http://australianorgandonorregister.gov.au"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.policy.uri">
          <path value="Consent.policy.uri"/>
          <min value="1"/>
          <fixedUri value="http://www.australianorgandonorregister.gov.au/aodr"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.except">
          <path value="Consent.except"/>
          <short
                 value="Individual's decision about donation of a specific organ or tissue."/>
          <definition
                      value="Individual's decision about donation of a specific organ or tissue."/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.except.type">
          <path value="Consent.except.type"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.except.actor">
          <path value="Consent.except.actor"/>
        </element>
        <element id="Consent.except.actor.reference">
          <path value="Consent.except.actor.reference"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-device"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-organisation"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-patient"/>
          </type>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/StructureDefinition/au-practitioner"/>
          </type>
        </element>
        <element id="Consent.except.action">
          <path value="Consent.except.action"/>
          <min value="1"/>
          <max value="1"/>
          <patternCodeableConcept>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="53958007"/>
            </coding>
          </patternCodeableConcept>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.except.data">
          <path value="Consent.except.data"/>
          <short value="The body site controlled by this exception."/>
          <definition value="The body site controlled by this exception."/>
          <min value="1"/>
          <max value="1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.except.data.meaning">
          <path value="Consent.except.data.meaning"/>
          <fixedCode value="instance"/>
        </element>
        <element id="Consent.except.data.reference">
          <path value="Consent.except.data.reference"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/bodysite-aodr"/>
            <aggregation value="contained"/>
          </type>
          <mustSupport value="true"/>
        </element>
      </differential>
    </StructureDefinition>