Re: [HAPI-devel] Having Difficulty Extracting Data from a Segment using Terser

2007-05-08 Thread Dilworth, Bob
Gunther [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 2:29 PM To: Dilworth, Bob Cc: [email protected] Subject: Re: [HAPI-devel] Having Difficulty Extracting Data from a Segment using Terser Hi Bob, Try using the code snippet below. Jeff Gunther Intalgent 100 10th Stree

Re: [HAPI-devel] Having Difficulty Extracting Data from a Segment using Terser

2007-05-08 Thread Jeff Gunther
Hi Bob, Try using the code snippet below. Jeff Gunther Intalgent 100 10th Street NE, Suite 303 Charlottesville, VA 22902 T: (434) 977-5152 ext. 100 F: (866) 812-5291 [EMAIL PROTECTED] String [] theHL7; FileInputStream is = new FileInputStream("t:/ci/hl7testdata/pwlraworu- testside.dat"); theHL7

Re: [HAPI-devel] Having Difficulty Extracting Data from a Segment using Terser

2007-05-08 Thread Dilworth, Bob
@lists.sourceforge.net Subject: Re: [HAPI-devel] Having Difficulty Extracting Data from a Segment using Terser 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

Re: [HAPI-devel] Having Difficulty Extracting Data from a Segment using Terser

2007-05-08 Thread Torben Greiser
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