OpenMRS icon

OpenMRS

Interact with OpenMRS FHIR R4 API

Actions18

Patient → Search by Phone

AI-generated

Summary

Search OpenMRS FHIR R4 patients by sending a phone number as the Patient endpoint's telecom search parameter. Return matching patient resources as separate n8n items.

Inputs

  • phone (required) — Required phone number, passed unchanged as the telecom query parameter; the node does not normalize its format.
  • returnAll — Defaults to false. When true, omits the _count parameter, but does not follow pagination links to retrieve all pages.
  • limit — Shown when Return All is false. Sets the requested page size through _count; defaults to 50, with a UI range of 1–100.

Output shape

A list of items, normally one FHIR Patient resource per matching Bundle entry.

Only one request is made per input item; pagination links and Bundle metadata are discarded. An empty entry array raises an error. Array responses are emitted item by item, and responses without entry are emitted whole. With Continue On Fail enabled, errors become items containing an error message.

Links

Discussion