OpenMRS icon

OpenMRS

Interact with OpenMRS FHIR R4 API

Actions18

Condition → Get Many

AI-generated

Summary

Fetches Condition resources for a specified patient from the OpenMRS FHIR R4 API. You can return all matches or cap the results with a limit.

Inputs

  • Patient ID (required) — The patient UUID used to filter Conditions.
  • Return All — When enabled, requests all matching Conditions. When disabled, the node sends the Limit as the FHIR _count parameter.
  • Limit — Maximum number of results to request when Return All is disabled; defaults to 50, with a declared range of 1–100.

Output shape

A list of items, one per returned Condition resource.

Each item contains the resource in json. If the API returns a FHIR Bundle, the node extracts each entry's resource; an empty Bundle raises a no-results error. The node requests results from /ws/fhir2/R4/Condition with the patient UUID as the patient query parameter.

Links

Discussion