This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions 
Example Index:
| Basic Example. Describes the fathers death at age 74 from a heart attack | XML | JSON |
| Mother died from a stroke aged 56. Brother with diabetes. | XML | JSON |
| Real-world patient example | XML | JSON |
XML
Basic Example. Describes the fathers death at age 74 from a heart attack (id = "father")
<FamilyHistory xmlns="http://hl7.org/fhir"> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">Father died of a heart attack aged 74</div> </text> <subject> <reference value="Patient/example"/> <display value="Peter Patient"/> </subject> <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
{
"resourceType": "FamilyHistory",
"text": {
"status": "generated",
"div": "<div>Father died of a heart attack aged 74</div>"
},
"subject": {
"reference": "Patient/example",
"display": "Peter Patient"
},
"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."
}
]
}
]
}
XML
Mother died from a stroke aged 56. Brother with diabetes. (id = "mother")
<FamilyHistory xmlns="http://hl7.org/fhir"> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">Mother died of a stroke aged 56. Brother has diabetes</div> </text> <subject> <reference value="Patient/100"/> <display value="Peter Patient"/> </subject> <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.
{
"resourceType": "FamilyHistory",
"text": {
"status": "generated",
"div": "<div>Mother died of a stroke aged 56. Brother has diabetes</div>"
},
"subject": {
"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"
}
}
]
}
]
}