@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://fhir.kisimdocs.ch/ig/KisimScheduling/Appointment/BookedAppointment> a fhir:Appointment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "BookedAppointment"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Appointment BookedAppointment</b></p><a name=\"BookedAppointment\"> </a><a name=\"hcBookedAppointment\"> </a><a name=\"BookedAppointment-en-US\"> </a><p><b>identifier</b>: <code>http://cistec.com</code>/BookedAppointment</p><p><b>status</b>: Booked</p><p><b>serviceCategory</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/service-category 35}, {http://fhir.cistec.com/CodeSystem/appointment-service-category KONS}\">Hospital</span></p><p><b>serviceType</b>: <span title=\"Codes:{http://fhir.cistec.com/CistecScheduling/ValueSet/com ONKO}\">Onkologie</span></p><p><b>specialty</b>: <span title=\"Codes:{http://snomed.info/sct 394802001}\">General medicine</span></p><p><b>description</b>: Demo Sprechstunde: Erstkonsultation\nTest</p><p><b>start</b>: 2022-01-24 17:15:00+0200</p><p><b>end</b>: 2022-01-24 17:45:00+0200</p><p><b>created</b>: 2022-01-24 15:17:44+0200</p><p><b>comment</b>: Test</p><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"Location-TestLocation.html\">Location</a></p><p><b>required</b>: Required</p><p><b>status</b>: Accepted</p><p><b>period</b>: 2022-01-24 17:15:00+0200 --&gt; 2022-01-24 17:45:00+0200</p></blockquote><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"Patient-TestPatient.html\">Patient Test  Male, DoB: 1950-01-01</a></p><p><b>status</b>: Accepted</p><p><b>period</b>: 2022-01-24 17:15:00+0200 --&gt; 2022-01-24 17:45:00+0200</p></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://cistec.com"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "BookedAppointment" ]
  ] ) ; # 
  fhir:status [ fhir:v "booked"] ; # 
  fhir:serviceCategory ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/service-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "35" ] ;
       fhir:display [ fhir:v "Hospital" ]
     ] [
       fhir:system [ fhir:v "http://fhir.cistec.com/CodeSystem/appointment-service-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "KONS" ] ;
       fhir:display [ fhir:v "Sprechstunde" ]
     ] )
  ] ) ; # 
  fhir:serviceType ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://fhir.cistec.com/CistecScheduling/ValueSet/com"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "ONKO" ] ;
       fhir:display [ fhir:v "Onkologie" ]
     ] )
  ] ) ; # 
  fhir:specialty ( [
     fhir:coding ( [
       a sct:394802001 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "394802001" ] ;
       fhir:display [ fhir:v "General medicine" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Demo Sprechstunde: Erstkonsultation\nTest"] ; # 
  fhir:start [ fhir:v "2022-01-24T17:15:00.000+02:00"^^xsd:dateTime] ; # 
  fhir:end [ fhir:v "2022-01-24T17:45:00.000+02:00"^^xsd:dateTime] ; # 
  fhir:created [ fhir:v "2022-01-24T15:17:44+02:00"^^xsd:dateTime] ; # 
  fhir:comment [ fhir:v "Test"] ; # 
  fhir:participant ( [
     fhir:actor [
       fhir:link <http://fhir.kisimdocs.ch/ig/KisimScheduling/Location/TestLocation> ;
       fhir:reference [ fhir:v "Location/TestLocation" ]
     ] ;
     fhir:required [ fhir:v "required" ] ;
     fhir:status [ fhir:v "accepted" ] ;
     fhir:period [
       fhir:start [ fhir:v "2022-01-24T17:15:00.000+02:00"^^xsd:dateTime ] ;
       fhir:end [ fhir:v "2022-01-24T17:45:00.000+02:00"^^xsd:dateTime ]
     ]
  ] [
     fhir:actor [
       fhir:link <http://fhir.kisimdocs.ch/ig/KisimScheduling/Patient/TestPatient> ;
       fhir:reference [ fhir:v "Patient/TestPatient" ]
     ] ;
     fhir:status [ fhir:v "accepted" ] ;
     fhir:period [
       fhir:start [ fhir:v "2022-01-24T17:15:00.000+02:00"^^xsd:dateTime ] ;
       fhir:end [ fhir:v "2022-01-24T17:45:00.000+02:00"^^xsd:dateTime ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

