Hi Depeche,
A24 is kind of a weird message structure, in that it has two distinct PID
segments in the same group. To access the second one, use "/PID2-x-x"
instead of "/PID-x-x" in your terser paths.
Note that you can find the appropriate value to use in situations like this
using the HAPI Xref <
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
.
Thanks for your interest in HAPI.
Thanks.
Regards
-Niranjan.
From: Éamonn Ó Nualláin [mailto:[email protected]]
Sent: Thursday, June 17, 2010 9:59 AM
To: christian ohr
Cc: [email protected]
Subject: Re: [HAPI-devel] HL7 parsing question
Thanks for
Thanks for that, it works (though PID-3 instead of PID-1) I'll use the
terser version,
On Thu, Jun 17, 2010 at 4:38 PM, christian ohr wrote:
>
> Hi
>
> try
>
> String value = terser.get("/PATIENT(0)/PID-1") //
> value = terser.get("/PATIENT(0)/MRG-1") //
>
> cheers
> Christia
Hi Christian,
Thanks for your quick reply, I got it to work, see below, but I'll try your
terser way though,
looks nice and short
ADT_A39_PATIENT adtMessage = (ADT_A39_PATIENT) _message.get("PATIENT");
PID pid = (PID) adtMessage.getPID();
MRG mrg = (MRG) adtMessage.getMRG();
String id1 = mrg.ge
Hi
try
String value = terser.get("/PATIENT(0)/PID-1") //
value = terser.get("/PATIENT(0)/MRG-1") //
cheers
Christian
Éamonn Ó Nualláin wrote:
>
> Hi,
>
> I'm using HAPI1-0 and am trying to parse a 'merge patient' message. How
> can
> I get the PID and MGR from the follow
Hi,
I'm using HAPI1-0 and am trying to parse a 'merge patient' message. How can
I get the PID and MGR from the following?
MSH|^~\&|AAA|BBB|CCC|DDD|20100617093730||ADT^A40|MSG1|P|2.4||UNICODE
UTF-8
EVN||20100617095832
PID|||PATIENT-ID123||SURNAME^FIRSTNAME
MRG|
I've been t
7 matches
Mail list logo