Actions18
- Condition Actions
- Custom API Call Actions
- Diagnostic Report Actions
- Encounter Actions
- Medication Statement Actions
- Observation Actions
- Patient Actions
Encounter → Get Many
AI-generatedSummary
Retrieve encounters for a patient from the OpenMRS FHIR R4 API, returning each encounter as a separate workflow item.
Inputs
- patientIdFilter (required) — Required patient UUID, sent as the patient search filter.
- returnAll — Defaults to false. When enabled, omits the page-size parameter; it does not fetch subsequent pages.
- limit — Page size requested when Return All is disabled. Defaults to 50; accepts 1–100. Sent as the FHIR _count parameter.
Output shape
A list of items, normally one FHIR Encounter resource per item.
Makes one request per input item without following pagination links. Bundle entries are extracted as individual resources; array responses are emitted item by item, and other responses are returned as a single item. An empty entry array raises an error. With Continue On Fail enabled, failures return an item containing an error message.