@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://fhir.slade360.co.ke/fhir/EpisodeOfCare/ExampleSGHIEpisodeOfCare> a fhir:EpisodeOfCare ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleSGHIEpisodeOfCare"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.slade360.co.ke/fhir/StructureDefinition/episodeofcare"^^xsd:anyURI ;
       fhir:l <https://fhir.slade360.co.ke/fhir/StructureDefinition/episodeofcare>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: EpisodeOfCare ExampleSGHIEpisodeOfCare</b></p><a name=\"ExampleSGHIEpisodeOfCare\"> </a><a name=\"hcExampleSGHIEpisodeOfCare\"> </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-episodeofcare.html\">SGHI EpisodeOfCare</a></p></div><p><b>identifier</b>: Visit Number/EOC1234567890 (use: official, )</p><p><b>status</b>: Active</p><h3>StatusHistories</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Status</b></td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td>Planned</td><td>2025-01-01 --&gt; 2025-01-31</td></tr></table><blockquote><p><b>reason</b></p><h3>Values</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Condition-ExampleSGHICondition.html\">Condition Hypertension</a></td></tr></table></blockquote><blockquote><p><b>diagnosis</b></p><h3>Conditions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Condition-ExampleSGHICondition.html\">Condition Hypertension</a></td></tr></table></blockquote><p><b>patient</b>: <a href=\"Patient-ExampleSGHIPatient.html\">James Pond(official) Male, DoB: 1990-07-15 ( Medical Record Number: 12345)</a></p><p><b>managingOrganization</b>: <a href=\"Organization-ExampleSGHIOrganization.html\">Organization SGHI Healthcare Organization</a></p><p><b>period</b>: 2025-01-01 --&gt; 2025-01-31</p><p><b>referralRequest</b>: <a href=\"ServiceRequest-ExampleSGHIServiceRequest.html\">ServiceRequest Procedure</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "VN" ] ;
         fhir:display [ fhir:v "Visit Number" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
     ] ;
     fhir:value [ fhir:v "EOC1234567890" ] ;
     fhir:assigner [
       fhir:l <https://fhir.slade360.co.ke/fhir/Organization/ExampleSGHIOrganization> ;
       fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:statusHistory ( [
     fhir:status [ fhir:v "planned" ] ;
     fhir:period [
       fhir:start [ fhir:v "2025-01-01"^^xsd:date ] ;
       fhir:end [ fhir:v "2025-01-31"^^xsd:date ]
     ]
  ] ) ; # 
  fhir:reason ( [
     fhir:value ( [
       fhir:reference [
         fhir:l <https://fhir.slade360.co.ke/fhir/Condition/ExampleSGHICondition> ;
         fhir:reference [ fhir:v "Condition/ExampleSGHICondition" ]
       ]
     ] )
  ] ) ; # 
  fhir:diagnosis ( [
     fhir:condition ( [
       fhir:reference [
         fhir:l <https://fhir.slade360.co.ke/fhir/Condition/ExampleSGHICondition> ;
         fhir:reference [ fhir:v "Condition/ExampleSGHICondition" ]
       ]
     ] )
  ] ) ; # 
  fhir:patient [
     fhir:l <https://fhir.slade360.co.ke/fhir/Patient/ExampleSGHIPatient> ;
     fhir:reference [ fhir:v "Patient/ExampleSGHIPatient" ]
  ] ; # 
  fhir:managingOrganization [
     fhir:l <https://fhir.slade360.co.ke/fhir/Organization/ExampleSGHIOrganization> ;
     fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]
  ] ; # 
  fhir:period [
     fhir:start [ fhir:v "2025-01-01"^^xsd:date ] ;
     fhir:end [ fhir:v "2025-01-31"^^xsd:date ]
  ] ; # 
  fhir:referralRequest ( [
     fhir:l <https://fhir.slade360.co.ke/fhir/ServiceRequest/ExampleSGHIServiceRequest> ;
     fhir:reference [ fhir:v "ServiceRequest/ExampleSGHIServiceRequest" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

