I have a custom model class factory which returns 2.6 version for any
version as input.
So my ORU_R01 is 2.6 version.
Here is the code snippet for extracting values from ORU_R01 for OBX.
public Message processMessage(Message theMessage, Map theMetadata)
throws ReceivingApplicationException,
Hi Serbulent,
Can you post the code you use to add the regex rule?
Cheers,
James
On Tue, Aug 4, 2009 at 11:05 AM, Serbulent Unsal <
[email protected]> wrote:
> On Tuesday 04 August 2009 05:32:25 pm Serbulent Unsal wrote:
> > Hi,
> >
> > I'm trying Hapi's message validation ex
Hi Johnny,
You are probably running up against one of the more unusual features of the
parser. If it detects a segment it doesn't expect, it will move to the end
of the current group, and add a non standard segment there.
Unfortunately, this often has the by-product of causing it to skip past the
That's odd.
The following code works for me:
ORU_R01 oru = new ORU_R01();
oru.getMSH().getEncodingCharacters().setValue("^~\\&");
oru.getMSH().getFieldSeparator().setValue("|");
oru.getMSH().getMessageType().getMessageCode().setValue("ORU");
oru.getMSH().ge
On Wednesday 05 August 2009 05:16:11 pm James Agnew wrote:
> Let me know how it works out! If the manual helps, I'll put a link in the
> example page and maybe add an FAQ entry.
Thanx I'll look at it.
Regards
--
Serbulent Unsal | Software Expert
GSM : +90 555 697 50 46 | Tel : +90.312.478 48 00
On Tuesday 04 August 2009 05:32:25 pm Serbulent Unsal wrote:
> Hi,
>
> I'm trying Hapi's message validation example [1] but I couldn't get regex
> rule exception as far as I change field values to non-valid ones. i.e in
> the example I change the validMessage as below;
>
> String validMessage = "MS
6 matches
Mail list logo