1.0.1 - release Switzerland flag

KisimScheduling - Local Development build (v1.0.1). See the Directory of published versions

: Search Slots by Plan-Icode - TTL Representation

Draft as of 2023-11-22

Raw ttl | Download


@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:OperationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "slot-query-searchByPlan"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>_query</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><br/>(<a href=\"http://hl7.org/fhir/R4/search.html#string\">string</a>)</td><td><a href=\"http://hl7.org/fhir/R4/valueset-binding-strength.html\">BindingStrength</a> (Required)</td><td><div><p>Extended search parameter as defined by the fhir-specification. Value has to be &quot;searchByPlan&quot;</p>\n</div></td></tr><tr><td>IN</td><td>planIcode</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><br/>(<a href=\"http://hl7.org/fhir/R4/search.html#string\">string</a>)</td><td><a href=\"http://hl7.org/fhir/R4/valueset-binding-strength.html\">BindingStrength</a> (Required)</td><td><div><p>Search definition which is created in KISIM. The identifier is a UUID.</p>\n</div></td></tr><tr><td>IN</td><td>start</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><br/>(<a href=\"http://hl7.org/fhir/R4/search.html#string\">string</a>)</td><td><a href=\"http://hl7.org/fhir/R4/valueset-binding-strength.html\">BindingStrength</a> (Required)</td><td><div><p>Starting time for the search. Accepted formats are: &quot;yyyy-mm-dd hh:ii&quot; or  &quot;yyyy-mm-dd&quot;. If the parameter is not set the search starts now.</p>\n</div></td></tr><tr><td>IN</td><td>maxDays</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><br/>(<a href=\"http://hl7.org/fhir/R4/search.html#string\">string</a>)</td><td><a href=\"http://hl7.org/fhir/R4/valueset-binding-strength.html\">BindingStrength</a> (Required)</td><td><div><p>Defines the number of days from &quot;start&quot; during which empty slots are searched. Value of 1 equals 24 hours. Max Value=10</p>\n</div></td></tr><tr><td>IN</td><td>splitSlots</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><br/>(<a href=\"http://hl7.org/fhir/R4/search.html#string\">string</a>)</td><td><a href=\"http://hl7.org/fhir/R4/valueset-binding-strength.html\">BindingStrength</a> (Required)</td><td><div><p>Value of either 0 or 1. If the parameter is set to 1, the slots are split into a KISIM-defined length from the search plan or the durationMinutes parameter.</p>\n</div></td></tr><tr><td>IN</td><td>durationMinutes</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><br/>(<a href=\"http://hl7.org/fhir/R4/search.html#string\">string</a>)</td><td><a href=\"http://hl7.org/fhir/R4/valueset-binding-strength.html\">BindingStrength</a> (Required)</td><td><div><p>Number of minutes to split the slots into. If nothing is set, the default value from KISIM as defined in the search plan is used.</p>\n</div></td></tr><tr><td>IN</td><td>resourceFilter</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><br/>(<a href=\"http://hl7.org/fhir/R4/search.html#string\">string</a>)</td><td><a href=\"http://hl7.org/fhir/R4/valueset-binding-strength.html\">BindingStrength</a> (Required)</td><td><div><p>Filter the slots by location or practitioner. Those values equal the values inside KISIM. The value can be either &quot;USER&quot; for practitioners or &quot;KONS&quot; for locations(rooms)</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></td><td><a href=\"http://hl7.org/fhir/R4/valueset-binding-strength.html\">BindingStrength</a> (Required)</td><td><div><p>A bundle of slot resources. The ID is dynamic. Found slots will be cached for a time on the server. After that time, the slot will no longer be accessible.</p>\n</div></td></tr></table></div>"
  ] ; # 
  fhir:url [ fhir:v "http://fhir.kisimdocs.ch/ig/KisimScheduling/OperationDefinition/slot-query-searchByPlan"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.1"] ; # 
  fhir:name [ fhir:v "SearchSlotByPlan"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:kind [ fhir:v "query"] ; # 
  fhir:date [ fhir:v "2023-11-22T17:16:04+01:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Cistec AG"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "Cistec AG" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.cistec.com" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "robert.birri@cistec.com" ]     ] )
  ] ) ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "CH" ]     ] )
  ] ) ; # 
  fhir:code [ fhir:v "searchByPlan"] ; # 
  fhir:resource ( [ fhir:v "Slot"] ) ; # 
  fhir:system [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:instance [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "_query" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Extended search parameter as defined by the fhir-specification. Value has to be \"searchByPlan\"" ] ;
fhir:type [ fhir:v "string" ] ;
fhir:searchType [ fhir:v "string" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/binding-strength"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/binding-strength>       ]     ]
  ] [
fhir:name [ fhir:v "planIcode" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Search definition which is created in KISIM. The identifier is a UUID." ] ;
fhir:type [ fhir:v "string" ] ;
fhir:searchType [ fhir:v "string" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/binding-strength"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/binding-strength>       ]     ]
  ] [
fhir:name [ fhir:v "start" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Starting time for the search. Accepted formats are: \"yyyy-mm-dd hh:ii\" or  \"yyyy-mm-dd\". If the parameter is not set the search starts now." ] ;
fhir:type [ fhir:v "string" ] ;
fhir:searchType [ fhir:v "string" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/binding-strength"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/binding-strength>       ]     ]
  ] [
fhir:name [ fhir:v "maxDays" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Defines the number of days from \"start\" during which empty slots are searched. Value of 1 equals 24 hours. Max Value=10" ] ;
fhir:type [ fhir:v "string" ] ;
fhir:searchType [ fhir:v "string" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/binding-strength"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/binding-strength>       ]     ]
  ] [
fhir:name [ fhir:v "splitSlots" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Value of either 0 or 1. If the parameter is set to 1, the slots are split into a KISIM-defined length from the search plan or the durationMinutes parameter." ] ;
fhir:type [ fhir:v "string" ] ;
fhir:searchType [ fhir:v "string" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/binding-strength"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/binding-strength>       ]     ]
  ] [
fhir:name [ fhir:v "durationMinutes" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Number of minutes to split the slots into. If nothing is set, the default value from KISIM as defined in the search plan is used." ] ;
fhir:type [ fhir:v "string" ] ;
fhir:searchType [ fhir:v "string" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/binding-strength"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/binding-strength>       ]     ]
  ] [
fhir:name [ fhir:v "resourceFilter" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Filter the slots by location or practitioner. Those values equal the values inside KISIM. The value can be either \"USER\" for practitioners or \"KONS\" for locations(rooms)" ] ;
fhir:type [ fhir:v "string" ] ;
fhir:searchType [ fhir:v "string" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/binding-strength"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/binding-strength>       ]     ]
  ] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "A bundle of slot resources. The ID is dynamic. Found slots will be cached for a time on the server. After that time, the slot will no longer be accessible." ] ;
fhir:type [ fhir:v "Bundle" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/binding-strength"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/binding-strength>       ]     ]
  ] ) . #