@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/Encounter/ExampleSGHIEncounter> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleSGHIEncounter"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.slade360.co.ke/fhir/StructureDefinition/encounter"^^xsd:anyURI ;
       fhir:l <https://fhir.slade360.co.ke/fhir/StructureDefinition/encounter>
     ] )
  ] ; # 
  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: Encounter ExampleSGHIEncounter</b></p><a name=\"ExampleSGHIEncounter\"> </a><a name=\"hcExampleSGHIEncounter\"> </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-encounter.html\">SGHI Encounter</a></p></div><p><b>identifier</b>: Visit Number/VN123456789 (use: official, )</p><p><b>status</b>: In Progress</p><p><b>class</b>: <span title=\"Codes:\">Ambulatory</span></p><p><b>subject</b>: <a href=\"Patient-ExampleSGHIPatient.html\">James Pond(official) Male, DoB: 1990-07-15 ( Medical Record Number: 12345)</a></p><p><b>episodeOfCare</b>: <a href=\"EpisodeOfCare-ExampleSGHIEpisodeOfCare.html\">EpisodeOfCare: identifier = Visit Number: EOC1234567890 (use: official, ); status = active; period = 2025-01-01 --&gt; 2025-01-31</a></p><p><b>serviceProvider</b>: <a href=\"Organization-ExampleSGHIOrganization.html\">Organization SGHI Healthcare Organization</a></p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Patient-ExampleSGHIPatient.html\">James Pond(official) Male, DoB: 1990-07-15 ( Medical Record Number: 12345)</a></td></tr></table><p><b>appointment</b>: <a href=\"Appointment-ExampleSGHIAppointment.html\">Appointment: identifier = Accession ID: APT123456 (use: official, ); status = booked; specialty = General practice; appointmentType = Routine appointment; priority = Routine; start = 2023-11-25 09:00:00+0000; end = 2023-11-25 09:30:00+0000; created = 2023-11-20 10:00:00+0000; note = Patient requested morning appointment</a></p><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></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 "VN123456789" ] ;
     fhir:assigner [
       fhir:l <https://fhir.slade360.co.ke/fhir/Organization/ExampleSGHIOrganization> ;
       fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "in-progress"] ; # 
  fhir:class ( [
     fhir:coding ( [
       fhir:code [ fhir:v "AMB" ] ;
       fhir:display [ fhir:v "Ambulatory" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:l <https://fhir.slade360.co.ke/fhir/Patient/ExampleSGHIPatient> ;
     fhir:reference [ fhir:v "Patient/ExampleSGHIPatient" ]
  ] ; # 
  fhir:episodeOfCare ( [
     fhir:l <https://fhir.slade360.co.ke/fhir/EpisodeOfCare/ExampleSGHIEpisodeOfCare> ;
     fhir:reference [ fhir:v "EpisodeOfCare/ExampleSGHIEpisodeOfCare" ]
  ] ) ; # 
  fhir:serviceProvider [
     fhir:l <https://fhir.slade360.co.ke/fhir/Organization/ExampleSGHIOrganization> ;
     fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]
  ] ; # 
  fhir:participant ( [
     fhir:actor [
       fhir:l <https://fhir.slade360.co.ke/fhir/Patient/ExampleSGHIPatient> ;
       fhir:reference [ fhir:v "Patient/ExampleSGHIPatient" ]
     ]
  ] ) ; # 
  fhir:appointment ( [
     fhir:l <https://fhir.slade360.co.ke/fhir/Appointment/ExampleSGHIAppointment> ;
     fhir:reference [ fhir:v "Appointment/ExampleSGHIAppointment" ]
  ] ) ; # 
  fhir:diagnosis ( [
     fhir:condition ( [
       fhir:reference [
         fhir:l <https://fhir.slade360.co.ke/fhir/Condition/ExampleSGHICondition> ;
         fhir:reference [ fhir:v "Condition/ExampleSGHICondition" ]
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

