This
page
is
part
of
the
FHIR
Specification
(v3.0.2:
STU
3).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
Continuous
Integration
Build
of
available
versions,
see
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
Parameters-example.ttl
Example
Parameters/example
(Turtle)
Raw
Turtle
,
JSON-LD
(+
also
see
Turtle/RDF
Format
Specification
)
Parameters
Example
@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:Parameters;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "example"];
fhir:Parameters.parameter [
fhir:index 0;
fhir:Parameters.parameter.name [ fhir:value "start" ];
fhir:Parameters.parameter.valueDate [ fhir:value "2010-01-01"^^xsd:date ]
], [
fhir:index 1;
fhir:Parameters.parameter.name [ fhir:value "end" ];
fhir:Parameters.parameter.resource [
a fhir:Binary;
fhir:Binary.contentType [ fhir:value "text/plain" ];
fhir:Binary.content [ fhir:value "VGhpcyBpcyBhIHRlc3QgZXhhbXBsZQ=="^^xsd:base64Binary ]
<http://hl7.org/fhir/Parameters/example> a fhir:Parameters ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "example"] ; #
fhir:parameter ( [
fhir:name [ fhir:v "exact" ] ;
fhir:value [
a fhir:Boolean ;
fhir:v true
]
]] .
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
] [
fhir:name [ fhir:v "property" ] ;
fhir:part ( [
fhir:name [ fhir:v "code" ] ;
fhir:value [
a fhir:Code ;
fhir:v "focus"
]
] [
fhir:name [ fhir:v "value" ] ;
fhir:value [
a fhir:Code ;
fhir:v "top"
]
] )
] [
fhir:name [ fhir:v "patient" ] ;
fhir:Parameters.parameter.resource ( [
a fhir:Patient ;
fhir:id [ fhir:v "example" ] ;
fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:family [ fhir:v "Chalmers" ] ;
fhir:given ( [ fhir:v "Peter" ] [ fhir:v "James" ] )
] )
] )
] ) . #
# -------------------------------------------------------------------------------------
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.