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
Account/ewg
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Example
with
a
Guarantor
@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:Account ;
<http://hl7.org/fhir/Account/ewg> a fhir:Account ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "ewg"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Inpatient Admission for Peter James Chalmers Account</div>"
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Inpatient Admission for Peter James Chalmers Account</div>"^^rdf:XMLLiteral ]
] ; #
fhir:identifier ( [
fhir:system [ fhir:v "urn:oid:0.1.2.3.4.5.6.7"^^xsd:anyURI ] ;
fhir:system [
fhir:v "urn:oid:0.1.2.3.4.5.6.7"^^xsd:anyURI ;
fhir:l <urn:oid:0.1.2.3.4.5.6.7>
] ;
fhir:value [ fhir:v "654321" ]
] ) ; #
fhir:status [ fhir:v "active"] ; #
fhir:type [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:system [
fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
] ;
fhir:code [ fhir:v "PBILLACCT" ] ;
fhir:display [ fhir:v "patient billing account" ]
] ) ;
fhir:text [ fhir:v "patient" ]
] ; #
fhir:name [ fhir:v "Inpatient: Peter James Chalmers"] ; #
fhir:subject ( [
fhir:l <http://hl7.org/fhir/Patient/example> ;
fhir:reference [ fhir:v "Patient/example" ] ;
fhir:display [ fhir:v "Peter James Chalmers" ]
] ) ; #
fhir:servicePeriod [
fhir:start [ fhir:v "2016-01-01"^^xsd:date ] ;
fhir:end [ fhir:v "2016-06-30"^^xsd:date ]
] ; #
fhir:coverage ( [
fhir:coverage [
fhir:l <http://hl7.org/fhir/Coverage/9876B1> ;
fhir:reference [ fhir:v "Coverage/9876B1" ]
] ;
fhir:priority [ fhir:v "1"^^xsd:positiveInteger ]
] [
fhir:coverage [
fhir:l <http://hl7.org/fhir/Coverage/7546D> ;
fhir:reference [ fhir:v "Coverage/7546D" ]
] ;
fhir:priority [ fhir:v "2"^^xsd:positiveInteger ]
] ) ; #
fhir:owner [
fhir:l <http://hl7.org/fhir/Organization/f001> ;
fhir:reference [ fhir:v "Organization/f001" ] ;
fhir:display [ fhir:v "Burgers University Medical Center" ]
] ; #
fhir:description [ fhir:v "Hospital charges"] ; #
fhir:guarantor ( [
fhir:party [
fhir:l <http://hl7.org/fhir/RelatedPerson/benedicte> ;
fhir:reference [ fhir:v "RelatedPerson/benedicte" ] ;
fhir:display [ fhir:v "Bénédicte du Marché" ]
] ;
fhir:onHold [ fhir:v "false"^^xsd:boolean ] ;
fhir:onHold [ fhir:v false ] ;
fhir:period [
fhir:start [ fhir:v "2016-01-01"^^xsd:date ]
]
] )] . #
] ) . #
<http://hl7.org/fhir/Patient/example> a fhir:Patient .
<http://hl7.org/fhir/Coverage/9876B1> a fhir:Coverage .
<http://hl7.org/fhir/Coverage/7546D> a fhir:Coverage .
<http://hl7.org/fhir/Organization/f001> a fhir:Organization .
<http://hl7.org/fhir/RelatedPerson/benedicte> a fhir:RelatedPerson .
# -------------------------------------------------------------------------------------
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.