@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 -------------------------------------------------------------------

<http://hl7.org.au/fhir/core/Observation/hearing-threshold-1> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "hearing-threshold-1"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-diagnosticresult" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-diagnosticresult>
     ], [
       fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-diagnosticresult" ;
       fhir:index 1 ;
       fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-diagnosticresult>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation hearing-threshold-1</b></p><a name=\"hearing-threshold-1\"> </a><a name=\"hchearing-threshold-1\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profiles: <a href=\"StructureDefinition-au-core-diagnosticresult.html\">AU Core Diagnostic Result Observation</a>, <a href=\"https://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-diagnosticresult.html\">AU Base Diagnostic Result</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0074 AU}\">Audiology</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 89024-4}\">Hearing threshold Ear - left --500 Hz</span></p><p><b>subject</b>: <a href=\"Patient-ronny-irvine.html\">Ronny Lawrence Irvine  Male, DoB:  ( DVA Number: QX827261)</a></p><p><b>effective</b>: 2020-11-06 10:45:00-0500</p><p><b>performer</b>: <a href=\"Organization-mitchells-hill-audiology.html\">Organization Mitchells Hill Audiology</a></p><p><b>value</b>: 45 dB<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codedB = 'dB')</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/v2-0074" ] ;
       fhir:Coding.code [ fhir:value "AU" ] ;
       fhir:Coding.display [ fhir:value "Audiology" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:89024-4 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "89024-4" ] ;
       fhir:Coding.display [ fhir:value "Hearing threshold Ear - left --500 Hz" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Hearing threshold Ear - left --500 Hz" ]
  ] ;
  fhir:Observation.subject [
     fhir:link <http://hl7.org.au/fhir/core/Patient/ronny-irvine> ;
     fhir:Reference.reference [ fhir:value "Patient/ronny-irvine" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2020-11-06T10:45:00-05:00"^^xsd:dateTime] ;
  fhir:Observation.performer [
     fhir:index 0 ;
     fhir:link <http://hl7.org.au/fhir/core/Organization/mitchells-hill-audiology> ;
     fhir:Reference.reference [ fhir:value "Organization/mitchells-hill-audiology" ]
  ] ;
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "45"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "dB" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
     fhir:Quantity.code [ fhir:value "dB" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org.au/fhir/core/Observation/hearing-threshold-1.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

