This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
(v5.0.0:
R5
-
Mixed
Normative
and
STU
)
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
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
Relatedperson-example-peter.ttl
Example
RelatedPerson/peter
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
RelatedPerson
Peter
Chalmers
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/RelatedPerson/peter> a fhir:RelatedPerson;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "peter"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <table>\n <tbody>\n <tr>\n <td>Name</td>\n <td>Peter Chalmers</td>\n </tr>\n <tr>\n <td>Address</td>\n <td>534 Erewhon, Pleasantville, Vic, 3999</td>\n </tr>\n <tr>\n <td>Contacts</td>\n <td>Work: (03) 5555 6473</td>\n </tr>\n </tbody>\n </table>\n </div>"
];
fhir:RelatedPerson.patient [
fhir:link <http://hl7.org/fhir/Patient/animal>;
fhir:Reference.reference [ fhir:value "Patient/animal" ]
];
fhir:RelatedPerson.relationship [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0131" ];
fhir:Coding.code [ fhir:value "C" ]
]
];
fhir:RelatedPerson.name [
fhir:index 0;
fhir:HumanName.use [ fhir:value "official" ];
fhir:HumanName.family [ fhir:value "Chalmers" ];
fhir:HumanName.given [
fhir:value "Peter";
fhir:index 0
], [
fhir:value "James";
fhir:index 1
]
];
fhir:RelatedPerson.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "phone" ];
fhir:ContactPoint.value [ fhir:value "(03) 5555 6473" ];
fhir:ContactPoint.use [ fhir:value "work" ]
];
fhir:RelatedPerson.gender [ fhir:value "male"];
fhir:RelatedPerson.address [
fhir:index 0;
fhir:Address.use [ fhir:value "home" ];
fhir:Address.line [
fhir:value "534 Erewhon St";
fhir:index 0
];
fhir:Address.city [ fhir:value "PleasantVille" ];
fhir:Address.state [ fhir:value "Vic" ];
fhir:Address.postalCode [ fhir:value "3999" ]
];
fhir:RelatedPerson.photo [
fhir:index 0;
fhir:Attachment.contentType [ fhir:value "image/jpeg" ];
fhir:Attachment.url [ fhir:value "Binary/f012" ]
];
fhir:RelatedPerson.period [
fhir:Period.start [ fhir:value "2012-03-11"^^xsd:date ]
] .
<http://hl7.org/fhir/Patient/animal> a fhir:Patient .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/RelatedPerson/peter.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/RelatedPerson/peter.ttl> .
[a fhir:RelatedPerson ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "peter"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <table>\n <tbody>\n <tr>\n <td>Name</td>\n <td>Peter Chalmers</td>\n </tr>\n <tr>\n <td>Address</td>\n <td>534 Erewhon, Pleasantville, Vic, 3999</td>\n </tr>\n <tr>\n <td>Contacts</td>\n <td>Work: (03) 5555 6473</td>\n </tr>\n </tbody>\n </table>\n </div>"
] ; #
fhir:patient [
fhir:reference [ fhir:v "Patient/animal" ]
] ; #
fhir:relationship ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ] ;
fhir:code [ fhir:v "C" ]
] )
] ) ; #
fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:family [ fhir:v "Chalmers" ] ;
fhir:given ( [ fhir:v "Peter" ] [ fhir:v "James" ] )
] ) ; #
fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "(03) 5555 6473" ] ;
fhir:use [ fhir:v "work" ]
] ) ; #
fhir:gender [ fhir:v "male"] ; #
fhir:address ( [
fhir:use [ fhir:v "home" ] ;
fhir:line ( [ fhir:v "534 Erewhon St" ] ) ;
fhir:city [ fhir:v "PleasantVille" ] ;
fhir:state [ fhir:v "Vic" ] ;
fhir:postalCode [ fhir:v "3999" ]
] ) ; #
fhir:photo ( [
fhir:contentType [ fhir:v "image/jpeg" ] ;
fhir:url [ fhir:v "Binary/f012"^^xsd:anyURI ]
] ) ; #
fhir:period [
fhir:start [ fhir:v "2012-03-11"^^xsd:date ]
]] . #
# -------------------------------------------------------------------------------------
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.