Clinical
Summary
This
page
is
part
of
the
FHIR
Specification
(v3.0.2:
STU
3).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
Continuous
Integration
Build
of
available
versions,
see
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: Patient Care Work Group |
|
Compartments : Patient |
Raw
Turtle
,
JSON-LD
(+
also
see
Turtle/RDF
Format
Specification
)
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 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/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.definition [ fhir:index 0; fhir:Reference.display [ fhir:value "Family Member History Questionnaire" ] ]; fhir:FamilyMemberHistory.status [ fhir:value "completed"]; fhir:FamilyMemberHistory.notDone [ fhir:value "false"^^xsd:boolean]; 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/FamilyMemberHistory/father> a fhir:FamilyMemberHistory ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "father"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Father died of a heart attack aged 74</div>"^^rdf:XMLLiteral ] ] ; # fhir:identifier ( [ fhir:value [ fhir:v "12345" ] ] ) ; # fhir:status [ fhir:v "completed"] ; # fhir:patient [ fhir:l <http://hl7.org/fhir/Patient/example> ; fhir:reference [ fhir:v "Patient/example" ] ; fhir:display [ fhir:v "Peter Patient" ] ] ; # fhir:date [ fhir:v "2011-03-18"^^xsd:date] ; # fhir:recorder [ fhir:l <http://hl7.org/fhir/Practitioner/f201> ; fhir:reference [ fhir:v "Practitioner/f201" ] ] ; # fhir:relationship [ fhir:coding ( [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/v3-RoleCode> ] ; fhir:code [ fhir:v "FTH" ] ; fhir:display [ fhir:v "father" ] ] ) ] ; # fhir:sex [ fhir:coding ( [ fhir:system [ fhir:v "http://hl7.org/fhir/administrative-gender"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/administrative-gender> ] ; fhir:code [ fhir:v "male" ] ; fhir:display [ fhir:v "Male" ] ] ) ] ; # fhir:condition ( [ fhir:code [ fhir:coding ( [ a sct:22298006 ; fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ; fhir:l <http://snomed.info/sct> ] ; fhir:code [ fhir:v "22298006" ] ; fhir:display [ fhir:v "Myocardial Infarction" ] ] ) ; fhir:text [ fhir:v "Heart Attack" ] ] ; fhir:contributedToDeath [ fhir:v true ] ; fhir:onset [ a fhir:Age ; fhir:value [ fhir:v "74"^^xsd:decimal ] ; fhir:unit [ fhir:v "yr" ] ; 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 "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://hl7.org/fhir/STU3/FamilyMemberHistory/father.ttl> .<http://hl7.org/fhir/Practitioner/f201> a fhir:Practitioner . # -------------------------------------------------------------------------------------
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.
FHIR
®©
HL7.org
2011+.
FHIR
Release
3
(STU;
v3.0.2-11200)
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Thurs,
Oct
24,
2019
11:53+1100.
QA
Page
Wed,
Dec
17,
2025
09:54+0000.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
DSTU2
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change