Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Riskassessment-example.ttl

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner

Raw Turtle (+ also see Turtle/RDF Format Specification)

Genetic 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 -------------------------------------------------------------------

<http://hl7.org/fhir/RiskAssessment/genetic> a fhir:RiskAssessment;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "genetic"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>Probability of developing breast cancer before the age indicated:</p>\n      <table>\n        <thead>\n          <tr>\n            <th>Age</th>\n            <th>Probability (%)</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td>current-53</td>\n            <td>0.0168</td>\n          </tr>\n          <tr>\n            <td>54-57</td>\n            <td>0.0368</td>\n          </tr>\n          <tr>\n            <td>58-62</td>\n            <td>0.0594</td>\n          </tr>\n          <tr>\n            <td>63-67</td>\n            <td>0.0838</td>\n          </tr>\n          <tr>\n            <td>68-72</td>\n            <td>0.1089</td>\n          </tr>\n          <tr>\n            <td>73-77</td>\n            <td>0.1327</td>\n          </tr>\n          <tr>\n            <td>78-82</td>\n            <td>0.1530</td>\n          </tr>\n          <tr>\n            <td>83-87</td>\n            <td>0.1663</td>\n          </tr>\n        </tbody>\n      </table>\n    </div>"
  ];
  fhir:RiskAssessment.status [ fhir:value "final"];
  fhir:RiskAssessment.method [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "BRCAPRO" ]
     ]
  ];
  fhir:RiskAssessment.subject [
     fhir:link <http://hl7.org/fhir/Patient/b248b1b2-1686-4b94-9936-37d7a5f94b51>;
     fhir:Reference.reference [ fhir:value "Patient/b248b1b2-1686-4b94-9936-37d7a5f94b51" ]
  ];
  fhir:RiskAssessment.occurrenceDateTime [ fhir:value "2006-01-13T23:01:00Z"^^xsd:dateTime];
  fhir:RiskAssessment.basis [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/List/prognosis>;
     fhir:Reference.reference [ fhir:value "List/prognosis" ]
  ];
  fhir:RiskAssessment.prediction [
     fhir:index 0;
     fhir:RiskAssessment.prediction.outcome [
       fhir:CodeableConcept.text [ fhir:value "Breast Cancer" ]
     ];
     fhir:RiskAssessment.prediction.probabilityDecimal [ fhir:value "0.000168"^^xsd:decimal ];
     fhir:RiskAssessment.prediction.whenRange [
       fhir:Range.high [
         fhir:Quantity.value [ fhir:value "53"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "years" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "a" ]
       ]
     ]
  ], [
     fhir:index 1;
     fhir:RiskAssessment.prediction.outcome [
       fhir:CodeableConcept.text [ fhir:value "Breast Cancer" ]
     ];
     fhir:RiskAssessment.prediction.probabilityDecimal [ fhir:value "0.000368"^^xsd:decimal ];
     fhir:RiskAssessment.prediction.whenRange [
       fhir:Range.low [
         fhir:Quantity.value [ fhir:value "54"^^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 "57"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "years" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "a" ]
       ]
     ]
  ], [
     fhir:index 2;
     fhir:RiskAssessment.prediction.outcome [
       fhir:CodeableConcept.text [ fhir:value "Breast Cancer" ]
     ];
     fhir:RiskAssessment.prediction.probabilityDecimal [ fhir:value "0.000594"^^xsd:decimal ];
     fhir:RiskAssessment.prediction.whenRange [
       fhir:Range.low [
         fhir:Quantity.value [ fhir:value "58"^^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 "62"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "years" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "a" ]
       ]
     ]
  ], [
     fhir:index 3;
     fhir:RiskAssessment.prediction.outcome [
       fhir:CodeableConcept.text [ fhir:value "Breast Cancer" ]
     ];
     fhir:RiskAssessment.prediction.probabilityDecimal [ fhir:value "0.000838"^^xsd:decimal ];
     fhir:RiskAssessment.prediction.whenRange [
       fhir:Range.low [
         fhir:Quantity.value [ fhir:value "63"^^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 "67"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "years" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "a" ]
       ]
     ]
  ], [
     fhir:index 4;
     fhir:RiskAssessment.prediction.outcome [
       fhir:CodeableConcept.text [ fhir:value "Breast Cancer" ]
     ];
     fhir:RiskAssessment.prediction.probabilityDecimal [ fhir:value "0.001089"^^xsd:decimal ];
     fhir:RiskAssessment.prediction.whenRange [
       fhir:Range.low [
         fhir:Quantity.value [ fhir:value "68"^^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 "72"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "years" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "a" ]
       ]
     ]
  ], [
     fhir:index 5;
     fhir:RiskAssessment.prediction.outcome [
       fhir:CodeableConcept.text [ fhir:value "Breast Cancer" ]
     ];
     fhir:RiskAssessment.prediction.probabilityDecimal [ fhir:value "0.001327"^^xsd:decimal ];
     fhir:RiskAssessment.prediction.whenRange [
       fhir:Range.low [
         fhir:Quantity.value [ fhir:value "73"^^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 "77"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "years" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "a" ]
       ]
     ]
  ], [
     fhir:index 6;
     fhir:RiskAssessment.prediction.outcome [
       fhir:CodeableConcept.text [ fhir:value "Breast Cancer" ]
     ];
     fhir:RiskAssessment.prediction.probabilityDecimal [ fhir:value "0.001530"^^xsd:decimal ];
     fhir:RiskAssessment.prediction.whenRange [
       fhir:Range.low [
         fhir:Quantity.value [ fhir:value "78"^^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 "82"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "years" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "a" ]
       ]
     ]
  ], [
     fhir:index 7;
     fhir:RiskAssessment.prediction.outcome [
       fhir:CodeableConcept.text [ fhir:value "Breast Cancer" ]
     ];
     fhir:RiskAssessment.prediction.probabilityDecimal [ fhir:value "0.001663"^^xsd:decimal ];
     fhir:RiskAssessment.prediction.whenRange [
       fhir:Range.low [
         fhir:Quantity.value [ fhir:value "83"^^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 "88"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "years" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "a" ]
       ]
     ]
  ];
  fhir:RiskAssessment.note [
     fhir:index 0;
     fhir:Annotation.text [ fhir:value "High degree of certainty" ]
  ] .

<http://hl7.org/fhir/Patient/b248b1b2-1686-4b94-9936-37d7a5f94b51> a fhir:Patient .

<http://hl7.org/fhir/List/prognosis> a fhir:List .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/RiskAssessment/genetic.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/RiskAssessment/genetic.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.