Example RiskAssessment/cardiac (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Cardiac risk assessment
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:RiskAssessment;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "cardiac"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "additional" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <table>\n <tr>\n <td colspan=\"2\">\n <h1>Information about your risk score:</h1>\n </td>\n </tr>\n <tr>\n <td>\n <strong>Age:</strong>\n </td>\n <td>39</td>\n </tr>\n <tr>\n <td>\n <strong>Gender:</strong>\n </td>\n <td>male</td>\n </tr>\n <tr>\n <td>\n <strong>Total Cholesterol:</strong>\n </td>\n <td>244 mg/dL</td>\n </tr>\n <tr>\n <td>\n <strong>HDL Cholesterol:</strong>\n </td>\n <td>50 mg/dL\n </td>\n </tr>\n <tr>\n <td>\n <strong>Smoker:</strong>\n </td>\n <td>No</td>\n </tr>\n <tr>\n <td>\n <strong>Systolic Blood Pressure:</strong>\n </td>\n <td>107 mm/Hg</td>\n </tr>\n <tr>\n <td>\n <strong>On medication for HBP:</strong>\n </td>\n <td>No</td>\n </tr>\n <tr>\n <td valign=\"top\">\n <b>Risk Score*</b>\n </td>\n <td>2%<br/>Means 2 of 100 people with this level of risk will have a heart attack in the next 10 years.</td>\n </tr>\n <tr>\n <td colspan=\"2\">* Your risk score was calculated using an equation. Other NCEP products, such as printed ATP III materials, use a point system to determine a risk score that is close to the equation score.</td>\n </tr>\n <tr>\n <td colspan=\"2\">To find out what your risk score means and how to lower your risk for a heart attack, go to<br/>\n <a href=\"http://www.nhlbi.nih.gov/health/public/heart/chol/hbc_what.htm\">"High Blood Cholesterol—What You Need to Know"</a>.<br/>\n <a href=\"http://www.nhlbi.nih.gov/health/public/heart/chol/chol_tlc.htm\">Your Guide to Lowering Cholesterol with Therapeutic Lifestyle Changes (TLC)</a><br/>\n <a href=\"http://www.nhlbi.nih.gov/health/public/heart/other/hhw/index.htm\">The Healthy Heart Handbook for Women</a>\n </td>\n </tr>\n </table>\n </div>"
];
fhir:RiskAssessment.identifier [
fhir:index 0;
fhir:Identifier.use [ fhir:value "official" ];
fhir:Identifier.system [ fhir:value "http://example.org" ];
fhir:Identifier.value [ fhir:value "risk-assessment-cardiac" ]
];
fhir:RiskAssessment.status [ fhir:value "final"];
fhir:RiskAssessment.subject [
fhir:Reference.reference [ fhir:value "Patient/pat2" ]
];
fhir:RiskAssessment.encounter [
fhir:Reference.reference [ fhir:value "Encounter/example" ]
];
fhir:RiskAssessment.occurrenceDateTime [ fhir:value "2014-07-19T16:04:00Z"^^xsd:dateTime];
fhir:RiskAssessment.performer [
fhir:Reference.display [ fhir:value "http://cvdrisk.nhlbi.nih.gov/#cholesterol" ]
];
fhir:RiskAssessment.basis [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Patient/pat2" ]
], [
fhir:index 1;
fhir:Reference.reference [ fhir:value "DiagnosticReport/lipids" ]
], [
fhir:index 2;
fhir:Reference.reference [ fhir:value "Observation/blood-pressure" ]
];
fhir:RiskAssessment.prediction [
fhir:index 0;
fhir:RiskAssessment.prediction.outcome [
fhir:CodeableConcept.text [ fhir:value "Heart Attack" ]
];
fhir:RiskAssessment.prediction.probabilityDecimal [ fhir:value "0.02"^^xsd:decimal ];
fhir:RiskAssessment.prediction.whenRange [
fhir:Range.low [
fhir:Quantity.value [ fhir:value "39"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "years" ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "a" ]
];
fhir:Range.high [
fhir:Quantity.value [ fhir:value "49"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "years" ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "a" ]
]
]
]] .
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.