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
Slot-example-busy.ttl
Example
Slot/1
(Turtle)
Raw
Turtle
,
JSON-LD
(+
also
see
Turtle/RDF
Format
Specification
)
Example
for
a
slot
that
has
an
appointment
allocated
to
it
@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 -------------------------------------------------------------------
<http://hl7.org/fhir/Slot/1> a fhir:Slot;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "1"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n 25 Dec 2013 9:00am - 9:15am: <b>Busy</b> Physiotherapy\n </div>"
];
fhir:Slot.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://example.org/identifiers/slots" ];
fhir:Identifier.value [ fhir:value "123132" ]
];
fhir:Slot.serviceCategory [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "17" ];
fhir:Coding.display [ fhir:value "General Practice" ]
]
];
fhir:Slot.schedule [
fhir:link <http://hl7.org/fhir/Schedule/example>;
fhir:Reference.reference [ fhir:value "Schedule/example" ]
];
fhir:Slot.status [ fhir:value "busy"];
fhir:Slot.start [ fhir:value "2013-12-25T09:00:00Z"^^xsd:dateTime];
fhir:Slot.end [ fhir:value "2013-12-25T09:15:00Z"^^xsd:dateTime];
fhir:Slot.overbooked [ fhir:value "true"^^xsd:boolean];
fhir:Slot.comment [ fhir:value "Assessments should be performed before requesting appointments in this slot."] .
<http://hl7.org/fhir/Slot/1> a fhir:Slot ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "1"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n 25 Dec 2013 9:00am - 9:15am: <b>Busy</b> Physiotherapy\n </div>"^^rdf:XMLLiteral ]
] ; #
fhir:identifier ( [
fhir:system [
fhir:v "http://example.org/identifiers/slots"^^xsd:anyURI ;
fhir:l <http://example.org/identifiers/slots>
] ;
fhir:value [ fhir:v "123132" ]
] ) ; #
fhir:serviceCategory ( [
fhir:coding ( [
fhir:code [ fhir:v "17" ] ;
fhir:display [ fhir:v "General Practice" ]
] )
] ) ; #
fhir:schedule [
fhir:l <http://hl7.org/fhir/Schedule/example> ;
fhir:reference [ fhir:v "Schedule/example" ]
] ; #
fhir:status [ fhir:v "busy"] ; #
fhir:start [ fhir:v "2013-12-25T09:00:00Z"^^xsd:dateTime] ; #
fhir:end [ fhir:v "2013-12-25T09:15:00Z"^^xsd:dateTime] ; #
fhir:overbooked [ fhir:v true] ; #
fhir:comment [ fhir:v "Assessments should be performed before requesting appointments in this slot."] . #
<http://hl7.org/fhir/Schedule/example> a fhir:Schedule .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Slot/1.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://hl7.org/fhir/STU3/Slot/1.ttl> .
# -------------------------------------------------------------------------------------
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.