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

<http://hl7.org/fhir/RiskAssessment/genetic> a fhir:RiskAssessment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "genetic"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<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>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:method [
     fhir:coding ( [
       fhir:code [ fhir:v "BRCAPRO" ]
     ] )
  ] ; # 
  fhir:code [
     a sct:709510001 ;
     fhir:coding ( [
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "709510001" ] ;
       fhir:display [ fhir:v "Assessment of risk for disease (procedure)" ]
     ] [
       fhir:system [
         fhir:v "http://hl7.org/fhir/risk-assessment-type-example"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/risk-assessment-type-example>
       ] ;
       fhir:code [ fhir:v "breast-cancer-risk" ] ;
       fhir:display [ fhir:v "Breast Cancer Risk" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/b248b1b2-1686-4b94-9936-37d7a5f94b51> ;
     fhir:reference [ fhir:v "Patient/b248b1b2-1686-4b94-9936-37d7a5f94b51" ]
  ] ; # 
  fhir:occurrence [
     a fhir:DateTime ;
     fhir:v "2006-01-13T23:01:00Z"^^xsd:dateTime
  ] ; # 
  fhir:basis ( [
     fhir:l <http://hl7.org/fhir/List/prognosis> ;
     fhir:reference [ fhir:v "List/prognosis" ]
  ] ) ; # 
  fhir:prediction ( [
     fhir:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [
       a fhir:Quantity ;
       fhir:value [ fhir:v 0.000168 ] ;
       fhir:unit [ fhir:v "%" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "%" ]
     ] ;
     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:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "a" ]
       ]
     ]
  ] [
     fhir:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [
       a fhir:Quantity ;
       fhir:value [ fhir:v 0.000368 ] ;
       fhir:unit [ fhir:v "%" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "%" ]
     ] ;
     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:l <http://unitsofmeasure.org>
         ] ;
         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:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "a" ]
       ]
     ]
  ] [
     fhir:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [
       a fhir:Quantity ;
       fhir:value [ fhir:v 0.000594 ] ;
       fhir:unit [ fhir:v "%" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "%" ]
     ] ;
     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:l <http://unitsofmeasure.org>
         ] ;
         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:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "a" ]
       ]
     ]
  ] [
     fhir:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [
       a fhir:Quantity ;
       fhir:value [ fhir:v 0.000838 ] ;
       fhir:unit [ fhir:v "%" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "%" ]
     ] ;
     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:l <http://unitsofmeasure.org>
         ] ;
         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:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "a" ]
       ]
     ]
  ] [
     fhir:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [
       a fhir:Quantity ;
       fhir:value [ fhir:v 0.001089 ] ;
       fhir:unit [ fhir:v "%" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "%" ]
     ] ;
     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:l <http://unitsofmeasure.org>
         ] ;
         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:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "a" ]
       ]
     ]
  ] [
     fhir:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [
       a fhir:Quantity ;
       fhir:value [ fhir:v 0.001327 ] ;
       fhir:unit [ fhir:v "%" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "%" ]
     ] ;
     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:l <http://unitsofmeasure.org>
         ] ;
         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:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "a" ]
       ]
     ]
  ] [
     fhir:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [
       a fhir:Quantity ;
       fhir:value [ fhir:v 0.001530 ] ;
       fhir:unit [ fhir:v "%" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "%" ]
     ] ;
     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:l <http://unitsofmeasure.org>
         ] ;
         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:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "a" ]
       ]
     ]
  ] [
     fhir:outcome [
       fhir:text [ fhir:v "Breast Cancer" ]
     ] ;
     fhir:probability [
       a fhir:Quantity ;
       fhir:value [ fhir:v 0.001663 ] ;
       fhir:unit [ fhir:v "%" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "%" ]
     ] ;
     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:l <http://unitsofmeasure.org>
         ] ;
         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:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "a" ]
       ]
     ]
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "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 .

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

