This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:RelatedPerson ;
<http://hl7.org/fhir/RelatedPerson/peter> 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:div [ fhir:v "<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>"^^rdf:XMLLiteral ]
] ; #
fhir:patient [
fhir:l <http://hl7.org/fhir/Patient/animal> ;
fhir:reference [ fhir:v "Patient/animal" ]
] ; #
fhir:relationship ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ] ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v2-0131>
] ;
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:url [
fhir:v "Binary/f012"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/Binary/f012>
]
] ) ; #
fhir:period [
fhir:start [ fhir:v "2012-03-11"^^xsd:date ]
]] . #
] . #
<http://hl7.org/fhir/Patient/animal> a fhir:Patient .
# -------------------------------------------------------------------------------------
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.