{
  "resourceType" : "Task",
  "id" : "c2b03781-d9f7-40e2-ba3d-d68d47f055b5",
  "meta" : {
    "profile" : ["https://fhir.twiin.nl/ig/workflow/StructureDefinition/twiin-cancellation-request-task"]
  },
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task c2b03781-d9f7-40e2-ba3d-d68d47f055b5</b></p><a name=\"c2b03781-d9f7-40e2-ba3d-d68d47f055b5\"> </a><a name=\"hcc2b03781-d9f7-40e2-ba3d-d68d47f055b5\"> </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-twiin-cancellation-request-task.html\">Twiin Cancellation Request Task</a></p></div><p><b>identifier</b>: <code>https://placer.example.org/task</code>/72c37bd8-b443-4aad-a25b-684451a5b190</p><p><b>status</b>: Requested</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/CodeSystem/task-code abort}\">Mark the focal resource as no longer active</span></p><p><b>focus</b>: <a href=\"Task-f3bdd83f-0914-4232-94e9-28a01b1d36af.html\">Task Fulfill the focal request</a></p><p><b>authoredOn</b>: 2026-11-04 10:00:00+0100</p><p><b>requester</b>: Identifier: <code>http://fhir.nl/fhir/NamingSystem/ura</code>/12345678</p><p><b>owner</b>: Identifier: <code>https://fulfiller-a.example.org/healthcareservice</code>/wondzorg-thuis\u00a0(use:\u00a0official)</p><p><b>reasonCode</b>: <span title=\"Codes:\">The patient has been admitted to hospital.</span></p><h3>Inputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow type-of-work}\">Type of work</span></td><td><span title=\"Codes:{http://snomed.info/sct 308292007}\">Transfer of care</span></td></tr></table></div>"
  },
  "identifier" : [{
    "system" : "https://placer.example.org/task",
    "value" : "72c37bd8-b443-4aad-a25b-684451a5b190"
  }],
  "status" : "requested",
  "intent" : "order",
  "code" : {
    "coding" : [{
      "system" : "http://hl7.org/fhir/CodeSystem/task-code",
      "code" : "abort"
    }]
  },
  "focus" : {
    "reference" : "Task/f3bdd83f-0914-4232-94e9-28a01b1d36af"
  },
  "authoredOn" : "2026-11-04T10:00:00+01:00",
  "requester" : {
    "identifier" : {
      "system" : "http://fhir.nl/fhir/NamingSystem/ura",
      "value" : "12345678"
    }
  },
  "owner" : {
    "type" : "HealthcareService",
    "identifier" : {
      "use" : "official",
      "system" : "https://fulfiller-a.example.org/healthcareservice",
      "value" : "wondzorg-thuis",
      "assigner" : {
        "identifier" : {
          "type" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
              "code" : "custodian"
            }]
          },
          "system" : "http://fhir.nl/fhir/NamingSystem/ura",
          "value" : "87654321"
        }
      }
    }
  },
  "reasonCode" : {
    "text" : "The patient has been admitted to hospital."
  },
  "input" : [{
    "type" : {
      "coding" : [{
        "system" : "https://fhir.twiin.nl/ig/workflow/CodeSystem/ta-workflow",
        "code" : "type-of-work"
      }]
    },
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "308292007"
      }]
    }
  }]
}