RemoveRARecord-Bundle-Example

Table View

Bundle.id[0]RemoveRARecord-Bundle-Example
Bundle.type[0]transaction
Bundle.entry[0].fullUrl[0]Flag/RA-PatientFlag-Example
Bundle.entry[0].resource[0].id[0]RA-PatientFlag-Example
Bundle.entry[0].resource[0].meta[0].profile[0]https://fhir.nhs.uk/England/StructureDefinition/England-Flag-PatientFlag
Bundle.entry[0].resource[0].contained[0].id[0]c4e2e862-3bf4-4176-a186-9f1732938260
Bundle.entry[0].resource[0].contained[0].meta[0].profile[0]https://fhir.nhs.uk/England/StructureDefinition/England-Provenance-Flag
Bundle.entry[0].resource[0].contained[0].target[0].reference[0]#
Bundle.entry[0].resource[0].contained[0].recorded[0]2024-01-01T11:00:00+00:00
Bundle.entry[0].resource[0].contained[0].activity[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-DataOperation
Bundle.entry[0].resource[0].contained[0].activity[0].coding[0].code[0]CREATE
Bundle.entry[0].resource[0].contained[0].activity[0].coding[0].display[0]create
Bundle.entry[0].resource[0].contained[0].agent[0].role[0].coding[0].system[0]https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1
Bundle.entry[0].resource[0].contained[0].agent[0].role[0].coding[0].code[0]R0260
Bundle.entry[0].resource[0].contained[0].agent[0].role[0].coding[0].display[0]General Medical Practitioner
Bundle.entry[0].resource[0].contained[0].agent[0].who[0].reference[0]https://sds.spineservices.nhs.uk/Practitioner/2ee4tr6a9
Bundle.entry[0].resource[0].contained[0].agent[0].onBehalfOf[0].reference[0]https://directory.spineservices.nhs.uk/Organization/a3e5i7
Bundle.entry[0].resource[0].extension[0].url[0]https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes
Bundle.entry[0].resource[0].extension[0].value[0].text[0]Example of flag notes extension text in patient flag
Bundle.entry[0].resource[0].extension[1].url[0]http://hl7.org/fhir/StructureDefinition/flag-detail
Bundle.entry[0].resource[0].extension[1].value[0].reference[0]Condition/RA-Condition-Example
Bundle.entry[0].resource[0].extension[1].value[0].type[0]Condition
Bundle.entry[0].resource[0].extension[2].url[0]http://hl7.org/fhir/StructureDefinition/flag-detail
Bundle.entry[0].resource[0].extension[2].value[0].reference[0]Consent/RA-Consent-Example
Bundle.entry[0].resource[0].extension[2].value[0].type[0]Consent
Bundle.entry[0].resource[0].extension[3].url[0]http://hl7.org/fhir/StructureDefinition/flag-detail
Bundle.entry[0].resource[0].extension[3].value[0].reference[0]Flag/RA-Flag-Example
Bundle.entry[0].resource[0].extension[3].value[0].type[0]Flag
Bundle.entry[0].resource[0].status[0]active
Bundle.entry[0].resource[0].code[0].coding[0].system[0]https://fhir.nhs.uk/England/CodeSystem/England-FlagCategoryPatient
Bundle.entry[0].resource[0].code[0].coding[0].code[0]national-reasonable-adjustment-flag
Bundle.entry[0].resource[0].code[0].coding[0].display[0]National Reasonable Adjustments Flag
Bundle.entry[0].resource[0].subject[0].reference[0]Patient/PatientFlag-AlanMann-Example
Bundle.entry[0].request[0].method[0]DELETE
Bundle.entry[0].request[0].url[0]Flag/RA-PatientFlag-Example
Bundle.entry[1].fullUrl[0]Condition/RA-Condition-Example
Bundle.entry[1].resource[0].id[0]RA-Condition-Example
Bundle.entry[1].resource[0].meta[0].profile[0]https://fhir.nhs.uk/England/StructureDefinition/England-Condition-Flag
Bundle.entry[1].resource[0].contained[0].id[0]6a6b18a7-c077-49da-929f-a8dd38468f79
Bundle.entry[1].resource[0].contained[0].meta[0].profile[0]https://fhir.nhs.uk/England/StructureDefinition/England-Provenance-Flag
Bundle.entry[1].resource[0].contained[0].target[0].reference[0]#
Bundle.entry[1].resource[0].contained[0].recorded[0]2024-01-01T11:00:00+00:00
Bundle.entry[1].resource[0].contained[0].activity[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/v3-DataOperation
Bundle.entry[1].resource[0].contained[0].activity[0].coding[0].code[0]CREATE
Bundle.entry[1].resource[0].contained[0].activity[0].coding[0].display[0]create
Bundle.entry[1].resource[0].contained[0].agent[0].role[0].coding[0].system[0]https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1
Bundle.entry[1].resource[0].contained[0].agent[0].role[0].coding[0].code[0]R0260
Bundle.entry[1].resource[0].contained[0].agent[0].role[0].coding[0].display[0]General Medical Practitioner
Bundle.entry[1].resource[0].contained[0].agent[0].who[0].reference[0]https://sds.spineservices.nhs.uk/Practitioner/2ee4tr6a9
Bundle.entry[1].resource[0].contained[0].agent[0].onBehalfOf[0].reference[0]https://directory.spineservices.nhs.uk/Organization/a3e5i7
Bundle.entry[1].resource[0].clinicalStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/condition-clinical
Bundle.entry[1].resource[0].clinicalStatus[0].coding[0].code[0]active
Bundle.entry[1].resource[0].category[0].coding[0].system[0]https://fhir.nhs.uk/England/CodeSystem/England-FlagCategoryPatient
Bundle.entry[1].resource[0].category[0].coding[0].code[0]national-reasonable-adjustment-flag
Bundle.entry[1].resource[0].category[0].coding[0].display[0]National Reasonable Adjustments Flag
Bundle.entry[1].resource[0].category[1].coding[0].system[0]https://fhir.nhs.uk/England/CodeSystem/England-ConditionCategoryRA
Bundle.entry[1].resource[0].category[1].coding[0].code[0]issue
Bundle.entry[1].resource[0].category[1].coding[0].display[0]Issue
Bundle.entry[1].resource[0].code[0].coding[0].system[0]https://fhir.nhs.uk/England/CodeSystem/England-ConditionCodeRA
Bundle.entry[1].resource[0].code[0].coding[0].code[0]learning
Bundle.entry[1].resource[0].code[0].coding[0].display[0]Learning or understanding or concentrating
Bundle.entry[1].resource[0].subject[0].reference[0]Patient/PatientFlag-AlanMann-Example
Bundle.entry[1].request[0].method[0]DELETE
Bundle.entry[1].request[0].url[0]Condition/RA-Condition-Example

Tree View

Bundle

XML View

<Bundle xmlns="http://hl7.org/fhir">
    <id value="RemoveRARecord-Bundle-Example" />
    <type value="transaction" />
    <entry>
        <fullUrl value="Flag/RA-PatientFlag-Example" />
        <resource>
            <Flag>
                <id value="RA-PatientFlag-Example" />
                <meta>
                    <profile value="https://fhir.nhs.uk/England/StructureDefinition/England-Flag-PatientFlag" />
                </meta>
                <contained>
                    <Provenance>
                        <id value="c4e2e862-3bf4-4176-a186-9f1732938260" />
                        <meta>
                            <profile value="https://fhir.nhs.uk/England/StructureDefinition/England-Provenance-Flag" />
                        </meta>
                        <target>
                            <reference value="#" />
                        </target>
                        <recorded value="2024-01-01T11:00:00+00:00" />
                        <activity>
                            <coding>
                                <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                                <code value="CREATE" />
                                <display value="create" />
                            </coding>
                        </activity>
                        <agent>
                            <role>
                                <coding>
                                    <system value="https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1" />
                                    <code value="R0260" />
                                    <display value="General Medical Practitioner" />
                                </coding>
                            </role>
                            <who>
                                <reference value="https://sds.spineservices.nhs.uk/Practitioner/2ee4tr6a9" />
                            </who>
                            <onBehalfOf>
                                <reference value="https://directory.spineservices.nhs.uk/Organization/a3e5i7" />
                            </onBehalfOf>
                        </agent>
                    </Provenance>
                </contained>
                <extension url="https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes">
                    <valueAnnotation>
                        <text value="Example of flag notes extension text in patient flag" />
                    </valueAnnotation>
                </extension>
                <extension url="http://hl7.org/fhir/StructureDefinition/flag-detail">
                    <valueReference>
                        <reference value="Condition/RA-Condition-Example" />
                        <type value="Condition" />
                    </valueReference>
                </extension>
                <extension url="http://hl7.org/fhir/StructureDefinition/flag-detail">
                    <valueReference>
                        <reference value="Consent/RA-Consent-Example" />
                        <type value="Consent" />
                    </valueReference>
                </extension>
                <extension url="http://hl7.org/fhir/StructureDefinition/flag-detail">
                    <valueReference>
                        <reference value="Flag/RA-Flag-Example" />
                        <type value="Flag" />
                    </valueReference>
                </extension>
                <status value="active" />
                <code>
                    <coding>
                        <system value="https://fhir.nhs.uk/England/CodeSystem/England-FlagCategoryPatient" />
                        <code value="national-reasonable-adjustment-flag" />
                        <display value="National Reasonable Adjustments Flag" />
                    </coding>
                </code>
                <subject>
                    <reference value="Patient/PatientFlag-AlanMann-Example" />
                </subject>
            </Flag>
        </resource>
        <request>
            <method value="DELETE" />
            <url value="Flag/RA-PatientFlag-Example" />
        </request>
    </entry>
    <entry>
        <fullUrl value="Condition/RA-Condition-Example" />
        <resource>
            <Condition>
                <id value="RA-Condition-Example" />
                <meta>
                    <profile value="https://fhir.nhs.uk/England/StructureDefinition/England-Condition-Flag" />
                </meta>
                <contained>
                    <Provenance>
                        <id value="6a6b18a7-c077-49da-929f-a8dd38468f79" />
                        <meta>
                            <profile value="https://fhir.nhs.uk/England/StructureDefinition/England-Provenance-Flag" />
                        </meta>
                        <target>
                            <reference value="#" />
                        </target>
                        <recorded value="2024-01-01T11:00:00+00:00" />
                        <activity>
                            <coding>
                                <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                                <code value="CREATE" />
                                <display value="create" />
                            </coding>
                        </activity>
                        <agent>
                            <role>
                                <coding>
                                    <system value="https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1" />
                                    <code value="R0260" />
                                    <display value="General Medical Practitioner" />
                                </coding>
                            </role>
                            <who>
                                <reference value="https://sds.spineservices.nhs.uk/Practitioner/2ee4tr6a9" />
                            </who>
                            <onBehalfOf>
                                <reference value="https://directory.spineservices.nhs.uk/Organization/a3e5i7" />
                            </onBehalfOf>
                        </agent>
                    </Provenance>
                </contained>
                <clinicalStatus>
                    <coding>
                        <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" />
                        <code value="active" />
                    </coding>
                </clinicalStatus>
                <category>
                    <coding>
                        <system value="https://fhir.nhs.uk/England/CodeSystem/England-FlagCategoryPatient" />
                        <code value="national-reasonable-adjustment-flag" />
                        <display value="National Reasonable Adjustments Flag" />
                    </coding>
                </category>
                <category>
                    <coding>
                        <system value="https://fhir.nhs.uk/England/CodeSystem/England-ConditionCategoryRA" />
                        <code value="issue" />
                        <display value="Issue" />
                    </coding>
                </category>
                <code>
                    <coding>
                        <system value="https://fhir.nhs.uk/England/CodeSystem/England-ConditionCodeRA" />
                        <code value="learning" />
                        <display value="Learning or understanding or concentrating" />
                    </coding>
                </code>
                <subject>
                    <reference value="Patient/PatientFlag-AlanMann-Example" />
                </subject>
            </Condition>
        </resource>
        <request>
            <method value="DELETE" />
            <url value="Condition/RA-Condition-Example" />
        </request>
    </entry>
</Bundle>

JSON View

{
    "resourceType": "Bundle",
    "id": "RemoveRARecord-Bundle-Example",
    "type": "transaction",
    "entry":  [
        {
            "fullUrl": "Flag/RA-PatientFlag-Example",
            "resource": {
                "resourceType": "Flag",
                "id": "RA-PatientFlag-Example",
                "meta": {
                    "profile":  [
                        "https://fhir.nhs.uk/England/StructureDefinition/England-Flag-PatientFlag"
                    ]
                },
                "contained":  [
                    {
                        "resourceType": "Provenance",
                        "id": "c4e2e862-3bf4-4176-a186-9f1732938260",
                        "meta": {
                            "profile":  [
                                "https://fhir.nhs.uk/England/StructureDefinition/England-Provenance-Flag"
                            ]
                        },
                        "target":  [
                            {
                                "reference": "#"
                            }
                        ],
                        "recorded": "2024-01-01T11:00:00+00:00",
                        "activity": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation",
                                    "code": "CREATE",
                                    "display": "create"
                                }
                            ]
                        },
                        "agent":  [
                            {
                                "role":  [
                                    {
                                        "coding":  [
                                            {
                                                "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1",
                                                "code": "R0260",
                                                "display": "General Medical Practitioner"
                                            }
                                        ]
                                    }
                                ],
                                "who": {
                                    "reference": "https://sds.spineservices.nhs.uk/Practitioner/2ee4tr6a9"
                                },
                                "onBehalfOf": {
                                    "reference": "https://directory.spineservices.nhs.uk/Organization/a3e5i7"
                                }
                            }
                        ]
                    }
                ],
                "extension":  [
                    {
                        "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes",
                        "valueAnnotation": {
                            "text": "Example of flag notes extension text in patient flag"
                        }
                    },
                    {
                        "url": "http://hl7.org/fhir/StructureDefinition/flag-detail",
                        "valueReference": {
                            "reference": "Condition/RA-Condition-Example",
                            "type": "Condition"
                        }
                    },
                    {
                        "url": "http://hl7.org/fhir/StructureDefinition/flag-detail",
                        "valueReference": {
                            "reference": "Consent/RA-Consent-Example",
                            "type": "Consent"
                        }
                    },
                    {
                        "url": "http://hl7.org/fhir/StructureDefinition/flag-detail",
                        "valueReference": {
                            "reference": "Flag/RA-Flag-Example",
                            "type": "Flag"
                        }
                    }
                ],
                "status": "active",
                "code": {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/England/CodeSystem/England-FlagCategoryPatient",
                            "code": "national-reasonable-adjustment-flag",
                            "display": "National Reasonable Adjustments Flag"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/PatientFlag-AlanMann-Example"
                }
            },
            "request": {
                "method": "DELETE",
                "url": "Flag/RA-PatientFlag-Example"
            }
        },
        {
            "fullUrl": "Condition/RA-Condition-Example",
            "resource": {
                "resourceType": "Condition",
                "id": "RA-Condition-Example",
                "meta": {
                    "profile":  [
                        "https://fhir.nhs.uk/England/StructureDefinition/England-Condition-Flag"
                    ]
                },
                "contained":  [
                    {
                        "resourceType": "Provenance",
                        "id": "6a6b18a7-c077-49da-929f-a8dd38468f79",
                        "meta": {
                            "profile":  [
                                "https://fhir.nhs.uk/England/StructureDefinition/England-Provenance-Flag"
                            ]
                        },
                        "target":  [
                            {
                                "reference": "#"
                            }
                        ],
                        "recorded": "2024-01-01T11:00:00+00:00",
                        "activity": {
                            "coding":  [
                                {
                                    "system": "http://terminology.hl7.org/CodeSystem/v3-DataOperation",
                                    "code": "CREATE",
                                    "display": "create"
                                }
                            ]
                        },
                        "agent":  [
                            {
                                "role":  [
                                    {
                                        "coding":  [
                                            {
                                                "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1",
                                                "code": "R0260",
                                                "display": "General Medical Practitioner"
                                            }
                                        ]
                                    }
                                ],
                                "who": {
                                    "reference": "https://sds.spineservices.nhs.uk/Practitioner/2ee4tr6a9"
                                },
                                "onBehalfOf": {
                                    "reference": "https://directory.spineservices.nhs.uk/Organization/a3e5i7"
                                }
                            }
                        ]
                    }
                ],
                "clinicalStatus": {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                            "code": "active"
                        }
                    ]
                },
                "category":  [
                    {
                        "coding":  [
                            {
                                "system": "https://fhir.nhs.uk/England/CodeSystem/England-FlagCategoryPatient",
                                "code": "national-reasonable-adjustment-flag",
                                "display": "National Reasonable Adjustments Flag"
                            }
                        ]
                    },
                    {
                        "coding":  [
                            {
                                "system": "https://fhir.nhs.uk/England/CodeSystem/England-ConditionCategoryRA",
                                "code": "issue",
                                "display": "Issue"
                            }
                        ]
                    }
                ],
                "code": {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/England/CodeSystem/England-ConditionCodeRA",
                            "code": "learning",
                            "display": "Learning or understanding or concentrating"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/PatientFlag-AlanMann-Example"
                }
            },
            "request": {
                "method": "DELETE",
                "url": "Condition/RA-Condition-Example"
            }
        }
    ]
}