OpenMRS icon

OpenMRS

Interact with OpenMRS FHIR R4 API

Actions18

Observation → Get Many

AI-generated

Summary

Retrieves Observation resources for a patient from the OpenMRS FHIR R4 API, optionally limiting the number returned.

Inputs

  • Patient ID (required) — Patient UUID used to filter observations.
  • Return All — When enabled, omits the result-count limit. Defaults to false.
  • Limit — Maximum results when Return All is disabled; defaults to 50 (UI range 1–100).

Output shape

A list of items, with each item containing an Observation resource.

Requests GET /ws/fhir2/R4/Observation with the patient UUID as the patient query parameter. When Return All is false, sends the limit as _count. If the response is a FHIR bundle, each entry's resource is returned separately; an empty bundle raises a no-results error. With Continue On Fail enabled, errors are returned as error items.

Links

Discussion