| 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: Encounter-annual-01

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 "annual-01"];
      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=\"annual-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 Encounter \"annual-01\" </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>: Annual visit <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#866149003)</span></p><p><b>serviceType</b>: General practice service <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#788007007)</span></p><p><b>subject</b>: <a href=\"Patient-mhr-field-sally.html\">Patient/mhr-field-sally</a> \" FIELD\"</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-nsw-gp.html\">PractitionerRole/nsw-gp</a></td></tr></table><p><b>period</b>: 2022-02-10 09:20:00+1000 --&gt; 2022-02-10 09:35: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:866149003;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "866149003" ];
           fhir:Coding.display [ fhir:value "Annual visit" ]     ]
      ];
      fhir:Encounter.serviceType [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:788007007;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "788007007" ];
           fhir:Coding.display [ fhir:value "General practice service" ]     ]
      ];
      fhir:Encounter.subject [
         fhir:Reference.reference [ fhir:value "Patient/mhr-field-sally" ];
         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 "8003608833357361" ]     ]
      ];
      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/nsw-gp" ];
           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 "EI" ];
                 fhir:Coding.display [ fhir:value "Employee number" ]           ];
               fhir:CodeableConcept.text [ fhir:value "Employee Number" ]         ];
             fhir:Identifier.system [ fhir:value "http://bondigpmedicalcenter.example.com/providers" ];
             fhir:Identifier.value [ fhir:value "8223NSW" ];
             fhir:Identifier.assigner [
               fhir:Reference.display [ fhir:value "Bondi GP Medical Center NSW" ]         ]       ]     ]
      ];
      fhir:Encounter.period [
         fhir:Period.start [ fhir:value "2022-02-10T09:20:00+10:00"^^xsd:dateTime ];
         fhir:Period.end [ fhir:value "2022-02-10T09:35:00+10:00"^^xsd:dateTime ]
      ].

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

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