{
    "resourceType": "Bundle",
    "id": "endpoints-r4",
    "type": "collection",
    "entry": [
        {
            "fullUrl": "https://fhir.phemr.co:9443/fhirserver/fhir/Endpoint/endpoint-1",
            "resource": {
                "resourceType": "Endpoint",
                "id": "endpoint-1",
                "name": "Endpoint 1",
                "status": "active",
                "connectionType": {
                    "system": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type",
                    "code": "direct-project"
                },
                "payloadType": [
                    {
                        "coding": [
                            {
                                "system": "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode",
                                "code": "urn:hl7-org:sdwg:ccda-structuredBody:1.1"
                            }
                        ]
                    }
                ],
                "address": "https://fhir.phemr.co:9443/fhirserver/fhir/"
            }
        },
        {
            "fullUrl": "https://fhir.phemr.co:9443/fhirserver/fhir/Organization/1811435a7ea-7a1b883e-e0f0-4cb2-b938-4b6fd8d60f0c",
            "resource": {
                "resourceType": "Organization",
                "id": "1811435a7ea-7a1b883e-e0f0-4cb2-b938-4b6fd8d60f0c",
                "identifier": [
                    {
                        "system": "http://hl7.org/fhir/sid/us-npi",
                        "value": "1376083733"
                    }
                ],
                "active": true,
                "name": "PCP170967",
                "telecom": [
                    {
                        "system": "phone",
                        "value": "413-221-0546"
                    }
                ],
                "address": [
                    {
                        "line": [
                            "1111 ELM ST"
                        ],
                        "city": "WEST SPRINGFIELD",
                        "state": "MA",
                        "postalCode": "01089-1540",
                        "country": "US"
                    }
                ],
                "endpoint": [
                    {
                        "reference": "Endpoint/endpoint-1"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://fhir.phemr.co:9443/fhirserver/fhir/Endpoint/endpoint-2",
            "resource": {
                "resourceType": "Endpoint",
                "id": "endpoint-2",
                "name": "Endpoint 1",
                "status": "active",
                "connectionType": {
                    "system": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type",
                    "code": "direct-project"
                },
                "payloadType": [
                    {
                        "coding": [
                            {
                                "system": "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode",
                                "code": "urn:hl7-org:sdwg:ccda-structuredBody:1.1"
                            }
                        ]
                    }
                ],
                "address": "https://fhir.phemr.co:9443/fhirserver/fhir/"
            }
        },
        {
            "fullUrl": "https://fhir.phemr.co:9443/fhirserver/fhir/Organization/1938b437712-b3b975bd-8c23-4bc1-bdbb-78417b3df344",
            "resource": {
                "resourceType": "Organization",
                "id": "1938b437712-b3b975bd-8c23-4bc1-bdbb-78417b3df344",
                "identifier": [
                    {
                        "system": "http://hl7.org/fhir/sid/us-npi",
                        "value": "1407071210"
                    }
                ],
                "active": true,
                "name": "PCP170968",
                "telecom": [
                    {
                        "system": "phone",
                        "value": "413-221-0546"
                    }
                ],
                "address": [
                    {
                        "line": [
                            "254 Lueilwitz Lodge"
                        ],
                        "city": "Larsonport",
                        "state": "CA",
                        "postalCode": "40378-1800",
                        "country": "United States of America"
                    }
                ],
                "endpoint": [
                    {
                        "reference": "Endpoint/endpoint-2"
                    }
                ]
            }
        }
    ]
}