Stenci icon

Stenci

Interact with Stenci API - Healthcare Management Platform

Actions17

Patient → Get Many

AI-generated

Summary

Retrieve patients with optional filters and pagination.

Inputs

  • returnAll — When true, return all matching patients without applying a limit; otherwise the limit parameter controls the maximum number of results.
  • limit — Maximum number of patients to return when returnAll is false; must be between 1 and 100; defaults to 50.
  • filters — Collection of filter criteria; supports search (by patient name), active (boolean), birthDate (YYYY‑MM‑DD), and identity (document number).

Output shape

a list of patient objects

The response contains the patient records returned by the Stenci API; results may be paginated when a limit is set, and all matching records are returned when returnAll is true.

Examples

Example 1: Fetch all active patients

returnAll=true; filters.active=true

Example 2: Retrieve up to 20 patients named 'John'

limit=20; filters.search=John

Example 3: Get patients born on 1996-02-16

filters.birthDate=1996-02-16; limit=50

Discussion