Hello,I think Christian was talking about the version of HAPI, not the HL7 version you happen to parse out.
I am not aware of one in 1.x... I don't know 2.x well enough yet. I am on the
road, but I can send out later the type of code I have used to be adt generic.
___
Laurent Hasson (via my BlackBerry)
email: [email protected]
cell: 646-283-2186
twitter: @ldhas
I think that you (and I in another email) argue that it IS possible to have an
ADT superstructure. I think it would be very useful, as a union of all segments.
Such a superstructure and a more permissing getSegment feature (without the
exception throwing everywhere when missing) would be welcome
Our issue is a bit different. We used to process an aggregated feed, so
we have smart logic that can already process a variety of feeds
intelligently with our handler. Running 2 instances of the server would
work but would not perform well enough as we do not have a multi-process
caching strate
s like its a proper solution for you.
2012/12/2 LDH
I have performed some stress testing this weekend. One test is to kill
our database, which causes our HAPI code that ingests messages to fail. Our
strategy so far was simply to return a NACK, but we discovered that the
system that is sending us
tion - that makes the HAPI
thread choke and nothing will be returned and the entire framework
still lives on. That sounds like its a proper solution for you.
2012/12/2 LDH mailto:[email protected]>>
I have performed some stress testing this weekend. One test is
I have performed some stress testing this weekend. One test is to kill
our database, which causes our HAPI code that ingests messages to fail.
Our strategy so far was simply to return a NACK, but we discovered that
the system that is sending us messages is taking ANY response as a
success ind
austed.
If you know where the segment is located within the message, check if
msg.currentReps(segmentName) equals to 0. This call should not create the
segment if it does not exist
cheers
Christian
LDH-2 wrote:
If i do Msg.getNames(), i get a list of all valid segments for that
message. Howeve
If i do Msg.getNames(), i get a list of all valid segments for that
message. However, i'd like to have a list only of the segments that were
actually there. The get("SEGMENT") method will create a default segment
if it's not there.
Is that possible?
-
er-the-hood cleanups have been
made, and they will require a fair bit of testing before we trust them
enough to release them publicly. Naturally, you can always build from
source if you wanted to check it out early.
Cheers,
James
On Thu, Nov 8, 2012 at 4:20 PM, LDH <mailto:l...@360fre
s
On Thu, Nov 8, 2012 at 9:52 AM, LDH <mailto:[email protected]>> wrote:
Is there a reason why creating an ACK is so slow? I am calling
DefaultApplication.makeACK(_Msh);
This takes almost as long as the parsing of the full message
coming in which se
Is there a reason why creating an ACK is so slow? I am calling
DefaultApplication.makeACK(_Msh);
This takes almost as long as the parsing of the full message coming in
which seems counter intuitive.
I am on V1.2.
--
---
Hello,
I have written a class that extends ca.uhn.hl7v2.app.Application. I have
implemented the ProcessMessage() method. I initialize everything as follows:
LowerLayerProtocol llp = LowerLayerProtocol.makeLLP(); // The
transport protocol
PipeParser parser = new PipeParser(new
C
1. Get the port of the application (Ram)
2. Re: generate custom datatype (Gabriel Euzet)
3. Re: Get the port of the application (LDH)
4. Re: generate custom datatype (Gabriel Euzet)
--
Message: 1
Date: Mon, 12 Mar 201
I created simple wrapper classes around message types and do the following:
public HL7MSH(Message Msg)
throws DataTypeException, HL7Exception
{
_Msh = (MSH) Msg.get("MSH");
_Version = _Msh.getVersionID().getVersionID().getValue();
_Code =
_Msh.getMsh9_Messag
I am not sure how to read the port. An easy answer to your problem
though is to create three Applications (one for each port), and in the
processMessage() method, delegate to a common class for all three. That
way, you can send in any additional configuration you may wish,
including the port #.
ics:
1. Re: "Path" expressions? (LDH)
2. How to get the Port of the current connection (Ram)
3. Re: How to get the Port of the current connection (LDH)
--
Message: 1
Date: Mon, 20 Feb 2012 23:29:58 -
Sorry but i am not sure i understand your message clearly. If you are
talking about creating a listener and ingesting messages, this is the
kind of code i have. When your application starts, you have to create a
listener on a port.
int PORT= 12345; // Generally through some configuratio
TEPV1PV2IN1IN2IN3GT1AL1/PV1PV2";
String orcTerse =
"/ORCOBRRQDRQ1ODSODTRXONTEDG1RXRRXCNTEOBXNTECTIBLG";
String obrTerse = orcTerse +
"/OBRRQDRQ1ODSODTRXONTEDG1RXRRXCNTEOBXNTE";
if (!mobileStationName.equalsIgnoreCase("unknown")) {
terser.set(
I just worked on a project which used Mirth, and in the mapping code,
we'd do something like
var PatientGivenName = msg['PID.5.2'].toString();
I have been searching the docs and samples online to find a way to
access values from "path expressions" like the above, but without
success. A q
20 matches
Mail list logo