| Australian Digital Health Agency Medicare Records FHIR Implementation Guide 2.2.0

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

## Example: Consent-aodr-willingtodonatesome

Formats: Narrative, XML, JSON, Turtle

Raw xml

    <Consent xmlns="http://hl7.org/fhir">
      <id value="aodr-willingtodonatesome"/>
      <meta>
        <profile
                 value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr"/>
      </meta>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
    			<p>
    				<b>Example Narrative</b>
    			</p>
    			<p><b>id</b>: aodr-willingtodonatesome</p>
    			<p><b>donation decision</b>: Willing to be donor</p>
    			<p><b>dateTime</b>: 2017-09-21</p>
    			<p><b>Bone structure</b>: Not willing to be a donor</p>
    			<p><b>Eye</b>: Not willing to be a donor</p>
    			<p><b>Heart</b>: Willing to be donor</p>
    			<p><b>Heart valve structure</b>: Willing to be donor</p>
    			<p><b>Kidney</b>: Willing to be donor</p>
    			<p><b>Liver</b>: Willing to be donor</p>
    			<p><b>Lung structure</b>: Willing to be donor</p>
    			<p><b>Pancreas</b>: Willing to be donor</p>
    			<p><b>Skin structure</b>: Willing to be donor</p>
    		</div>
      </text>
      <contained>
        <BodySite>
          <id value="BodySite-bone"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="272673000"/>
              <display value="Bone structure"/>
            </coding>
          </code>
          <patient>
            <identifier>
              <type>
                <coding>
                  <system value="http://hl7.org/fhir/v2/0203"/>
                  <code value="NI"/>
                  <display value="National unique individual identifier"/>
                </coding>
              </type>
              <system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
              <value value="8003608166690503"/>
            </identifier>
          </patient>
        </BodySite>
      </contained>
      <contained>
        <BodySite>
          <id value="BodySite-eye"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="81745001"/>
              <display value="Eye"/>
            </coding>
          </code>
          <patient>
            <identifier>
              <type>
                <coding>
                  <system value="http://hl7.org/fhir/v2/0203"/>
                  <code value="NI"/>
                  <display value="National unique individual identifier"/>
                </coding>
              </type>
              <system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
              <value value="8003608166690503"/>
            </identifier>
          </patient>
        </BodySite>
      </contained>
      <contained>
        <BodySite>
          <id value="BodySite-heart"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="80891009"/>
              <display value="Heart"/>
            </coding>
          </code>
          <patient>
            <identifier>
              <type>
                <coding>
                  <system value="http://hl7.org/fhir/v2/0203"/>
                  <code value="NI"/>
                  <display value="National unique individual identifier"/>
                </coding>
              </type>
              <system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
              <value value="8003608166690503"/>
            </identifier>
          </patient>
        </BodySite>
      </contained>
      <contained>
        <BodySite>
          <id value="BodySite-heart-valve"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="17401000"/>
              <display value="Heart valve structure"/>
            </coding>
          </code>
          <patient>
            <identifier>
              <type>
                <coding>
                  <system value="http://hl7.org/fhir/v2/0203"/>
                  <code value="NI"/>
                  <display value="National unique individual identifier"/>
                </coding>
              </type>
              <system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
              <value value="8003608166690503"/>
            </identifier>
          </patient>
        </BodySite>
      </contained>
      <contained>
        <BodySite>
          <id value="BodySite-kidney"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="64033007"/>
              <display value="Kidney"/>
            </coding>
          </code>
          <patient>
            <identifier>
              <type>
                <coding>
                  <system value="http://hl7.org/fhir/v2/0203"/>
                  <code value="NI"/>
                  <display value="National unique individual identifier"/>
                </coding>
              </type>
              <system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
              <value value="8003608166690503"/>
            </identifier>
          </patient>
        </BodySite>
      </contained>
      <contained>
        <BodySite>
          <id value="BodySite-liver"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="10200004"/>
              <display value="Liver"/>
            </coding>
          </code>
          <patient>
            <identifier>
              <type>
                <coding>
                  <system value="http://hl7.org/fhir/v2/0203"/>
                  <code value="NI"/>
                  <display value="National unique individual identifier"/>
                </coding>
              </type>
              <system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
              <value value="8003608166690503"/>
            </identifier>
          </patient>
        </BodySite>
      </contained>
      <contained>
        <BodySite>
          <id value="BodySite-lungs"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="39607008"/>
              <display value="Lung structure"/>
            </coding>
          </code>
          <patient>
            <identifier>
              <type>
                <coding>
                  <system value="http://hl7.org/fhir/v2/0203"/>
                  <code value="NI"/>
                  <display value="National unique individual identifier"/>
                </coding>
              </type>
              <system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
              <value value="8003608166690503"/>
            </identifier>
          </patient>
        </BodySite>
      </contained>
      <contained>
        <BodySite>
          <id value="BodySite-pancreas"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="15776009"/>
              <display value="Pancreas"/>
            </coding>
          </code>
          <patient>
            <identifier>
              <type>
                <coding>
                  <system value="http://hl7.org/fhir/v2/0203"/>
                  <code value="NI"/>
                  <display value="National unique individual identifier"/>
                </coding>
              </type>
              <system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
              <value value="8003608166690503"/>
            </identifier>
          </patient>
        </BodySite>
      </contained>
      <contained>
        <BodySite>
          <id value="BodySite-skin"/>
          <code>
            <coding>
              <system value="http://snomed.info/sct"/>
              <code value="39937001"/>
              <display value="Skin structure"/>
            </coding>
          </code>
          <patient>
            <identifier>
              <type>
                <coding>
                  <system value="http://hl7.org/fhir/v2/0203"/>
                  <code value="NI"/>
                  <display value="National unique individual identifier"/>
                </coding>
              </type>
              <system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
              <value value="8003608166690503"/>
            </identifier>
          </patient>
        </BodySite>
      </contained>
      <extension
                 url="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision">
        <valueCodeableConcept>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="160654005"/>
            <display value="Willing to be donor"/>
          </coding>
        </valueCodeableConcept>
      </extension>
      <identifier>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:oid:2.25.320090414317418051877665573694312012199"/>
      </identifier>
      <status value="active"/>
      <category>
        <coding>
          <system value="http://loinc.org"/>
          <code value="64300-7"/>
          <display value="Organ donation consent"/>
        </coding>
      </category>
      <patient>
        <identifier>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/v2/0203"/>
              <code value="NI"/>
              <display value="National unique individual identifier"/>
            </coding>
          </type>
          <system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
          <value value="8003608166690503"/>
        </identifier>
      </patient>
      <dateTime value="2017-09-21"/>
      <policy>
        <authority value="http://australianorgandonorregister.gov.au"/>
        <uri value="http://www.australianorgandonorregister.gov.au/aodr"/>
      </policy>
      <except>
        <type value="deny"/>
        <action>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="53958007"/>
          </coding>
        </action>
        <data>
          <meaning value="instance"/>
          <reference>
            <reference value="#BodySite-bone"/>
          </reference>
        </data>
      </except>
      <except>
        <type value="deny"/>
        <action>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="53958007"/>
          </coding>
        </action>
        <data>
          <meaning value="instance"/>
          <reference>
            <reference value="#BodySite-eye"/>
          </reference>
        </data>
      </except>
      <except>
        <type value="permit"/>
        <action>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="53958007"/>
          </coding>
        </action>
        <data>
          <meaning value="instance"/>
          <reference>
            <reference value="#BodySite-heart"/>
          </reference>
        </data>
      </except>
      <except>
        <type value="permit"/>
        <action>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="53958007"/>
          </coding>
        </action>
        <data>
          <meaning value="instance"/>
          <reference>
            <reference value="#BodySite-heart-valve"/>
          </reference>
        </data>
      </except>
      <except>
        <type value="permit"/>
        <action>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="53958007"/>
          </coding>
        </action>
        <data>
          <meaning value="instance"/>
          <reference>
            <reference value="#BodySite-kidney"/>
          </reference>
        </data>
      </except>
      <except>
        <type value="permit"/>
        <action>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="53958007"/>
          </coding>
        </action>
        <data>
          <meaning value="instance"/>
          <reference>
            <reference value="#BodySite-liver"/>
          </reference>
        </data>
      </except>
      <except>
        <type value="permit"/>
        <action>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="53958007"/>
          </coding>
        </action>
        <data>
          <meaning value="instance"/>
          <reference>
            <reference value="#BodySite-lungs"/>
          </reference>
        </data>
      </except>
      <except>
        <type value="permit"/>
        <action>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="53958007"/>
          </coding>
        </action>
        <data>
          <meaning value="instance"/>
          <reference>
            <reference value="#BodySite-pancreas"/>
          </reference>
        </data>
      </except>
      <except>
        <type value="permit"/>
        <action>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="53958007"/>
          </coding>
        </action>
        <data>
          <meaning value="instance"/>
          <reference>
            <reference value="#BodySite-skin"/>
          </reference>
        </data>
      </except>
    </Consent>