Developer documentation‎ > ‎FHIR REST API‎ > ‎Resources‎ > ‎Consent‎ > ‎

Examples

Retrieve Consent resources for a specific Patient

This example demonstrates how to search for Consent resources for a known Patient.

The example assumes the Resource ID of the Patient is: 00000000-0000-0000-0000-000000000000

Example Details
Relative URL /Consent?patient=Patient/<ID>
Sandbox example  
Absolute URL https://sandbox.patientsknowbest.com/fhir/Consent?patient=Patient/00000000-0000-0000-0000-000000000000
curl curl -X GET --header "Accept: application/fhir+json" --header "Authorization: Bearer <your access token>" "https://sandbox.patientsknowbest.com/fhir/Consent?patient=Patient/00000000-0000-0000-0000-000000000000"
Comments