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
Patient/glossy
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Example
for
glossy
@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:Patient ;
<http://hl7.org/fhir/Patient/glossy> a fhir:Patient ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "glossy"] ; #
fhir:meta [
fhir:lastUpdated [ fhir:v "2014-11-13T11:41:00+11:00"^^xsd:dateTime ]
] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Henry Levin the 7th</p>\n <p>MRN: 123456. Male, 24-Sept 1932</p>\n </div>"
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Henry Levin the 7th</p>\n <p>MRN: 123456. Male, 24-Sept 1932</p>\n </div>"^^rdf:XMLLiteral ]
] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://example.org/StructureDefinition/trials"^^xsd:anyURI ] ;
fhir:value [ fhir:v "renal" ]
fhir:url [
fhir:v "http://example.org/StructureDefinition/trials"^^xsd:anyURI ;
fhir:l <http://example.org/StructureDefinition/trials>
] ;
fhir:value [
a fhir:Code ;
fhir:v "renal"
]
] ) ; #
fhir:identifier ( [
fhir:use [ fhir:v "usual" ] ;
fhir:type [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
] ;
fhir:code [ fhir:v "MR" ]
] )
] ;
fhir:system [ fhir:v "http://www.goodhealth.org/identifiers/mrn"^^xsd:anyURI ] ;
fhir:system [
fhir:v "http://www.goodhealth.org/identifiers/mrn"^^xsd:anyURI ;
fhir:l <http://www.goodhealth.org/identifiers/mrn>
] ;
fhir:value [ fhir:v "123456" ]
] ) ; #
fhir:active [ fhir:v "true"^^xsd:boolean] ; #
fhir:active [ fhir:v true] ; #
fhir:name ( [
fhir:family [ fhir:v "Levin" ] ;
fhir:given ( [ fhir:v "Henry" ] ) ;
fhir:suffix ( [ fhir:v "The 7th" ] )
] ) ; #
fhir:gender [ fhir:v "male"] ; #
fhir:birthDate [ fhir:v "1932-09-24"^^xsd:date] ; #
fhir:generalPractitioner ( [
fhir:l <http://hl7.org/fhir/Practitioner/example> ;
fhir:reference [ fhir:v "Practitioner/example" ] ;
fhir:display [ fhir:v "Dr Adam Careful" ]
] ) ; #
fhir:managingOrganization [
fhir:l <http://hl7.org/fhir/Organization/2> ;
fhir:reference [ fhir:v "Organization/2" ] ;
fhir:display [ fhir:v "Good Health Clinic" ]
]] . #
] . #
<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .
<http://hl7.org/fhir/Organization/2> a fhir:Organization .
# -------------------------------------------------------------------------------------
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.