AddFGMRecordTransaction-Bundle-Example

Table View

Bundle.id[0]AddFGMRecordTransaction-Bundle-Example
Bundle.type[0]transaction
Bundle.entry[0].fullUrl[0]Patient/PatientFlag-AlanMann-Example
Bundle.entry[0].resource[0].id[0]PatientFlag-AlanMann-Example
Bundle.entry[0].resource[0].meta[0].profile[0]https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient
Bundle.entry[0].resource[0].identifier[0].system[0]https://fhir.nhs.uk/Id/nhs-number
Bundle.entry[0].resource[0].identifier[0].value[0]9912003888
Bundle.entry[0].resource[0].active[0]True
Bundle.entry[0].resource[0].name[0].use[0]official
Bundle.entry[0].resource[0].name[0].family[0]Mann
Bundle.entry[0].resource[0].name[0].given[0]Alan
Bundle.entry[0].resource[0].gender[0]male
Bundle.entry[0].resource[0].birthDate[0]1970-01-01
Bundle.entry[0].request[0].method[0]PUT
Bundle.entry[0].request[0].url[0]Patient/PatientFlag-AlanMann-Example
Bundle.entry[1].fullUrl[0]Flag/FGM-PatientFlag-Example
Bundle.entry[1].resource[0].id[0]FGM-PatientFlag-Example
Bundle.entry[1].resource[0].meta[0].profile[0]https://fhir.nhs.uk/England/StructureDefinition/England-Flag-PatientFlag
Bundle.entry[1].resource[0].contained[0].id[0]3fc83fd8-4a6d-48e4-91ab-12bb10a4a834
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].extension[0].url[0]https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes
Bundle.entry[1].resource[0].extension[0].value[0].text[0]Example of flag notes extension text in patient flag
Bundle.entry[1].resource[0].status[0]active
Bundle.entry[1].resource[0].code[0].coding[0].system[0]https://fhir.nhs.uk/England/CodeSystem/England-FlagCategoryPatient
Bundle.entry[1].resource[0].code[0].coding[0].code[0]female-genital-mutilation-flag
Bundle.entry[1].resource[0].code[0].coding[0].display[0]Female Genital Mutilation Flag
Bundle.entry[1].resource[0].subject[0].reference[0]Patient/PatientFlag-AlanMann-Example
Bundle.entry[1].request[0].method[0]PUT
Bundle.entry[1].request[0].url[0]Flag/FGM-PatientFlag-Example

Tree View

Bundle

XML View

<Bundle xmlns="http://hl7.org/fhir">
    <id value="AddFGMRecordTransaction-Bundle-Example" />
    <type value="transaction" />
    <entry>
        <fullUrl value="Patient/PatientFlag-AlanMann-Example" />
        <resource>
            <Patient>
                <id value="PatientFlag-AlanMann-Example" />
                <meta>
                    <profile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" />
                </meta>
                <identifier>
                    <system value="https://fhir.nhs.uk/Id/nhs-number" />
                    <value value="9912003888" />
                </identifier>
                <active value="true" />
                <name>
                    <use value="official" />
                    <family value="Mann" />
                    <given value="Alan" />
                </name>
                <gender value="male" />
                <birthDate value="1970-01-01" />
            </Patient>
        </resource>
        <request>
            <method value="PUT" />
            <url value="Patient/PatientFlag-AlanMann-Example" />
        </request>
    </entry>
    <entry>
        <fullUrl value="Flag/FGM-PatientFlag-Example" />
        <resource>
            <Flag>
                <id value="FGM-PatientFlag-Example" />
                <meta>
                    <profile value="https://fhir.nhs.uk/England/StructureDefinition/England-Flag-PatientFlag" />
                </meta>
                <contained>
                    <Provenance>
                        <id value="3fc83fd8-4a6d-48e4-91ab-12bb10a4a834" />
                        <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>
                <status value="active" />
                <code>
                    <coding>
                        <system value="https://fhir.nhs.uk/England/CodeSystem/England-FlagCategoryPatient" />
                        <code value="female-genital-mutilation-flag" />
                        <display value="Female Genital Mutilation Flag" />
                    </coding>
                </code>
                <subject>
                    <reference value="Patient/PatientFlag-AlanMann-Example" />
                </subject>
            </Flag>
        </resource>
        <request>
            <method value="PUT" />
            <url value="Flag/FGM-PatientFlag-Example" />
        </request>
    </entry>
</Bundle>

JSON View

{
    "resourceType": "Bundle",
    "id": "AddFGMRecordTransaction-Bundle-Example",
    "type": "transaction",
    "entry":  [
        {
            "fullUrl": "Patient/PatientFlag-AlanMann-Example",
            "resource": {
                "resourceType": "Patient",
                "id": "PatientFlag-AlanMann-Example",
                "meta": {
                    "profile":  [
                        "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient"
                    ]
                },
                "identifier":  [
                    {
                        "system": "https://fhir.nhs.uk/Id/nhs-number",
                        "value": "9912003888"
                    }
                ],
                "active": true,
                "name":  [
                    {
                        "use": "official",
                        "family": "Mann",
                        "given":  [
                            "Alan"
                        ]
                    }
                ],
                "gender": "male",
                "birthDate": "1970-01-01"
            },
            "request": {
                "method": "PUT",
                "url": "Patient/PatientFlag-AlanMann-Example"
            }
        },
        {
            "fullUrl": "Flag/FGM-PatientFlag-Example",
            "resource": {
                "resourceType": "Flag",
                "id": "FGM-PatientFlag-Example",
                "meta": {
                    "profile":  [
                        "https://fhir.nhs.uk/England/StructureDefinition/England-Flag-PatientFlag"
                    ]
                },
                "contained":  [
                    {
                        "resourceType": "Provenance",
                        "id": "3fc83fd8-4a6d-48e4-91ab-12bb10a4a834",
                        "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"
                        }
                    }
                ],
                "status": "active",
                "code": {
                    "coding":  [
                        {
                            "system": "https://fhir.nhs.uk/England/CodeSystem/England-FlagCategoryPatient",
                            "code": "female-genital-mutilation-flag",
                            "display": "Female Genital Mutilation Flag"
                        }
                    ]
                },
                "subject": {
                    "reference": "Patient/PatientFlag-AlanMann-Example"
                }
            },
            "request": {
                "method": "PUT",
                "url": "Flag/FGM-PatientFlag-Example"
            }
        }
    ]
}