Reading Scanned documents into OpenMRS


Is there an already existing way(module) someone can read scanned documents, process them and later save the information into respective OpenMRS tables? I have a use case where clinicians are seeing patients using paper forms, then scan the form for processing. The goal is, one should be able to find the information in the OpenMRS for decision making and reporting needs.

Ideally, if there is anything that can interpret those check boxes, option buttons that are checked/shed and maybe link those to respective concepts, then push to the encounter/obs table would be helpful, and if it is NOT there, then suggestions on how I can achieve those will be great. @dkayiwa @darius @pascal @burke


@ningosi you could look into the Visit Documents module by @mksd for capturing and storing the images in the patient profile. Obviously transcription will be a different path

It has been refactored into ‘Attachments’ and version 2.0 shall be part of the Ref App!

@ningosi it doesn’t do anything like processing scanned documents though. But should you want to put that on its roadmap, let me know and we could discuss this further with the community. I suspect that it wouldn’t be a small piece of work…

@ningosi, I do not know of any existing work on processing and interpreting scanned documents. It would be cool, but as Dimitri says it will probably take a significant amount of work.

Can we discuss this in details during the OpenMRS conference in Malawi? If this feature is available, I assure you things will be good for OpenMRS @christine can we get time slot for this?

@ningosi I won’t attend the conference, so if you want to discuss the Attachments module specifically we will have to do it remotely.

@ningosi, I suggest that if you want to have a constructive conversation about this you should do some preliminary research to find existing open source libraries that could do some or all of the image recognition and scanning.

(Otherwise the outcome will be: could be done in theory but someone will have to write too much code.)


Is anyone scanning and extracting data from paper clinical forms that can then be uploaded into OpenMRS?

This isn’t a new idea but it’s gaining urgency. Some of our Haitian health facilities are without power as fuel prices skyrocket and supply is blocked by gangs/terrorist. We will be forced to collect data on paper and then enter retrospectively when power is restored. Scanning would make this much easier while we pray for peace.

1 Like

Seconding this! I know there have been attempts at scanning and extracting data from paper clinical forms in the past (including one effort from our group at Brown @hamish @ibacher: Digitization of Paper Medical Records). Would love to hear if others have found a solution for getting scanned/digitized information directly into OpenMRS.

1 Like

@sud is your tool open-source? If it was it could become a component of Ozone

Cc @mksrom @ibacher

@mksd Yes! It is entirely open source. Would love to find ways to integrate it with existing platforms. Currently it’s a standalone tool that users have to integrate with their systems. Do you know who would be best to chat with to start the conversation with the Ozone team?

1 Like

Me / @Mekom :wink:

Great news @sud - that’s the only requirement to enter the Ozone ecosystem :slight_smile:

Does it already support all standard authentication methods, namely OpenID Connect/OAuth 2? That would be great for the SSO, but that’s not a blocker to start integrating if not.

Hi @sud, is the project the one available through your own GitHub profile?