| 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: Encounter-psml-03

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:Encounter;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "psml-03"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-encounter-core-1";
           fhir:index 0;
           fhir:link <http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-encounter-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: Encounter</b><a name=\"psml-03\"> </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 Encounter &quot;psml-03&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dh-encounter-core-1.html\">ADHA Core Encounter</a></p></div><p><b>status</b>: finished</p><p><b>class</b>: ambulatory (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code AMB = 'ambulatory', stated as 'ambulatory')</p><p><b>type</b>: Community pharmacy medicine review <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#1348961000168104 &quot;Community pharmacy medicines review&quot;)</span></p><p><b>serviceType</b>: Medicines review <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#182836005 &quot;Review of medication&quot;)</span></p><p><b>subject</b>: <a href=\"Patient-hi-testdata-priest-mac.html\">Patient/hi-testdata-priest-mac</a> &quot; PRIEST&quot;</p><h3>Participants</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Individual</b></td></tr><tr><td>*</td><td>primary performer <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#PPRF)</span></td><td><a href=\"PractitionerRole-pharmacist-retail.html\">PractitionerRole/pharmacist-retail</a></td></tr></table><p><b>period</b>: 2018-12-11 10:00:00+1000 --&gt; 2018-12-11 01:30:00+1000</p></div>"
      ];
      fhir:Encounter.status [ fhir:value "finished"];
      fhir:Encounter.class [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
         fhir:Coding.code [ fhir:value "AMB" ];
         fhir:Coding.display [ fhir:value "ambulatory" ]
      ];
      fhir:Encounter.type [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:1348961000168104;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "1348961000168104" ];
           fhir:Coding.display [ fhir:value "Community pharmacy medicines review" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Community pharmacy medicine review" ]
      ];
      fhir:Encounter.serviceType [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:182836005;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "182836005" ];
           fhir:Coding.display [ fhir:value "Review of medication" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Medicines review" ]
      ];
      fhir:Encounter.subject [
         fhir:Reference.reference [ fhir:value "Patient/hi-testdata-priest-mac" ];
         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 "8003608333563104" ]     ]
      ];
      fhir:Encounter.participant [
         fhir:index 0;
         fhir:Encounter.participant.type [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
             fhir:Coding.code [ fhir:value "PPRF" ];
             fhir:Coding.display [ fhir:value "primary performer" ]       ]     ];
         fhir:Encounter.participant.individual [
           fhir:Reference.reference [ fhir:value "PractitionerRole/pharmacist-retail" ]     ]
      ];
      fhir:Encounter.period [
         fhir:Period.start [ fhir:value "2018-12-11T10:00:00+10:00"^^xsd:dateTime ];
         fhir:Period.end [ fhir:value "2018-12-11T13:30:00+10:00"^^xsd:dateTime ]
      ].

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

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