Hi Lucas,
just set the initiator timeout value to as high as needed:
int timeout = 3;
System.setProperty("ca.uhn.hl7v2.app.initiator.timeout",
Integer.toString(timeout));
Greets
Torben
Lucas Gonz schrieb:
> Hello you all!!
>
> I am starting in this HL7 world and after a couples of day
Hi Daniel,
take a look at the source:
ORU_R01 -> ORU_R01_PATIENT_RESULT -> ORU_R01_PATIENT -> PID
So in your Java code:
your_oru_r01_msg.getPATIENT_RESULT().getPATIENT().getPID()
Greets
Torben
Daniel Fuertes Severo schrieb:
> Hi!
> I'm new to HAPI and HL7 and I've found a problem, maybe some
Hi Fabio,
I'm quoting Bryan to answer you this:
> There is one HAPI class for each message structure, but
> multiple events can use the same structure (e.g. event A28 uses
> structure ADT_A05).
>
> If you are creating a new message, use the structure that corresponds
> to your event (this is give
Hi Sharon,
you will need to make yourself familiar with commons logging and log4j.
http://commons.apache.org/logging/
http://logging.apache.org/log4j/
An example (requires log4j and commons logging in classpath):
Create a log4j.properties file in your classpath:
log4j.rootLogger=INFO, A1
log4j
Hi Nick!
PipeParser pp = new PipeParser();
// create a new SimpleServer that listens on port 1234
SimpleServer ss = new SimpleServer(1234, LowerLayerProtocol.makeLLP(), pp);
// create and register some class that implements
// ca.uhn.hl7v2.app.Application to handle incoming messages (ORU in
// th
Hi Burke,
take a look at ca/uhn/hl7v2/parser/eventmap/2.4.properties
ADT_A28 ADT_A05
The ADT_A28 message is identical to the ADT_A05 message (except the
MSH-9 of course).
If I remember correctly the parser detects an incoming ADT_A28 as an
ADT_A05 message, so you have to inspect MSH-9 to
Hi Giorgio,
the "how to" depends on what data you want to set. If you would like to
enter data into "name of coding system" of the "units" field (OBX-6:
Units (CE)) you would call:
obx.getUnits().getNameOfCodingSystem().setValue("L");
Setting responsible observer fields could look like:
obx.get
Hi Bob,
well its obvious, because PID directly in
ca.uhn.hl7v2.model.v22.message.ORU_R01 really does not exist.
If you take a look at the source, you will need to get the group
ORU_R01_PATIENT_RESULT first that contains a ORU_R01_PATIENT group that
contains the PID segment.
To fetch the PID you
8 matches
Mail list logo