barcode reader for openmrs

5 views
Skip to first unread message

awanth sen

unread,
Oct 10, 2013, 4:20:19 AM10/10/13
to d...@openmrs.org

Hi,

I want to integrate a barcode reader for openmrs for patient identification is there any module available supporting this? I came across the registration module but the documentation says it is still under development, will the available version be sufficient to handle my requirement? i am also considering the possibility of integrating a fingerprint scanner. 

is there any restrictions in buying the hardware or does it support all types of scanners? also i couldnt find any fingerprint scanner that supports ubuntu platform. 

i can go with either of the two which ever is rightly avaiable

thanks

Saptarshi Purkayastha

unread,
Oct 10, 2013, 4:44:33 AM10/10/13
to d...@openmrs.org
Barcode readers work similar to keyboards in their input... So you will not need a different module. The search from OpenMRS web application should be good to use with a barcode reader.

With regard to the fingerprint scanner, you can use the registration module with DigitalPersona's fingerprint scanner. The fingerprint-related source files are in C# and can be found here: http://svn.openmrs.org/openmrs-modules/registration/trunk/fingerprint-apps/
These need to be compiled against the DigitalPersona SDK and then used. There is no generic SDK for fingerprints (atleast till when I was developing this in 2010) with acceptable performance. Thus, C# and DigitalPersona's SDK was used. Possibly someone with current experience could share their thoughts and experience of fingerprint identification with OpenMRS.

---
Regards,
Saptarshi PURKAYASTHA

Date: Thu, 10 Oct 2013 01:20:19 -0700
From: wnthk...@gmail.com
To: d...@openmrs.org
Subject: barcode reader for openmrs
--
OpenMRS Developers: http://go.openmrs.org/dev
Post: d...@openmrs.org | Unsubscribe: dev+uns...@openmrs.org
Manage your OpenMRS subscriptions at https://id.openmrs.org/

To unsubscribe from this group and stop receiving emails from it, send an email to dev+uns...@openmrs.org.

awanth sen

unread,
Oct 10, 2013, 4:51:41 AM10/10/13
to d...@openmrs.org
you mean i dont have to have the registration module to integrate the barcode reader? it will just work fine even without it? 
OR 
i can put the registration module and have the biometric scanner integrated? what is the digitalpersona is it an SDK? the site says it is a development tool. is it the middle ware which connects the scanner to the system? 

in that case it would be much easier to go with the barcode scanner isn't it? 
thanks 

Regards 
Awanthika
--
------------------------------------------------------------------------------------------->>
AWANTHIKA SENARATH
Undergraduate
Department of Electronics and Telecommunication Engineering
University of Moratuwa

Saptarshi Purkayastha

unread,
Oct 10, 2013, 5:11:20 AM10/10/13
to d...@openmrs.org
Yes, you will not need the registration module to use a barcode reader.

The DigitalPersona SDK is Software Development Kit, which comes with required libraries to interface with DigitalPersona's hardware. It also provides required drivers for different OS platforms. You will need to compile against the SDK to create the binaries for fingerprint related OS service etc.

---
Regards,
Saptarshi PURKAYASTHA

Date: Thu, 10 Oct 2013 14:21:41 +0530
Subject: Re: barcode reader for openmrs
From: wnthk...@gmail.com
To: d...@openmrs.org

Shangeetha

unread,
Oct 10, 2013, 5:13:48 AM10/10/13
to d...@openmrs.org
Is that DigitalPersona SDK supportive to ubuntu machine because client machines in  hospitals in our network are running on ubuntu OS
Shangeetha Sivasothy,
Undergraduate, 
Department of Electronics and Telecommunication Engineering,
University of Moratuwa

awanth sen

unread,
Oct 10, 2013, 5:14:06 AM10/10/13
to d...@openmrs.org
yes, i checked that site. but i think its cost makes it out of bound for us. so i would prefer to go with the barcode option. Can you also tell me how the barcode printer would work in this case? since to have the reader we need to get the patient specific barcode printed. what is the module we need to have to make this possible?

Thanks
Awanthika

awanth sen

unread,
Oct 10, 2013, 5:15:21 AM10/10/13
to d...@openmrs.org
it does, but it costs $249. i think we can put that as a future enhancement and go with the barcode for now. i checked the site. it gives the development kit, we need to put that and get the deployment version to support ubuntu.

Saptarshi Purkayastha

unread,
Oct 10, 2013, 5:21:25 AM10/10/13
to d...@openmrs.org
Hi Shangeetha,

You will have to make some changes to the code that I have in the repository.
My code was C# and specifically designed to work with a Windows Server because that was our need back then. Since it compiles as a win32 binary and deployed as a startup service, it can't be used on Linux as is.

The DigitalPersona SDK provides C++ and Java bindings as well and can be used on all platforms including Linux. You will have to make some changes to existing code to use it with Ubuntu.

---
Regards,
Saptarshi PURKAYASTHA

Date: Thu, 10 Oct 2013 14:43:48 +0530

Subject: Re: barcode reader for openmrs

