OpenMRS icon

OpenMRS

Interact with OpenMRS FHIR R4 API

Actions18

Patient → Get Many

AI-generated

Summary

Retrieve Patient resources from the OpenMRS FHIR R4 API. Choose whether to return all results or cap the response at a specified limit.

Inputs

  • Return All — When enabled, requests all results. Defaults to false.
  • Limit — Maximum number of results to return when Return All is disabled. Defaults to 50; the UI permits values from 1 to 100.

Output shape

A list of Patient resources, with each resource returned as a separate n8n item.

The node sends a GET request to the FHIR Patient endpoint. When Return All is disabled, it sends the limit as the _count query parameter. An empty FHIR Bundle entry list raises a no-results error; with Continue On Fail enabled, errors are returned as items containing an error field.

Links

Discussion