<?xml version="1.0" encoding="UTF-8"?>

<Appointment xmlns="http://hl7.org/fhir">
  <id value="BookedAppointment"/>
  <meta>
    <profile value="http://fhir.cistec.com/KisimScheduling/StructureDefinition/KisimSchedulingAppointment"/>
  </meta>
  <text>
    <status value="generated"/><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 "BookedAppointment" </p><p style="margin-bottom: 0px">Profile: <code>http://fhir.cistec.com/KisimScheduling/StructureDefinition/KisimSchedulingAppointment</code></p></div><p><b>identifier</b>: id: BookedAppointment</p><p><b>status</b>: booked</p><p><b>serviceCategory</b>: Hospital <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/4.0.0/CodeSystem-service-category.html">Service category</a>#35)</span>, Sprechstunde <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (appointment-service-category#KONS)</span></p><p><b>serviceType</b>: Erstkonsultation <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (cistec-service-type#ERSTKONS)</span></p><p><b>specialty</b>: General medicine <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#394802001)</span></p><p><b>description</b>: Demo Sprechstunde: Erstkonsultation
Test</p><p><b>start</b>: 20.11.2020, 13:00:00</p><p><b>end</b>: 20.11.2020, 13:20:00</p><p><b>created</b>: 2020-11-17 05:07:58+0100</p><p><b>comment</b>: Test</p><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href="Patient-TestPatient.html">Patient/TestPatient</a></p><p><b>status</b>: accepted</p><p><b>period</b>: 2020-11-20 01:00:00+0100 --&gt; 2020-11-20 01:20:00+0100</p></blockquote><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href="Location-TestLocation.html">Location/TestLocation: Test Location</a></p><p><b>required</b>: required</p><p><b>status</b>: accepted</p><p><b>period</b>: 2020-11-20 01:00:00+0100 --&gt; 2020-11-20 01:20:00+0100</p></blockquote></div>
  </text>
  <identifier>
    <system value="http://cistec.com"/>
    <value value="BookedAppointment"/>
  </identifier>
  <status value="booked"/>
  <serviceCategory>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/service-category"/>
      <code value="35"/>
      <display value="Hospital"/>
    </coding>
  </serviceCategory>
  <serviceCategory>
    <coding>
      <system value="http://fhir.cistec.com/KisimScheduling/CodeSystem/appointment-service-category"/>
      <code value="KONS"/>
      <display value="Sprechstunde"/>
    </coding>
  </serviceCategory>
  <serviceType>
    <coding>
      <system value="http://fhir.cistec.com/fhir/ValueSet/cistec-service-type"/>
      <code value="ERSTKONS"/>
      <display value="Erstkonsultation"/>
    </coding>
  </serviceType>
  <specialty>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="394802001"/>
      <display value="General medicine"/>
    </coding>
  </specialty>
  <description value="Demo Sprechstunde: Erstkonsultation&#xA;Test"/>
  <start value="2020-11-20T13:00:00.000+01:00"/>
  <end value="2020-11-20T13:20:00.000+01:00"/>
  <created value="2020-11-17T17:07:58+01:00"/>
  <comment value="Test"/>
  <participant>
    <actor>
      <reference value="Patient/TestPatient"/>
    </actor>
    <status value="accepted"/>
    <period>
      <start value="2020-11-20T13:00:00+01:00"/>
      <end value="2020-11-20T13:20:00+01:00"/>
    </period>
  </participant>
  <participant>
    <actor>
      <reference value="Location/TestLocation"/>
      <display value="Test Location"/>
    </actor>
    <required value="required"/>
    <status value="accepted"/>
    <period>
      <start value="2020-11-20T13:00:00+01:00"/>
      <end value="2020-11-20T13:20:00+01:00"/>
    </period>
  </participant>
</Appointment>