Search patients
nexhealth_search_patientsSearch patients within a location by name, email, phone, or date of birth. Patient search is always in a location context. GET /patients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Full or partial patient name. | |
| page | No | Page number (pagination). | |
| sort | No | Sort field/direction, e.g. name or -created_at. | |
| No | Patient email filter. | ||
| inactive | No | Include inactive patients. | |
| per_page | No | Items per page (pagination). | |
| subdomain | No | Institution subdomain. Defaults to NEXHEALTH_SUBDOMAIN if unset. | |
| location_id | Yes | Location id to search within (REQUIRED). | |
| phone_number | No | Patient phone number filter. | |
| date_of_birth | No | Patient date of birth, yyyy-mm-dd. |