Task-NonWGSRareDiseaseTestOrder-Cancellation-Example

Example of a Task updated upon submission of a test cancellation request.

Task
{
    "resourceType": "Task",
    "id": "Task-NonWGSRareDiseaseTestOrder-Cancellation-Example",
    "status": "cancelled",
    "statusReason": {
        "coding":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/task-statusReason-genomics",
                "code": "task-no-longer-required",
                "display": "Task No Longer Required"
            }
        ]
    },
    "intent": "order",
    "priority": "routine",
    "code": {
        "coding":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/task-code-genomics",
                "code": "process-genomic-test-request",
                "display": "Process Genomic Test Request"
            }
        ]
    },
    "focus": {
        "reference": "ServiceRequest/ServiceRequest-NonWGSTestOrderForm-Cancellation-Example"
    },
    "for": {
        "reference": "Patient/Patient-MeirLieberman-Example",
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9449307873"
        }
    },
    "authoredOn": "2023-08-08T15:43:00Z",
    "lastModified": "2023-08-08T15:43:00Z",
    "requester": {
        "reference": "PractitionerRole/PractitionerRole-GeneSmithENT-Example"
    },
    "owner": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "RGT01"
        },
        "display": "ADDENBROOKE'S HOSPITAL"
    },
    "note":  [
        {
            "text": "Test no longer required."
        }
    ]
}
<Task xmlns="http://hl7.org/fhir">
    <id value="Task-NonWGSRareDiseaseTestOrder-Cancellation-Example" />
    <status value="cancelled" />
    <statusReason>
        <coding>
            <system value="https://fhir.nhs.uk/CodeSystem/task-statusReason-genomics" />
            <code value="task-no-longer-required" />
            <display value="Task No Longer Required" />
        </coding>
    </statusReason>
    <intent value="order" />
    <priority value="routine" />
    <code>
        <coding>
            <system value="https://fhir.nhs.uk/CodeSystem/task-code-genomics" />
            <code value="process-genomic-test-request" />
            <display value="Process Genomic Test Request" />
        </coding>
    </code>
    <focus>
        <reference value="ServiceRequest/ServiceRequest-NonWGSTestOrderForm-Cancellation-Example" />
    </focus>
    <for>
        <reference value="Patient/Patient-MeirLieberman-Example" />
        <identifier>
            <system value="https://fhir.nhs.uk/Id/nhs-number" />
            <value value="9449307873" />
        </identifier>
    </for>
    <authoredOn value="2023-08-08T15:43:00Z" />
    <lastModified value="2023-08-08T15:43:00Z" />
    <requester>
        <reference value="PractitionerRole/PractitionerRole-GeneSmithENT-Example" />
    </requester>
    <owner>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
            <value value="RGT01" />
        </identifier>
        <display value="ADDENBROOKE&#39;S HOSPITAL" />
    </owner>
    <note>
        <text value="Test no longer required." />
    </note>
</Task>