GET /locations/:location_id/patients
This endpoint retrieves patients for a specific location.Parameters
- location_id (required): The ID of the location for which patients are to be retrieved.
- after: A parameter to specify the cursor for pagination.
- items: A parameter to specify the number of items to be returned.
- The
q[first_treatment_performed_at]field determines whether a record qualifies as a new patient. To retrieve a list of new patients, you can specify a date range for this field using the example format provided. - The
q[fetch_modified_since]is used to capture the delta changes, pass the datetime in UTC as shown in example below
Response
- Content-Type: application/json