awanth sen

unread,
Oct 10, 2013, 6:02:40 AM10/10/13
to d...@openmrs.org
hi,

could you also explain to me how to integrate the barcode printer into the system?

thanks
regards
awanthika

Shangeetha

unread,
Oct 10, 2013, 7:38:13 AM10/10/13
to d...@openmrs.org
Saptarshi,

You have developed SDK for bar -code reader side, if i am not wrong. So how bar-code printer side works?

Thanks 

Saptarshi Purkayastha

unread,
Oct 10, 2013, 8:06:31 AM10/10/13
to d...@openmrs.org
Like I said, you don't need any SDK
It works just as a keyboard works. Connect your barcode reader and scan a barcode. It will type the input into a textfield.
That's all that there is...

---
Regards,
Saptarshi PURKAYASTHA

Date: Thu, 10 Oct 2013 17:08:13 +0530

awanth sen

unread,
Oct 10, 2013, 9:47:33 AM10/10/13
to d...@openmrs.org
Hi,
yes the reader would work, but how to integrate the printer? since we need to give patient specific barcodes generated as ID. Will we be needing a module for that?

thanks in advance for your help.
awanthika

Kari Schoonbee

unread,
Oct 15, 2013, 9:33:00 AM10/15/13
to d...@openmrs.org
Hi Awanthika

This document should help. The code is in the registration module, but if you don't need the rest of the module you can take it out and place a link on the patient dashboard that downloads the barcode. 

https://wiki.openmrs.org/display/docs/Barcode+Printing

The documentation is for Ubuntu, but I'm sure you can do the same on Windows using a .bat file. Copying the .epl file to the printer prints your barcode.

Otherwise this module also does barcode printing on Windows, but the printing has to be done from the PC running OpenMRS.

Regards
Kari

Shangeetha

unread,
Oct 15, 2013, 9:38:58 AM10/15/13
to d...@openmrs.org
Hi Kari,

What is the reason behind the wording "Printing has to be done from the PC running OpenMRS"?

In our project, we have implemented OpenMRS 1.9.3 and other clients will establish a connection to that server using the given user name and password. So if we run bar code printer setup as per given link by you, won't be able to do required task successfully?

Many thanks

Friedman, Roger (CDC/CGH/DGHA) (CTR)

unread,
Oct 15, 2013, 9:42:49 AM10/15/13
to d...@openmrs.org

This is to say that a printer attached to a user's PC will not work (without further configuration).  The printer has to be defined on the OMRS server.  This can be a network-ready printer which has been defined on the server or a printer attached to a local PC which has been shared as a network printer and defined on the server.

Shangeetha

unread,
Oct 15, 2013, 10:01:37 AM10/15/13
to d...@openmrs.org
Friedman, Roger,

Yeah then that's fine. That's what we want as well.

Many thanks

Kari Schoonbee

unread,
Oct 15, 2013, 10:21:51 AM10/15/13
to d...@openmrs.org
Yes, indeed, that just means the printer is installed on the server side.

If you use the jembi-registration module all you would have to do is to install the printer as a Generic Text Printer in Windows and configure the global properties as per the Readme.

Kari

Shangeetha

unread,
Oct 15, 2013, 11:32:43 AM10/15/13
to d...@openmrs.org
Kari,

We are running application server and hosts on Ubuntu platform. Currently we have not integrated any registration module to our implemented openMRS 1.9.3.

So, do you prefer us to integrate jembi-registration module?

Many thanks

Shangeetha

unread,
Oct 15, 2013, 11:57:29 AM10/15/13
to d...@openmrs.org
Kari,

We integrated jembi registration module, cloned from following git url.

https://github.com/jembi/openmrs-module-jembiregistration

When we tried to start module, it says following error

Error while trying to start module
Module requires at least version 1.9.3,  Current code version is only 1.9.0.27760
 ** org.openmrs.module.ModuleUtil.checkRequiredVersion(ModuleUtil.java:328)
 ** org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:487)
 ** org.openmrs.api.context.Daemon$1.run(Daemon.java:57)

Can you please help us fixing on this error? 

Many thanks

Kari Schoonbee

unread,
Oct 15, 2013, 12:13:48 PM10/15/13
to d...@openmrs.org
The Jembi Registration module unfortunately does not support Ubuntu at this stage. This is unrelated to the error you're seeing, but the printer did not work when we briefly tested it on Ubuntu.

The error you're seeing is just the required version of OpenMRS that's specified in the pom.xml file. We have only tested on 1.9.3 but you should be able to change it to 1.9.0 and run it without a problem. There are no guarantees that the printing will work though.

Kari

Shangeetha

unread,
Oct 15, 2013, 7:33:57 PM10/15/13
to d...@openmrs.org
Kari,

Ok that's fine. Can you please suggest us any bar code module that will work in Ubuntu platform?

Many thanks

awanth sen

unread,
Oct 15, 2013, 11:50:18 PM10/15/13
to d...@openmrs.org
Hi Kari,

