In order to connect to Edifecs Bluebutton 2.0 Sandbox server, you need to implement the OAuth 2.0 Client Credential Grant Type.
Use the following credentials to get your access token:
Note: token expires within 300 seconds (5 minutes), if you are getting 401 chances are you need to renew the token
Once you obtain your access token you can query the resource server for the infromation. Resource server is located at http://services-uswest.skytap.com:27537/rest
In order to get the CapabilityStatement use GET for URL http://services-uswest.skytap.com:27537/rest/metadata
Example query to get the patient information: http://services-uswest.skytap.com:27537/rest/Patient?given=Amanda
At the bottom section of UI you should see the FHIR resource with the CompatibilityStatement