Example to illustrate a batch get bundle

Table View

Bundle.id[0]UKCore-Bundle-Batch-Example
Bundle.type[0]batch
Bundle.entry[0].request[0].method[0]GET
Bundle.entry[0].request[0].url[0]https://fhir.hl7.org.uk/Patient/example
Bundle.entry[1].request[0].method[0]GET
Bundle.entry[1].request[0].url[0]https://fhir.hl7.org.uk/Condition?patient=example
Bundle.entry[2].request[0].method[0]GET
Bundle.entry[2].request[0].url[0]https://fhir.hl7.org.uk/MedicationStatement?patient=example

XML View

<Bundle xmlns="http://hl7.org/fhir">
    <id value="UKCore-Bundle-Batch-Example" />
    <type value="batch" />
    <entry>
        <request>
            <method value="GET" />
            <url value="https://fhir.hl7.org.uk/Patient/example" />
        </request>
    </entry>
    <entry>
        <request>
            <method value="GET" />
            <url value="https://fhir.hl7.org.uk/Condition?patient=example" />
        </request>
    </entry>
    <entry>
        <request>
            <method value="GET" />
            <url value="https://fhir.hl7.org.uk/MedicationStatement?patient=example" />
        </request>
    </entry>
</Bundle>

JSON View

{
    "resourceType": "Bundle",
    "id": "UKCore-Bundle-Batch-Example",
    "type": "batch",
    "entry":  [
        {
            "request": {
                "method": "GET",
                "url": "https://fhir.hl7.org.uk/Patient/example"
            }
        },
        {
            "request": {
                "method": "GET",
                "url": "https://fhir.hl7.org.uk/Condition?patient=example"
            }
        },
        {
            "request": {
                "method": "GET",
                "url": "https://fhir.hl7.org.uk/MedicationStatement?patient=example"
            }
        }
    ]
}