{
  "resourceType" : "Bundle",
  "id" : "CreateAppointmentResponseExample",
  "meta" : {
    "lastUpdated" : "2025-11-26T05:55:00+01:00",
    "tag" : [{
      "system" : "http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/pms-system",
      "code" : "frenda"
    }]
  },
  "type" : "searchset",
  "entry" : [{
    "resource" : {
      "resourceType" : "Appointment",
      "id" : "7e299d6d-1729-4f04-9abd-a69d23da79dd",
      "meta" : {
        "profile" : ["https://profiles.ihe.net/ITI/Scheduling/StructureDefinition/ihe-sched-appt"],
        "tag" : [{
          "system" : "http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/pms-system",
          "code" : "frenda"
        }]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Appointment_7e299d6d-1729-4f04-9abd-a69d23da79dd\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Appointment 7e299d6d-1729-4f04-9abd-a69d23da79dd</b></p><a name=\"7e299d6d-1729-4f04-9abd-a69d23da79dd\"> </a><a name=\"hc7e299d6d-1729-4f04-9abd-a69d23da79dd\"> </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=\"https://profiles.ihe.net/ITI/Scheduling/1.0.0/StructureDefinition-ihe-sched-appt.html\">IHE ITI Appointment Profile</a></p><p style=\"margin-bottom: 0px\">Tag: Frenda (Details: WOF-Connect PMS System code frenda = 'Frenda')</p></div><p><b>status</b>: Booked</p><p><b>serviceType</b>: <span title=\"Codes:{http://canonical.fhir.link/servicewell/wof-connect/identifiercodesystem/service-type-id 4e10ed9b-814e-41c9-999f-3866de9d5343}\">4e10ed9b-814e-41c9-999f-3866de9d5343</span></p><p><b>reasonCode</b>: <span title=\"Codes:\">integration-test create</span></p><p><b>description</b>: Akut</p><p><b>start</b>: 2025-12-01 09:00:00+0000</p><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"Bundle-GetScheduleContextOperationResult.html#Practitioner_3dc38cf1-2039-40f1-b85f-6164f202c235\">Utv Mattias Ekberg</a></p><p><b>status</b>: Accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"Bundle-GetScheduleContextOperationResult.html#Organization_48e428b0-fb37-4224-84df-5783a301a9da\">Service Well AB</a></p><p><b>status</b>: Accepted</p></blockquote><p><b>requestedPeriod</b>: 2025-12-01 09:00:00+0000 --&gt; (ongoing)</p></div>"
      },
      "status" : "booked",
      "serviceType" : [{
        "coding" : [{
          "system" : "http://canonical.fhir.link/servicewell/wof-connect/identifiercodesystem/service-type-id",
          "code" : "4e10ed9b-814e-41c9-999f-3866de9d5343"
        }]
      }],
      "reasonCode" : [{
        "text" : "integration-test create"
      }],
      "description" : "Akut",
      "start" : "2025-12-01T09:00:00Z",
      "participant" : [{
        "actor" : {
          "reference" : "Practitioner/3dc38cf1-2039-40f1-b85f-6164f202c235",
          "display" : "Utv Mattias Ekberg"
        },
        "status" : "accepted"
      },
      {
        "actor" : {
          "reference" : "Organization/48e428b0-fb37-4224-84df-5783a301a9da",
          "display" : "Service Well AB"
        },
        "status" : "accepted"
      }],
      "requestedPeriod" : [{
        "start" : "2025-12-01T09:00:00Z"
      }]
    }
  }]
}