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

<ServiceRequest xmlns="http://hl7.org/fhir">
  <id value="ServiceRequestWithContainedPatient"/>
  <meta>
    <profile value="http://fhir.kisimdocs.ch/ig/KisimScheduling/StructureDefinition/KisimSchedulingServiceRequest"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ServiceRequest ServiceRequestWithContainedPatient</b></p><a name="ServiceRequestWithContainedPatient"> </a><a name="hcServiceRequestWithContainedPatient"> </a><a name="ServiceRequestWithContainedPatient-en-US"> </a><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"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-KisimSchedulingServiceRequest.html">KisimSchedulingServiceRequest</a></p></div><p><b>identifier</b>: <code>http://yourproduct-example.com/fhir/apps/referralids</code>/yourproduct_id</p><p><b>status</b>: Active</p><p><b>intent</b>: Plan</p><p><b>subject</b>: <a href="#hcServiceRequestWithContainedPatient/JamesBondInline">James Bond  Male, DoB: 1950-01-01</a></p><p><b>requester</b>: <a href="#hcServiceRequestWithContainedPatient/JamesBondInline">James Bond  Male, DoB: 1950-01-01</a></p><p><b>supportingInfo</b>: <a href="Appointment-BookedAppointment.html">Appointment: identifier = http://cistec.com#BookedAppointment; status = booked; serviceCategory = Hospital; serviceType = Onkologie; specialty = General medicine; description = Demo Sprechstunde: Erstkonsultation
Test; start = 2022-01-24 17:15:00+0200; end = 2022-01-24 17:45:00+0200; created = 2022-01-24 15:17:44+0200; comment = Test</a></p><hr/><blockquote><p class="res-header-id"><b>Generated Narrative: Patient #JamesBondInline</b></p><a name="ServiceRequestWithContainedPatient/JamesBondInline"> </a><a name="hcServiceRequestWithContainedPatient/JamesBondInline"> </a><a name="ServiceRequestWithContainedPatient/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="active"/>
  <intent value="plan"/>
  <subject>
    <reference value="#JamesBondInline"/>
  </subject>
  <requester>
    <reference value="#JamesBondInline"/>
  </requester>
  <supportingInfo>
    <reference value="Appointment/BookedAppointment"/>
  </supportingInfo>
</ServiceRequest>