@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/Goal/example-kpr-goal> a fhir:Goal ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-kpr-goal"] ;
  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: Goal example-kpr-goal</b></p><a name=\"example-kpr-goal\"> </a><a name=\"hcexample-kpr-goal\"> </a><p><b>lifecycleStatus</b>: Active</p><p><b>description</b>: <span title=\"Codes:\">Kari wants to manage morning personal care with as little personal assistance as possible and feel safe in the bathroom.</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>start</b>: 2026-08-18</p><h3>Targets</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Due[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>2026-08-31</td></tr></table><p><b>expressedBy</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>addresses</b>: <a href=\"Observation-example-kpr-function.html\">Observation Personlig hygiene</a></p><p><b>outcomeReference</b>: <a href=\"Observation-example-kpr-followup.html\">Observation Personlig hygiene</a></p></div>"
  ] ;
  fhir:Goal.lifecycleStatus [ fhir:value "active"] ;
  fhir:Goal.description [
     fhir:CodeableConcept.text [ fhir:value "Kari wants to manage morning personal care with as little personal assistance as possible and feel safe in the bathroom." ]
  ] ;
  fhir:Goal.subject [
     fhir:link <https://kommune.conteir.no/Patient/example-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/example-patient" ]
  ] ;
  fhir:Goal.startDate [ fhir:value "2026-08-18"^^xsd:date] ;
  fhir:Goal.target [
     fhir:index -1 ;
     fhir:Goal.target.dueDate [ fhir:value "2026-08-31"^^xsd:date ]
  ] ;
  fhir:Goal.expressedBy [
     fhir:link <https://kommune.conteir.no/Patient/example-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/example-patient" ]
  ] ;
  fhir:Goal.addresses [
     fhir:index -1 ;
     fhir:link <https://kommune.conteir.no/Observation/example-kpr-function> ;
     fhir:Reference.reference [ fhir:value "Observation/example-kpr-function" ]
  ] ;
  fhir:Goal.outcomeReference [
     fhir:index -1 ;
     fhir:link <https://kommune.conteir.no/Observation/example-kpr-followup> ;
     fhir:Reference.reference [ fhir:value "Observation/example-kpr-followup" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://kommune.conteir.no/Goal/example-kpr-goal.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

