{ 
  "resourceType": "Bundle",
  "id": "service-endpoints-r4",
  "type": "collection",
  "entry": [
    {
      "fullUrl" : "https://myfirm.com/base/Endpoint/example-endpoint-1",
      "resource": {
        "resourceType": "Endpoint",
        "id": "example-endpoint-1",
        "name" : "Example 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": "<%= service/base/url %>/custom/service_base_url/examples/CapabilityStatement"
      }
    },
    {
      "fullUrl" : "https://example.com/base/Organization/example-organization-1",
      "resource": {
        "resourceType": "Organization",
        "id": "example-organization-1",
        "name": "Demo Medical Center 1",
        "active": true,
        "identifier": [
          {
            "system": "http://hl7.org/fhir/sid/us-npi",
            "value": "1407071236"
          }
        ],
        "address": [
          {
            "line": [
              "1234 Fake St"
            ],
            "city": "Springfield",
            "state": "MA",
            "postalCode": "43926-0428",
            "country": "United States of America"
          }
        ],
        "endpoint": [
          {
            "reference": "Endpoint/example-endpoint-1"
          }
        ]
      }
    }
  ]
}
