[HAPI-devel] Hapi over http: Response Exception

2014-07-30 Thread Sara Fatima
e with this? Thanks & Regards Sara Fatima -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the fu

Re: [HAPI-devel] Sending over HTTP issues

2014-07-23 Thread Sara Fatima
.hoh.raw.client.AbstractRawClient.sendAndReceive(AbstractRawClient.java:279) at ca.uhn.hl7v2.hoh.raw.client.HohRawClientSimple.sendAndReceive(HohRawClientSimple.java:55) at ca.uhn.hl7v2.hoh.hapi.client.AbstractClient.sendAndReceiveMessage(AbstractClient.java:161) Could you suggest what could be going wrong? Thanks & Regards

[HAPI-devel] Sending over HTTP issues

2014-07-22 Thread Sara Fatima
p; Regards Sara Fatima -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's larg

Re: [HAPI-devel] Problem sending HL7 over HTTP

2014-07-19 Thread Sara Fatima
Here is the dependency tree \Users\SARA\IHEModule\IHEInteroperability>mvn dependency:tree [INFO] Scanning for projects... [INFO] [INFO] Reactor Build Order: [INFO] [INFO] IHEInteroperability Module [INFO] IHEInteroperabil

[HAPI-devel] Problem sending HL7 over HTTP

2014-07-19 Thread Sara Fatima
d someone guide me where I could probably be going wrong in using this example? Thanks & Regards Sara Fatima -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with

Re: [HAPI-devel] Hl7 over HTTP

2014-07-18 Thread Sara Fatima
Hi James, I am trying to add the exclusion. Meanwhile I also did a mvn dependency:tree and here is what I got. C:\Users\SARA\IHEModule\IHEInteroperability>mvn dependency:tree [INFO] Scanning for projects... [INFO] [I

[HAPI-devel] Hl7 over HTTP

2014-07-16 Thread Sara Fatima
) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:221) at ca.uhn.hl7v2.hoh.raw.client.AbstractRawClient.(AbstractRawClient.java:54) at ca.uhn.hl7v2.hoh.hapi.client.HohClientSimple.(HohClientSimple.java:40) Could someone guide me how I could overcome this

Re: [HAPI-devel] Sending hl7 message over http

2014-07-15 Thread Sara Fatima
er parser = PipeParser.getInstanceWithNoValidation(); Could you tell me where I could be going wrong? Regards Sara Fatima On Tue, Jul 15, 2014 at 9:41 PM, James Agnew wrote: > Hi Sara, > > HTTP support is currently in a separate JAR which you can include in your > pom.xml and use. Here is a fa

[HAPI-devel] Sending hl7 message over http

2014-07-15 Thread Sara Fatima
I need to send over HTTP. Could someone guide me with any sample which sends PIX (ie. hl7 A01 type message) message over HTTP. I am using HAPI 2.0. Regards Sara Fatima -- Want fast and easy access to all the code i

Re: [HAPI-devel] Error sending message

2014-06-26 Thread Sara Fatima
pam.patientsReceivedByPDC&actor=PDC&cid=7786>. But here I cannot see the patient which I created, is it because of the Error field which is received as response? Thanks & Regards Sara Fatima On Thu, Jun 26, 2014 at 4:23 PM, Eric Poiseau wrote: > Sara Fatima > > You MSH

[HAPI-devel] Error sending message

2014-06-26 Thread Sara Fatima
> MSH|^~\&|TestSendingSystem||PAMSimulator^A05^ADT > A05|20140626150246|P|2.5.1|123 > PID||71|||Barber^Steve|^ABVGJ|&13 Park > Street^^Ina^ANB^7899^INHJ|^MARRIED|||Hyd|||^Indian Thanks & Regards Sara Fatima -

Re: [HAPI-devel] Send message to PAMSimulator

2014-06-23 Thread Sara Fatima
s the regular expression (\+|\-)?\d*\.?\d*: Segment: ERR Field > #2 > at ca.uhn.hl7v2.model.AbstractPrimitive.setValue(AbstractPrimitive.java:89) > at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:408) > at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:351) Thanks & Regards Sara Fa

Re: [HAPI-devel] Send message to PAMSimulator

2014-06-23 Thread Sara Fatima
ion(); > server.registerApplication("ADT", "A01", handler); it is creating an ExampleReceiverApplication, but I need to set the receiving application as PAMSimulator. How can I do this? Regards Sara Fatima On Mon, Jun 23, 2014 at 8:24 PM, Christian Ohr wrote: > // A connection object re

[HAPI-devel] Send message to PAMSimulator

2014-06-23 Thread Sara Fatima
ple code for this type? Thanks & Regards Sara Fatima -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. S

[HAPI-devel] Send hl7 message

2014-06-19 Thread Sara Fatima
uot;, "A05", handler); Thanks & Regards Sara Fatima -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable.

Re: [HAPI-devel] Sending over MLLP

2014-06-09 Thread Sara Fatima
Hi Thank you Jure. I trying to work with HAPI v2.0. I wish to work without using HapiContext and DefaultHapiContext. Is there any other class, which could be used instead? Thanks & Regards Sara Fatima On Mon, Jun 9, 2014 at 1:21 PM, Jure Grom wrote: > Try http://hl7api.sourcefo

