Example Slot/2 (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example for tentatively occupied slot
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:Slot;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "2"]; #
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:45am - 10:00am: <b>Tentative</b> Physiotherapy\n </div>"
]; #
fhir:Slot.serviceCategory [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "17" ];
fhir:Coding.display [ fhir:value "General Practice" ]
]
]; #
fhir:Slot.schedule [
fhir:Reference.reference [ fhir:value "Schedule/example" ]
]; #
fhir:Slot.status [ fhir:value "busy-tentative"]; #
fhir:Slot.start [ fhir:value "2013-12-25T09:45:00Z"^^xsd:dateTime]; #
fhir:Slot.end [ fhir:value "2013-12-25T10:00:00Z"^^xsd:dateTime]; #
fhir:Slot.comment [ fhir:value "Dr Careful is out of the office"]] . #
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.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.