Examples

Search for radiology reports for a specific Patient

This example demonstrates how search for radiology reports for a specific Patient.

Since radiology reports are mapped to DiagnosticReport resources with a PKB category of RADIOLOGY, this can be achieved by searching the DiagnosticReport type.
  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 Patient reference of the desired Patient
    1. The example below assumes a reference of: Patient/00000000-0000-0000-0000-000000000000
  3. Make the call as detailed below, replacing the access token and search parameters with your own values
  4. The matching DiagnosticReport resources will be returned in the search results
ExampleDetails
Relative URL/DiagnosticReport
Sandbox example 
Absolute URLhttps://sandbox.patientsknowbest.com/fhir/DiagnosticReport?category=http://fhir.patientsknowbest.com/codesystem/diagnosticreport-category|RADIOLOGY&patient=Patient/00000000-0000-0000-0000-000000000000
curlcurl -X GET --header "Accept: application/fhir+json" --header "Authorization: Bearer aaaaa-bbbbb" "https://sandbox.patientsknowbest.com/fhir/DiagnosticReport?category=http://fhir.patientsknowbest.com/codesystem/diagnosticreport-category|RADIOLOGY&patient=Patient/00000000-0000-0000-0000-000000000000

Comments