{
  "resourceType" : "ServiceRequest",
  "id" : "ServiceRequestWithContainedPatient",
  "meta" : {
    "profile" : ["http://fhir.kisimdocs.ch/ig/KisimScheduling/StructureDefinition/KisimSchedulingServiceRequest"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"ServiceRequestWithContainedPatient\"> </a></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 ServiceRequest &quot;ServiceRequestWithContainedPatient&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-KisimSchedulingServiceRequest.html\">KisimSchedulingServiceRequest</a></p></div><p><b>identifier</b>: id:\u00a0yourproduct_id</p><p><b>status</b>: active</p><p><b>intent</b>: plan</p><p><b>subject</b>: <a name=\"JamesBondInline\"> </a></p><blockquote><p/><p><a name=\"JamesBondInline\"> </a></p><p><b>name</b>: James Bond </p><p><b>telecom</b>: ph: 0792387805(MOBILE), ph: 0441234567(HOME), ph: 0441234567(WORK), <a href=\"mailto:test@test.com\">test@test.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1950-01-01</p><p><b>address</b>: TestStrasse 12 Baden 5400 (HOME)</p></blockquote><p><b>requester</b>: <a name=\"JamesBondInline\"> </a></p><blockquote><p/><p><a name=\"JamesBondInline\"> </a></p><p><b>name</b>: James Bond </p><p><b>telecom</b>: ph: 0792387805(MOBILE), ph: 0441234567(HOME), ph: 0441234567(WORK), <a href=\"mailto:test@test.com\">test@test.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1950-01-01</p><p><b>address</b>: TestStrasse 12 Baden 5400 (HOME)</p></blockquote><p><b>supportingInfo</b>: <a href=\"Appointment-BookedAppointment.html\">Appointment/BookedAppointment</a></p><hr/><blockquote><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>James Bond </b> male, DoB: 1950-01-01</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Details:</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>"
  },
  "contained" : [{
    "resourceType" : "Patient",
    "id" : "JamesBondInline",
    "name" : [{
      "family" : "Bond",
      "given" : ["James"]
    }],
    "telecom" : [{
      "system" : "phone",
      "value" : "0792387805",
      "use" : "mobile"
    },
    {
      "system" : "phone",
      "value" : "0441234567",
      "use" : "home"
    },
    {
      "system" : "phone",
      "value" : "0441234567",
      "use" : "work"
    },
    {
      "system" : "email",
      "value" : "test@test.com"
    }],
    "gender" : "male",
    "birthDate" : "1950-01-01",
    "address" : [{
      "use" : "home",
      "line" : ["TestStrasse 12"],
      "city" : "Baden",
      "postalCode" : "5400"
    }]
  }],
  "identifier" : [{
    "system" : "http://yourproduct-example.com/fhir/apps/referralids",
    "value" : "yourproduct_id"
  }],
  "status" : "active",
  "intent" : "plan",
  "subject" : {
    "reference" : "#JamesBondInline"
  },
  "requester" : {
    "reference" : "#JamesBondInline"
  },
  "supportingInfo" : [{
    "reference" : "Appointment/BookedAppointment"
  }]
}