@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://fhir.kisimdocs.ch/ig/KisimScheduling/Slot/FreeSlot> a fhir:Slot;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "FreeSlot"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.cistec.com/KisimScheduling/StructureDefinition/KisimSchedulingSlot";
       fhir:index 0;
       fhir:link <http://fhir.cistec.com/KisimScheduling/StructureDefinition/KisimSchedulingSlot>
     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"FreeSlot\" </p><p style=\"margin-bottom: 0px\">Profile: <code>http://fhir.cistec.com/KisimScheduling/StructureDefinition/KisimSchedulingSlot</code></p></div><p><b>appointmentType</b>: Routine appointment <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v2-0276.html\">appointmentReason</a>#ROUTINE)</span></p><p><b>schedule</b>: <a href=\"Schedule-FreeSlot-TestLocation.html\">Schedule/FreeSlot-TestLocation</a></p><p><b>status</b>: free</p><p><b>start</b>: 27.05.2022, 15:56:00</p><p><b>end</b>: 27.05.2022, 16:16:00</p><p><b>overbooked</b>: false</p></div>"
  ];
  fhir:Slot.appointmentType [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0276" ];
       fhir:Coding.code [ fhir:value "ROUTINE" ];
       fhir:Coding.display [ fhir:value "Routine appointment" ]
     ]
  ];
  fhir:Slot.schedule [
     fhir:link <http://fhir.kisimdocs.ch/ig/KisimScheduling/Schedule/FreeSlot-TestLocation>;
     fhir:Reference.reference [ fhir:value "Schedule/FreeSlot-TestLocation" ]
  ];
  fhir:Slot.status [ fhir:value "free"];
  fhir:Slot.start [ fhir:value "2022-05-27T15:56:00.000+02:00"^^xsd:dateTime];
  fhir:Slot.end [ fhir:value "2022-05-27T16:16:00.000+02:00"^^xsd:dateTime];
  fhir:Slot.overbooked [ fhir:value "false"^^xsd:boolean] .

# - ontology header ------------------------------------------------------------

<http://fhir.kisimdocs.ch/ig/KisimScheduling/Slot/FreeSlot.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

