This page is part of the FHIR Specification (v3.2.0: R4 Ballot 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
. Page versions: R5 R4B R4 R3
| Patient Care Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Patient |
Basic Example. Describes the fathers death at age 74 from a heart attack
@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/FamilyMemberHistory/father> a fhir:FamilyMemberHistory;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "father"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Father died of a heart attack aged 74</div>"
];
fhir:FamilyMemberHistory.identifier [
fhir:index 0;
fhir:Identifier.value [ fhir:value "12345" ]
];
fhir:FamilyMemberHistory.instantiates [
fhir:value "http://example.org/fhir/Questionnaire/family-member-history";
fhir:index 0
];
fhir:FamilyMemberHistory.status [ fhir:value "completed"];
fhir:FamilyMemberHistory.patient [
fhir:link <http://hl7.org/fhir/Patient/example>;
fhir:Reference.reference [ fhir:value "Patient/example" ];
fhir:Reference.display [ fhir:value "Peter Patient" ]
];
fhir:FamilyMemberHistory.date [ fhir:value "2011-03-18"^^xsd:date];
fhir:FamilyMemberHistory.relationship [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/RoleCode" ];
fhir:Coding.code [ fhir:value "FTH" ];
fhir:Coding.display [ fhir:value "father" ]
]
];
fhir:FamilyMemberHistory.gender [ fhir:value "male"];
fhir:FamilyMemberHistory.condition [
fhir:index 0;
fhir:FamilyMemberHistory.condition.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:315619001;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "315619001" ];
fhir:Coding.display [ fhir:value "Myocardial Infarction" ]
];
fhir:CodeableConcept.text [ fhir:value "Heart Attack" ]
];
fhir:FamilyMemberHistory.condition.onsetAge [
fhir:Quantity.value [ fhir:value "74"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "yr" ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "a" ]
];
fhir:FamilyMemberHistory.condition.note [
fhir:index 0;
fhir:Annotation.text [ fhir:value "Was fishing at the time. At least he went doing someting he loved." ]
]
] .
<http://hl7.org/fhir/Patient/example> a fhir:Patient .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/FamilyMemberHistory/father.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/FamilyMemberHistory/father.ttl> .
# -------------------------------------------------------------------------------------
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.