@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://nshr-uat.sha.go.ke/fhir/EpisodeOfCare/example-episode> a fhir:EpisodeOfCare ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-episode"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Placeholder episode of care used as a reference target in encounter examples.</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:type ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "https://nshr-uat.sha.go.ke/fhir/CodeSystem/episode-of-care-type-cs"^^xsd:anyURI ;
         fhir:l <https://nshr-uat.sha.go.ke/fhir/CodeSystem/episode-of-care-type-cs>
       ] ;
       fhir:code [ fhir:v "CANCER-CARE-PROGRAM" ] ;
       fhir:display [ fhir:v "Cancer Care Program" ]
     ] )
  ] ) ; # 
  fhir:diagnosis ( [
     fhir:condition [
       fhir:l <https://nshr-uat.sha.go.ke/fhir/Condition/example-condition> ;
       fhir:reference [ fhir:v "Condition/example-condition" ]
     ]
  ] ) ; # 
  fhir:patient [
     fhir:l <https://nshr-uat.sha.go.ke/fhir/Patient/example-patient> ;
     fhir:reference [ fhir:v "Patient/example-patient" ]
  ] ; # 
  fhir:managingOrganization [
     fhir:l <https://nshr-uat.sha.go.ke/fhir/Organization/example-organization> ;
     fhir:reference [ fhir:v "Organization/example-organization" ]
  ] . # 

# -------------------------------------------------------------------------------------

