| Australian Digital Health Agency Medicare Records FHIR Implementation Guide 2.1.0

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

## Example: Consent-aodr-willingtodonatesome

Formats: Narrative, XML, JSON, Turtle

Raw ttl

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix loinc: <http://loinc.org/rdf#> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Consent;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "aodr-willingtodonatesome"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/consent-aodr";
           fhir:index 0     ]
      ];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Consent</b><a name=\"aodr-willingtodonatesome\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Consent &quot;aodr-willingtodonatesome&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-consent-aodr.html\">ADHA Australian Organ Donor Register Consent</a></p></div><p><b>Date of Initial Registration</b>: 2015-11-18</p><p><b>Consent Donation Decision</b>: Willing to be donor <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#160654005)</span></p><p><b>identifier</b>: id: urn:oid:2.25.320090414317418051877665573694312012199</p><p><b>status</b>: active</p><p><b>category</b>: Organ donation consent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#64300-7)</span></p><p><b>patient</b>: <span/></p><p><b>dateTime</b>: 2017-09-21</p><h3>Policies</h3><table class=\"grid\"><tr><td>-</td><td><b>Authority</b></td><td><b>Uri</b></td></tr><tr><td>*</td><td><a href=\"http://australianorgandonorregister.gov.au\">http://australianorgandonorregister.gov.au</a></td><td><a href=\"http://www.australianorgandonorregister.gov.au/aodr\">http://www.australianorgandonorregister.gov.au/aodr</a></td></tr></table><blockquote><p><b>except</b></p><p><b>type</b>: deny</p><p><b>action</b>: Harvesting of donor material <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#53958007)</span></p><h3>Data</h3><table class=\"grid\"><tr><td>-</td><td><b>Meaning</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>instance</td><td><a name=\"BodySite-bone\"> </a><blockquote><p/><p><a name=\"BodySite-bone\"> </a></p><p><b>code</b>: Bone structure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#272673000)</span></p><p><b>patient</b>: <span/></p></blockquote></td></tr></table></blockquote><blockquote><p><b>except</b></p><p><b>type</b>: deny</p><p><b>action</b>: Harvesting of donor material <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#53958007)</span></p><h3>Data</h3><table class=\"grid\"><tr><td>-</td><td><b>Meaning</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>instance</td><td><a name=\"BodySite-eye\"> </a><blockquote><p/><p><a name=\"BodySite-eye\"> </a></p><p><b>code</b>: Eye <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#81745001)</span></p><p><b>patient</b>: <span/></p></blockquote></td></tr></table></blockquote><blockquote><p><b>except</b></p><p><b>type</b>: permit</p><p><b>action</b>: Harvesting of donor material <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#53958007)</span></p><h3>Data</h3><table class=\"grid\"><tr><td>-</td><td><b>Meaning</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>instance</td><td><a name=\"BodySite-heart\"> </a><blockquote><p/><p><a name=\"BodySite-heart\"> </a></p><p><b>code</b>: Heart <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#80891009)</span></p><p><b>patient</b>: <span/></p></blockquote></td></tr></table></blockquote><blockquote><p><b>except</b></p><p><b>type</b>: permit</p><p><b>action</b>: Harvesting of donor material <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#53958007)</span></p><h3>Data</h3><table class=\"grid\"><tr><td>-</td><td><b>Meaning</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>instance</td><td><a name=\"BodySite-heart-valve\"> </a><blockquote><p/><p><a name=\"BodySite-heart-valve\"> </a></p><p><b>code</b>: Heart valve structure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#17401000)</span></p><p><b>patient</b>: <span/></p></blockquote></td></tr></table></blockquote><blockquote><p><b>except</b></p><p><b>type</b>: permit</p><p><b>action</b>: Harvesting of donor material <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#53958007)</span></p><h3>Data</h3><table class=\"grid\"><tr><td>-</td><td><b>Meaning</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>instance</td><td><a name=\"BodySite-kidney\"> </a><blockquote><p/><p><a name=\"BodySite-kidney\"> </a></p><p><b>code</b>: Kidney <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#64033007)</span></p><p><b>patient</b>: <span/></p></blockquote></td></tr></table></blockquote><blockquote><p><b>except</b></p><p><b>type</b>: permit</p><p><b>action</b>: Harvesting of donor material <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#53958007)</span></p><h3>Data</h3><table class=\"grid\"><tr><td>-</td><td><b>Meaning</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>instance</td><td><a name=\"BodySite-liver\"> </a><blockquote><p/><p><a name=\"BodySite-liver\"> </a></p><p><b>code</b>: Liver <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#10200004)</span></p><p><b>patient</b>: <span/></p></blockquote></td></tr></table></blockquote><blockquote><p><b>except</b></p><p><b>type</b>: permit</p><p><b>action</b>: Harvesting of donor material <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#53958007)</span></p><h3>Data</h3><table class=\"grid\"><tr><td>-</td><td><b>Meaning</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>instance</td><td><a name=\"BodySite-lungs\"> </a><blockquote><p/><p><a name=\"BodySite-lungs\"> </a></p><p><b>code</b>: Lung structure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#39607008)</span></p><p><b>patient</b>: <span/></p></blockquote></td></tr></table></blockquote><blockquote><p><b>except</b></p><p><b>type</b>: permit</p><p><b>action</b>: Harvesting of donor material <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#53958007)</span></p><h3>Data</h3><table class=\"grid\"><tr><td>-</td><td><b>Meaning</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>instance</td><td><a name=\"BodySite-pancreas\"> </a><blockquote><p/><p><a name=\"BodySite-pancreas\"> </a></p><p><b>code</b>: Pancreas <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#15776009)</span></p><p><b>patient</b>: <span/></p></blockquote></td></tr></table></blockquote><blockquote><p><b>except</b></p><p><b>type</b>: permit</p><p><b>action</b>: Harvesting of donor material <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#53958007)</span></p><h3>Data</h3><table class=\"grid\"><tr><td>-</td><td><b>Meaning</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>instance</td><td><a name=\"BodySite-skin\"> </a><blockquote><p/><p><a name=\"BodySite-skin\"> </a></p><p><b>code</b>: Skin structure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#39937001)</span></p><p><b>patient</b>: <span/></p></blockquote></td></tr></table></blockquote><hr/><blockquote><p><b>Generated Narrative: BodySite #BodySite-bone</b><a name=\"BodySite-bone\"> </a></p><p><b>code</b>: Bone structure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#272673000)</span></p><p><b>patient</b>: <span/></p></blockquote><hr/><blockquote><p><b>Generated Narrative: BodySite #BodySite-eye</b><a name=\"BodySite-eye\"> </a></p><p><b>code</b>: Eye <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#81745001)</span></p><p><b>patient</b>: <span/></p></blockquote><hr/><blockquote><p><b>Generated Narrative: BodySite #BodySite-heart</b><a name=\"BodySite-heart\"> </a></p><p><b>code</b>: Heart <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#80891009)</span></p><p><b>patient</b>: <span/></p></blockquote><hr/><blockquote><p><b>Generated Narrative: BodySite #BodySite-heart-valve</b><a name=\"BodySite-heart-valve\"> </a></p><p><b>code</b>: Heart valve structure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#17401000)</span></p><p><b>patient</b>: <span/></p></blockquote><hr/><blockquote><p><b>Generated Narrative: BodySite #BodySite-kidney</b><a name=\"BodySite-kidney\"> </a></p><p><b>code</b>: Kidney <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#64033007)</span></p><p><b>patient</b>: <span/></p></blockquote><hr/><blockquote><p><b>Generated Narrative: BodySite #BodySite-liver</b><a name=\"BodySite-liver\"> </a></p><p><b>code</b>: Liver <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#10200004)</span></p><p><b>patient</b>: <span/></p></blockquote><hr/><blockquote><p><b>Generated Narrative: BodySite #BodySite-lungs</b><a name=\"BodySite-lungs\"> </a></p><p><b>code</b>: Lung structure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#39607008)</span></p><p><b>patient</b>: <span/></p></blockquote><hr/><blockquote><p><b>Generated Narrative: BodySite #BodySite-pancreas</b><a name=\"BodySite-pancreas\"> </a></p><p><b>code</b>: Pancreas <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#15776009)</span></p><p><b>patient</b>: <span/></p></blockquote><hr/><blockquote><p><b>Generated Narrative: BodySite #BodySite-skin</b><a name=\"BodySite-skin\"> </a></p><p><b>code</b>: Skin structure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#39937001)</span></p><p><b>patient</b>: <span/></p></blockquote></div>"
      ];
      fhir:DomainResource.contained [
         a fhir:BodySite;
         fhir:index 0;
         fhir:Resource.id [ fhir:value "BodySite-bone" ];
         fhir:BodySite.code [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:272673000;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "272673000" ];
             fhir:Coding.display [ fhir:value "Bone structure" ]       ]     ];
         fhir:BodySite.patient [
           fhir:Reference.identifier [
             fhir:Identifier.type [
               fhir:CodeableConcept.coding [
                 fhir:index 0;
                 fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
                 fhir:Coding.code [ fhir:value "NI" ];
                 fhir:Coding.display [ fhir:value "National unique individual identifier" ]           ]         ];
             fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
             fhir:Identifier.value [ fhir:value "8003608166690503" ]       ]     ]
      ], [
         a fhir:BodySite;
         fhir:index 1;
         fhir:Resource.id [ fhir:value "BodySite-eye" ];
         fhir:BodySite.code [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:81745001;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "81745001" ];
             fhir:Coding.display [ fhir:value "Eye" ]       ]     ];
         fhir:BodySite.patient [
           fhir:Reference.identifier [
             fhir:Identifier.type [
               fhir:CodeableConcept.coding [
                 fhir:index 0;
                 fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
                 fhir:Coding.code [ fhir:value "NI" ];
                 fhir:Coding.display [ fhir:value "National unique individual identifier" ]           ]         ];
             fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
             fhir:Identifier.value [ fhir:value "8003608166690503" ]       ]     ]
      ], [
         a fhir:BodySite;
         fhir:index 2;
         fhir:Resource.id [ fhir:value "BodySite-heart" ];
         fhir:BodySite.code [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:80891009;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "80891009" ];
             fhir:Coding.display [ fhir:value "Heart" ]       ]     ];
         fhir:BodySite.patient [
           fhir:Reference.identifier [
             fhir:Identifier.type [
               fhir:CodeableConcept.coding [
                 fhir:index 0;
                 fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
                 fhir:Coding.code [ fhir:value "NI" ];
                 fhir:Coding.display [ fhir:value "National unique individual identifier" ]           ]         ];
             fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
             fhir:Identifier.value [ fhir:value "8003608166690503" ]       ]     ]
      ], [
         a fhir:BodySite;
         fhir:index 3;
         fhir:Resource.id [ fhir:value "BodySite-heart-valve" ];
         fhir:BodySite.code [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:17401000;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "17401000" ];
             fhir:Coding.display [ fhir:value "Heart valve structure" ]       ]     ];
         fhir:BodySite.patient [
           fhir:Reference.identifier [
             fhir:Identifier.type [
               fhir:CodeableConcept.coding [
                 fhir:index 0;
                 fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
                 fhir:Coding.code [ fhir:value "NI" ];
                 fhir:Coding.display [ fhir:value "National unique individual identifier" ]           ]         ];
             fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
             fhir:Identifier.value [ fhir:value "8003608166690503" ]       ]     ]
      ], [
         a fhir:BodySite;
         fhir:index 4;
         fhir:Resource.id [ fhir:value "BodySite-kidney" ];
         fhir:BodySite.code [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:64033007;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "64033007" ];
             fhir:Coding.display [ fhir:value "Kidney" ]       ]     ];
         fhir:BodySite.patient [
           fhir:Reference.identifier [
             fhir:Identifier.type [
               fhir:CodeableConcept.coding [
                 fhir:index 0;
                 fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
                 fhir:Coding.code [ fhir:value "NI" ];
                 fhir:Coding.display [ fhir:value "National unique individual identifier" ]           ]         ];
             fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
             fhir:Identifier.value [ fhir:value "8003608166690503" ]       ]     ]
      ], [
         a fhir:BodySite;
         fhir:index 5;
         fhir:Resource.id [ fhir:value "BodySite-liver" ];
         fhir:BodySite.code [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:10200004;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "10200004" ];
             fhir:Coding.display [ fhir:value "Liver" ]       ]     ];
         fhir:BodySite.patient [
           fhir:Reference.identifier [
             fhir:Identifier.type [
               fhir:CodeableConcept.coding [
                 fhir:index 0;
                 fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
                 fhir:Coding.code [ fhir:value "NI" ];
                 fhir:Coding.display [ fhir:value "National unique individual identifier" ]           ]         ];
             fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
             fhir:Identifier.value [ fhir:value "8003608166690503" ]       ]     ]
      ], [
         a fhir:BodySite;
         fhir:index 6;
         fhir:Resource.id [ fhir:value "BodySite-lungs" ];
         fhir:BodySite.code [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:39607008;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "39607008" ];
             fhir:Coding.display [ fhir:value "Lung structure" ]       ]     ];
         fhir:BodySite.patient [
           fhir:Reference.identifier [
             fhir:Identifier.type [
               fhir:CodeableConcept.coding [
                 fhir:index 0;
                 fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
                 fhir:Coding.code [ fhir:value "NI" ];
                 fhir:Coding.display [ fhir:value "National unique individual identifier" ]           ]         ];
             fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
             fhir:Identifier.value [ fhir:value "8003608166690503" ]       ]     ]
      ], [
         a fhir:BodySite;
         fhir:index 7;
         fhir:Resource.id [ fhir:value "BodySite-pancreas" ];
         fhir:BodySite.code [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:15776009;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "15776009" ];
             fhir:Coding.display [ fhir:value "Pancreas" ]       ]     ];
         fhir:BodySite.patient [
           fhir:Reference.identifier [
             fhir:Identifier.type [
               fhir:CodeableConcept.coding [
                 fhir:index 0;
                 fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
                 fhir:Coding.code [ fhir:value "NI" ];
                 fhir:Coding.display [ fhir:value "National unique individual identifier" ]           ]         ];
             fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
             fhir:Identifier.value [ fhir:value "8003608166690503" ]       ]     ]
      ], [
         a fhir:BodySite;
         fhir:index 8;
         fhir:Resource.id [ fhir:value "BodySite-skin" ];
         fhir:BodySite.code [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:39937001;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "39937001" ];
             fhir:Coding.display [ fhir:value "Skin structure" ]       ]     ];
         fhir:BodySite.patient [
           fhir:Reference.identifier [
             fhir:Identifier.type [
               fhir:CodeableConcept.coding [
                 fhir:index 0;
                 fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
                 fhir:Coding.code [ fhir:value "NI" ];
                 fhir:Coding.display [ fhir:value "National unique individual identifier" ]           ]         ];
             fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
             fhir:Identifier.value [ fhir:value "8003608166690503" ]       ]     ]
      ];
      fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-dateinitialregistration" ];
         fhir:Extension.valueDateTime [ fhir:value "2015-11-18"^^xsd:date ]
      ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/extension-donationdecision" ];
         fhir:Extension.valueCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:160654005;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "160654005" ];
             fhir:Coding.display [ fhir:value "Willing to be donor" ]       ]     ]
      ];
      fhir:Consent.identifier [
         fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
         fhir:Identifier.value [ fhir:value "urn:oid:2.25.320090414317418051877665573694312012199" ]
      ];
      fhir:Consent.status [ fhir:value "active"];
      fhir:Consent.category [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a loinc:64300-7;
           fhir:Coding.system [ fhir:value "http://loinc.org" ];
           fhir:Coding.code [ fhir:value "64300-7" ];
           fhir:Coding.display [ fhir:value "Organ donation consent" ]     ]
      ];
      fhir:Consent.patient [
         fhir:Reference.identifier [
           fhir:Identifier.type [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2/0203" ];
               fhir:Coding.code [ fhir:value "NI" ];
               fhir:Coding.display [ fhir:value "National unique individual identifier" ]         ]       ];
           fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
           fhir:Identifier.value [ fhir:value "8003608166690503" ]     ]
      ];
      fhir:Consent.dateTime [ fhir:value "2017-09-21"^^xsd:date];
      fhir:Consent.policy [
         fhir:index 0;
         fhir:Consent.policy.authority [ fhir:value "http://australianorgandonorregister.gov.au" ];
         fhir:Consent.policy.uri [ fhir:value "http://www.australianorgandonorregister.gov.au/aodr" ]
      ];
      fhir:Consent.except [
         fhir:index 0;
         fhir:Consent.except.type [ fhir:value "deny" ];
         fhir:Consent.except.action [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:53958007;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "53958007" ]       ]     ];
         fhir:Consent.except.data [
           fhir:index 0;
           fhir:Consent.except.data.meaning [ fhir:value "instance" ];
           fhir:Consent.except.data.reference [
             fhir:Reference.reference [ fhir:value "#BodySite-bone" ]       ]     ]
      ], [
         fhir:index 1;
         fhir:Consent.except.type [ fhir:value "deny" ];
         fhir:Consent.except.action [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:53958007;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "53958007" ]       ]     ];
         fhir:Consent.except.data [
           fhir:index 0;
           fhir:Consent.except.data.meaning [ fhir:value "instance" ];
           fhir:Consent.except.data.reference [
             fhir:Reference.reference [ fhir:value "#BodySite-eye" ]       ]     ]
      ], [
         fhir:index 2;
         fhir:Consent.except.type [ fhir:value "permit" ];
         fhir:Consent.except.action [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:53958007;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "53958007" ]       ]     ];
         fhir:Consent.except.data [
           fhir:index 0;
           fhir:Consent.except.data.meaning [ fhir:value "instance" ];
           fhir:Consent.except.data.reference [
             fhir:Reference.reference [ fhir:value "#BodySite-heart" ]       ]     ]
      ], [
         fhir:index 3;
         fhir:Consent.except.type [ fhir:value "permit" ];
         fhir:Consent.except.action [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:53958007;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "53958007" ]       ]     ];
         fhir:Consent.except.data [
           fhir:index 0;
           fhir:Consent.except.data.meaning [ fhir:value "instance" ];
           fhir:Consent.except.data.reference [
             fhir:Reference.reference [ fhir:value "#BodySite-heart-valve" ]       ]     ]
      ], [
         fhir:index 4;
         fhir:Consent.except.type [ fhir:value "permit" ];
         fhir:Consent.except.action [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:53958007;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "53958007" ]       ]     ];
         fhir:Consent.except.data [
           fhir:index 0;
           fhir:Consent.except.data.meaning [ fhir:value "instance" ];
           fhir:Consent.except.data.reference [
             fhir:Reference.reference [ fhir:value "#BodySite-kidney" ]       ]     ]
      ], [
         fhir:index 5;
         fhir:Consent.except.type [ fhir:value "permit" ];
         fhir:Consent.except.action [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:53958007;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "53958007" ]       ]     ];
         fhir:Consent.except.data [
           fhir:index 0;
           fhir:Consent.except.data.meaning [ fhir:value "instance" ];
           fhir:Consent.except.data.reference [
             fhir:Reference.reference [ fhir:value "#BodySite-liver" ]       ]     ]
      ], [
         fhir:index 6;
         fhir:Consent.except.type [ fhir:value "permit" ];
         fhir:Consent.except.action [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:53958007;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "53958007" ]       ]     ];
         fhir:Consent.except.data [
           fhir:index 0;
           fhir:Consent.except.data.meaning [ fhir:value "instance" ];
           fhir:Consent.except.data.reference [
             fhir:Reference.reference [ fhir:value "#BodySite-lungs" ]       ]     ]
      ], [
         fhir:index 7;
         fhir:Consent.except.type [ fhir:value "permit" ];
         fhir:Consent.except.action [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:53958007;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "53958007" ]       ]     ];
         fhir:Consent.except.data [
           fhir:index 0;
           fhir:Consent.except.data.meaning [ fhir:value "instance" ];
           fhir:Consent.except.data.reference [
             fhir:Reference.reference [ fhir:value "#BodySite-pancreas" ]       ]     ]
      ], [
         fhir:index 8;
         fhir:Consent.except.type [ fhir:value "permit" ];
         fhir:Consent.except.action [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             a sct:53958007;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "53958007" ]       ]     ];
         fhir:Consent.except.data [
           fhir:index 0;
           fhir:Consent.except.data.meaning [ fhir:value "instance" ];
           fhir:Consent.except.data.reference [
             fhir:Reference.reference [ fhir:value "#BodySite-skin" ]       ]     ]
      ].

    # - ontology header ------------------------------------------------------------

     a owl:Ontology;
      owl:imports fhir:fhir.ttl.