FHIR Data Standards Wales for PSOM v1.0.0-rc1
Important: This is the release candidate of the FHIR Data Standards Wales for PSOM version 1.0 Implementation Guide. It is intended for trial use, and is published for early comment and feedback. Click here to give feedback.

Example Task - Myeloma (Cancellation)

Task
Task.id[0]Example-DataStandardsWales-PSOM-Task-Myeloma-Cancellation
Task.meta[0].profile[0]https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-Task
Task.status[0]cancelled
Task.intent[0]plan
Task.code[0].coding[0].system[0]http://hl7.org/fhir/uv/sdc/CodeSystem/temp
Task.code[0].coding[0].code[0]complete-questionnaire
Task.executionPeriod[0].start[0]2020-10-10
Task.location[0].reference[0]Location/Example-DataStandardsWales-PSOM-Location-CadogWard
Task.location[0].display[0]CadogWard
Task.reasonCode[0].coding[0].system[0]https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TriggerClassification
Task.reasonCode[0].coding[0].code[0]02
Task.reasonCode[0].coding[0].display[0]At the point of referral
Task.input[0].type[0].coding[0].system[0]http://hl7.org/fhir/uv/sdc/CodeSystem/temp
Task.input[0].type[0].coding[0].code[0]questionnaire
Task.input[0].value[0]https://fhir.nhs.wales/Questionnaire/DataStandardsWales-PSOM-EQ5D-5L|202214
Task.input[1].type[0].coding[0].system[0]http://hl7.org/fhir/uv/sdc/CodeSystem/temp
Task.input[1].type[0].coding[0].code[0]response-endpoint
Task.input[1].value[0]http://example.org/someplace/QuestionnaireResponse
<Task xmlns="http://hl7.org/fhir">
    <id value="Example-DataStandardsWales-PSOM-Task-Myeloma-Cancellation" />
    <meta>
        <profile value="https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-Task" />
    </meta>
    <!--  Required field, depending of the status of the Collection Event or Questionnaire (to be determined)  -->
    <status value="cancelled" />
    <!--  Required field, adapted from the CarePlan  -->
    <intent value="plan" />
    <code>
        <coding>
            <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp" />
            <code value="complete-questionnaire" />
        </coding>
    </code>
    <executionPeriod>
        <!--  MPRPX002X PROMs Issued Date  -->
        <start value="2020-10-10" />
    </executionPeriod>
    <!--  MPRPX001X Reference to Event Location Code  -->
    <location>
        <reference value="Location/Example-DataStandardsWales-PSOM-Location-CadogWard" />
        <display value="CadogWard" />
    </location>
    <!--  MPRPX007X PROMs Trigger Classification  -->
    <reasonCode>
        <coding>
            <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TriggerClassification" />
            <code value="02" />
            <display value="At the point of referral" />
        </coding>
    </reasonCode>
    <!--  Each Task contains one Questionnaire as input  -->
    <input>
        <type>
            <coding>
                <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp" />
                <code value="questionnaire" />
            </coding>
        </type>
        <!--  MPRPX006X PROMs Tool  -->
        <valueCanonical value="https://fhir.nhs.wales/Questionnaire/DataStandardsWales-PSOM-EQ5D-5L|202214" />
    </input>
    <input>
        <type>
            <coding>
                <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp" />
                <code value="response-endpoint" />
            </coding>
        </type>
        <valueUrl value="http://example.org/someplace/QuestionnaireResponse" />
    </input>
</Task>
{
    "resourceType": "Task",
    "id": "Example-DataStandardsWales-PSOM-Task-Myeloma-Cancellation",
    "meta": {
        "profile":  [
            "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-Task"
        ]
    },
    "status": "cancelled",
    "intent": "plan",
    "code": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
                "code": "complete-questionnaire"
            }
        ]
    },
    "executionPeriod": {
        "start": "2020-10-10"
    },
    "location": {
        "reference": "Location/Example-DataStandardsWales-PSOM-Location-CadogWard",
        "display": "CadogWard"
    },
    "reasonCode": {
        "coding":  [
            {
                "system": "https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TriggerClassification",
                "code": "02",
                "display": "At the point of referral"
            }
        ]
    },
    "input":  [
        {
            "type": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
                        "code": "questionnaire"
                    }
                ]
            },
            "valueCanonical": "https://fhir.nhs.wales/Questionnaire/DataStandardsWales-PSOM-EQ5D-5L|202214"
        },
        {
            "type": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
                        "code": "response-endpoint"
                    }
                ]
            },
            "valueUrl": "http://example.org/someplace/QuestionnaireResponse"
        }
    ]
}