| 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: Location-qld-hospital-pharmacy-in

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 xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Location;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "qld-hospital-pharmacy-in"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-location-core-1";
           fhir:index 0;
           fhir:link <http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-location-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: Location</b><a name=\"qld-hospital-pharmacy-in\"> </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 Location &quot;qld-hospital-pharmacy-in&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-dh-location-core-1.html\">ADHA Core Location</a></p></div><p><b>status</b>: active</p><p><b>name</b>: Building 31</p><p><b>alias</b>: Pharmacy - QLD Hospital</p><p><b>mode</b>: instance</p><p><b>type</b>: inpatient pharmacy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-RoleCode.html\">RoleCode</a>#INPHARM)</span></p><p><b>address</b>: Building 31, 54301 Stanley St, South Brisbane QLD 4101</p><p><b>physicalType</b>: Building <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-location-physical-type.html\">Location type</a>#bu)</span></p><p><b>managingOrganization</b>: <a href=\"Organization-qld-hospital.html\">Organization/qld-hospital</a> &quot;QLD Hospital&quot;</p><p><b>partOf</b>: <a href=\"Location-qld-hospital.html\">Location/qld-hospital</a> &quot;QLD Hospital&quot;</p></div>"
      ];
      fhir:Location.status [ fhir:value "active"];
      fhir:Location.name [ fhir:value "Building 31"];
      fhir:Location.alias [
         fhir:value "Pharmacy - QLD Hospital";
         fhir:index 0
      ];
      fhir:Location.mode [ fhir:value "instance"];
      fhir:Location.type [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
           fhir:Coding.code [ fhir:value "INPHARM" ];
           fhir:Coding.display [ fhir:value "inpatient pharmacy" ]     ]
      ];
      fhir:Location.address [
         fhir:Address.text [ fhir:value "Building 31, 54301 Stanley St, South Brisbane QLD 4101" ];
         fhir:Address.line [
           fhir:value "Building 31";
           fhir:index 0     ], [
           fhir:value "54301 Stanley St";
           fhir:index 1     ];
         fhir:Address.city [ fhir:value "South Brisbane" ];
         fhir:Address.state [ fhir:value "QLD" ];
         fhir:Address.postalCode [ fhir:value "4101" ];
         fhir:Address.country [ fhir:value "AU" ]
      ];
      fhir:Location.physicalType [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/location-physical-type" ];
           fhir:Coding.code [ fhir:value "bu" ];
           fhir:Coding.display [ fhir:value "Building" ]     ]
      ];
      fhir:Location.managingOrganization [
         fhir:Reference.reference [ fhir:value "Organization/qld-hospital" ]
      ];
      fhir:Location.partOf [
         fhir:Reference.reference [ fhir:value "Location/qld-hospital" ]
      ].

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

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