| 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-notwillingtodonate

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-notwillingtodonate"];
      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-notwillingtodonate\"> </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-notwillingtodonate&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>: Not willing to be a donor <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#161034004)</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></div>"
      ];
      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:161034004;
             fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
             fhir:Coding.code [ fhir:value "161034004" ];
             fhir:Coding.display [ fhir:value "Not willing to be a 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" ]
      ].

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

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