| Australian Digital Health Agency FHIR Implementation Guide 1.1.0

This page is part of the Australian Digital Health Agency FHIR Implementation Guide 1.1.0. It is based on FHIR® version 4.0.1. See the Directory of published versions for a list of available previous versions.

## Example: Consent-aodr-01

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-01"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-consent-aodr-1";
           fhir:index 0;
           fhir:link <http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-consent-aodr-1>     ]
      ];
      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-01\"> </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 \"aodr-01\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dh-consent-aodr-1.html\">ADHA Record of Consent from Australian Organ Donor Register</a></p></div><p><b>Date of Initial Registration</b>: 2015-11-18</p><p><b>identifier</b>: id: urn:oid:2.25.320090414317418051877665573694312012199</p><p><b>status</b>: active</p><p><b>scope</b>: Advanced Care Directive <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-consentscope.html\">Consent Scope Codes</a>#adr)</span></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>, Consent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#59284-0)</span></p><p><b>patient</b>: <span></span></p><p><b>dateTime</b>: 2017-09-21</p><p><b>performer</b>: <span></span></p><p><b>organization</b>: <span>: Medicare Australia repository services operator</span></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><h3>Provisions</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Action</b></td></tr><tr><td>*</td><td>deny</td><td>53958007 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#53958007)</span></td></tr></table></div>"
      ];
      fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-date-initial-registration-1" ];
         fhir:Extension.valueDateTime [ fhir:value "2015-11-18"^^xsd:date ]
      ];
      fhir:Consent.identifier [
         fhir:index 0;
         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.scope [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentscope" ];
           fhir:Coding.code [ fhir:value "adr" ];
           fhir:Coding.display [ fhir:value "Advanced Care Directive" ]     ]
      ];
      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:index 1;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a loinc:59284-0;
           fhir:Coding.system [ fhir:value "http://loinc.org" ];
           fhir:Coding.code [ fhir:value "59284-0" ];
           fhir:Coding.display [ fhir:value "Consent" ]     ]
      ];
      fhir:Consent.patient [
         fhir:Reference.identifier [
           fhir:Identifier.type [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/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 "8003608833357361" ]     ]
      ];
      fhir:Consent.dateTime [ fhir:value "2017-09-21"^^xsd:date];
      fhir:Consent.performer [
         fhir:index 0;
         fhir:Reference.identifier [
           fhir:Identifier.type [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/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 "8003608833357361" ]     ]
      ];
      fhir:Consent.organization [
         fhir:index 0;
         fhir:Reference.identifier [
           fhir:Identifier.type [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org.au/CodeSystem/v2-0203" ];
               fhir:Coding.code [ fhir:value "NOI" ];
               fhir:Coding.display [ fhir:value "National Organisation Identifier" ]         ];
             fhir:CodeableConcept.text [ fhir:value "PAI-O" ]       ];
           fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/pcehr/paio/1.0" ];
           fhir:Identifier.value [ fhir:value "8003640001000010" ]     ];
         fhir:Reference.display [ fhir:value "Medicare Australia repository services operator" ]
      ];
      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.provision [
         fhir:Consent.provision.type [ fhir:value "deny" ];
         fhir:Consent.provision.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" ]       ]     ]
      ].

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

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