Examples

Search for NamingSystem resources for a specific system value

This example demonstrates how to search for NamingSystem resources for a specific system value.
  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 system of the NamingSystem you are interested in (for example, as returned in the identifier element from a query to the Patient resource)
    1. The example below assumes a system of: urn:uuid:8978a687-cf0f-4cd9-b7e9-f29e76eb5f8d
  3. Make the call as detailed below, replacing the access token and search parameters with your own values
  4. The matching NamingSystem resource will be returned in the search results

Example Request

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

Example Details
Absolute URL https://sandbox.patientsknowbest.com/fhir/NamingSystem?value:exact=urn:uuid:8978a687-cf0f-4cd9-b7e9-f29e76eb5f8d
curl curl -X GET --header "Accept: application/fhir+json" --header "Authorization: Bearer aaaaa-bbbbb" "https://sandbox.patientsknowbest.com/fhir/NamingSystem?value:exact=urn:uuid:8978a687-cf0f-4cd9-b7e9-f29e76eb5f8d"
Comments