@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/Task/ExampleSGHITask> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleSGHITask"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.slade360.co.ke/fhir/StructureDefinition/task"^^xsd:anyURI ;
       fhir:l <https://fhir.slade360.co.ke/fhir/StructureDefinition/task>
     ] )
  ] ; # 
  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: Task ExampleSGHITask</b></p><a name=\"ExampleSGHITask\"> </a><a name=\"hcExampleSGHITask\"> </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-task.html\">SGHI Task</a></p></div><p><b>identifier</b>: Placer Identifier/TASK123456 (use: official, )</p><p><b>status</b>: In Progress</p><p><b>businessStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/task-status in-progress}\">In Progress</span></p><p><b>intent</b>: order</p><p><b>priority</b>: Routine</p><p><b>for</b>: <a href=\"Patient-ExampleSGHIPatient.html\">James Pond(official) Male, DoB: 1990-07-15 ( Medical Record Number: 12345)</a></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>authoredOn</b>: 2023-11-20 09:00:00+0000</p><p><b>lastModified</b>: 2023-11-20 09:30:00+0000</p><p><b>requester</b>: <a href=\"Patient-ExampleSGHIPatient.html\">James Pond(official) Male, DoB: 1990-07-15 ( Medical Record Number: 12345)</a></p><h3>RequestedPerformers</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=\"Organization-ExampleSGHIOrganization.html\">Organzation</a></td></tr></table><p><b>owner</b>: <a href=\"Organization-ExampleSGHIOrganization.html\">Organization SGHI Healthcare Organization</a></p><h3>Inputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/task-input-type request}\">Request</span></td><td>Patient blood test request</td></tr></table><h3>Outputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/task-output-type result}\">Result</span></td><td>Blood test completed successfully</td></tr></table></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 "PLAC" ] ;
         fhir:display [ fhir:v "Placer Identifier" ]
       ] )
     ] ;
     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 "TASK123456" ] ;
     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:businessStatus [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/task-status"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/task-status>
       ] ;
       fhir:code [ fhir:v "in-progress" ] ;
       fhir:display [ fhir:v "In Progress" ]
     ] )
  ] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:priority [ fhir:v "routine"] ; # 
  fhir:for [
     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:authoredOn [ fhir:v "2023-11-20T09:00:00Z"^^xsd:dateTime] ; # 
  fhir:lastModified [ fhir:v "2023-11-20T09:30:00Z"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:l <https://fhir.slade360.co.ke/fhir/Patient/ExampleSGHIPatient> ;
     fhir:reference [ fhir:v "Patient/ExampleSGHIPatient" ]
  ] ; # 
  fhir:requestedPerformer ( [
     fhir:reference [
       fhir:l <https://fhir.slade360.co.ke/fhir/Organization/ExampleSGHIOrganization> ;
       fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ] ;
       fhir:display [ fhir:v "Organzation" ]
     ]
  ] ) ; # 
  fhir:owner [
     fhir:l <https://fhir.slade360.co.ke/fhir/Organization/ExampleSGHIOrganization> ;
     fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]
  ] ; # 
  fhir:input ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/task-input-type"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/task-input-type>
         ] ;
         fhir:code [ fhir:v "request" ] ;
         fhir:display [ fhir:v "Request" ]
       ] )
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "Patient blood test request"
     ]
  ] ) ; # 
  fhir:output ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/task-output-type"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/task-output-type>
         ] ;
         fhir:code [ fhir:v "result" ] ;
         fhir:display [ fhir:v "Result" ]
       ] )
     ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "Blood test completed successfully"
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