[HAPI-devel] Sending over MLLP

2014-06-09 Thread Sara Fatima
Hi all, I wish to use HAPI to send HL7 message over MLLP using PAM profile. I could only find sample to send message over HTTP, however I understand that HAPI also allows to send message over MLLP. I would be glad if I could get some guidance on this. Thanks & Regards

Re: [HAPI-devel] HAPI v2.0

2014-06-04 Thread Sara Fatima
n't getting compiled. (As I will also need patient identifier in my HL7 message) Also my knowledge about HAPI is limited and I am not very sure what effect would be there by changing structure from v24 to v25. Could you please brief me about the purpose of these 2 structures? Thanks &

Re: [HAPI-devel] HAPI v2.0

2014-06-04 Thread Sara Fatima
gt; FP > > > On Wednesday, June 4, 2014 7:10 PM, Sara Fatima > wrote: > > > Hi Christian, > > I have added the below dependencies, > > > ca.uhn.hapi > hapi-base > 2.0 > provided > > > org.slf4j > slf4j-api > > > log4j >

Re: [HAPI-devel] HAPI v2.0

2014-06-04 Thread Sara Fatima
I am still facing the same problem. > An Internal Error has Occurred > > *java.lang.NoClassDefFoundError*ca/uhn/hl7v2/model/v24/message/ADT_A01 Regards Sara Fatima On Wed, Jun 4, 2014 at 9:43 PM, Christian Ohr wrote: > You need to add dependencies on the structure librar

Re: [HAPI-devel] HAPI v2.0

2014-06-04 Thread Sara Fatima
essage:"); System.out.println(encodedMessage); return encodedMessage; But I am facing an error, as > An Internal Error has Occurred > > *java.lang.NoClassDefFoundError*ca/uhn/hl7v2/model/v24/message/ADT_A01 Is there any jar file which I should add to support ADT? (I

[HAPI-devel] HAPI v2.0

2014-06-03 Thread Sara Fatima
o I am looking for a way to create HL7 message using HAPI v2.0. I would be glad if someone could guide me to old documentation, or any examples which can help create HL7 message using v2.0. Thanks & Regards Sara Fatima -- L

Re: [HAPI-devel] Working with HAPI

2014-06-03 Thread Sara Fatima
d the old documentation to see how to create a message using HAPI 2.0. Thanks & Regards Sara On 6/3/14, Sara Fatima wrote: > Hi James, > > Here is the dependency tree. I have included the exclusions as discussed > earlier. > > C:\Users\SARA\IHEModule\IHEInteroperability&

Re: [HAPI-devel] Working with HAPI

2014-06-03 Thread Sara Fatima
Hi James, Here is the dependency tree. I have included the exclusions as discussed earlier. C:\Users\SARA\IHEModule\IHEInteroperability>mvn dependency:tree [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model

[HAPI-devel] Working with HAPI

2014-06-02 Thread Sara Fatima
<https://github.com/saramirza14/openmrs-module-IHEInteroperability/tree/hapi> is the code which I am writing. I would be glad if someone could help me figure out what I am missing. Thanks & Regards Sara Fatima -- Le

[HAPI-devel] Create HL7 message example

2014-05-28 Thread Sara Fatima
{ > > @Test > public void shouldSetupContext() { > assertNotNull(Context.getService(HapiExampleService.class)); > } > } I have attached a copy of my pom.xml file as well. Could someone tell me what is that I am doing wrong. Thanks & Regards Sara http://maven.apache.o

Re: [HAPI-devel] Need help using HAPI.

2014-05-20 Thread Sara Fatima
tal time: 18.840s [INFO] Finished at: Tue May 20 16:53:19 IST 2014 [INFO] Final Memory: 9M/22M [INFO] E:\GSOC2014\hapiexample> Thanks & Regards Sara Fatima On Tue, May 20, 2014 at 4:33 PM, Christian Ohr wrote: > You n

Re: [HAPI-devel] Need help using HAPI.

2014-05-20 Thread Sara Fatima
apiContext.(DefaultHapiContext.java:100) at org.openmrs.module.hapiexample.CreateAMessage.main(CreateAMessage.java:33) Regards Sara Fatima On Tue, May 20, 2014 at 4:03 PM, Christian Ohr wrote: > Try running mvn dependency:tree in your project and check if there is any > old hapi library in the classpath. Hapi

Re: [HAPI-devel] Need help using HAPI.

2014-05-20 Thread Sara Fatima
hapi-structures-v251 2.2 Regards Sara Fatima On Tue, May 20, 2014 at 11:21 AM, Sara Fatima wrote: > Hi > > > > I am facing few errors while using HAPI. > > > > These are the changes I have done into the pom.xml , I have also attached >

[HAPI-devel] Need help using HAPI.

2014-05-19 Thread Sara Fatima
-v251 2.2 *hapi*-*sf* HAPI *Sourceforge* Repository http://repo1.maven.org Thanks in advance. Regards Sara Fatima -- "Accelerate Dev Cycles with Automated

Re: [HAPI-devel] Need Help uisng HAPI

2014-05-19 Thread Sara
I am also facing the same error. However I am using version 2.2 Here is what I added to my pom.xml ca.uhn.hapi hapi-structures-v21 2.2