<Task xmlns="http://hl7.org/fhir">
    <status value="on-hold" />
    <intent value="plan" />
    <code>
        <coding>
            <system value="http://hl7.org/fhir/CodeSystem/task-code" />
            <code value="fulfill" />
            <display value="Fulfill the focal request" />
        </coding>
    </code>
    <focus>
        <reference value="Resource/769d0f75-3c92-40d7-88d5-9f8206bad838" />
    </focus>
    <executionPeriod>
        <start value="2002-11-29" />
        <end value="1999-11-10" />
    </executionPeriod>
    <location>
        <reference value="Location/d0afe04a-adf8-4164-960c-af1a3b1afb6e" />
    </location>
    <reasonCode>
        <coding>
            <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TriggerEventType" />
            <code value="12" />
            <display value="Referral" />
        </coding>
    </reasonCode>
    <input>
        <type>
            <coding>
                <system value="UNBOUND" />
                <code value="UNBOUND" />
                <display value="UNBOUND" />
            </coding>
        </type>
    </input>
    <input>
        <valueCoding>
            <system value="UNBOUND" />
            <code value="UNBOUND" />
            <display value="UNBOUND" />
        </valueCoding>
    </input>
    <input>
        <type>
            <coding>
                <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TaskInputType" />
                <code value="MPRPX013X" />
            </coding>
        </type>
        <valueDateTime value="2004-02-18" />
    </input>
    <input>
        <type>
            <coding>
                <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TaskInputType" />
                <code value="MDEPX004X" />
            </coding>
        </type>
        <valueCodeableConcept>
            <coding>
                <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PROMsLaterality" />
                <code value="8" />
                <display value="N/A" />
            </coding>
        </valueCodeableConcept>
    </input>
    <input>
        <type>
            <coding>
                <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp" />
                <code value="questionnaire" />
            </coding>
        </type>
        <valueCanonical value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Questionnaire" />
    </input>
    <input>
        <type>
            <coding>
                <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp" />
                <code value="response-endpoint" />
            </coding>
        </type>
        <valueUrl value="SomeRandomURI" />
    </input>
    <output>
        <type>
            <coding>
                <system value="UNBOUND" />
                <code value="UNBOUND" />
                <display value="UNBOUND" />
            </coding>
        </type>
    </output>
    <output>
        <type>
            <coding>
                <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp" />
                <code value="questionnaire-response" />
            </coding>
        </type>
        <valueReference>
            <reference value="QuestionnaireResponse/f94518fa-19f8-492f-b037-992b9143a684" />
        </valueReference>
    </output>
</Task>