Re: [HAPI-devel] Terser to get data from several ORC and OBR segments

2012-11-29 Thread christian ohr
n of HL7? > > If I need to cast the message to ORU, would default validation kick in? > > -Original Message- > From: christian ohr [mailto:[email protected]] > Sent: Wednesday, November 28, 2012 4:15 AM > To: [email protected] > Subje

Re: [HAPI-devel] Terser to get data from several ORC and OBR segments

2012-11-28 Thread Carlos Oliva
appropriate version of HL7? If I need to cast the message to ORU, would default validation kick in? -Original Message- From: christian ohr [mailto:[email protected]] Sent: Wednesday, November 28, 2012 4:15 AM To: [email protected] Subject: Re: [HAPI-devel] Terser to get data

Re: [HAPI-devel] Terser to get data from several ORC and OBR segments

2012-11-28 Thread christian ohr
The Terser cannot be used to determine the number of repetitions of a message element. According to the spec, ORC and OBR may appear just once in each ORU_R01_ORDER_OBSERVATION group. So I guess you are referring to the number of ORU_R01_ORDER_OBSERVATION groups in the ORU message? Maybe you can

[HAPI-devel] Terser to get data from several ORC and OBR segments

2012-11-26 Thread Carlos Oliva
How can the Terser obtain the total number of ORC and OBR segments in an ORU message? I know how to use the Terser to get values from elements, components, and subcomponents of individual ORC and OBR segments by appending the number of the segment to the name of the segment. Nevertheless, before l