Re: [HAPI-devel] How to handle multiple PID returned in RSP^K22^RSP_K21 messages of version 2.5 messages?

2010-06-11 Thread Sharma, Niranjan K (GE Healthcare)
Christian, James, There are repetitive queries around getting Segment, Field with multiple repetitions. I think it is high time to have a utility added in Terser to get number of repetition for a specified path element. Thoughts are welcome. Thanks. Regards -Niranjan. -Original Message--

Re: [HAPI-devel] How to handle multiple PID returned in RSP^K22^RSP_K21 messages of version 2.5 messages?

2010-06-11 Thread christian ohr
Hi, Executing the piece of code below (e.g. using HAPI 0.6 or better) returns 11.06.2010 16:39:40 ca.uhn.log.HapiLogImpl info INFO: Instantiating msg of class ca.uhn.hl7v2.model.v25.message.RSP_K21 5ab16eec-4eb0-4f78-ae45-f8759a83ee70 5ab16eec-4eb0-4f78-ae45-f8759a83ff10 in my console; so it re

[HAPI-devel] How to handle multiple PID returned in RSP^K22^RSP_K21 messages of version 2.5 messages?

2010-06-11 Thread depeche007
Hi, How to handle multiple PID returned in RSP^K22^RSP_K21 messages of version 2.5 messages? The structure of the message is as follows: MSH|^~\&||3f0203ca-7da1-4c92-8dcf-743a5579673f|GENERIC|3f0203ca-7da1-4c92-8dcf-743a5579673f|20100610165524||RSP^K22^RSP_K21|20100610165524718543|P