STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Slot-example.ttl

Raw Turtle, JSON-LD

Example of an available slot (no appointments allocated)

@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 -------------------------------------------------------------------

<http://hl7.org/fhir/Slot/example> a fhir:Slot;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  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:15am - 9:30am: <b>Busy</b> Physiotherapy\n		</div>"
  ];
  fhir:Slot.serviceCategory [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "17" ];
       fhir:Coding.display [ fhir:value "General Practice" ]
     ]
  ];
  fhir:Slot.serviceType [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "57" ];
       fhir:Coding.display [ fhir:value "Immunization" ]
     ]
  ];
  fhir:Slot.specialty [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "408480009" ];
       fhir:Coding.display [ fhir:value "Clinical immunology" ]
     ]
  ];
  fhir:Slot.appointmentType [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v2-0276" ];
       fhir:Coding.code [ fhir:value "walkin" ];
       fhir:Coding.display [ fhir:value "A previously unscheduled walk-in visit" ]
     ]
  ];
  fhir:Slot.schedule [
     fhir:link <http://hl7.org/fhir/Schedule/example>;
     fhir:Reference.reference [ fhir:value "Schedule/example" ]
  ];
  fhir:Slot.status [ fhir:value "free"];
  fhir:Slot.start [ fhir:value "2013-12-25T09:15:00Z"^^xsd:dateTime];
  fhir:Slot.end [ fhir:value "2013-12-25T09:30:00Z"^^xsd:dateTime];
  fhir:Slot.comment [ fhir:value "Assessments should be performed before requesting appointments in this slot."] .

<http://hl7.org/fhir/Schedule/example> a fhir:Schedule .

# -------------------------------------------------------------------------------------


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.