@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 -------------------------------------------------------------------

<https://kommune.conteir.no/Observation/example-kpr-hearing> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-kpr-hearing"] ;
  fhir:Resource.language [ fhir:value "en"] ;
  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 example-kpr-hearing</b></p><a name=\"example-kpr-hearing\"> </a><a name=\"hcexample-kpr-hearing\"> </a><p><b>identifier</b>: <code>https://example.org/fhir/identifier/functional-assessment</code>/example-kpr-hearing-2026-08-17</p><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{urn:oid:2.16.578.1.12.4.1.1.9111 14}\">Hørsel</span></p><p><b>subject</b>: <a href=\"Patient-example-patient.html\">Kari Hansen  Female, DoB: 1948-09-12 ( urn:oid:2.16.578.1.12.4.1.4.1#Foedselsnummer#12094812345)</a></p><p><b>encounter</b>: <a href=\"Encounter-example-kpr-assessment-encounter.html\">Encounter: status = finished; class = home health (ActCode#HH); type = ; period = 2026-08-17 09:30:00+0200 --&gt; 2026-08-17 10:30:00+0200</a></p><p><b>effective</b>: 2026-08-17 10:00:00+0200</p><p><b>issued</b>: 2026-08-17 11:00:00+0200</p><p><b>performer</b>: </p><ul><li><a href=\"PractitionerRole-example-practitionerrole.html\">PractitionerRole</a></li><li><a href=\"Organization-example-organization.html\">Organization Oslo municipality, Grünerløkka district, Home Care Service</a></li></ul><p><b>value</b>: <span title=\"Codes:{urn:oid:2.16.578.1.12.4.1.1.9167 3}\">Score 3 – poor hearing (hearing scale, 9167).</span></p><p><b>note</b>: </p><blockquote><div><p>Kari has difficulty with conversations even with a hearing aid and needs others to speak loudly and clearly.</p>\n</div></blockquote></div>"
  ] ;
  fhir:Observation.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "https://example.org/fhir/identifier/functional-assessment" ] ;
     fhir:Identifier.value [ fhir:value "example-kpr-hearing-2026-08-17" ]
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "urn:oid:2.16.578.1.12.4.1.1.9111" ] ;
       fhir:Coding.code [ fhir:value "14" ] ;
       fhir:Coding.display [ fhir:value "Hørsel" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <https://kommune.conteir.no/Patient/example-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/example-patient" ]
  ] ;
  fhir:Observation.encounter [
     fhir:link <https://kommune.conteir.no/Encounter/example-kpr-assessment-encounter> ;
     fhir:Reference.reference [ fhir:value "Encounter/example-kpr-assessment-encounter" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2026-08-17T10:00:00+02:00"^^xsd:dateTime] ;
  fhir:Observation.issued [ fhir:value "2026-08-17T11:00:00+02:00"^^xsd:dateTime] ;
  fhir:Observation.performer [
     fhir:index -1 ;
     fhir:link <https://kommune.conteir.no/PractitionerRole/example-practitionerrole> ;
     fhir:Reference.reference [ fhir:value "PractitionerRole/example-practitionerrole" ]
  ], [
     fhir:index -1 ;
     fhir:link <https://kommune.conteir.no/Organization/example-organization> ;
     fhir:Reference.reference [ fhir:value "Organization/example-organization" ]
  ] ;
  fhir:Observation.valueCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "urn:oid:2.16.578.1.12.4.1.1.9167" ] ;
       fhir:Coding.code [ fhir:value "3" ] ;
       fhir:Coding.display [ fhir:value "Dårlig" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Score 3 – poor hearing (hearing scale, 9167)." ]
  ] ;
  fhir:Observation.note [
     fhir:index -1 ;
     fhir:Annotation.text [ fhir:value "Kari has difficulty with conversations even with a hearing aid and needs others to speak loudly and clearly." ]
  ] .

# - ontology header ------------------------------------------------------------

<https://kommune.conteir.no/Observation/example-kpr-hearing.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

