| Australian Digital Health Agency FHIR Implementation Guide 1.0.0

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

## Example: Condition-uti-es-02

Formats: Narrative, XML, JSON, Turtle

Raw ttl

    @prefix fhir: <http://hl7.org/fhir/> .
    @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:Condition;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "uti-es-02"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-condition-core-1";
           fhir:index 0;
           fhir:link <http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-condition-core-1>     ]
      ];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Condition</b><a name=\"uti-es-02\"> </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 Condition &quot;uti-es-02&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dh-condition-core-1.html\">ADHA Core Condition</a></p></div><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-condition-ver-status.html\">ConditionVerificationStatus</a>#confirmed)</span></p><p><b>category</b>: Problem List Item <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-condition-category.html\">Condition Category Codes</a>#problem-list-item)</span></p><p><b>code</b>: Urinary tract infection <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#68566005)</span></p><p><b>subject</b>: <a href=\"Patient-mhr-zhang-wei.html\">Patient/mhr-zhang-wei</a> &quot; ZHANG&quot;</p><p><b>encounter</b>: <a href=\"Encounter-es-02.html\">Encounter/es-02</a></p><p><b>onset</b>: 2020-05-10</p><p><b>recorder</b>: <a href=\"PractitionerRole-algrester-greg-gp.html\">PractitionerRole/algrester-greg-gp</a></p><p><b>asserter</b>: <a href=\"PractitionerRole-algrester-greg-gp.html\">PractitionerRole/algrester-greg-gp</a></p></div>"
      ];
      fhir:Condition.clinicalStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
           fhir:Coding.code [ fhir:value "active" ];
           fhir:Coding.display [ fhir:value "Active" ]     ]
      ];
      fhir:Condition.verificationStatus [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
           fhir:Coding.code [ fhir:value "confirmed" ];
           fhir:Coding.display [ fhir:value "Confirmed" ]     ]
      ];
      fhir:Condition.category [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
           fhir:Coding.code [ fhir:value "problem-list-item" ];
           fhir:Coding.display [ fhir:value "Problem List Item" ]     ]
      ];
      fhir:Condition.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:68566005;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "68566005" ];
           fhir:Coding.display [ fhir:value "Urinary tract infection" ]     ]
      ];
      fhir:Condition.subject [
         fhir:Reference.reference [ fhir:value "Patient/mhr-zhang-wei" ];
         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:CodeableConcept.text [ fhir:value "IHI" ]       ];
           fhir:Identifier.system [ fhir:value "http://ns.electronichealth.net.au/id/hi/ihi/1.0" ];
           fhir:Identifier.value [ fhir:value "8003608000228437" ]     ]
      ];
      fhir:Condition.encounter [
         fhir:Reference.reference [ fhir:value "Encounter/es-02" ]
      ];
      fhir:Condition.onsetDateTime [ fhir:value "2020-05-10"^^xsd:date];
      fhir:Condition.recorder [
         fhir:Reference.reference [ fhir:value "PractitionerRole/algrester-greg-gp" ]
      ];
      fhir:Condition.asserter [
         fhir:Reference.reference [ fhir:value "PractitionerRole/algrester-greg-gp" ]
      ].

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

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