@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/Composition/ExampleSGHIComposition> a fhir:Composition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleSGHIComposition"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.slade360.co.ke/fhir/StructureDefinition/composition"^^xsd:anyURI ;
       fhir:l <https://fhir.slade360.co.ke/fhir/StructureDefinition/composition>
     ] )
  ] ; # 
  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: Composition ExampleSGHIComposition</b></p><a name=\"ExampleSGHIComposition\"> </a><a name=\"hcExampleSGHIComposition\"> </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-composition.html\">SGHI Composition</a></p></div><p><b>identifier</b>: ID/QwErTy102938 (use: official, )</p><p><b>status</b>: Final</p><p><b>type</b>: <span title=\"Codes:{http://example.org/CodeSystem/composition-type DISCHARGE_SUMMARY}\">Discharge Summary</span></p><p><b>encounter</b>: <a href=\"Encounter-ExampleSGHIEncounter.html\">Encounter: identifier = Visit Number: VN123456789 (use: official, ); status = in-progress; class = Ambulatory</a></p><p><b>date</b>: 2025-06-03 14:30:00+0000</p><p><b>author</b>: <a href=\"Patient-ExampleSGHIPatient.html\">James Pond(official) Male, DoB: 1990-07-15 ( Medical Record Number: 12345)</a></p><p><b>name</b>: SGHI Discharge Summary for John Doe</p><p><b>title</b>: SGHI Discharge Summary for John Doe</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 "ID" ] ;
         fhir:display [ fhir:v "ID" ]
       ] )
     ] ;
     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 "QwErTy102938" ] ;
     fhir:assigner [
       fhir:l <https://fhir.slade360.co.ke/fhir/Organization/ExampleSGHIOrganization> ;
       fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://example.org/CodeSystem/composition-type"^^xsd:anyURI ;
         fhir:l <http://example.org/CodeSystem/composition-type>
       ] ;
       fhir:code [ fhir:v "DISCHARGE_SUMMARY" ] ;
       fhir:display [ fhir:v "Discharge Summary" ]
     ] )
  ] ; # 
  fhir:subject ( [
     fhir:l <https://fhir.slade360.co.ke/fhir/Patient/ExampleSGHIPatient> ;
     fhir:reference [ fhir:v "Patient/ExampleSGHIPatient" ]
  ] ) ; # 
  fhir:encounter [
     fhir:l <https://fhir.slade360.co.ke/fhir/Encounter/ExampleSGHIEncounter> ;
     fhir:reference [ fhir:v "Encounter/ExampleSGHIEncounter" ]
  ] ; # 
  fhir:date [ fhir:v "2025-06-03T14:30:00Z"^^xsd:dateTime] ; # 
  fhir:author ( [
     fhir:l <https://fhir.slade360.co.ke/fhir/Patient/ExampleSGHIPatient> ;
     fhir:reference [ fhir:v "Patient/ExampleSGHIPatient" ]
  ] ) ; # 
  fhir:name [ fhir:v "SGHI Discharge Summary for John Doe"] ; # 
  fhir:title [ fhir:v "SGHI Discharge Summary for John Doe"] ; # 
  fhir:section ( [
     fhir:title [ fhir:v "Chief Complaint" ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://example.org/CodeSystem/section-codes"^^xsd:anyURI ;
           fhir:l <http://example.org/CodeSystem/section-codes>
         ] ;
         fhir:code [ fhir:v "CHIEF_COMPLAINT" ] ;
         fhir:display [ fhir:v "Chief Complaint" ]
       ] )
     ] ;
     fhir:entry ( [
       fhir:l <https://fhir.slade360.co.ke/fhir/Observation/chief-complaint-obs> ;
       fhir:reference [ fhir:v "Observation/chief-complaint-obs" ]
     ] )
  ] [
     fhir:title [ fhir:v "Allergies" ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://example.org/CodeSystem/section-codes"^^xsd:anyURI ;
           fhir:l <http://example.org/CodeSystem/section-codes>
         ] ;
         fhir:code [ fhir:v "ALLERGIES_SECTION" ] ;
         fhir:display [ fhir:v "Allergies Section" ]
       ] )
     ] ;
     fhir:entry ( [
       fhir:l <https://fhir.slade360.co.ke/fhir/AllergyIntolerance/peanut-allergy> ;
       fhir:reference [ fhir:v "AllergyIntolerance/peanut-allergy" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

