java, hl7 and openmrs

1 view
Skip to first unread message

Hugo Valdovinos

unread,
Jan 21, 2013, 4:25:38 PM1/21/13
to d...@openmrs.org
Hi everyone, I've been trying to send a message from Java to Openmrs to create a patient visit. I've been searching and I know I need to use a HL7 message to do it. As a matter of fact, I found the library HAPI but I have no idea how to use it with Openmrs. So, Could you please tell me, how can I configure Openmrs to accept this messages from my java aplication. I mean how to create my own message HL7 with my own data.

Darius Jazayeri

unread,
Jan 21, 2013, 6:47:56 PM1/21/13
to dev
Hi Hugo,

Is it a requirement of yours to use HL7?

If you're writing Java code, and you want to create a patient visit in an OpenMRS database, the standard approach would be to use the Java API. Alternately, if it's part of a distributed system, you could consider REST Web Services. (Peeking at the documentation it looks like the RESTWS module doesn't currently support Visits, but this would be straightforward to add.)

-Darius


On Mon, Jan 21, 2013 at 1:25 PM, Hugo Valdovinos <hugo...@gmail.com> wrote:
Hi everyone, I've been trying to send a message from Java to Openmrs to create a patient visit. I've been searching and I know I need to use a HL7 message to do it. As a matter of fact, I found the library HAPI but I have no idea how to use it with Openmrs. So, Could you please tell me, how can I configure Openmrs to accept this messages from my java aplication. I mean how to create my own message HL7 with my own data.

--
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/
 
 

sateesh...@gmail.com

unread,
Jan 21, 2013, 10:54:55 PM1/21/13
to d...@openmrs.org

The Web services extension module supports visits


--

Sateesh

Darius Jazayeri

unread,
Jan 22, 2013, 12:36:47 AM1/22/13
to dev
Good to know.

The documentation page on the wiki ( https://wiki.openmrs.org/x/sgc3AQ ) doesn't list this.

I think we need to ensure that our release processes for new versions of the RESTWS and 19ext modules to ensure that we update the documentation.

-Darius

Hugo Valdovinos

unread,
Jan 22, 2013, 10:33:29 AM1/22/13
to d...@openmrs.org
thanks i will check it.
Reply all
Reply to author
Forward
0 new messages