@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/EpisodeOfCare/example-kpr-episode> a fhir:EpisodeOfCare ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-kpr-episode"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://kommune.conteir.no/StructureDefinition/kommune-episodeofcare" ;
       fhir:index -1 ;
       fhir:link <https://kommune.conteir.no/StructureDefinition/kommune-episodeofcare>
     ]
  ] ;
  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: EpisodeOfCare example-kpr-episode</b></p><a name=\"example-kpr-episode\"> </a><a name=\"hcexample-kpr-episode\"> </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\">Profile: <a href=\"StructureDefinition-kommune-episodeofcare.html\">no-kommune-EpisodeOfCare</a></p></div><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:\">Functional assessment and follow-up at home</span></p><p><b>patient</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>managingOrganization</b>: <a href=\"Organization-example-organization.html\">Organization Oslo municipality, Grünerløkka district, Home Care Service</a></p><p><b>period</b>: 2026-08-17 --&gt; (ongoing)</p><p><b>referralRequest</b>: <a href=\"ServiceRequest-example-kpr-service.html\">ServiceRequest Helsetjenester i hjemmet</a></p><p><b>careManager</b>: <a href=\"PractitionerRole-example-practitionerrole.html\">PractitionerRole</a></p></div>"
  ] ;
  fhir:EpisodeOfCare.status [ fhir:value "active"] ;
  fhir:EpisodeOfCare.type [
     fhir:index -1 ;
     fhir:CodeableConcept.text [ fhir:value "Functional assessment and follow-up at home" ]
  ] ;
  fhir:EpisodeOfCare.patient [
     fhir:link <https://kommune.conteir.no/Patient/example-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/example-patient" ]
  ] ;
  fhir:EpisodeOfCare.managingOrganization [
     fhir:link <https://kommune.conteir.no/Organization/example-organization> ;
     fhir:Reference.reference [ fhir:value "Organization/example-organization" ]
  ] ;
  fhir:EpisodeOfCare.period [
     fhir:Period.start [ fhir:value "2026-08-17"^^xsd:date ]
  ] ;
  fhir:EpisodeOfCare.referralRequest [
     fhir:index -1 ;
     fhir:link <https://kommune.conteir.no/ServiceRequest/example-kpr-service> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/example-kpr-service" ]
  ] ;
  fhir:EpisodeOfCare.careManager [
     fhir:link <https://kommune.conteir.no/PractitionerRole/example-practitionerrole> ;
     fhir:Reference.reference [ fhir:value "PractitionerRole/example-practitionerrole" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://kommune.conteir.no/EpisodeOfCare/example-kpr-episode.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

