Calling the API

We're in the final stretch. Follow the steps below to configure a provided GET request, and a provided POST request, which if both succeed you are running and ready to go.

Configure the requests

For any request you select from the included examples within the collection you will need to change the Type field within the Authorization tab to "Inherit auth from parent".

Test your settings

At this point you should be able to run any of the requests within the collection - being careful remembering to select "Inherit auth from parent" on any request before running it. But there are two provided requests that make this easy.

Within the collection you will see a number of folders containing various FHIR resource requests. One request at the bottom is "metadata Get".

Click on the "metadata Get" request, and then click "SEND". All going to plan you will receive back the Capability Statement for the Partner API, a key feature of a standards compliant FHIR API.

Next to ensure you have the ability to write to the API expand the Patient folder and select Patient Create

Click "SEND".

This performs a POST request and sends a single FHIR Patient resource. Going well you will receive a 201 Created response, and the body of your response will include the resource you just sent.

Last updated