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 (Response)

Task
Task.id[0]Example-DataStandardsWales-PSOM-Task-Myeloma-Response
Task.meta[0].profile[0]https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-Task
Task.status[0]completed
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.executionPeriod[0].end[0]2020-10-11T04:44:16Z
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.output[0].type[0].coding[0].system[0]http://hl7.org/fhir/uv/sdc/CodeSystem/temp
Task.output[0].type[0].coding[0].code[0]questionnaire-response
Task.output[0].value[0].reference[0]QuestionnaireResponse/Example-DataStandardsWales-PSOM-QuestionnaireResponse-EQ5D5L-Response
Task.output[0].value[0].display[0]EQ5D5L answers and score
<Task xmlns="http://hl7.org/fhir">
    <id value="Example-DataStandardsWales-PSOM-Task-Myeloma-Response" />
    <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="completed" />
    <!--  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" />
        <!--  MPRPX003X PROMs Completion Date & Time  -->
        <end value="2020-10-11T04:44:16Z" />
    </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>
    <!--  Each Task can contain one QuestionnairesResponses as output  -->
    <output>
        <type>
            <coding>
                <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp" />
                <code value="questionnaire-response" />
            </coding>
        </type>
        <valueReference>
            <!--  Linking to a QuestionnaireResponse  -->
            <reference value="QuestionnaireResponse/Example-DataStandardsWales-PSOM-QuestionnaireResponse-EQ5D5L-Response" />
            <display value="EQ5D5L answers and score" />
        </valueReference>
    </output>
</Task>
{
    "resourceType": "Task",
    "id": "Example-DataStandardsWales-PSOM-Task-Myeloma-Response",
    "meta": {
        "profile":  [
            "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-Task"
        ]
    },
    "status": "completed",
    "intent": "plan",
    "code": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
                "code": "complete-questionnaire"
            }
        ]
    },
    "executionPeriod": {
        "start": "2020-10-10",
        "end": "2020-10-11T04:44:16Z"
    },
    "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"
        }
    ],
    "output":  [
        {
            "type": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
                        "code": "questionnaire-response"
                    }
                ]
            },
            "valueReference": {
                "reference": "QuestionnaireResponse/Example-DataStandardsWales-PSOM-QuestionnaireResponse-EQ5D5L-Response",
                "display": "EQ5D5L answers and score"
            }
        }
    ]
}