As you are saying for Ubuntu we have to use the Ruwanda Primary care module i believe? and then install our printer as "a Generic/Text printer in Ubuntu instead of using the Zebra drivers" as you have commented at the end of the page. so you suggest that any barcode printer would work?  Also we have already installed the registration module with our openmrs. so you suggest that we remove it in installing the Ruwanda primary care module?

really appreciate your support
Awanthika

Kari Schoonbee

unread,
Oct 16, 2013, 3:27:05 AM10/16/13
to d...@openmrs.org
Hi Awanthika

The Rwanda Primary Care module contains a lot of functionality that is Rwanda specific and it also completely overrides the default OpenMRS UI with a touch screen interface, so you probably don't want all of that.

Maybe the PIH registration module (version1.x) will be closer to what you're looking for, I think it shares the Barcode printing code with the Rwanda Primary Care module, so the setup will be the same as explained in the wiki page. Otherwise it's probably better to create your own fork of the module and customise it for your own needs. Remember that both this module and the Rwanda Primary Care module does the printing on the client side.

https://github.com/PIH/openmrs-module-patientregistration/tree/1.x

Regards

Kari Schoonbee
Software Engineer - Jembi Health Systems | SOUTH AFRICA
Mobile: +27 83 488 3025 | Office: +27 21 701 0939
E-mail: ka...@jembi.org
> Date: Thu, 10 Oct 2013 17:08:13 +0530
>
>
> Subject: Re: barcode reader for openmrs
> From: shange...@gmail.com
> To: d...@openmrs.org
>
> Saptarshi,
>
>
>
> You have developed SDK for bar -code reader side, if i am not wrong. So how bar-code printer side works?
>
>
>
> Thanks
>
>
>
> On Thu, Oct 10, 2013 at 2:51 PM, Saptarshi Purkayastha <sun...@gmail.com> wrote:
>
> Hi Shangeetha,
>
> You will have to make some changes to the code that I have in the repository.
> My code was C# and specifically designed to work with a Windows Server because that was our need back then. Since it compiles as a win32 binary and deployed as a startup service, it can't be used on Linux as is.
>
> The DigitalPersona SDK provides C++ and Java bindings as well and can be used on all platforms including Linux. You will have to make some changes to existing code to use it with Ubuntu.
>
> ---
> Regards,
> Saptarshi PURKAYASTHA
>
> Date: Thu, 10 Oct 2013 14:43:48 +0530
>
>
> Subject: Re: barcode reader for openmrs
>
> From: shange...@gmail.com
> To: d...@openmrs.org
>
>
>
> Is that DigitalPersona SDK supportive to ubuntu machine because client machines in hospitals in our network are running on ubuntu OS
>
>
>
> On Thu, Oct 10, 2013 at 2:41 PM, Saptarshi Purkayastha <sun...@gmail.com> wrote:
>
> Yes, you will not need the registration module to use a barcode reader.
>
> The DigitalPersona SDK is Software Development Kit, which comes with required libraries to interface with DigitalPersona's hardware. It also provides required drivers for different OS platforms. You will need to compile against the SDK to create the binaries for fingerprint related OS service etc.
>
> ---
> Regards,
> Saptarshi PURKAYASTHA
>
> Date: Thu, 10 Oct 2013 14:21:41 +0530
> Subject: Re: barcode reader for openmrs
> From: wnthk...@gmail.com
> To: d...@openmrs.org
>
>
>
> you mean i dont have to have the registration module to integrate the barcode reader? it will just work fine even without it?
>
> OR
>
> i can put the registration module and have the biometric scanner integrated? what is the digitalpersona is it an SDK? the site says it is a development tool. is it the middle ware which connects the scanner to the system?
>
>
>
> in that case it would be much easier to go with the barcode scanner isn't it?
>
> thanks
>
>
>
> Regards
>
> Awanthika
>
>
>
> On Thu, Oct 10, 2013 at 2:14 PM, Saptarshi Purkayastha <sun...@gmail.com> wrote:
>
> Barcode readers work similar to keyboards in their input... So you will not need a different module. The search from OpenMRS web application should be good to use with a barcode reader.
>
> With regard to the fingerprint scanner, you can use the registration module with DigitalPersona's fingerprint scanner. The fingerprint-related source files are in C# and can be found here: http://svn.openmrs.org/openmrs-modules/registration/trunk/fingerprint-apps/
> These need to be compiled against the DigitalPersona SDK and then used. There is no generic SDK for fingerprints (atleast till when I was developing this in 2010) with acceptable performance. Thus, C# and DigitalPersona's SDK was used. Possibly someone with current experience could share their thoughts and experience of fingerprint identification with OpenMRS.
>
> ---
> Regards,
> Saptarshi PURKAYASTHA
>

Shangeetha

unread,
Oct 16, 2013, 3:35:33 AM10/16/13
to d...@openmrs.org
Hi Kari,

We will clone the code from the given link and create omod file and check what is happening with our implemented OpenMRS Application.

Regards
Reply all
Reply to author
Forward
0 new messages