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

4.29.5 Resource FamilyHistory - Examples

Example Index:

Basic Example. Describes the fathers death at age 74 from a heart attackXMLJSON
Mother died from a stroke aged 56. Brother with diabetes.XMLJSON

4.29.5.1 Father

XML

Basic Example. Describes the fathers death at age 74 from a heart attack (id = "father")

Raw XML

<FamilyHistory xmlns="http://hl7.org/fhir">
  <id value="father"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <patient>
    <reference value="Patient/example"/>
    <display value="Peter Patient"/>
  </patient>
  <date value="2011-03-18"/>
  <relation>
    <relationship>
      <coding>
        <system value="http://hl7.org/fhir/familial-relationship"/>
        <code value="father"/>
      </coding>
    </relationship>
    <condition>
      <type>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="315619001"/>
          <display value="Myocardial Infarction"/>
        </coding>
        <text value="Heart Attack"/>
      </type>
      <onsetAge>
        <value value="74"/>
        <units value="a"/>
        <system value="http://unitsofmeasure.org"/>
      </onsetAge>
      <note value="Was fishing at the time. At least he went doing someting he loved."/>
    </condition>
  </relation>
</FamilyHistory>

JSON

Basic Example. Describes the fathers death at age 74 from a heart attack

Raw JSON (Canonical)

{
  "resourceType": "FamilyHistory",
  "id": "father",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "patient": {
    "reference": "Patient/example",
    "display": "Peter Patient"
  },
  "date": "2011-03-18",
  "relation": [
    {
      "relationship": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/familial-relationship",
            "code": "father"
          }
        ]
      },
      "condition": [
        {
          "type": {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "315619001",
                "display": "Myocardial Infarction"
              }
            ],
            "text": "Heart Attack"
          },
          "onsetAge": {
            "value": 74,
            "units": "a",
            "system": "http://unitsofmeasure.org"
          },
          "note": "Was fishing at the time. At least he went doing someting he loved."
        }
      ]
    }
  ]
}

4.29.5.2 Mother

XML

Mother died from a stroke aged 56. Brother with diabetes. (id = "mother")

Raw XML

<FamilyHistory xmlns="http://hl7.org/fhir">
  <id value="mother"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <patient>
    <reference value="Patient/100"/>
    <display value="Peter Patient"/>
  </patient>
  <relation>
    <relationship>
      <coding>
        <system value="http://hl7.org/fhir/familial-relationship"/>
        <code value="mother"/>
      </coding>
    </relationship>
    <condition>
      <type>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="371041009"/>
          <display value="Embolic Stroke"/>
        </coding>
        <text value="Stroke"/>
      </type>
      <onsetAge>
        <value value="56"/>
        <units value="a"/>
        <system value="http://unitsofmeasure.org"/>
      </onsetAge>
    </condition>
  </relation>
  <relation>
    <relationship>
      <coding>
        <system value="http://hl7.org/fhir/familial-relationship"/>
        <code value="brother"/>
      </coding>
    </relationship>
    <condition>
      <type>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="190372001"/>
          <display value="Type 1 Diabetes, Maturity Onset"/>
        </coding>
        <text value="Diabetes Mellitus"/>
      </type>
    </condition>
  </relation>
</FamilyHistory>

JSON

Mother died from a stroke aged 56. Brother with diabetes.

Raw JSON (Canonical)

{
  "resourceType": "FamilyHistory",
  "id": "mother",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "patient": {
    "reference": "Patient/100",
    "display": "Peter Patient"
  },
  "relation": [
    {
      "relationship": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/familial-relationship",
            "code": "mother"
          }
        ]
      },
      "condition": [
        {
          "type": {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "371041009",
                "display": "Embolic Stroke"
              }
            ],
            "text": "Stroke"
          },
          "onsetAge": {
            "value": 56,
            "units": "a",
            "system": "http://unitsofmeasure.org"
          }
        }
      ]
    },
    {
      "relationship": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/familial-relationship",
            "code": "brother"
          }
        ]
      },
      "condition": [
        {
          "type": {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "190372001",
                "display": "Type 1 Diabetes, Maturity Onset"
              }
            ],
            "text": "Diabetes Mellitus"
          }
        }
      ]
    }
  ]
}

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.