Enhancing Patient Education with AI-Powered Summaries in OpenMRS

Hello OpenMRS Community! :waving_hand:

At @Intellisoft we are exploring ways to improve patient education and health literacy using AI within OpenMRS-based systems. Many times patients leave clinical visits without fully understanding their diagnosis, treatment plans, or next steps—leading to poor adherence to prescribed treatment plans and poor health outcomes.

Project Overview

We have developed an AI-Powered Patient Education Module that integrates with OpenMRS to generate personalised, easy-to-understand clinical summaries for patients after their consultation. The process follows this workflow:

  1. Clinician records encounter details in OpenMRS (diagnosis, treatment plan, lab results).
  2. The clinician provides the patient with a physical consent form, explaining the purpose of the AI-generated health summary and obtaining their written consent.
  3. Patient reviews and signs the consent form if they agree to receive an AI-generated summary.
  4. If consent is granted, the clinician logs the consent in OpenMRS and proceeds with sending encounter details to the LLM.
  5. If the patient declines to consent, the clinician records the reason, and the AI summary is not generated.
  6. For consenting patients, encounter details are sent to the LLM, which generates a patient-friendly health summary in simple language.
  7. The clinician reviews and approves the AI-generated message before sharing it with the patient. If edits or revisions are needed, the clinician provides input.
  8. The approved summary is delivered via SMS (plan to expand this to email or WhatsApp)
  9. Visit is closed, and the patient leaves with a clear, personalized health summary to support treatment adherence and understanding.

Key Benefits

  • Improves patient understanding & adherence to treatment plans.
  • Reduces the clinician’s burden by automating patient education.
  • Integrates seamlessly with OpenMRS to enhance usability in real-world settings.

Seeking Community Feedback

We are in the process of testing and refining this approach and would love to hear your thoughts! Specifically, we would appreciate feedback on:

  1. Handling patient consent within OpenMRS-based implementations.
  2. Other use cases where patient education automation could be most impactful.
  3. Any interest from other implementers in piloting this feature in OpenMRS deployments.

We welcome any questions, insights, or suggestions from the community. Let’s collaborate to enhance patient-centred care using AI!

Looking forward to your thoughts. :rocket:

2 Likes

Would it be possible to also educate the patient about possible side effects of the prescribed drugs and how to deal with them? For instance i would love to know if the medication is going to make me a bit dizzy and hence i should try to avoid driving, i should take plenty of water, etc.

From a technical perspective, are you using any of the publicly available models, training and fine tuning it? I have some followup questions which would base on responses to this. Or may be we need a separate thread for the technical details. :wink:

2 Likes

The Team: @wanyee @michaelndula

Thank you for your feedback, David.

Yes, we could add S/E information. Our current limitation is how much we can include in the message, considering the delivery channel is SMS. We do not want the message to be too long and risk the patients ignoring it.

We are having the model generate messages focusing on patient vitals (if abnormal), diagnosis, tests performed, treatment plans, emergency signs to look out for and prevention strategies(if any).

1 Like

Fantastic demo on the Community Showcase today @terrybmochire ! Can you share the recorded video here?

Helpful screenshot of the demo:

We asked: “How challenging or easy was it for your team to connect this workflow with your local SMS provider? Did you have to pay/budget for SMS costs from the system?”

@nzomo shared: “Connecting the workflow to the SMS provider turned out to be much easier than we initially anticipated—it was quite seamless. However, we did need to subscribe to an SMS provider service to facilitate the integration and enable message delivery to the patients.”

1 Like

Do it also consider any allergies the patient possess, regarding to some particular drugs?