@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-housework> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-kpr-housework"] ;
  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-housework</b></p><a name=\"example-kpr-housework\"> </a><a name=\"hcexample-kpr-housework\"> </a><p><b>identifier</b>: <code>https://example.org/fhir/identifier/functional-assessment</code>/example-kpr-housework-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 6}\">Alminnelig husarbeid</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.9165 3}\">Score 3 – some personal assistance needed (general scale, 9165).</span></p><p><b>note</b>: </p><blockquote><div><p>Kari performs light tasks herself but needs help with heavier housework. This is a new assessment, not a recoding of the 2025 record. Any practical assistance needs to be followed up as a separate service.</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-housework-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 "6" ] ;
       fhir:Coding.display [ fhir:value "Alminnelig husarbeid" ]
     ]
  ] ;
  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.9165" ] ;
       fhir:Coding.code [ fhir:value "3" ] ;
       fhir:Coding.display [ fhir:value "Middels behov for bistand/assistanse/helsehjelp" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Score 3 – some personal assistance needed (general scale, 9165)." ]
  ] ;
  fhir:Observation.note [
     fhir:index -1 ;
     fhir:Annotation.text [ fhir:value "Kari performs light tasks herself but needs help with heavier housework. This is a new assessment, not a recoding of the 2025 record. Any practical assistance needs to be followed up as a separate service." ]
  ] .

# - ontology header ------------------------------------------------------------

<https://kommune.conteir.no/Observation/example-kpr-housework.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

