Re: [HAPI-devel] Create HL7 message example

2014-05-29 Thread James Agnew
Hi Sara, This is probably a similar issue to the other one you had, where OpenMRS is importing an older version of a libaray (in this case, slf4j). The easiest fix here might be to remove the SLF4j and log4j dependencies from your pom entirely (since they are being pulled already by OpenMRS) and a

[HAPI-devel] Create HL7 message example

2014-05-28 Thread Sara Fatima
Hi all, I am trying to make this sample work ( http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/CreateAMessage.html ) When I run this as an individual java file I get the correct results. However I need to use HAPI in my module and hence I am trying to write the createMessage method in my