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

<Appointment xmlns="http://hl7.org/fhir">
  <id value="BookAppointmentWithPatient"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Appointment BookAppointmentWithPatient</b></p><a name="BookAppointmentWithPatient"> </a><a name="hcBookAppointmentWithPatient"> </a><a name="BookAppointmentWithPatient-en-US"> </a><p><b>identifier</b>: <code>http://yourproduct-example.com/fhir/apps/referralids</code>/yourproduct_id</p><p><b>status</b>: Proposed</p><p><b>serviceType</b>: <span title="Codes:{http://fhir.cistec.com/CistecScheduling/ValueSet/com ONKO}">Onkologie</span></p><p><b>slot</b>: <a href="Slot-FreeSlot.html">Slot: appointmentType = Routine appointment - default if not valued; status = free; start = 2022-05-27 16:00:00+0200; end = 2022-05-27 16:20:00+0200; overbooked = false; comment = Slot resource</a></p><h3>Participants</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Actor</b></td><td><b>Status</b></td></tr><tr><td style="display: none">*</td><td><a href="#hcBookAppointmentWithPatient/JamesBondInline">James Bond  Male, DoB: 1950-01-01</a></td><td>Tentative</td></tr></table><hr/><blockquote><p class="res-header-id"><b>Generated Narrative: Patient #JamesBondInline</b></p><a name="BookAppointmentWithPatient/JamesBondInline"> </a><a name="hcBookAppointmentWithPatient/JamesBondInline"> </a><a name="BookAppointmentWithPatient/JamesBondInline-en-US"> </a><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">James Bond  Male, DoB: 1950-01-01</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="Ways to contact the Patient">Contact Detail</td><td colspan="3"><ul><li>ph: 0792387805(Mobile)</li><li>ph: 0441234567(Home)</li><li>ph: 0441234567(Work)</li><li><a href="mailto:test@test.com">test@test.com</a></li><li>TestStrasse 12 Baden 5400 (home)</li></ul></td></tr></table></blockquote></div>
  </text>
  <contained>
    <Patient>
      <id value="JamesBondInline"/>
      <name>
        <family value="Bond"/>
        <given value="James"/>
      </name>
      <telecom>
        <system value="phone"/>
        <value value="0792387805"/>
        <use value="mobile"/>
      </telecom>
      <telecom>
        <system value="phone"/>
        <value value="0441234567"/>
        <use value="home"/>
      </telecom>
      <telecom>
        <system value="phone"/>
        <value value="0441234567"/>
        <use value="work"/>
      </telecom>
      <telecom>
        <system value="email"/>
        <value value="test@test.com"/>
      </telecom>
      <gender value="male"/>
      <birthDate value="1950-01-01"/>
      <address>
        <use value="home"/>
        <line value="TestStrasse 12"/>
        <city value="Baden"/>
        <postalCode value="5400"/>
      </address>
    </Patient>
  </contained>
  <identifier>
    <system value="http://yourproduct-example.com/fhir/apps/referralids"/>
    <value value="yourproduct_id"/>
  </identifier>
  <status value="proposed"/>
  <serviceType>
    <coding>
      <system value="http://fhir.cistec.com/CistecScheduling/ValueSet/com"/>
      <code value="ONKO"/>
      <display value="Onkologie"/>
    </coding>
  </serviceType>
  <slot>
    <reference value="Slot/FreeSlot"/>
  </slot>
  <participant>
    <actor>
      <reference value="#JamesBondInline"/>
    </actor>
    <status value="tentative"/>
  </participant>
</Appointment>