2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). 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 R2

4.12.8 Resource RiskAssessment - Examples

Example Index:

Genetic risk assessmentXMLJSON
Patient prognosisXMLJSON
Cardiac risk assessmentXMLJSON
Public health population risk assessmentXMLJSON

4.12.8.1 genetic

XML

Genetic risk assessment (id = "genetic")

Raw XML

<RiskAssessment xmlns="http://hl7.org/fhir">
  <id value="genetic"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <date value="2006-01-13T23:01:00Z"/>
  <method>
    <coding>
      <code value="BRCAPRO"/>
    </coding>
  </method>
  <basis>
    <reference value="FamilyHistory/"/>
  </basis>
  <prediction>
    <outcome>
      <text value="Breast Cancer"/>
    </outcome>
    <probabilityDecimal value="0.000168"/>
    <whenRange>
      <high>
        <value value="53"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </high>
    </whenRange>
  </prediction>
  <prediction>
    <outcome>
      <text value="Breast Cancer"/>
    </outcome>
    <probabilityDecimal value="0.000368"/>
    <whenRange>
      <low>
        <value value="54"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </low>
      <high>
        <value value="57"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </high>
    </whenRange>
  </prediction>
  <prediction>
    <outcome>
      <text value="Breast Cancer"/>
    </outcome>
    <probabilityDecimal value="0.000594"/>
    <whenRange>
      <low>
        <value value="58"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </low>
      <high>
        <value value="62"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </high>
    </whenRange>
  </prediction>
  <prediction>
    <outcome>
      <text value="Breast Cancer"/>
    </outcome>
    <probabilityDecimal value="0.000838"/>
    <whenRange>
      <low>
        <value value="63"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </low>
      <high>
        <value value="67"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </high>
    </whenRange>
  </prediction>
  <prediction>
    <outcome>
      <text value="Breast Cancer"/>
    </outcome>
    <probabilityDecimal value="0.001089"/>
    <whenRange>
      <low>
        <value value="68"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </low>
      <high>
        <value value="72"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </high>
    </whenRange>
  </prediction>
  <prediction>
    <outcome>
      <text value="Breast Cancer"/>
    </outcome>
    <probabilityDecimal value="0.001327"/>
    <whenRange>
      <low>
        <value value="73"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </low>
      <high>
        <value value="77"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </high>
    </whenRange>
  </prediction>
  <prediction>
    <outcome>
      <text value="Breast Cancer"/>
    </outcome>
    <probabilityDecimal value="0.001530"/>
    <whenRange>
      <low>
        <value value="78"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </low>
      <high>
        <value value="82"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </high>
    </whenRange>
  </prediction>
  <prediction>
    <outcome>
      <text value="Breast Cancer"/>
    </outcome>
    <probabilityDecimal value="0.001663"/>
    <whenRange>
      <low>
        <value value="83"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </low>
      <high>
        <value value="88"/>
        <units value="years"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="a"/>
      </high>
    </whenRange>
  </prediction>
</RiskAssessment>

JSON

Genetic risk assessment

Raw JSON (Canonical)

{
  "resourceType": "RiskAssessment",
  "id": "genetic",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "date": "2006-01-13T23:01:00Z",
  "method": {
    "coding": [
      {
        "code": "BRCAPRO"
      }
    ]
  },
  "basis": [
    {
      "reference": "FamilyHistory/"
    }
  ],
  "prediction": [
    {
      "outcome": {
        "text": "Breast Cancer"
      },
      "probabilityDecimal": 0.000168,
      "whenRange": {
        "high": {
          "value": 53,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        }
      }
    },
    {
      "outcome": {
        "text": "Breast Cancer"
      },
      "probabilityDecimal": 0.000368,
      "whenRange": {
        "low": {
          "value": 54,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        },
        "high": {
          "value": 57,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        }
      }
    },
    {
      "outcome": {
        "text": "Breast Cancer"
      },
      "probabilityDecimal": 0.000594,
      "whenRange": {
        "low": {
          "value": 58,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        },
        "high": {
          "value": 62,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        }
      }
    },
    {
      "outcome": {
        "text": "Breast Cancer"
      },
      "probabilityDecimal": 0.000838,
      "whenRange": {
        "low": {
          "value": 63,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        },
        "high": {
          "value": 67,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        }
      }
    },
    {
      "outcome": {
        "text": "Breast Cancer"
      },
      "probabilityDecimal": 0.001089,
      "whenRange": {
        "low": {
          "value": 68,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        },
        "high": {
          "value": 72,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        }
      }
    },
    {
      "outcome": {
        "text": "Breast Cancer"
      },
      "probabilityDecimal": 0.001327,
      "whenRange": {
        "low": {
          "value": 73,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        },
        "high": {
          "value": 77,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        }
      }
    },
    {
      "outcome": {
        "text": "Breast Cancer"
      },
      "probabilityDecimal": 0.001530,
      "whenRange": {
        "low": {
          "value": 78,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        },
        "high": {
          "value": 82,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        }
      }
    },
    {
      "outcome": {
        "text": "Breast Cancer"
      },
      "probabilityDecimal": 0.001663,
      "whenRange": {
        "low": {
          "value": 83,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        },
        "high": {
          "value": 88,
          "units": "years",
          "system": "http://unitsofmeasure.org",
          "code": "a"
        }
      }
    }
  ]
}

4.12.8.2 prognosis

XML

Patient prognosis (id = "prognosis")

Raw XML

<RiskAssessment xmlns="http://hl7.org/fhir">
  <id value="prognosis"/>
  <text>
    <status value="additional"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <date value="2010-11-22"/>
  <condition>
    <reference value="Condition/stroke"/>
    <display value="Ischemic Stroke"/>
  </condition>
  <prediction>
    <outcome>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="249943000:363698007=72098002,260868000=6934004"/>
      </coding>
      <text value="permanent weakness of the left arm"/>
    </outcome>
    <probabilityCodeableConcept>
      <coding>
        <system value="http://hl7.org/fhir/risk-probability"/>
        <code value="moderate"/>
        <display value="moderate likelihood"/>
      </coding>
    </probabilityCodeableConcept>
  </prediction>
</RiskAssessment>

JSON

Patient prognosis

Raw JSON (Canonical)

{
  "resourceType": "RiskAssessment",
  "id": "prognosis",
  "text": {
    "status": "additional",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "date": "2010-11-22",
  "condition": {
    "reference": "Condition/stroke",
    "display": "Ischemic Stroke"
  },
  "prediction": [
    {
      "outcome": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "249943000:363698007=72098002,260868000=6934004"
          }
        ],
        "text": "permanent weakness of the left arm"
      },
      "probabilityCodeableConcept": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/risk-probability",
            "code": "moderate",
            "display": "moderate likelihood"
          }
        ]
      }
    }
  ]
}

4.12.8.3 population

XML

Public health population risk assessment (id = "population")

Raw XML

<RiskAssessment xmlns="http://hl7.org/fhir">
  <id value="population"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
</RiskAssessment>

JSON

Public health population risk assessment

Raw JSON (Canonical)

{
  "resourceType": "RiskAssessment",
  "id": "population",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  }
}

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.