AU eRequesting Implementation Guide
1.0.0-ci-build - CI Build

AU eRequesting Implementation Guide, published by HL7 Australia. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7au/au-fhir-erequesting/ and changes regularly. See the Directory of published versions

## Resource Profile: AUeRequestingMHRConsentWithdrawal - XML Profile

Page standards status: Draft | Maturity Level: 1

XML representation of the au-erequesting-mhrconsentwithdrawal resource profile.

Raw xml | Download

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="au-erequesting-mhrconsentwithdrawal"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition au-erequesting-mhrconsentwithdrawal</b></p><a name="au-erequesting-mhrconsentwithdrawal"> </a><a name="hcau-erequesting-mhrconsentwithdrawal"> </a><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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px" class="hierarchy"><a href="https://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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://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="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64, " 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 : var(--ig-left,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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent">Consent</a><a name="Consent"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/consent.html">Consent</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">A healthcare consumer's  choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.status">status</a><a name="Consent.status"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,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><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.scope">scope</a><a name="Consent.scope"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Which of the four areas this resource covers (extensible)</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck101.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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.scope.coding">coding</a><a name="Consent.scope.coding"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#Coding">Coding</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Code defined by a terminology system</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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1010.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.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/R4/datatypes-definitions.html#Coding.system">system</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : var(--ig-left,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://terminology.hl7.org/CodeSystem/consentscope</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1000.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.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/R4/datatypes-definitions.html#Coding.code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,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">patient-privacy</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.category">category</a><a name="Consent.category"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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">*</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; 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><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck101.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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.category.coding">coding</a><a name="Consent.category.coding"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#Coding">Coding</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Code defined by a terminology system</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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1010.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.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/R4/datatypes-definitions.html#Coding.system">system</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : var(--ig-left,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://terminology.hl7.org/CodeSystem/v3-ActCode</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1000.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.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/R4/datatypes-definitions.html#Coding.code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,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">IDSCL</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.patient">patient</a><a name="Consent.patient"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="https://build.fhir.org/ig/hl7au/au-fhir-core/StructureDefinition-au-core-patient.html">AU Core Patient</a>)</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Who the consent applies to</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.dateTime">dateTime</a><a name="Consent.dateTime"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">When this Consent was created or indexed</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.performer">performer</a><a name="Consent.performer"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="https://build.fhir.org/ig/hl7au/au-fhir-core/StructureDefinition-au-core-patient.html">AU Core Patient</a>)</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Who is agreeing to the policy and rules</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.organization">organization</a><a name="Consent.organization"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="https://build.fhir.org/ig/hl7au/au-fhir-core/StructureDefinition-au-core-organization.html">AU Core Organization</a>)</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Custodian of the consent</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.policy">policy</a><a name="Consent.policy"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Policies covered by this consent</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.policy.authority">authority</a><a name="Consent.policy.authority"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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">https://www.health.gov.au</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.policy.uri">uri</a><a name="Consent.policy.uri"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; 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">https://www.legislation.gov.au/C2012A00063</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.policyRule">policyRule</a><a name="Consent.policyRule"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Regulation that this consents to</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck101.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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.policyRule.coding">coding</a><a name="Consent.policyRule.coding"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#Coding">Coding</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Code defined by a terminology system</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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1010.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.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/R4/datatypes-definitions.html#Coding.system">system</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : var(--ig-left,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://terminology.hl7.org/CodeSystem/v3-ActCode</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1000.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.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/R4/datatypes-definitions.html#Coding.code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,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">OPTIN</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.provision">provision</a><a name="Consent.provision"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Constraints to the base Consent.policyRule</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; 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: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.provision.type">type</a><a name="Consent.provision.type"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">deny | permit</span><br/><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">deny</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.provision.action">action</a><a name="Consent.provision.action"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Actions controlled by this rule</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; 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_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.provision.action.coding">coding</a><a name="Consent.provision.action.coding"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#Coding">Coding</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Code defined by a terminology system</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 : var(--ig-left,left); background-color: #F7F7F7; 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: #F7F7F7; background-color: inherit" title="Fixed Value" class="hierarchy"/> <a href="http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.system">system</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : var(--ig-left,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://terminology.hl7.org/CodeSystem/consentaction</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; 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: white; background-color: inherit" title="Fixed Value" class="hierarchy"/> <a href="http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,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">disclose</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck013.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_slice.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic; font-style: italic" href="StructureDefinition-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.provision.class">Slices for class</a><a name="Consent.provision.class"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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; font-style: italic" title="This element has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic" href="http://hl7.org/fhir/R4/datatypes.html#Coding">Coding</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5; font-style: italic">e.g. Resource Type, Profile, CDA, etc.</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><table style="font-style: italic" class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0125.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_slicer.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-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.provision.class:diagnosticReport" title="Slice diagnosticReport">class:diagnosticReport</a><a name="Consent.provision.class.2"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#Coding">Coding</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">e.g. Resource Type, Profile, CDA, etc.</span><br/><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">At least the following</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01250.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_slice.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/R4/datatypes-definitions.html#Coding.system">system</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td style="vertical-align: top; text-align : var(--ig-left,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://hl7.org/fhir/resource-types</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01240.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_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/R4/datatypes-definitions.html#Coding.code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,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">DiagnosticReport</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.provision.data">data</a><a name="Consent.provision.data"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Data controlled by this rule</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; 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: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.provision.data.meaning">meaning</a><a name="Consent.provision.data.meaning"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; 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">dependents</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; 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: #F7F7F7; background-color: inherit" title="Reference to another Resource" class="hierarchy"/> <a href="StructureDefinition-au-erequesting-mhrconsentwithdrawal-definitions.html#Consent.provision.data.reference">reference</a><a name="Consent.provision.data.reference"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,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 has obligations and must be supported">SO</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/references.html">Reference</a>(<a href="StructureDefinition-au-erequesting-servicerequest-path.html">AU eRequesting Pathology Request</a> | <a href="StructureDefinition-au-erequesting-servicerequest-imag.html">AU eRequesting Imaging Request</a>)</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">The actual data reference</span><table class="obligation grid"><tr><td style="font-size: 11px"><b>Obligations</b></td><td style="font-size: 11px"><b>Actor</b></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-populate" title="Obligation Codes: populate">populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-placer.html">AU eRequesting Placer</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-filler.html">AU eRequesting Filler</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle" title="Obligation Codes: correctly handle">handle</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-able-to-populate" title="Obligation Codes: be able to populate">able-to-populate</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-server.html">AU eRequesting Server</a></td></tr><tr><td style="font-size: 11px"><b>SHALL</b>:<a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error" title="Obligation Codes: not error if present">no-error</a></td><td style="font-size: 11px; opacity: 0.5;"><a href="ActorDefinition-au-erequesting-actor-patient.html">AU eRequesting Patient</a></td></tr></table></td></tr>
    <tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64, " alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
      </text>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
        <valueInteger value="1"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="draft">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
            <valueCanonical
                            value="http://hl7.org.au/fhir/ereq/ImplementationGuide/hl7.fhir.au.ereq"/>
          </extension>
        </valueCode>
      </extension>
      <url
           value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal"/>
      <version value="1.0.0-ci-build"/>
      <name value="AUeRequestingMHRConsentWithdrawal"/>
      <title value="AU eRequesting MHR Consent Withdrawal"/>
      <status value="active"/>
      <date value="2025-10-20T07:23:52+00:00"/>
      <publisher value="HL7 Australia"/>
      <contact>
        <name value="HL7 Australia"/>
        <telecom>
          <system value="url"/>
          <value value="https://confluence.hl7.org/display/HAFWG"/>
        </telecom>
      </contact>
      <contact>
        <name value="HL7 Australia FHIR Work Group"/>
        <telecom>
          <system value="url"/>
          <value value="https://confluence.hl7.org/display/HAFWG"/>
          <use value="work"/>
        </telecom>
      </contact>
      <description
                   value="This profile sets minimum expectations for a Consent resource to record, search, and fetch a My Health Record (MHR) consent withdrawal. It represents a patient's withdrawal of consent to upload to MHR in accordance with paragraph 45(d) of the [My Health Records Act 2012](https://www.legislation.gov.au/C2012A00063). It is based on the [Consent](https://hl7.org/fhir/R4/consent.html) resource and identifies the additional mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Consent when conforming to this profile."/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="AU"/>
        </coding>
      </jurisdiction>
      <copyright
                 value="Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia© 2024+; Licensed Under Creative Commons No Rights Reserved."/>
      <fhirVersion value="4.0.1"/>
      <mapping>
        <identity value="workflow"/>
        <uri value="http://hl7.org/fhir/workflow"/>
        <name value="Workflow Pattern"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <uri value="http://hl7.org/v2"/>
        <name value="HL7 v2 Mapping"/>
      </mapping>
      <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/fivews"/>
        <name value="FiveWs Pattern Mapping"/>
      </mapping>
      <kind value="resource"/>
      <abstract value="false"/>
      <type value="Consent"/>
      <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Consent"/>
      <derivation value="constraint"/>
      <snapshot>
        <extension
                   url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
          <valueString value="4.0.1"/>
        </extension>
        <element id="Consent">
          <path value="Consent"/>
          <short
                 value="A healthcare consumer's  choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time"/>
          <definition
                      value="A record of a healthcare consumer’s  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-3"/>
            <severity value="error"/>
            <human
                   value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource"/>
            <expression
                        value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"/>
            <xpath
                   value="not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))"/>
            <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-5"/>
            <severity value="error"/>
            <human
                   value="If a resource is contained in another resource, it SHALL NOT have a security label"/>
            <expression value="contained.meta.security.empty()"/>
            <xpath value="not(exists(f:contained/*/f:meta/f:security))"/>
            <source
                    value="http://hl7.org/fhir/StructureDefinition/DomainResource"/>
          </constraint>
          <constraint>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
              <valueBoolean value="true"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
              <valueMarkdown
                             value="When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."/>
            </extension>
            <key value="dom-6"/>
            <severity value="warning"/>
            <human
                   value="A resource should have narrative for robust management"/>
            <expression value="text.`div`.exists()"/>
            <xpath value="exists(f:text/h:div)"/>
            <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="ppc-2"/>
            <severity value="error"/>
            <human value="IF Scope=privacy, there must be a patient"/>
            <expression
                        value="patient.exists() or scope.coding.where(system='something' and code='patient-privacy').exists().not()"/>
            <xpath
                   value="exists(f:patient) or not(exists(f:scope/f:coding[f:system/@value='something' and f:code/@value='patient-privacy'])))"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Consent"/>
          </constraint>
          <constraint>
            <key value="ppc-3"/>
            <severity value="error"/>
            <human value="IF Scope=research, there must be a patient"/>
            <expression
                        value="patient.exists() or scope.coding.where(system='something' and code='research').exists().not()"/>
            <xpath
                   value="exists(f:patient) or not(exists(f:scope/f:coding[f:system/@value='something' and f:code/@value='research'])))"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Consent"/>
          </constraint>
          <constraint>
            <key value="ppc-4"/>
            <severity value="error"/>
            <human value="IF Scope=adr, there must be a patient"/>
            <expression
                        value="patient.exists() or scope.coding.where(system='something' and code='adr').exists().not()"/>
            <xpath
                   value="exists(f:patient) or not(exists(f:scope/f:coding[f:system/@value='something' and f:code/@value='adr'])))"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Consent"/>
          </constraint>
          <constraint>
            <key value="ppc-5"/>
            <severity value="error"/>
            <human value="IF Scope=treatment, there must be a patient"/>
            <expression
                        value="patient.exists() or scope.coding.where(system='something' and code='treatment').exists().not()"/>
            <xpath
                   value="exists(f:patient) or not(exists(f:scope/f:coding[f:system/@value='something' and f:code/@value='treatment'])))"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Consent"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="Entity. Role, or Act"/>
          </mapping>
          <mapping>
            <identity value="workflow"/>
            <map value="Event"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map value="CON"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="FinancialConsent"/>
          </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>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="id"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <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 might not always be associated with version changes to the resource."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.meta"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Meta"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
        </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. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
          <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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Resource.implicitRules"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation"/>
          <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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
              <valueCanonical value="http://hl7.org/fhir/ValueSet/all-languages"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="Language"/>
            </extension>
            <strength value="preferred"/>
            <description value="A human language."/>
            <valueSet value="http://hl7.org/fhir/ValueSet/languages|4.0.1"/>
          </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 can 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 information 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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <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. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels."/>
          <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>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.extension">
          <path value="Consent.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 resource. 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 can 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="DomainResource.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <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."/>
          <requirements
                        value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
          <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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them"/>
          <isSummary value="false"/>
          <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 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="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.identifier"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Identifier"/>
          </type>
          <example>
            <label value="General"/>
            <valueIdentifier>
              <system value="http://acme.org/identifier/local/eCMS"/>
              <value value="Local eCMS identifier"/>
            </valueIdentifier>
          </example>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="workflow"/>
            <map value="Event.identifier"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="FiveWs.identifier"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".id"/>
          </mapping>
        </element>
        <element id="Consent.status">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <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"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="true"/>
          <isModifierReason
                            value="This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid"/>
          <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."/>
            <valueSet
                      value="http://hl7.org/fhir/ValueSet/consent-state-codes|4.0.1"/>
          </binding>
          <mapping>
            <identity value="workflow"/>
            <map value="Event.status"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="FiveWs.status"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map value="HL7 Table 0498 - Consent Status"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value=".statusCode"/>
          </mapping>
        </element>
        <element id="Consent.scope">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <path value="Consent.scope"/>
          <short
                 value="Which of the four areas this resource covers (extensible)"/>
          <definition
                      value="A selector of the type of consent being presented: ADR, Privacy, Treatment, Research.  This list is now extensible."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.scope"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="true"/>
          <isModifierReason
                            value="Allows changes to codes based on scope selection"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentScope"/>
            </extension>
            <strength value="extensible"/>
            <description
                         value="The four anticipated uses for the Consent Resource."/>
            <valueSet value="http://hl7.org/fhir/ValueSet/consent-scope|4.0.1"/>
          </binding>
        </element>
        <element id="Consent.scope.id">
          <path value="Consent.scope.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <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>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.scope.extension">
          <path value="Consent.scope.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. 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 can 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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.scope.coding">
          <path value="Consent.scope.coding"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for alternative encodings within a code system, and translations to other code systems."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <patternCoding>
            <system value="http://terminology.hl7.org/CodeSystem/consentscope"/>
            <code value="patient-privacy"/>
          </patternCoding>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="Consent.scope.text">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Consent.scope.text"/>
          <short value="Plain text representation of the concept"/>
          <definition
                      value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
          <comment
                   value="Very often the text is the same as a displayName of one of the codings."/>
          <requirements
                        value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.9. But note many systems use C*E.2 for this"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
          </mapping>
        </element>
        <element id="Consent.category">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <path value="Consent.category"/>
          <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="1"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentCategory"/>
            </extension>
            <strength value="extensible"/>
            <description
                         value="A classification of the type of consents found in a consent statement."/>
            <valueSet
                      value="http://hl7.org/fhir/ValueSet/consent-category|4.0.1"/>
          </binding>
          <mapping>
            <identity value="workflow"/>
            <map value="Event.code"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="FiveWs.class"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map value="HL7 Table 0497 - Consent Type"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="CNTRCT"/>
          </mapping>
        </element>
        <element id="Consent.category.id">
          <path value="Consent.category.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <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>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.category.extension">
          <path value="Consent.category.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. 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 can 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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.category.coding">
          <path value="Consent.category.coding"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for alternative encodings within a code system, and translations to other code systems."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <patternCoding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
            <code value="IDSCL"/>
          </patternCoding>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="Consent.category.text">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Consent.category.text"/>
          <short value="Plain text representation of the concept"/>
          <definition
                      value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
          <comment
                   value="Very often the text is the same as a displayName of one of the codings."/>
          <requirements
                        value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.9. But note many systems use C*E.2 for this"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
          </mapping>
        </element>
        <element id="Consent.patient">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <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="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="workflow"/>
            <map value="Event.subject"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="FiveWs.subject[x]"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="Role"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="FiveWs.subject"/>
          </mapping>
        </element>
        <element id="Consent.dateTime">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="workflow"/>
            <map value="Event.occurrence[x]"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="FiveWs.recorded"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map value="Field 13/ Consent Decision Date"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="FinancialConsent effectiveTime"/>
          </mapping>
        </element>
        <element id="Consent.performer">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <path value="Consent.performer"/>
          <short value="Who is agreeing to the policy and rules"/>
          <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="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.performer"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="workflow"/>
            <map value="Event.performer"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="FiveWs.actor"/>
          </mapping>
          <mapping>
            <identity value="v2"/>
            <map value="Field 24/ ConsenterID"/>
          </mapping>
        </element>
        <element id="Consent.organization">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <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="1"/>
          <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/core/StructureDefinition/au-core-organization"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="workflow"/>
            <map value="Event.performer"/>
          </mapping>
          <mapping>
            <identity value="w5"/>
            <map value="FiveWs.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="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Consent|4.0.1"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/DocumentReference|4.0.1"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Contract|4.0.1"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse|4.0.1"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="Field 19 Informational Material Supplied Indicator"/>
          </mapping>
        </element>
        <element id="Consent.policy">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <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() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="false"/>
        </element>
        <element id="Consent.policy.id">
          <path value="Consent.policy.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <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>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <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. 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 can 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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <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 even if unrecognized"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <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."/>
          <requirements
                        value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
          <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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.policy.authority">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <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="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.policy.authority"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="uri"/>
          </type>
          <fixedUri value="https://www.health.gov.au"/>
          <condition value="ppc-1"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="false"/>
        </element>
        <element id="Consent.policy.uri">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <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="https://www.legislation.gov.au/C2012A00063"/>
          <condition value="ppc-1"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="false"/>
        </element>
        <element id="Consent.policyRule">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <path value="Consent.policyRule"/>
          <short value="Regulation that this consents to"/>
          <definition
                      value="A reference to the specific base computable regulation or policy."/>
          <comment
                   value="If the policyRule is absent, computable consent would need to be constructed from the elements of the Consent resource."/>
          <requirements
                        value="Might be a unique identifier of a policy set in XACML, or other rules engine."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.policyRule"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <condition value="ppc-1"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentPolicyRule"/>
            </extension>
            <strength value="extensible"/>
            <description value="Regulatory policy examples."/>
            <valueSet value="http://hl7.org/fhir/ValueSet/consent-policy|4.0.1"/>
          </binding>
        </element>
        <element id="Consent.policyRule.id">
          <path value="Consent.policyRule.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <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>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.policyRule.extension">
          <path value="Consent.policyRule.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. 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 can 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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.policyRule.coding">
          <path value="Consent.policyRule.coding"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for alternative encodings within a code system, and translations to other code systems."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <patternCoding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
            <code value="OPTIN"/>
          </patternCoding>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="Consent.policyRule.text">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Consent.policyRule.text"/>
          <short value="Plain text representation of the concept"/>
          <definition
                      value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
          <comment
                   value="Very often the text is the same as a displayName of one of the codings."/>
          <requirements
                        value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.9. But note many systems use C*E.2 for this"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
          </mapping>
        </element>
        <element id="Consent.verification">
          <path value="Consent.verification"/>
          <short value="Consent Verified by patient or family"/>
          <definition
                      value="Whether a treatment instruction (e.g. artificial respiration yes or no) was verified with the patient, his/her family or another authorized person."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.verification"/>
            <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() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
        </element>
        <element id="Consent.verification.id">
          <path value="Consent.verification.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <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>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.verification.extension">
          <path value="Consent.verification.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. 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 can 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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.verification.modifierExtension">
          <path value="Consent.verification.modifierExtension"/>
          <short value="Extensions that cannot be ignored even if unrecognized"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <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."/>
          <requirements
                        value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
          <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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.verification.verified">
          <path value="Consent.verification.verified"/>
          <short value="Has been verified"/>
          <definition value="Has the instruction been verified."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.verification.verified"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
        </element>
        <element id="Consent.verification.verifiedWith">
          <path value="Consent.verification.verifiedWith"/>
          <short value="Person who verified"/>
          <definition
                      value="Who verified the instruction (Patient, Relative or other Authorized Person)."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Consent.verification.verifiedWith"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Patient|4.0.1"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
        </element>
        <element id="Consent.verification.verificationDate">
          <path value="Consent.verification.verificationDate"/>
          <short value="When consent verified"/>
          <definition value="Date verification was collected."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Consent.verification.verificationDate"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
        </element>
        <element id="Consent.provision">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
            <valueString value="provision"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <path value="Consent.provision"/>
          <short value="Constraints to the base Consent.policyRule"/>
          <definition
                      value="An exception to the base policy of this consent. An exception can be an addition or removal of access permissions."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.provision"/>
            <min value="0"/>
            <max value="1"/>
          </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() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="true"/>
        </element>
        <element id="Consent.provision.id">
          <path value="Consent.provision.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <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>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.provision.extension">
          <path value="Consent.provision.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. 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 can 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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.provision.modifierExtension">
          <path value="Consent.provision.modifierExtension"/>
          <short value="Extensions that cannot be ignored even if unrecognized"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <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."/>
          <requirements
                        value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
          <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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.provision.type">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <path value="Consent.provision.type"/>
          <short value="deny | permit"/>
          <definition
                      value="Action  to take - permit or deny - when the rule conditions are met.  Not permitted in root rule, required in all nested rules."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.provision.type"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <fixedCode value="deny"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="ConsentProvisionType"/>
            </extension>
            <strength value="required"/>
            <description
                         value="How a rule statement is applied, such as adding additional consent or removing consent."/>
            <valueSet
                      value="http://hl7.org/fhir/ValueSet/consent-provision-type|4.0.1"/>
          </binding>
        </element>
        <element id="Consent.provision.period">
          <path value="Consent.provision.period"/>
          <short value="Timeframe for this rule"/>
          <definition value="The timeframe in this rule is valid."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Consent.provision.period"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Period"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
        </element>
        <element id="Consent.provision.actor">
          <path value="Consent.provision.actor"/>
          <short value="Who|what controlled by this rule (or group, by role)"/>
          <definition
                      value="Who or what is controlled by this rule. 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.provision.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() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
        </element>
        <element id="Consent.provision.actor.id">
          <path value="Consent.provision.actor.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <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>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.provision.actor.extension">
          <path value="Consent.provision.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. 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 can 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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.provision.actor.modifierExtension">
          <path value="Consent.provision.actor.modifierExtension"/>
          <short value="Extensions that cannot be ignored even if unrecognized"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <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."/>
          <requirements
                        value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
          <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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.provision.actor.role">
          <path value="Consent.provision.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.provision.actor.role"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <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."/>
            <valueSet
                      value="http://hl7.org/fhir/ValueSet/security-role-type|4.0.1"/>
          </binding>
        </element>
        <element id="Consent.provision.actor.reference">
          <path value="Consent.provision.actor.reference"/>
          <short value="Resource for the actor (or group, by role)"/>
          <definition
                      value="The resource that identifies the actor. To identify 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.provision.actor.reference"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Device|4.0.1"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Group|4.0.1"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/CareTeam|4.0.1"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Organization|4.0.1"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Patient|4.0.1"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1"/>
            <targetProfile
                           value="http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
        </element>
        <element id="Consent.provision.action">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <path value="Consent.provision.action"/>
          <short value="Actions controlled by this rule"/>
          <definition value="Actions controlled by this Rule."/>
          <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.provision.action"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <meaningWhenMissing value="all actions"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <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."/>
            <valueSet value="http://hl7.org/fhir/ValueSet/consent-action|4.0.1"/>
          </binding>
        </element>
        <element id="Consent.provision.action.id">
          <path value="Consent.provision.action.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <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>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.provision.action.extension">
          <path value="Consent.provision.action.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. 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 can 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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.provision.action.coding">
          <path value="Consent.provision.action.coding"/>
          <short value="Code defined by a terminology system"/>
          <definition
                      value="A reference to a code defined by a terminology system."/>
          <comment
                   value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
          <requirements
                        value="Allows for alternative encodings within a code system, and translations to other code systems."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.coding"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <patternCoding>
            <system value="http://terminology.hl7.org/CodeSystem/consentaction"/>
            <code value="disclose"/>
          </patternCoding>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.1-8, C*E.10-22"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map value="union(., ./translation)"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
          </mapping>
        </element>
        <element id="Consent.provision.action.text">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
            <valueBoolean value="true"/>
          </extension>
          <path value="Consent.provision.action.text"/>
          <short value="Plain text representation of the concept"/>
          <definition
                      value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
          <comment
                   value="Very often the text is the same as a displayName of one of the codings."/>
          <requirements
                        value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CodeableConcept.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="v2"/>
            <map value="C*E.9. But note many systems use C*E.2 for this"/>
          </mapping>
          <mapping>
            <identity value="rim"/>
            <map
                 value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
          </mapping>
          <mapping>
            <identity value="orim"/>
            <map
                 value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
          </mapping>
        </element>
        <element id="Consent.provision.securityLabel">
          <path value="Consent.provision.securityLabel"/>
          <short value="Security Labels that define affected resources"/>
          <definition
                      value="A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception."/>
          <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. When the purpose of use tag is on the data, access request purpose of use shall not conflict."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.provision.securityLabel"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <binding>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
              <valueString value="SecurityLabels"/>
            </extension>
            <strength value="extensible"/>
            <description
                         value="Security Labels from the Healthcare Privacy and Security Classification System."/>
            <valueSet value="http://hl7.org/fhir/ValueSet/security-labels|4.0.1"/>
          </binding>
        </element>
        <element id="Consent.provision.purpose">
          <path value="Consent.provision.purpose"/>
          <short value="Context of activities covered by this rule"/>
          <definition
                      value="The context of the activities a user is taking - why the user is accessing the data - that are controlled by this rule."/>
          <comment
                   value="When the purpose of use tag is on the data, access request purpose of use shall not conflict."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.provision.purpose"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <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."/>
            <valueSet
                      value="http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"/>
          </binding>
        </element>
        <element id="Consent.provision.class">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <path value="Consent.provision.class"/>
          <slicing>
            <discriminator>
              <type value="pattern"/>
              <path value="$this"/>
            </discriminator>
            <rules value="open"/>
          </slicing>
          <short value="e.g. Resource Type, Profile, CDA, etc."/>
          <definition
                      value="The class of information covered by this rule. 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="1"/>
          <max value="*"/>
          <base>
            <path value="Consent.provision.class"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <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."/>
            <valueSet
                      value="http://hl7.org/fhir/ValueSet/consent-content-class|4.0.1"/>
          </binding>
        </element>
        <element id="Consent.provision.class:diagnosticReport">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <path value="Consent.provision.class"/>
          <sliceName value="diagnosticReport"/>
          <short value="e.g. Resource Type, Profile, CDA, etc."/>
          <definition
                      value="The class of information covered by this rule. 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="1"/>
          <max value="1"/>
          <base>
            <path value="Consent.provision.class"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Coding"/>
          </type>
          <patternCoding>
            <system value="http://hl7.org/fhir/resource-types"/>
            <code value="DiagnosticReport"/>
          </patternCoding>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <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."/>
            <valueSet
                      value="http://hl7.org/fhir/ValueSet/consent-content-class|4.0.1"/>
          </binding>
        </element>
        <element id="Consent.provision.code">
          <path value="Consent.provision.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 rule applies."/>
          <comment
                   value="Typical use of this is a Document code with class = CDA."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.provision.code"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <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."/>
            <valueSet
                      value="http://hl7.org/fhir/ValueSet/consent-content-code|4.0.1"/>
          </binding>
        </element>
        <element id="Consent.provision.dataPeriod">
          <path value="Consent.provision.dataPeriod"/>
          <short value="Timeframe for data controlled by this rule"/>
          <definition
                      value="Clinical or Operational Relevant period of time that bounds the data controlled by this rule."/>
          <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.provision.dataPeriod"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Period"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="true"/>
        </element>
        <element id="Consent.provision.data">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
            <valueString value="provisionData"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <path value="Consent.provision.data"/>
          <short value="Data controlled by this rule"/>
          <definition
                      value="The resources controlled by this rule if specific resources are referenced."/>
          <min value="1"/>
          <max value="*"/>
          <base>
            <path value="Consent.provision.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() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="Role"/>
          </mapping>
        </element>
        <element id="Consent.provision.data.id">
          <path value="Consent.provision.data.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <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>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.provision.data.extension">
          <path value="Consent.provision.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. 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 can 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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Consent.provision.data.modifierExtension">
          <path value="Consent.provision.data.modifierExtension"/>
          <short value="Extensions that cannot be ignored even if unrecognized"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <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."/>
          <requirements
                        value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
          <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>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (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(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="Consent.provision.data.meaning">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <path value="Consent.provision.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.provision.data.meaning"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <fixedCode value="dependents"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <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."/>
            <valueSet
                      value="http://hl7.org/fhir/ValueSet/consent-data-meaning|4.0.1"/>
          </binding>
        </element>
        <element id="Consent.provision.data.reference">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
            <extension
                       url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-source">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal|1.0.0-ci-build"/>
            </extension>
          </extension>
          <path value="Consent.provision.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.provision.data.reference"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-servicerequest-path"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-servicerequest-imag"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mustSupport value="true"/>
          <isModifier value="false"/>
          <isSummary value="true"/>
        </element>
        <element id="Consent.provision.provision">
          <path value="Consent.provision.provision"/>
          <short value="Nested Exception Rules"/>
          <definition
                      value="Rules which provide exceptions to the base rule or subrules."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Consent.provision.provision"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <contentReference
                            value="http://hl7.org/fhir/StructureDefinition/Consent#Consent.provision"/>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
        </element>
      </snapshot>
      <differential>
        <element id="Consent">
          <path value="Consent"/>
        </element>
        <element id="Consent.status">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.status"/>
          <fixedCode value="active"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.scope">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.scope"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.scope.coding">
          <path value="Consent.scope.coding"/>
          <min value="1"/>
          <max value="1"/>
          <patternCoding>
            <system value="http://terminology.hl7.org/CodeSystem/consentscope"/>
            <code value="patient-privacy"/>
          </patternCoding>
        </element>
        <element id="Consent.category">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.category"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.category.coding">
          <path value="Consent.category.coding"/>
          <min value="1"/>
          <max value="1"/>
          <patternCoding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
            <code value="IDSCL"/>
          </patternCoding>
        </element>
        <element id="Consent.patient">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.patient"/>
          <min value="1"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"/>
          </type>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.dateTime">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.dateTime"/>
          <min value="1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.performer">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.performer"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"/>
          </type>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.organization">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.organization"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization"/>
          </type>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.policy">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.policy"/>
          <min value="1"/>
          <max value="1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.policy.authority">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.policy.authority"/>
          <min value="1"/>
          <fixedUri value="https://www.health.gov.au"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.policy.uri">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.policy.uri"/>
          <min value="1"/>
          <fixedUri value="https://www.legislation.gov.au/C2012A00063"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.policyRule">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.policyRule"/>
          <min value="1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.policyRule.coding">
          <path value="Consent.policyRule.coding"/>
          <min value="1"/>
          <max value="1"/>
          <patternCoding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
            <code value="OPTIN"/>
          </patternCoding>
        </element>
        <element id="Consent.provision">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
            <valueString value="provision"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.provision"/>
          <min value="1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.provision.type">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.provision.type"/>
          <min value="1"/>
          <fixedCode value="deny"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.provision.action">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.provision.action"/>
          <min value="1"/>
          <max value="1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.provision.action.coding">
          <path value="Consent.provision.action.coding"/>
          <min value="1"/>
          <max value="1"/>
          <patternCoding>
            <system value="http://terminology.hl7.org/CodeSystem/consentaction"/>
            <code value="disclose"/>
          </patternCoding>
        </element>
        <element id="Consent.provision.class">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.provision.class"/>
          <slicing>
            <discriminator>
              <type value="pattern"/>
              <path value="$this"/>
            </discriminator>
            <rules value="open"/>
          </slicing>
          <min value="1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.provision.class:diagnosticReport">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.provision.class"/>
          <sliceName value="diagnosticReport"/>
          <min value="1"/>
          <max value="1"/>
          <patternCoding>
            <system value="http://hl7.org/fhir/resource-types"/>
            <code value="DiagnosticReport"/>
          </patternCoding>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.provision.data">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
            <valueString value="provisionData"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.provision.data"/>
          <min value="1"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.provision.data.meaning">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.provision.data.meaning"/>
          <fixedCode value="dependents"/>
          <mustSupport value="true"/>
        </element>
        <element id="Consent.provision.data.reference">
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:handle"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:able-to-populate"/>
            </extension>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/obligation">
            <extension url="actor">
              <valueCanonical
                              value="http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"/>
            </extension>
            <extension url="code">
              <valueCode value="SHALL:no-error"/>
            </extension>
          </extension>
          <path value="Consent.provision.data.reference"/>
          <type>
            <code value="Reference"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-servicerequest-path"/>
            <targetProfile
                           value="http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-servicerequest-imag"/>
          </type>
          <mustSupport value="true"/>
        </element>
      </differential>
    </StructureDefinition>