OpenFn's OpenMRS Adaptor v5.0.0 RELEASE !!!

:rocket: Introducing OpenFn’s OpenMRS Adaptor v5.0.0

Dear Community,

We’re thrilled to announce the release of the new OpenMRS Adaptor v5.0.0, designed to make your integrations faster, easier, and more flexible than ever.

You can read the full details here.


:wrench: New Features

1. Generic HTTP Request API

Write flexible jobs that interact with any OpenMRS API resource.

http.request("GET", "/ws/rest/v1/patient/d3f7e1a8-0114-4de6-914b-41a11fc8a1a8", {
  query: {
    limit: 1,
    startIndex: 20
  }
});

2. Versatile API Helpers

Use get, post, and destroy to interact with any OpenMRS resource.

destroy("patient/12346", {
  purge: true
});

3. Improved Documentation

  • State annotations for every function to show how state changes.
  • A comprehensive list of supported request parameters.
  • Cleaner, more helpful examples for APIs like upsert.

4. Paginated get Requests

Control page size and the number of records retrieved:

get("patient", { query: "brian", max: 100 });

:puzzle_piece: Example Workflow

Here’s a real-world example from our Solutions Engineer — a workflow that fetches encounters from OpenMRS, syncs them to a National Data Registry, and persists them in a Postgres database.


:white_check_mark: Try It Out

You’re entitled to a 2-hour free session with our Solutions Engineer to help build your first integration.

Happy automating!

— The OpenFn Team

9 Likes

Very cool - congrats and thank you OpenFn team! I especially love how you have shared this news in great, clear detail, on our community forum :folded_hands: :bouquet: Thank you very much!!

I’ve added a link to this thread in the OpenFn section of our integration catalog: om.rs/integrate

4 Likes