Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). 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

Example RiskAssessment/genetic (Turtle)

Clinical Decision Support Work Group Maturity Level : N/A Standards Status : Informative Compartments : 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" ]

[a fhir:RiskAssessment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "genetic"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir: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:status [ fhir:v "final"] ; # 
  fhir:method [
     fhir:coding ( [
       fhir:code [ fhir:v "BRCAPRO" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/b248b1b2-1686-4b94-9936-37d7a5f94b51" ]
  ] ; # 
  fhir:occurrence [ fhir:v "2006-01-13T23:01:00Z"^^xsd:dateTime] ; # 
  fhir:basis ( [
     fhir:reference [ fhir:v "List/prognosis" ]
  ] ) ; # 
  fhir:prediction ( [
     fhir:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [ fhir:v "0.000168"^^xsd:decimal ] ;
     fhir:when [
       a fhir:Range ;
       fhir:high [
         fhir:value [ fhir:v "53"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "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:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [ fhir:v "0.000368"^^xsd:decimal ] ;
     fhir:when [
       a fhir:Range ;
       fhir:low [
         fhir:value [ fhir:v "54"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "a" ]
       ] ;
       fhir:high [
         fhir:value [ fhir:v "57"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "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:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [ fhir:v "0.000594"^^xsd:decimal ] ;
     fhir:when [
       a fhir:Range ;
       fhir:low [
         fhir:value [ fhir:v "58"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "a" ]
       ] ;
       fhir:high [
         fhir:value [ fhir:v "62"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "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:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [ fhir:v "0.000838"^^xsd:decimal ] ;
     fhir:when [
       a fhir:Range ;
       fhir:low [
         fhir:value [ fhir:v "63"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "a" ]
       ] ;
       fhir:high [
         fhir:value [ fhir:v "67"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "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:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [ fhir:v "0.001089"^^xsd:decimal ] ;
     fhir:when [
       a fhir:Range ;
       fhir:low [
         fhir:value [ fhir:v "68"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "a" ]
       ] ;
       fhir:high [
         fhir:value [ fhir:v "72"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "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:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [ fhir:v "0.001327"^^xsd:decimal ] ;
     fhir:when [
       a fhir:Range ;
       fhir:low [
         fhir:value [ fhir:v "73"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "a" ]
       ] ;
       fhir:high [
         fhir:value [ fhir:v "77"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "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:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [ fhir:v "0.001530"^^xsd:decimal ] ;
     fhir:when [
       a fhir:Range ;
       fhir:low [
         fhir:value [ fhir:v "78"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "a" ]
       ] ;
       fhir:high [
         fhir:value [ fhir:v "82"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "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:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [ fhir:v "0.001663"^^xsd:decimal ] ;
     fhir:when [
       a fhir:Range ;
       fhir:low [
         fhir:value [ fhir:v "83"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "a" ]
       ] ;
       fhir:high [
         fhir:value [ fhir:v "88"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "years" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "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> .

  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "High degree of certainty" ]
  ] )] . # 


# -------------------------------------------------------------------------------------


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.