Re: [HAPI-devel] How to get and set values for PID 3 and PID 4 in RSP^K23 HL7 V2.5?

2010-09-02 Thread depeche007
= t.get("/.PID-3-1"); > System.out.println("\r\n\r\n" + value); > value = t.get("/QUERY_RESPONSE(0)/.PID-3-1"); > System.out.println(value); > > Cheers, > James > > > On Wed, Sep 1, 2010 at 5:11 AM, depeche007 > wrote: &

Re: [HAPI-devel] How to get and set values for PID 3 and PID 4 in RSP^K23 HL7 V2.5?

2010-09-01 Thread depeche007
ot;) > > -Original Message- > From: depeche007 [mailto:[email protected]] > Sent: Monday, August 30, 2010 11:27 PM > To: [email protected] > Subject: [HAPI-devel] How to get and set values for PID 3 and PID 4 in > RSP^K23 HL7 V2.5? > > > Hi,

[HAPI-devel] How to get and set values for PID 3 and PID 4 in RSP^K23 HL7 V2.5?

2010-08-30 Thread depeche007
Hi, How to get and set values for PID 3 and PID 4 in RSP^K23 HL7 V2.5 response message using terser? Sample response message: MSH|^~\&|XYZ|a1510aae-cbcd-43d0-b0e2-4ad082f03775|HU|7d15ac56-8b12-4a07-8b10-3d2ae367f407|20100831104406||RSP^K23|20100831104406208095|P|2.5 MSA|AA|20100831104406208095

Re: [HAPI-devel] HL7 parsing question

2010-08-03 Thread depeche007
Hi, I am using HAPI to parse a Link Patient Information (Event A24) message. In order to set PID 3.1 and PID 3.4 of Patient (1) Identification as well as to set PID 3.1 and PID 3.4 of Patient (2) Identification, what shall I use? MSH|^~\&|AAA|BBB|CCC|DDD|20100617093730||ADT^A24|MSG1

Re: [HAPI-devel] PID generation in RSP_K22.QUERY_RESPONSE: solved

2010-08-03 Thread depeche007
Hi, How can we generate PIDs for ADT^A24 message? Any idea Thanks, depeche Éamonn Ó Nualláin wrote: > > Hi, > > Just in case anyone runs into the same issue > > Regards, > > Éamonn > > String PID = "PID"; > RSP_K22 rsp = new RSP_K22(); > RSP_K22_QUERY_RESPONSE queryRespon

[HAPI-devel] Creating two PID segments for ADT^A24 message in HLV2.3.1

2010-08-02 Thread depeche007
Hi, How do i create two PID segments for ADT^A24 message in HLV2.3.1 using terser or any other class? Structure of ADT^A24 message: MSH Message Header EVN Event Type PID Patien

Re: [HAPI-devel] How to handle multiple PID returned in RSP^K22^RSP_K21 messages of version 2.5 messages?

2010-06-13 Thread depeche007
ipeParser parser = new PipeParser(); > try { > hapiMsg = (RSP_K21) parser.parse(MSG); > Terser t = new Terser(hapiMsg); > > System.out.println(t.get("/QUERY_RESPONSE(0)/PID-3-1")); > > System.o

[HAPI-devel] How to handle multiple PID returned in RSP^K22^RSP_K21 messages of version 2.5 messages?

2010-06-11 Thread depeche007
Hi, How to handle multiple PID returned in RSP^K22^RSP_K21 messages of version 2.5 messages? The structure of the message is as follows: MSH|^~\&||3f0203ca-7da1-4c92-8dcf-743a5579673f|GENERIC|3f0203ca-7da1-4c92-8dcf-743a5579673f|20100610165524||RSP^K22^RSP_K21|20100610165524718543|P