Task-NonWGSRareDiseaseTestOrder-InsufficientSample-Example

Example of a Task rejected by a filler orgnization. NOTE: Task codes and status are pending further business analysis.

Task
{
    "resourceType": "Task",
    "id": "Task-NonWGSRareDiseaseTestOrder-InsufficientSample-Example",
    "status": "rejected",
    "statusReason": {
        "coding":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/task-statusReason-genomics",
                "code": "sample-sub-optimal",
                "display": "Sample Sub-Optimal"
            }
        ]
    },
    "intent": "order",
    "priority": "routine",
    "code": {
        "coding":  [
            {
                "system": "https://fhir.nhs.uk/CodeSystem/task-code-genomics",
                "code": "sample-preparation",
                "display": "Sample Preparation"
            }
        ]
    },
    "focus": {
        "reference": "ServiceRequest/ServiceRequest-NonWGSTestOrderFormUpdated-SolidTumor-Example"
    },
    "for": {
        "reference": "Patient/Patient-ZelmaHadjkiss-Example",
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9449307555"
        }
    },
    "authoredOn": "2023-09-08",
    "lastModified": "2023-09-09T15:43:00Z",
    "requester": {
        "reference": "PractitionerRole/PractitionerRole-HazelSmithKingstonPathology-Example"
    },
    "owner": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/ods-organization-code",
            "value": "RAX01"
        },
        "display": "Kingston Hospital NHS Foundation Trust"
    },
    "note":  [
        {
            "text": "Please provide additional sample of X"
        }
    ],
    "input":  [
        {
            "type": {
                "coding":  [
                    {
                        "system": "https://fhir.nhs.uk/CodeSystem/AdditionalInfoTypeGenomics",
                        "code": "RackId",
                        "display": "Rack Number"
                    }
                ]
            },
            "valueIdentifier": {
                "system": "https://www.guysandstthomas.nhs.uk/RackId",
                "value": "RJ1-RAX01-9449307555",
                "assigner": {
                    "identifier": {
                        "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                        "value": "RJ1"
                    }
                }
            }
        },
        {
            "type": {
                "coding":  [
                    {
                        "system": "https://fhir.nhs.uk/CodeSystem/AdditionalInfoTypeGenomics",
                        "code": "Specimen",
                        "display": "Specimen"
                    }
                ]
            },
            "valueReference": {
                "reference": "Specimen/Specimen-CancerSolidTumor-Example"
            }
        }
    ]
}
<Task xmlns="http://hl7.org/fhir">
    <id value="Task-NonWGSRareDiseaseTestOrder-InsufficientSample-Example" />
    <status value="rejected" />
    <statusReason>
        <coding>
            <system value="https://fhir.nhs.uk/CodeSystem/task-statusReason-genomics" />
            <code value="sample-sub-optimal" />
            <display value="Sample Sub-Optimal" />
        </coding>
    </statusReason>
    <intent value="order" />
    <priority value="routine" />
    <code>
        <coding>
            <system value="https://fhir.nhs.uk/CodeSystem/task-code-genomics" />
            <code value="sample-preparation" />
            <display value="Sample Preparation" />
        </coding>
    </code>
    <focus>
        <reference value="ServiceRequest/ServiceRequest-NonWGSTestOrderFormUpdated-SolidTumor-Example" />
    </focus>
    <for>
        <reference value="Patient/Patient-ZelmaHadjkiss-Example" />
        <identifier>
            <system value="https://fhir.nhs.uk/Id/nhs-number" />
            <value value="9449307555" />
        </identifier>
    </for>
    <authoredOn value="2023-09-08" />
    <lastModified value="2023-09-09T15:43:00Z" />
    <requester>
        <reference value="PractitionerRole/PractitionerRole-HazelSmithKingstonPathology-Example" />
    </requester>
    <owner>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
            <value value="RAX01" />
        </identifier>
        <display value="Kingston Hospital NHS Foundation Trust" />
    </owner>
    <note>
        <text value="Please provide additional sample of X" />
    </note>
    <input>
        <type>
            <coding>
                <system value="https://fhir.nhs.uk/CodeSystem/AdditionalInfoTypeGenomics" />
                <code value="RackId" />
                <display value="Rack Number" />
            </coding>
        </type>
        <valueIdentifier>
            <system value="https://www.guysandstthomas.nhs.uk/RackId" />
            <value value="RJ1-RAX01-9449307555" />
            <assigner>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                    <value value="RJ1" />
                </identifier>
            </assigner>
        </valueIdentifier>
    </input>
    <input>
        <type>
            <coding>
                <system value="https://fhir.nhs.uk/CodeSystem/AdditionalInfoTypeGenomics" />
                <code value="Specimen" />
                <display value="Specimen" />
            </coding>
        </type>
        <valueReference>
            <reference value="Specimen/Specimen-CancerSolidTumor-Example" />
        </valueReference>
    </input>
</Task>