OpenMRS icon

OpenMRS

Interact with OpenMRS FHIR R4 API

Actions18

Custom API Call → Custom API Call

AI-generated

Summary

Send an authenticated request to a custom OpenMRS endpoint using GET, POST, PUT, or DELETE, with optional query parameters. POST and PUT requests are sent without a request body.

Inputs

  • httpMethod — HTTP method: GET (default), POST, PUT, or DELETE.
  • endpoint (required) — Endpoint path appended directly to the credential's base URL, such as /ws/fhir2/R4/Patient (default). Include the leading slash.
  • queryParameters — Optional name/value pairs sent as query parameters. If a name appears more than once, the last value wins.

Output shape

One output item per input item containing the API's JSON response.

The response is returned unchanged: arrays and FHIR Bundle entries are not split into separate items. Pagination links are not followed. With Continue On Fail enabled, failed requests produce an item containing an error message.

Links

Discussion