Search for NamingSystem resources for a specific system value
This example demonstrates how to search for NamingSystem resources for a specific system value. - Generate an access token by following the OAuth 2.0 walkthrough
- The example below assumes you have been granted an access token of: aaaaa-bbbbb
- 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)
- The example below assumes a system of: urn:uuid:8978a687-cf0f-4cd9-b7e9-f29e76eb5f8d
- Make the call as detailed below, replacing the access token and search parameters with your own values
- The matching NamingSystem resource will be returned in the search results
Example requestThis 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" |
|
|