@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://fhir.slade360.co.ke/fhir/RiskAssessment/ExampleSGHIRiskAssessment> a fhir:RiskAssessment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ExampleSGHIRiskAssessment"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.slade360.co.ke/fhir/StructureDefinition/riskassessment"^^xsd:anyURI ;
       fhir:l <https://fhir.slade360.co.ke/fhir/StructureDefinition/riskassessment>
     ] )
  ] ; # 
  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: RiskAssessment ExampleSGHIRiskAssessment</b></p><a name=\"ExampleSGHIRiskAssessment\"> </a><a name=\"hcExampleSGHIRiskAssessment\"> </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-riskassessment.html\">SGHI RiskAssessment</a></p></div><p><b>identifier</b>: Medical Record Number/3456789QWERTY</p><p><b>status</b>: Registered</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 183932001}\">RiskAssessment contraindicated</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>encounter</b>: <a href=\"Encounter-ExampleSGHIEncounter.html\">Encounter: identifier = Visit Number: VN123456789 (use: official, ); status = in-progress; class = Ambulatory</a></p><p><b>basis</b>: <code>Example display</code></p><h3>Predictions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>QualitativeRisk</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/risk-probability low}\">Low likelihood</span></td></tr></table><p><b>note</b>: @2025-02-01 10:30:00+0000</p><blockquote><div><p>The patient tolerated the procedure well and was discharged in stable condition.</p>\n</div></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     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 "MR" ] ;
         fhir:display [ fhir:v "Medical Record 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 "3456789QWERTY" ] ;
     fhir:assigner [
       fhir:l <https://fhir.slade360.co.ke/fhir/Organization/ExampleSGHIOrganization> ;
       fhir:reference [ fhir:v "Organization/ExampleSGHIOrganization" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "registered"] ; # 
  fhir:code [
     fhir:coding ( [
       a sct:183932001 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "183932001" ] ;
       fhir:display [ fhir:v "RiskAssessment contraindicated" ]
     ] )
  ] ; # 
  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:basis ( [
     fhir:l fhir:Reference(QuestionnaireResponse) ;
     fhir:reference [ fhir:v "Reference(QuestionnaireResponse)" ] ;
     fhir:display [ fhir:v "Example display" ]
  ] ) ; # 
  fhir:prediction ( [
     fhir:qualitativeRisk [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/risk-probability"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/risk-probability>
         ] ;
         fhir:code [ fhir:v "low" ] ;
         fhir:display [ fhir:v "Low likelihood" ]
       ] )
     ]
  ] ) ; # 
  fhir:note ( [
     fhir:time [ fhir:v "2025-02-01T10:30:00Z"^^xsd:dateTime ] ;
     fhir:text [ fhir:v "The patient tolerated the procedure well and was discharged in stable condition." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

