Australian Base Implementation Guide

This page is part of AU Base v4.0.0 based on FHIR R4. For a full list of available versions, see the Directory of published versions

Example: Observation-specimen-hepatitus-b-serology

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

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

 a fhir:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "specimen-hepatitus-b-serology"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-pathologyresult";
       fhir:index 0;
       fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-pathologyresult>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></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 \"specimen-hepatitus-b-serology\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-pathologyresult.html\">AU Pathology Result</a></p></div><p><b>basedOn</b>: <a href=\"ServiceRequest-hepatitis-b-antibody.html\">ServiceRequest/hepatitis-b-antibody</a></p><p><b>status</b>: final</p><p><b>category</b>: Laboratory <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#laboratory)</span>, Serology <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v2-0074.html\">diagnosticServiceSectionId</a>#SR)</span></p><p><b>code</b>: Hepatitis B surface Ab <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#16935-9)</span></p><p><b>subject</b>: <a href=\"Patient-example0.html\">Patient/example0</a> \" FRANKLIN\"</p><p><b>effective</b>: 2019-09-25 08:20:00+0000</p><p><b>performer</b>: <a href=\"Organization-example6.html\">Organization/example6</a> \"ACME Pathology\"</p><p><b>value</b>: &gt;10 IU/L</p><p><b>specimen</b>: <a href=\"Specimen-serum.html\">Specimen/serum</a></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td>-</td><td><b>Low</b></td></tr><tr><td>*</td><td>10 IU/L</td></tr></table></div>"
  ];
  fhir:Observation.basedOn [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "ServiceRequest/hepatitis-b-antibody" ]
  ];
  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 "laboratory" ]     ]
  ], [
     fhir:index 1;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0074" ];
       fhir:Coding.code [ fhir:value "SR" ];
       fhir:Coding.display [ fhir:value "Serology" ]     ]
  ];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:16935-9;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "16935-9" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Hepatitis B surface Ab" ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/example0" ]
  ];
  fhir:Observation.effectiveDateTime [ fhir:value "2019-09-25T08:20:00Z"^^xsd:dateTime];
  fhir:Observation.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/example6" ]
  ];
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ];
     fhir:Quantity.comparator [ fhir:value ">" ];
     fhir:Quantity.unit [ fhir:value "IU/L" ]
  ];
  fhir:Observation.specimen [
     fhir:Reference.reference [ fhir:value "Specimen/serum" ]
  ];
  fhir:Observation.referenceRange [
     fhir:index 0;
     fhir:Observation.referenceRange.low [
       fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "IU/L" ]     ]
  ].

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

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

Issues & Feedback