---
title: "Aggregated Endpoint Searching"
canonical: "https://wiki.patientsknowbest.com/space/api/5016846398/Aggregated%20Endpoint%20Searching"
format: markdown
---
This page describes custom search parameters PKB supports, in addition to [regular FHIR search capabilities](https://www.hl7.org/fhir/R4/search.html).

| **Resource Type** | **Name** | **Type** | **Description** | **Expression** | **Example** |
| --- | --- | --- | --- | --- | --- |
| Patient | managing-organization | reference - **the only allowed format is** `Organization/4a642df6-48f4-4845-ad41-915b56c8be23` | A downstream Organization that manages the patient | ```
Patient.extension.where(url = 'https://fhir.patientsknowbest.com/structuredefinition/managing-organization').extension.where(url = 'managing-organization-downstream')
``` | ```
GET /fhir/Patient?managing-organization=Organization/4a642df6-48f4-4845-ad41-915b56c8be23
``` |