Examples

Retrieve a specific Practitioner

This example demonstrates how to retrieve the Practitioner resource for a specific ID.
  1. Generate an access token by following the OAuth2 walkthrough
    1. The example below assumes you have been granted an access token of: aaaaa-bbbbb
  2. Confirm the ID of the Practitioner
    1. The example below assumes an ID of: fe486948-b6e2-4826-9a7a-f78cf671fea9
  3. Make the call as detailed below, replacing the access token and ID with your own values
  4. The Practitioner resource will be returned

Example Request

This example is written for sandbox.patientsknowbest.com; replace the URL as needed if you are connecting to a different environment.

ExampleDetails
Absolute URLhttps://sandbox.patientsknowbest.com/fhir/Practitioner/fe486948-b6e2-4826-9a7a-f78cf671fea9
curlcurl -X GET --header "Accept: application/fhir+json" --header "Authorization: Bearer aaaaa-bbbbb" "https://sandbox.patientsknowbest.com/fhir/Practitioner/fe486948-b6e2-4826-9a7a-f78cf671fea9"
Comments