Example Slot/1 (Turtle)
Raw Turtle (+ 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 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 "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: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"];
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."]] .
# - 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.