{
  "resourceType" : "RiskAssessment",
  "id" : "CVDRiskCategoryExample",
  "meta" : {
    "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/cvd-risk-category"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: RiskAssessment</b><a name=\"CVDRiskCategoryExample\"> </a></p><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\">Resource RiskAssessment &quot;CVDRiskCategoryExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-cvd-risk-category.html\">Cardiovascular Risk Assessment</a></p></div><p><b>status</b>: final</p><p><b>code</b>: Assessment for risk of cardiovascular disease <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#441829007)</span></p><p><b>subject</b>: <a href=\"Patient-HIMSPatientExample.html\">Patient/HIMSPatientExample</a> &quot; SMITH&quot;</p><p><b>encounter</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter/TargetFacilityEncounterExample</a></p><p><b>occurrence</b>: 2023-10-06 13:28:17-0500</p><p><b>performer</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner/GeneralPractitionerExample</a> &quot; SMITH&quot;</p><p><b>basis</b>: </p><ul><li><a href=\"Patient-HIMSPatientExample.html\">Patient/HIMSPatientExample</a> &quot; SMITH&quot;</li><li><a href=\"Observation-RiskBehaviourTobaccoSmokerExample.html\">Observation/RiskBehaviourTobaccoSmokerExample</a></li><li><a href=\"Observation-TotalCholesterolExample.html\">Observation/TotalCholesterolExample</a></li><li><a href=\"Observation-BloodPressureExample.html\">Observation/BloodPressureExample</a></li><li><a href=\"Observation-RandomBloodSugarExample.html\">Observation/RandomBloodSugarExample</a></li><li><a href=\"Observation-FastingBloodSugarExample.html\">Observation/FastingBloodSugarExample</a></li></ul><h3>Predictions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Outcome</b></td><td><b>Probability[x]</b></td><td><b>QualitativeRisk</b></td><td><b>When[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>Risk of heart attack <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#395112001)</span></td><td>0.02</td><td>Risk Category <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-cs-cvd-risk-category.html\">Cardiovascular Risk Categories</a>#Critical)</span></td><td>39-49 years</td></tr></table></div>"
  },
  "status" : "final",
  "code" : {
    "coding" : [{
      "system" : "http://snomed.info/sct",
      "code" : "441829007"
    }],
    "text" : "Assessment for risk of cardiovascular disease"
  },
  "subject" : {
    "reference" : "Patient/HIMSPatientExample"
  },
  "encounter" : {
    "reference" : "Encounter/TargetFacilityEncounterExample"
  },
  "occurrenceDateTime" : "2023-10-06T13:28:17-05:00",
  "performer" : {
    "reference" : "Practitioner/GeneralPractitionerExample"
  },
  "basis" : [{
    "reference" : "Patient/HIMSPatientExample"
  },
  {
    "reference" : "Observation/RiskBehaviourTobaccoSmokerExample"
  },
  {
    "reference" : "Observation/TotalCholesterolExample"
  },
  {
    "reference" : "Observation/BloodPressureExample"
  },
  {
    "reference" : "Observation/RandomBloodSugarExample"
  },
  {
    "reference" : "Observation/FastingBloodSugarExample"
  }],
  "prediction" : [{
    "outcome" : {
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "395112001"
      }],
      "text" : "Risk of heart attack"
    },
    "probabilityDecimal" : 0.02,
    "qualitativeRisk" : {
      "coding" : [{
        "system" : "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-cvd-risk-category",
        "code" : "Critical"
      }],
      "text" : "Risk Category"
    },
    "whenRange" : {
      "low" : {
        "value" : 39,
        "unit" : "years",
        "system" : "http://unitsofmeasure.org",
        "code" : "a"
      },
      "high" : {
        "value" : 49,
        "unit" : "years",
        "system" : "http://unitsofmeasure.org",
        "code" : "a"
      }
    }
  }]
}