This
page
is
part
of
the
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
Publish-box
(todo)
Example
Invoice/example
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Example
of
invoice
@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 -------------------------------------------------------------------
[a fhir:Invoice ;
<http://hl7.org/fhir/Invoice/example> a fhir:Invoice ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "example"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example of Invoice</div>"
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Example of Invoice</div>"^^rdf:XMLLiteral
] ; #
fhir:identifier ( [
fhir:system [ fhir:v "http://myHospital.org/Invoices"^^xsd:anyURI ] ;
fhir:value [ fhir:v "654321" ]
] ) ; #
fhir:status [ fhir:v "issued"] ; #
fhir:subject [
fhir:link <http://hl7.org/fhir/Patient/example> ;
fhir:reference [ fhir:v "Patient/example" ]
] ; #
fhir:creation [ fhir:v "2017-01-25T08:00:00+01:00"^^xsd:dateTime] ; #
fhir:period [ fhir:v "2017-01-25"^^xsd:date] ; #
fhir:period [
a fhir:date ;
fhir:v "2017-01-25"^^xsd:date
] ; #
fhir:participant ( [
fhir:role [
fhir:coding ( [
a sct:17561000 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "17561000" ] ;
fhir:display [ fhir:v "Cardiologist" ]
] )
] ;
fhir:actor [
fhir:link <http://hl7.org/fhir/Practitioner/example> ;
fhir:reference [ fhir:v "Practitioner/example" ]
]
] ) ; #
fhir:issuer [
fhir:identifier [
fhir:system [ fhir:v "http://myhospital/NamingSystem/departments"^^xsd:anyURI ] ;
fhir:value [ fhir:v "CARD_INTERMEDIATE_CARE" ]
]
] ; #
fhir:account [
fhir:link <http://hl7.org/fhir/Account/example> ;
fhir:reference [ fhir:v "Account/example" ]
] ; #
fhir:totalNet [
fhir:value [ fhir:v "40"^^xsd:decimal ] ;
fhir:currency [ fhir:v "EUR" ]
] ; #
fhir:totalGross [
fhir:value [ fhir:v "48"^^xsd:decimal ] ;
fhir:currency [ fhir:v "EUR" ]
]] . #
] . #
<http://hl7.org/fhir/Patient/example> a fhir:Patient .
<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .
<http://hl7.org/fhir/Account/example> a fhir:Account .
# -------------------------------------------------------------------------------------
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.