{
  "resourceType" : "Task",
  "id" : "task-book-appt-ba-01JZ5Y7Y9VQ2",
  "meta" : {
    "profile" : ["http://example.org/StructureDefinition/appointment-coordination-task"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task task-book-appt-ba-01JZ5Y7Y9VQ2</b></p><a name=\"task-book-appt-ba-01JZ5Y7Y9VQ2\"> </a><a name=\"hctask-book-appt-ba-01JZ5Y7Y9VQ2\"> </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-appointment-coordination-task.html\">Appointment Coordination Task</a></p></div><p><b>status</b>: Completed</p><p><b>businessStatus</b>: <span title=\"Codes:{http://example.org/CodeSystem/appointment-booking-outcome booked}\">Booked</span></p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://example.org/CodeSystem/appointment-coordination-task-type book-appointment}\">Book appointment</span></p><p><b>focus</b>: <a href=\"Appointment-appt-2026-01-12-0900-jdoe.html\">Appointment: identifier = https://haau3.com/identifiers/booking-attempt#ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9; status = booked; description = Primary care visit; start = 2026-01-12 09:00:00-0500; end = 2026-01-12 09:30:00-0500</a></p><p><b>for</b>: <a href=\"Patient-patient-jane-doe.html\">Jane Doe  Female, DoB: 1990-01-01</a></p><p><b>authoredOn</b>: 2026-01-10 14:22:00-0500</p><p><b>requester</b>: <a href=\"Patient-patient-jane-doe.html\">Jane Doe  Female, DoB: 1990-01-01</a></p><p><b>owner</b>: <a href=\"Patient-patient-jane-doe.html\">Jane Doe  Female, DoB: 1990-01-01</a></p><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:\">booking-state</span></p><p><b>value</b>: ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9</p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:\">booking-deeplink</span></p><p><b>value</b>: <a href=\"https://provider.example.org/scheduling/book?slot=slot-2026-01-12-0900&amp;state=ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9\">https://provider.example.org/scheduling/book?slot=slot-2026-01-12-0900&amp;state=ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9</a></p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:\">provider-confirmation-id</span></p><p><b>value</b>: CONF-4839201</p></blockquote></div>"
  },
  "status" : "completed",
  "businessStatus" : {
    "coding" : [{
      "system" : "http://example.org/CodeSystem/appointment-booking-outcome",
      "code" : "booked"
    }],
    "text" : "Booked"
  },
  "intent" : "order",
  "code" : {
    "coding" : [{
      "system" : "http://example.org/CodeSystem/appointment-coordination-task-type",
      "code" : "book-appointment"
    }],
    "text" : "Book appointment"
  },
  "focus" : {
    "reference" : "Appointment/appt-2026-01-12-0900-jdoe"
  },
  "for" : {
    "reference" : "Patient/patient-jane-doe"
  },
  "authoredOn" : "2026-01-10T14:22:00-05:00",
  "requester" : {
    "reference" : "Patient/patient-jane-doe"
  },
  "owner" : {
    "reference" : "Patient/patient-jane-doe"
  },
  "output" : [{
    "type" : {
      "text" : "booking-state"
    },
    "valueString" : "ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9"
  },
  {
    "type" : {
      "text" : "booking-deeplink"
    },
    "valueUrl" : "https://provider.example.org/scheduling/book?slot=slot-2026-01-12-0900&state=ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9"
  },
  {
    "type" : {
      "text" : "provider-confirmation-id"
    },
    "valueString" : "CONF-4839201"
  }]
}