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

Example Bundle - Myeloma (Cancellation by Health Board)

Bundle
Bundle.id[0]Example-DataStandardsWales-PSOM-Bundle-Myeloma-Cancellation-HB
Bundle.identifier[0].system[0]https://acme.com/fhir/Id/oracle-guid
Bundle.identifier[0].value[0]2ecc8c7c-db4d-4736-94e0-7982bfe56dfb
Bundle.type[0]message
Bundle.timestamp[0]2022-03-14T11:15:33+10:00
Bundle.entry[0].fullUrl[0]urn:uuid:267b18ce-3d37-4581-9baa-6fada338038b
Bundle.entry[0].resource[0].id[0]267b18ce-3d37-4581-9baa-6fada338038b
Bundle.entry[0].resource[0].meta[0].profile[0]https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader
Bundle.entry[0].resource[0].event[0].system[0]https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-MessageEvent
Bundle.entry[0].resource[0].event[0].code[0]psom-cancellation
Bundle.entry[0].resource[0].event[0].display[0]PSOM cancellation
Bundle.entry[0].resource[0].source[0].name[0]Example Health Board
Bundle.entry[0].resource[0].source[0].endpoint[0]https://nhspsom.examplehealthboard.com
Bundle.entry[0].resource[0].responsible[0].reference[0]urn:uuid:4f4e7c60-72f4-4c2c-b6c3-6d93a9aefd41
Bundle.entry[0].resource[0].responsible[0].type[0]Practitioner
Bundle.entry[0].resource[0].responsible[0].display[0]Dr Dhiren Patel (GMC: 9630333)
Bundle.entry[0].resource[0].focus[0].reference[0]urn:uuid:243e89d8-92b5-4e24-9a9d-2d26f7c60367
Bundle.entry[0].resource[0].focus[0].type[0]CarePlan
Bundle.entry[0].resource[0].focus[0].display[0]Myeloma pathway
Bundle.entry[0].resource[0].focus[1].reference[0]urn:uuid:ab6d82c6-1395-40a9-9d9f-bf29b7a38b61
Bundle.entry[0].resource[0].focus[1].type[0]Task
Bundle.entry[0].resource[0].focus[1].display[0]Task for EQ5D5L
Bundle.entry[0].resource[0].focus[2].reference[0]urn:uuid:541b2479-76b6-4d4f-b9ca-20dd28deb1ed
Bundle.entry[0].resource[0].focus[2].type[0]Task
Bundle.entry[0].resource[0].focus[2].display[0]Task for Data Entry Questionnaire
Bundle.entry[0].resource[0].definition[0]https://fhir.nhs.wales/MessageDefinition/DataStandardsWales-PSOM-cancellation
Bundle.entry[1].fullUrl[0]urn:uuid:243e89d8-92b5-4e24-9a9d-2d26f7c60367
Bundle.entry[1].resource[0].id[0]243e89d8-92b5-4e24-9a9d-2d26f7c60367
Bundle.entry[1].resource[0].meta[0].profile[0]https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-CarePlan
Bundle.entry[1].resource[0].extension[0].url[0]https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-PSOM-PathwayLaterality
Bundle.entry[1].resource[0].extension[0].value[0].coding[0].system[0]https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PathwayLaterality
Bundle.entry[1].resource[0].extension[0].value[0].coding[0].code[0]8
Bundle.entry[1].resource[0].extension[0].value[0].coding[0].display[0]N/A
Bundle.entry[1].resource[0].identifier[0].system[0]urn:oid:2.16.840.1.113883.2.1.8.1.5.140
Bundle.entry[1].resource[0].identifier[0].value[0]12345678
Bundle.entry[1].resource[0].identifier[0].assigner[0].reference[0]urn:uuid:fd3f7e8c-3cb2-4b4a-9b2b-d702bc32a905
Bundle.entry[1].resource[0].identifier[0].assigner[0].display[0]Cardiff and Vale University Health Board
Bundle.entry[1].resource[0].status[0]on-hold
Bundle.entry[1].resource[0].intent[0]order
Bundle.entry[1].resource[0].category[0].coding[0].system[0]https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PathwayType
Bundle.entry[1].resource[0].category[0].coding[0].code[0]CMY
Bundle.entry[1].resource[0].category[0].coding[0].display[0]Cancer pathway - myeloma
Bundle.entry[1].resource[0].category[1].coding[0].system[0]http://snomed.info/sct
Bundle.entry[1].resource[0].category[1].coding[0].code[0]394593009
Bundle.entry[1].resource[0].category[1].coding[0].display[0]Medical oncology
Bundle.entry[1].resource[0].subject[0].reference[0]urn:uuid:3b0f08d7-90b8-4c7b-8a3e-5f78a5f36a80
Bundle.entry[1].resource[0].subject[0].type[0]Patient
Bundle.entry[1].resource[0].subject[0].display[0]Alice Jones
Bundle.entry[1].resource[0].author[0].reference[0]urn:uuid:4f4e7c60-72f4-4c2c-b6c3-6d93a9aefd41
Bundle.entry[1].resource[0].author[0].type[0]Practitioner
Bundle.entry[1].resource[0].author[0].display[0]Dr Dhiren Patel (GMC: 9630333)
Bundle.entry[1].resource[0].activity[0].reference[0].reference[0]urn:uuid:ab6d82c6-1395-40a9-9d9f-bf29b7a38b61
Bundle.entry[1].resource[0].activity[0].reference[0].type[0]Task
Bundle.entry[1].resource[0].activity[0].reference[0].display[0]Task for EQ5D5L
Bundle.entry[1].resource[0].activity[1].reference[0].reference[0]urn:uuid:541b2479-76b6-4d4f-b9ca-20dd28deb1ed
Bundle.entry[1].resource[0].activity[1].reference[0].display[0]Task for Data Entry Questionnaire
Bundle.entry[2].fullUrl[0]urn:uuid:ab6d82c6-1395-40a9-9d9f-bf29b7a38b61
Bundle.entry[2].resource[0].id[0]ab6d82c6-1395-40a9-9d9f-bf29b7a38b61
Bundle.entry[2].resource[0].meta[0].profile[0]https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-Task
Bundle.entry[2].resource[0].status[0]cancelled
Bundle.entry[2].resource[0].intent[0]order
Bundle.entry[2].resource[0].code[0].coding[0].system[0]http://hl7.org/fhir/uv/sdc/CodeSystem/temp
Bundle.entry[2].resource[0].code[0].coding[0].code[0]complete-questionnaire
Bundle.entry[2].resource[0].location[0].reference[0]urn:uuid:e18e211e-1e62-43fe-971c-a0a2c5ef5a5b
Bundle.entry[2].resource[0].location[0].display[0]CadogWard
Bundle.entry[2].resource[0].reasonCode[0].coding[0].system[0]https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TriggerEventType
Bundle.entry[2].resource[0].reasonCode[0].coding[0].code[0]02
Bundle.entry[2].resource[0].reasonCode[0].coding[0].display[0]At the point of referral
Bundle.entry[2].resource[0].input[0].type[0].coding[0].system[0]https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TaskInputType
Bundle.entry[2].resource[0].input[0].type[0].coding[0].code[0]MDEPX004X
Bundle.entry[2].resource[0].input[0].type[0].coding[0].display[0]PROMs Laterality
Bundle.entry[2].resource[0].input[0].value[0].coding[0].system[0]https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PROMsLaterality
Bundle.entry[2].resource[0].input[0].value[0].coding[0].code[0]8
Bundle.entry[2].resource[0].input[0].value[0].coding[0].display[0]N/A
Bundle.entry[2].resource[0].input[1].type[0].coding[0].system[0]http://hl7.org/fhir/uv/sdc/CodeSystem/temp
Bundle.entry[2].resource[0].input[1].type[0].coding[0].code[0]questionnaire
Bundle.entry[2].resource[0].input[1].value[0]https://fhir.nhs.wales/Questionnaire/DataStandardsWales-PSOM-EQ5D-5L|2022014
Bundle.entry[3].fullUrl[0]urn:uuid:541b2479-76b6-4d4f-b9ca-20dd28deb1ed
Bundle.entry[3].resource[0].id[0]541b2479-76b6-4d4f-b9ca-20dd28deb1ed
Bundle.entry[3].resource[0].meta[0].profile[0]https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-Task
Bundle.entry[3].resource[0].status[0]cancelled
Bundle.entry[3].resource[0].intent[0]plan
Bundle.entry[3].resource[0].code[0].coding[0].system[0]http://hl7.org/fhir/uv/sdc/CodeSystem/temp
Bundle.entry[3].resource[0].code[0].coding[0].code[0]complete-questionnaire
Bundle.entry[3].resource[0].executionPeriod[0].start[0]2020-10-10
Bundle.entry[3].resource[0].location[0].reference[0]urn:uuid:e18e211e-1e62-43fe-971c-a0a2c5ef5a5b
Bundle.entry[3].resource[0].location[0].display[0]CadogWard
Bundle.entry[3].resource[0].reasonCode[0].coding[0].system[0]https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TriggerEventType
Bundle.entry[3].resource[0].reasonCode[0].coding[0].code[0]02
Bundle.entry[3].resource[0].reasonCode[0].coding[0].display[0]At the point of referral
Bundle.entry[3].resource[0].input[0].type[0].coding[0].system[0]https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TaskInputType
Bundle.entry[3].resource[0].input[0].type[0].coding[0].code[0]MDEPX004X
Bundle.entry[3].resource[0].input[0].type[0].coding[0].display[0]PROMs Laterality
Bundle.entry[3].resource[0].input[0].value[0].coding[0].system[0]https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PROMsLaterality
Bundle.entry[3].resource[0].input[0].value[0].coding[0].code[0]8
Bundle.entry[3].resource[0].input[0].value[0].coding[0].display[0]N/A
Bundle.entry[3].resource[0].input[1].type[0].coding[0].system[0]https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TaskInputType
Bundle.entry[3].resource[0].input[1].type[0].coding[0].code[0]MPRPX013X
Bundle.entry[3].resource[0].input[1].type[0].coding[0].display[0]PROMs Trigger Event Date
Bundle.entry[3].resource[0].input[1].value[0]2020-10-09T11:15:33+10:00
Bundle.entry[3].resource[0].input[2].type[0].coding[0].system[0]http://hl7.org/fhir/uv/sdc/CodeSystem/temp
Bundle.entry[3].resource[0].input[2].type[0].coding[0].code[0]questionnaire
Bundle.entry[3].resource[0].input[2].value[0]https://fhir.nhs.wales/Questionnaire/DataStandardsWales-PSOM-DataEntry|2022049
Bundle.entry[4].fullUrl[0]urn:uuid:3b0f08d7-90b8-4c7b-8a3e-5f78a5f36a80
Bundle.entry[4].resource[0].id[0]3b0f08d7-90b8-4c7b-8a3e-5f78a5f36a80
Bundle.entry[4].resource[0].meta[0].profile[0]https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient
Bundle.entry[4].resource[0].identifier[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus
Bundle.entry[4].resource[0].identifier[0].extension[0].value[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusWales
Bundle.entry[4].resource[0].identifier[0].extension[0].value[0].coding[0].code[0]nn
Bundle.entry[4].resource[0].identifier[0].extension[0].value[0].coding[0].display[0]Number present and traced using Welsh NHS AR
Bundle.entry[4].resource[0].identifier[0].system[0]https://fhir.nhs.uk/Id/nhs-number
Bundle.entry[4].resource[0].identifier[0].value[0]9912003444
Bundle.entry[4].resource[0].identifier[1].system[0]https://fhir.cavuhb.nhs.wales/Id/pas-identifier
Bundle.entry[4].resource[0].identifier[1].value[0]A000003
Bundle.entry[4].resource[0].name[0].use[0]official
Bundle.entry[4].resource[0].name[0].family[0]Jones
Bundle.entry[4].resource[0].name[0].given[0]Alice
Bundle.entry[4].resource[0].gender[0]female
Bundle.entry[4].resource[0].birthDate[0]1980-09-13
Bundle.entry[4].resource[0].address[0].postalCode[0]CF62 9AZ
Bundle.entry[4].resource[0].communication[0].language[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage
Bundle.entry[4].resource[0].communication[0].language[0].coding[0].code[0]cy
Bundle.entry[4].resource[0].communication[0].language[0].coding[0].display[0]Welsh
Bundle.entry[4].resource[0].communication[0].preferred[0]True
Bundle.entry[4].resource[0].communication[1].language[0].coding[0].system[0]https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage
Bundle.entry[4].resource[0].communication[1].language[0].coding[0].code[0]en
Bundle.entry[4].resource[0].communication[1].language[0].coding[0].display[0]English
Bundle.entry[4].resource[0].communication[1].preferred[0]False
Bundle.entry[5].fullUrl[0]urn:uuid:4f4e7c60-72f4-4c2c-b6c3-6d93a9aefd41
Bundle.entry[5].resource[0].id[0]4f4e7c60-72f4-4c2c-b6c3-6d93a9aefd41
Bundle.entry[5].resource[0].meta[0].profile[0]https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner
Bundle.entry[5].resource[0].identifier[0].system[0]https://fhir.hl7.org.uk/Id/gmc-number
Bundle.entry[5].resource[0].identifier[0].value[0]9630333
Bundle.entry[5].resource[0].name[0].family[0]Patel
Bundle.entry[5].resource[0].name[0].given[0]Dhiren
Bundle.entry[5].resource[0].name[0].prefix[0]Dr
Bundle.entry[6].fullUrl[0]urn:uuid:e18e211e-1e62-43fe-971c-a0a2c5ef5a5b
Bundle.entry[6].resource[0].id[0]e18e211e-1e62-43fe-971c-a0a2c5ef5a5b
Bundle.entry[6].resource[0].meta[0].profile[0]https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Location
Bundle.entry[6].resource[0].identifier[0].system[0]https://fhir.nhs.wales/Id/wrts-location-identifier
Bundle.entry[6].resource[0].identifier[0].value[0]7A2AGCADOG
Bundle.entry[6].resource[0].name[0]Cadog Ward
Bundle.entry[6].resource[0].address[0].text[0]Dolgwili Rd, Carmarthen SA31 2AF, United Kingdom
Bundle.entry[7].fullUrl[0]urn:uuid:fd3f7e8c-3cb2-4b4a-9b2b-d702bc32a905
Bundle.entry[7].resource[0].id[0]fd3f7e8c-3cb2-4b4a-9b2b-d702bc32a905
Bundle.entry[7].resource[0].meta[0].profile[0]https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization
Bundle.entry[7].resource[0].identifier[0].system[0]https://fhir.nhs.uk/Id/ods-organization-code
Bundle.entry[7].resource[0].identifier[0].value[0]7A4
Bundle.entry[7].resource[0].name[0]Cardiff and Vale University Health Board
<Bundle xmlns="http://hl7.org/fhir">
    <id value="Example-DataStandardsWales-PSOM-Bundle-Myeloma-Cancellation-HB" />
    <identifier>
        <system value="https://acme.com/fhir/Id/oracle-guid" />
        <value value="2ecc8c7c-db4d-4736-94e0-7982bfe56dfb" />
    </identifier>
    <type value="message" />
    <timestamp value="2022-03-14T11:15:33+10:00" />
    <entry>
        <fullUrl value="urn:uuid:267b18ce-3d37-4581-9baa-6fada338038b" />
        <resource>
            <MessageHeader>
                <id value="267b18ce-3d37-4581-9baa-6fada338038b" />
                <meta>
                    <profile value="https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader" />
                </meta>
                <eventCoding>
                    <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-MessageEvent" />
                    <code value="psom-cancellation" />
                    <display value="PSOM cancellation" />
                </eventCoding>
                <source>
                    <name value="Example Health Board" />
                    <endpoint value="https://nhspsom.examplehealthboard.com" />
                </source>
                <responsible>
                    <reference value="urn:uuid:4f4e7c60-72f4-4c2c-b6c3-6d93a9aefd41" />
                    <type value="Practitioner" />
                    <display value="Dr Dhiren Patel (GMC: 9630333)" />
                </responsible>
                <focus>
                    <reference value="urn:uuid:243e89d8-92b5-4e24-9a9d-2d26f7c60367" />
                    <type value="CarePlan" />
                    <display value="Myeloma pathway" />
                </focus>
                <focus>
                    <reference value="urn:uuid:ab6d82c6-1395-40a9-9d9f-bf29b7a38b61" />
                    <type value="Task" />
                    <display value="Task for EQ5D5L" />
                </focus>
                <focus>
                    <reference value="urn:uuid:541b2479-76b6-4d4f-b9ca-20dd28deb1ed" />
                    <type value="Task" />
                    <display value="Task for Data Entry Questionnaire" />
                </focus>
                <definition value="https://fhir.nhs.wales/MessageDefinition/DataStandardsWales-PSOM-cancellation" />
            </MessageHeader>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:243e89d8-92b5-4e24-9a9d-2d26f7c60367" />
        <resource>
            <CarePlan>
                <id value="243e89d8-92b5-4e24-9a9d-2d26f7c60367" />
                <meta>
                    <profile value="https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-CarePlan" />
                </meta>
                <extension url="https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-PSOM-PathwayLaterality">
                    <valueCodeableConcept>
                        <coding>
                            <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PathwayLaterality" />
                            <code value="8" />
                            <display value="N/A" />
                        </coding>
                    </valueCodeableConcept>
                </extension>
                <identifier>
                    <system value="urn:oid:2.16.840.1.113883.2.1.8.1.5.140" />
                    <value value="12345678" />
                    <assigner>
                        <reference value="urn:uuid:fd3f7e8c-3cb2-4b4a-9b2b-d702bc32a905" />
                        <display value="Cardiff and Vale University Health Board" />
                    </assigner>
                </identifier>
                <status value="on-hold" />
                <intent value="order" />
                <category>
                    <coding>
                        <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PathwayType" />
                        <code value="CMY" />
                        <display value="Cancer pathway - myeloma" />
                    </coding>
                </category>
                <category>
                    <coding>
                        <system value="http://snomed.info/sct" />
                        <code value="394593009" />
                        <display value="Medical oncology" />
                    </coding>
                </category>
                <subject>
                    <reference value="urn:uuid:3b0f08d7-90b8-4c7b-8a3e-5f78a5f36a80" />
                    <type value="Patient" />
                    <display value="Alice Jones" />
                </subject>
                <author>
                    <reference value="urn:uuid:4f4e7c60-72f4-4c2c-b6c3-6d93a9aefd41" />
                    <type value="Practitioner" />
                    <display value="Dr Dhiren Patel (GMC: 9630333)" />
                </author>
                <activity>
                    <reference>
                        <reference value="urn:uuid:ab6d82c6-1395-40a9-9d9f-bf29b7a38b61" />
                        <type value="Task" />
                        <display value="Task for EQ5D5L" />
                    </reference>
                </activity>
                <activity>
                    <reference>
                        <reference value="urn:uuid:541b2479-76b6-4d4f-b9ca-20dd28deb1ed" />
                        <display value="Task for Data Entry Questionnaire" />
                    </reference>
                </activity>
            </CarePlan>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:ab6d82c6-1395-40a9-9d9f-bf29b7a38b61" />
        <resource>
            <Task>
                <id value="ab6d82c6-1395-40a9-9d9f-bf29b7a38b61" />
                <meta>
                    <profile value="https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-Task" />
                </meta>
                <status value="cancelled" />
                <intent value="order" />
                <code>
                    <coding>
                        <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp" />
                        <code value="complete-questionnaire" />
                    </coding>
                </code>
                <location>
                    <reference value="urn:uuid:e18e211e-1e62-43fe-971c-a0a2c5ef5a5b" />
                    <display value="CadogWard" />
                </location>
                <reasonCode>
                    <coding>
                        <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TriggerEventType" />
                        <code value="02" />
                        <display value="At the point of referral" />
                    </coding>
                </reasonCode>
                <input>
                    <type>
                        <coding>
                            <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TaskInputType" />
                            <code value="MDEPX004X" />
                            <display value="PROMs Laterality" />
                        </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.nhs.wales/Questionnaire/DataStandardsWales-PSOM-EQ5D-5L|2022014" />
                </input>
            </Task>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:541b2479-76b6-4d4f-b9ca-20dd28deb1ed" />
        <resource>
            <Task>
                <id value="541b2479-76b6-4d4f-b9ca-20dd28deb1ed" />
                <meta>
                    <profile value="https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-Task" />
                </meta>
                <status value="cancelled" />
                <intent value="plan" />
                <code>
                    <coding>
                        <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp" />
                        <code value="complete-questionnaire" />
                    </coding>
                </code>
                <executionPeriod>
                    <start value="2020-10-10" />
                </executionPeriod>
                <location>
                    <reference value="urn:uuid:e18e211e-1e62-43fe-971c-a0a2c5ef5a5b" />
                    <display value="CadogWard" />
                </location>
                <reasonCode>
                    <coding>
                        <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TriggerEventType" />
                        <code value="02" />
                        <display value="At the point of referral" />
                    </coding>
                </reasonCode>
                <input>
                    <type>
                        <coding>
                            <system value="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TaskInputType" />
                            <code value="MDEPX004X" />
                            <display value="PROMs Laterality" />
                        </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="https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TaskInputType" />
                            <code value="MPRPX013X" />
                            <display value="PROMs Trigger Event Date" />
                        </coding>
                    </type>
                    <valueDateTime value="2020-10-09T11:15:33+10:00" />
                </input>
                <input>
                    <type>
                        <coding>
                            <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp" />
                            <code value="questionnaire" />
                        </coding>
                    </type>
                    <valueCanonical value="https://fhir.nhs.wales/Questionnaire/DataStandardsWales-PSOM-DataEntry|2022049" />
                </input>
            </Task>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:3b0f08d7-90b8-4c7b-8a3e-5f78a5f36a80" />
        <resource>
            <Patient>
                <id value="3b0f08d7-90b8-4c7b-8a3e-5f78a5f36a80" />
                <meta>
                    <profile value="https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient" />
                </meta>
                <identifier>
                    <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus">
                        <valueCodeableConcept>
                            <coding>
                                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusWales" />
                                <code value="nn" />
                                <display value="Number present and traced using Welsh NHS AR" />
                            </coding>
                        </valueCodeableConcept>
                    </extension>
                    <system value="https://fhir.nhs.uk/Id/nhs-number" />
                    <value value="9912003444" />
                </identifier>
                <identifier>
                    <system value="https://fhir.cavuhb.nhs.wales/Id/pas-identifier" />
                    <value value="A000003" />
                </identifier>
                <name>
                    <use value="official" />
                    <family value="Jones" />
                    <given value="Alice" />
                </name>
                <gender value="female" />
                <birthDate value="1980-09-13" />
                <address>
                    <postalCode value="CF62 9AZ" />
                </address>
                <communication>
                    <language>
                        <coding>
                            <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage" />
                            <code value="cy" />
                            <display value="Welsh" />
                        </coding>
                    </language>
                    <preferred value="true" />
                </communication>
                <communication>
                    <language>
                        <coding>
                            <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage" />
                            <code value="en" />
                            <display value="English" />
                        </coding>
                    </language>
                    <preferred value="false" />
                </communication>
            </Patient>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:4f4e7c60-72f4-4c2c-b6c3-6d93a9aefd41" />
        <resource>
            <Practitioner>
                <id value="4f4e7c60-72f4-4c2c-b6c3-6d93a9aefd41" />
                <meta>
                    <profile value="https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner" />
                </meta>
                <identifier>
                    <system value="https://fhir.hl7.org.uk/Id/gmc-number" />
                    <value value="9630333" />
                </identifier>
                <name>
                    <family value="Patel" />
                    <given value="Dhiren" />
                    <prefix value="Dr" />
                </name>
            </Practitioner>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:e18e211e-1e62-43fe-971c-a0a2c5ef5a5b" />
        <resource>
            <Location>
                <id value="e18e211e-1e62-43fe-971c-a0a2c5ef5a5b" />
                <meta>
                    <profile value="https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Location" />
                </meta>
                <identifier>
                    <system value="https://fhir.nhs.wales/Id/wrts-location-identifier" />
                    <value value="7A2AGCADOG" />
                </identifier>
                <name value="Cadog Ward" />
                <address>
                    <text value="Dolgwili Rd, Carmarthen SA31 2AF, United Kingdom" />
                </address>
            </Location>
        </resource>
    </entry>
    <entry>
        <fullUrl value="urn:uuid:fd3f7e8c-3cb2-4b4a-9b2b-d702bc32a905" />
        <resource>
            <Organization>
                <id value="fd3f7e8c-3cb2-4b4a-9b2b-d702bc32a905" />
                <meta>
                    <profile value="https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" />
                </meta>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                    <value value="7A4" />
                </identifier>
                <name value="Cardiff and Vale University Health Board" />
            </Organization>
        </resource>
    </entry>
</Bundle>
{
    "resourceType": "Bundle",
    "id": "Example-DataStandardsWales-PSOM-Bundle-Myeloma-Cancellation-HB",
    "identifier": {
        "system": "https://acme.com/fhir/Id/oracle-guid",
        "value": "2ecc8c7c-db4d-4736-94e0-7982bfe56dfb"
    },
    "type": "message",
    "timestamp": "2022-03-14T11:15:33+10:00",
    "entry":  [
        {
            "fullUrl": "urn:uuid:267b18ce-3d37-4581-9baa-6fada338038b",
            "resource": {
                "resourceType": "MessageHeader",
                "id": "267b18ce-3d37-4581-9baa-6fada338038b",
                "meta": {
                    "profile":  [
                        "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-MessageHeader"
                    ]
                },
                "eventCoding": {
                    "system": "https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-MessageEvent",
                    "code": "psom-cancellation",
                    "display": "PSOM cancellation"
                },
                "source": {
                    "name": "Example Health Board",
                    "endpoint": "https://nhspsom.examplehealthboard.com"
                },
                "responsible": {
                    "reference": "urn:uuid:4f4e7c60-72f4-4c2c-b6c3-6d93a9aefd41",
                    "type": "Practitioner",
                    "display": "Dr Dhiren Patel (GMC: 9630333)"
                },
                "focus":  [
                    {
                        "reference": "urn:uuid:243e89d8-92b5-4e24-9a9d-2d26f7c60367",
                        "type": "CarePlan",
                        "display": "Myeloma pathway"
                    },
                    {
                        "reference": "urn:uuid:ab6d82c6-1395-40a9-9d9f-bf29b7a38b61",
                        "type": "Task",
                        "display": "Task for EQ5D5L"
                    },
                    {
                        "reference": "urn:uuid:541b2479-76b6-4d4f-b9ca-20dd28deb1ed",
                        "type": "Task",
                        "display": "Task for Data Entry Questionnaire"
                    }
                ],
                "definition": "https://fhir.nhs.wales/MessageDefinition/DataStandardsWales-PSOM-cancellation"
            }
        },
        {
            "fullUrl": "urn:uuid:243e89d8-92b5-4e24-9a9d-2d26f7c60367",
            "resource": {
                "resourceType": "CarePlan",
                "id": "243e89d8-92b5-4e24-9a9d-2d26f7c60367",
                "meta": {
                    "profile":  [
                        "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-CarePlan"
                    ]
                },
                "extension":  [
                    {
                        "url": "https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-PSOM-PathwayLaterality",
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PathwayLaterality",
                                    "code": "8",
                                    "display": "N/A"
                                }
                            ]
                        }
                    }
                ],
                "identifier":  [
                    {
                        "system": "urn:oid:2.16.840.1.113883.2.1.8.1.5.140",
                        "value": "12345678",
                        "assigner": {
                            "reference": "urn:uuid:fd3f7e8c-3cb2-4b4a-9b2b-d702bc32a905",
                            "display": "Cardiff and Vale University Health Board"
                        }
                    }
                ],
                "status": "on-hold",
                "intent": "order",
                "category":  [
                    {
                        "coding":  [
                            {
                                "system": "https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PathwayType",
                                "code": "CMY",
                                "display": "Cancer pathway - myeloma"
                            }
                        ]
                    },
                    {
                        "coding":  [
                            {
                                "system": "http://snomed.info/sct",
                                "code": "394593009",
                                "display": "Medical oncology"
                            }
                        ]
                    }
                ],
                "subject": {
                    "reference": "urn:uuid:3b0f08d7-90b8-4c7b-8a3e-5f78a5f36a80",
                    "type": "Patient",
                    "display": "Alice Jones"
                },
                "author": {
                    "reference": "urn:uuid:4f4e7c60-72f4-4c2c-b6c3-6d93a9aefd41",
                    "type": "Practitioner",
                    "display": "Dr Dhiren Patel (GMC: 9630333)"
                },
                "activity":  [
                    {
                        "reference": {
                            "reference": "urn:uuid:ab6d82c6-1395-40a9-9d9f-bf29b7a38b61",
                            "type": "Task",
                            "display": "Task for EQ5D5L"
                        }
                    },
                    {
                        "reference": {
                            "reference": "urn:uuid:541b2479-76b6-4d4f-b9ca-20dd28deb1ed",
                            "display": "Task for Data Entry Questionnaire"
                        }
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:ab6d82c6-1395-40a9-9d9f-bf29b7a38b61",
            "resource": {
                "resourceType": "Task",
                "id": "ab6d82c6-1395-40a9-9d9f-bf29b7a38b61",
                "meta": {
                    "profile":  [
                        "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PSOM-Task"
                    ]
                },
                "status": "cancelled",
                "intent": "order",
                "code": {
                    "coding":  [
                        {
                            "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
                            "code": "complete-questionnaire"
                        }
                    ]
                },
                "location": {
                    "reference": "urn:uuid:e18e211e-1e62-43fe-971c-a0a2c5ef5a5b",
                    "display": "CadogWard"
                },
                "reasonCode": {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TriggerEventType",
                            "code": "02",
                            "display": "At the point of referral"
                        }
                    ]
                },
                "input":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TaskInputType",
                                    "code": "MDEPX004X",
                                    "display": "PROMs Laterality"
                                }
                            ]
                        },
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PROMsLaterality",
                                    "code": "8",
                                    "display": "N/A"
                                }
                            ]
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
                                    "code": "questionnaire"
                                }
                            ]
                        },
                        "valueCanonical": "https://fhir.nhs.wales/Questionnaire/DataStandardsWales-PSOM-EQ5D-5L|2022014"
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:541b2479-76b6-4d4f-b9ca-20dd28deb1ed",
            "resource": {
                "resourceType": "Task",
                "id": "541b2479-76b6-4d4f-b9ca-20dd28deb1ed",
                "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": "urn:uuid:e18e211e-1e62-43fe-971c-a0a2c5ef5a5b",
                    "display": "CadogWard"
                },
                "reasonCode": {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TriggerEventType",
                            "code": "02",
                            "display": "At the point of referral"
                        }
                    ]
                },
                "input":  [
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TaskInputType",
                                    "code": "MDEPX004X",
                                    "display": "PROMs Laterality"
                                }
                            ]
                        },
                        "valueCodeableConcept": {
                            "coding":  [
                                {
                                    "system": "https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-PROMsLaterality",
                                    "code": "8",
                                    "display": "N/A"
                                }
                            ]
                        }
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "https://fhir.nhs.wales/CodeSystem/DataStandardsWales-PSOM-TaskInputType",
                                    "code": "MPRPX013X",
                                    "display": "PROMs Trigger Event Date"
                                }
                            ]
                        },
                        "valueDateTime": "2020-10-09T11:15:33+10:00"
                    },
                    {
                        "type": {
                            "coding":  [
                                {
                                    "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
                                    "code": "questionnaire"
                                }
                            ]
                        },
                        "valueCanonical": "https://fhir.nhs.wales/Questionnaire/DataStandardsWales-PSOM-DataEntry|2022049"
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:3b0f08d7-90b8-4c7b-8a3e-5f78a5f36a80",
            "resource": {
                "resourceType": "Patient",
                "id": "3b0f08d7-90b8-4c7b-8a3e-5f78a5f36a80",
                "meta": {
                    "profile":  [
                        "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient"
                    ]
                },
                "identifier":  [
                    {
                        "extension":  [
                            {
                                "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus",
                                "valueCodeableConcept": {
                                    "coding":  [
                                        {
                                            "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusWales",
                                            "code": "nn",
                                            "display": "Number present and traced using Welsh NHS AR"
                                        }
                                    ]
                                }
                            }
                        ],
                        "system": "https://fhir.nhs.uk/Id/nhs-number",
                        "value": "9912003444"
                    },
                    {
                        "system": "https://fhir.cavuhb.nhs.wales/Id/pas-identifier",
                        "value": "A000003"
                    }
                ],
                "name":  [
                    {
                        "use": "official",
                        "family": "Jones",
                        "given":  [
                            "Alice"
                        ]
                    }
                ],
                "gender": "female",
                "birthDate": "1980-09-13",
                "address":  [
                    {
                        "postalCode": "CF62 9AZ"
                    }
                ],
                "communication":  [
                    {
                        "language": {
                            "coding":  [
                                {
                                    "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage",
                                    "code": "cy",
                                    "display": "Welsh"
                                }
                            ]
                        },
                        "preferred": true
                    },
                    {
                        "language": {
                            "coding":  [
                                {
                                    "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage",
                                    "code": "en",
                                    "display": "English"
                                }
                            ]
                        },
                        "preferred": false
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:4f4e7c60-72f4-4c2c-b6c3-6d93a9aefd41",
            "resource": {
                "resourceType": "Practitioner",
                "id": "4f4e7c60-72f4-4c2c-b6c3-6d93a9aefd41",
                "meta": {
                    "profile":  [
                        "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner"
                    ]
                },
                "identifier":  [
                    {
                        "system": "https://fhir.hl7.org.uk/Id/gmc-number",
                        "value": "9630333"
                    }
                ],
                "name":  [
                    {
                        "family": "Patel",
                        "given":  [
                            "Dhiren"
                        ],
                        "prefix":  [
                            "Dr"
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:e18e211e-1e62-43fe-971c-a0a2c5ef5a5b",
            "resource": {
                "resourceType": "Location",
                "id": "e18e211e-1e62-43fe-971c-a0a2c5ef5a5b",
                "meta": {
                    "profile":  [
                        "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Location"
                    ]
                },
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.wales/Id/wrts-location-identifier",
                        "value": "7A2AGCADOG"
                    }
                ],
                "name": "Cadog Ward",
                "address": {
                    "text": "Dolgwili Rd, Carmarthen SA31 2AF, United Kingdom"
                }
            }
        },
        {
            "fullUrl": "urn:uuid:fd3f7e8c-3cb2-4b4a-9b2b-d702bc32a905",
            "resource": {
                "resourceType": "Organization",
                "id": "fd3f7e8c-3cb2-4b4a-9b2b-d702bc32a905",
                "meta": {
                    "profile":  [
                        "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization"
                    ]
                },
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                        "value": "7A4"
                    }
                ],
                "name": "Cardiff and Vale University Health Board"
            }
        }
    ]
}
Command 'narrative' could not render: File is not a DomainResource