Search for radiology reports for a specific PatientThis 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. - 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 Patient reference of the desired Patient
- The example below assumes a reference of: Patient/3d8afd18-0844-459a-b3c2-355d02e54c0a
- Make the call as detailed below, replacing the access token and search parameters with your own values
- The matching DiagnosticReport resources 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/DiagnosticReport?category=http://fhir.patientsknowbest.com/codesystem/diagnosticreport-category|RADIOLOGY&patient=Patient/3d8afd18-0844-459a-b3c2-355d02e54c0a | curl | curl -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/3d8afd18-0844-459a-b3c2-355d02e54c0a" |
|
|