| 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: Observation-bodyweight-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:Observation;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "bodyweight-01"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-bodyweight";
           fhir:index 0;
           fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-bodyweight>     ]
      ];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"bodyweight-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 Observation &quot;bodyweight-01&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org.au/fhir/4.0.0/StructureDefinition-au-bodyweight.html\">AU Body Weight</a></p></div><p><b>status</b>: final</p><p><b>category</b>: Vital Signs <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#vital-signs)</span></p><p><b>code</b>: weight <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#29463-7 &quot;Body weight&quot;; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#27113001)</span></p><p><b>subject</b>: <a href=\"Patient-mhr-smith-oliver.html\">Patient/mhr-smith-oliver</a> &quot; SMITH&quot;</p><p><b>effective</b>: 2019-08-14</p><p><b>performer</b>: <a href=\"RelatedPerson-mhr-field-sally.html\">RelatedPerson/mhr-field-sally</a> &quot; FIELD&quot;</p><p><b>value</b>: 7.9 kg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code kg = 'kg')</span></p></div>"
      ];
      fhir:Observation.status [ fhir:value "final"];
      fhir:Observation.category [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ];
           fhir:Coding.code [ fhir:value "vital-signs" ];
           fhir:Coding.display [ fhir:value "Vital Signs" ]     ];
         fhir:CodeableConcept.text [ fhir:value "Vital Signs" ]
      ];
      fhir:Observation.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a loinc:29463-7;
           fhir:Coding.system [ fhir:value "http://loinc.org" ];
           fhir:Coding.code [ fhir:value "29463-7" ];
           fhir:Coding.display [ fhir:value "Body weight" ]     ], [
           fhir:index 1;
           a sct:27113001;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "27113001" ]     ];
         fhir:CodeableConcept.text [ fhir:value "weight" ]
      ];
      fhir:Observation.subject [
         fhir:Reference.reference [ fhir:value "Patient/mhr-smith-oliver" ];
         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:Observation.effectiveDateTime [ fhir:value "2019-08-14"^^xsd:date];
      fhir:Observation.performer [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "RelatedPerson/mhr-field-sally" ];
         fhir:Reference.identifier [
           fhir:Identifier.use [ fhir:value "official" ];
           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 "8003608333563104" ]     ]
      ];
      fhir:Observation.valueQuantity [
         fhir:Quantity.value [ fhir:value "7.9"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "kg" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "kg" ]
      ].

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

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