Actions18
- Condition Actions
- Custom API Call Actions
- Diagnostic Report Actions
- Encounter Actions
- Medication Statement Actions
- Observation Actions
- Patient Actions
Medication Statement → Get Many
AI-generatedSummary
Fetches medication statements for a specified patient from the OpenMRS FHIR R4 API. Choose whether to return all results or cap the response at a limit.
Inputs
- Patient ID (required) — The patient's UUID; sent as the FHIR
patientquery parameter. - Return All — When enabled, omits the result-count limit. When disabled, requests up to the configured Limit.
- Limit — Maximum number of results to request when Return All is disabled; defaults to 50, with a configured range of 1–100.
Output shape
A list of medication statement resources, with one n8n output item per returned resource.
Reads the
entryresources from the FHIR response bundle. An emptyentryarray raises a no-results error. Results are limited by the API's_countparameter when Return All is disabled; the node does not implement pagination to fetch additional pages.