@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://fhir.dha.go.ke/erx/EpisodeOfCare/example-episodeofcare-invalid> a fhir:EpisodeOfCare ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-episodeofcare-invalid"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-episode-of-care" ;
       fhir:index 0 ;
       fhir:link <https://fhir.dha.go.ke/fhir/StructureDefinition/ke-episode-of-care>
     ]
  ] ;
  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-episodeofcare-invalid</b></p><a name=\"example-episodeofcare-invalid\"> </a><a name=\"hcexample-episodeofcare-invalid\"> </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: <code>https://fhir.dha.go.ke/fhir/StructureDefinition/ke-episode-of-care</code></p></div><p><b>status</b>: suspended</p><p><b>patient</b>: <a href=\"Patient-example-patient-otieno.html\">James Otieno (official) Male, DoB: 1968-09-20 ( https://ilm-hie.dha.go.ke/fhir/NamingSystem/national-id#KenyaNationalId#10293847)</a></p><p><b>period</b>: 2025-06-10 --&gt; (ongoing)</p></div>"
  ] ;
  fhir:EpisodeOfCare.status [ fhir:value "suspended"] ;
  fhir:EpisodeOfCare.patient [
     fhir:link <https://fhir.dha.go.ke/erx/Patient/example-patient-otieno> ;
     fhir:Reference.reference [ fhir:value "Patient/example-patient-otieno" ]
  ] ;
  fhir:EpisodeOfCare.period [
     fhir:Period.start [ fhir:value "2025-06-10"^^xsd:date ]
  ] .

# - ontology header ------------------------------------------------------------

<https://fhir.dha.go.ke/erx/EpisodeOfCare/example-episodeofcare-invalid.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

