Create a new patient record
This example demonstrates how to create a new patient record.
Generate an access token by following the OAuth 2.0 walkthrough
The example below assumes you have been granted an access token of: eyJhbGxxxx
Confirm the ID of the Organization
The example below assumes you have an ID of: 235a397b-1ae8-4755-9c77-1a0e2fbc5314
Confirm the contents of the Patient resource
Make the call as detailed below, replacing the access token, organisation ID and Patient resource with your own values
This example is written for sandbox.patientsknowbest.com; replace the URL as needed if you are connecting to a different environment.
Note: whilst every effort has been made to ensure that the examples are correct and useful, they do not form part of the official specification.
Pretty-printed request body