<Endpoint xmlns="http://hl7.org/fhir">
  <id value="exampleendpointbars" />
  <extension url="http://hl7.org/fhir/5.0/StructureDefinition/extension-Endpoint.environmentType">
    <valueCodeableConcept>
      <coding>
        <system value="http://hl7.org/fhir/endpoint-environment" />
        <code value="staging" />
      </coding>
    </valueCodeableConcept>
  </extension>
  <identifier>
    <system value="http://example.org/endpoint-identifier" />
    <value value="bars12" />
  </identifier>
  <status value="active" />
  <connectionType>
    <system value="http://terminology.hl7.org/CodeSystem/endpoint-connection-type" />
    <code value="hl7-fhir-rest" />
  </connectionType>
  <name value="BaRS Hub" />
  <managingOrganization>
    <identifier>
      <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
      <value value="R778" />
    </identifier>
  </managingOrganization>
  <contact>
    <system value="email" />
    <value value="endpointmanager@example.org" />
    <use value="work" />
  </contact>
  <period>
    <start value="2026-03-02" />
  </period>
  <payloadType>
    <coding>
      <system value="http://hl7.org/fhir/resource-types" />
      <code value="CarePlan" />
    </coding>
  </payloadType>
  <address value="http://fhir3.healthintersections.com.au/open/CarePlan" />
  <!--   Not a valid bearer token, but is here for demonstration purposes   -->
  <header value="bearer-code BASGS534s4" />
</Endpoint>