Hello all, Somebody can explain me what happens in this case? I need this information to finish a parser!!!!
Greetings, Fabio Fabio Daprile wrote: > Hello all, > > while parsing an ORM_O01 message i found what i think is an error. > I parse it first with the PipeParser and after that with the > DefaultXMLParser. > > here is the message: > > MSH|^~\\&|VERBENA|PRAEZISION|RIS|SYNCROMED|20070828135556+0000||ORM^O01|5366|P|2.5| > PID|||410379^^^PRAEZ||MORCHI^ANTONIO||19200202000000+0000|F|||VIA > BOSCHI, 13 ^BG^MARTO^BG^24027^100^M^ITALIA^016144~VIA BOSCHI, 13 > ^BG^MARTO^BG^24027^100^H^ITALIA^016144~^BG^MARTO^BG^^100^B^ITALIA^016144|||||||AAAAAAAAAAAAAAAA|228PP272||||016144|||100^ITALIA|\r" > PD1|||ASL DELLA PROVINCIA DI BERGAMO^^^^^^^^^301030|\r" > PV1||E|||||133429^GRIGIS^MASSIMO|9PRZMARK^MARTELLI^MARCO^^^^^^^^^^9||114||||||||||||||||||||||||||||||||A02|||||||||V| > > ORC|NW|67262|5189|2007100059|PR||1.000000^^^20070828135500+0000||20070828135500+0000|||9PRZMARK^MARTELLI^MARCO|||||114^PRONTO > > SOCCORSO|\r" > OBR|1|67262|5189|1223^RX PELVI > (bacino)||||||||3|RRR|||9PRZMARK^MARTELLI||||||||1|||1.000000^^^20070828135500+0000| > OBR|2|67262|5189|1220^RX > SPALLA||||||||3|RRR|||9PRZMARK^MARTELLI||||||||1|||1.000000^^^20070828135500+0000| > OBR|2|67262|5189|1220^RX > SPALLA||||||||3|RRR|||9PRZMARK^MARTELLI||||||||1|||1.000000^^^20070828135500+0000| > ORC|NW|67262|5190|2007100059|PR||1.000000^^^20070828135500+0000||20070828135500+0000|||9PRZMARK^MARTELLI^MARCO|||||114^PRONTO > > SOCCORSO| > OBR|1|67262|5190|8001^TAC > CAPO||||||||3|RRR|||9PRZMARK^MARTELLI||||||||7|||1.000000^^^20070828135500+0000| > ZDS|1.2.300.4005|a^b^c|Application|DICOM| > > > When parsing the first ORDER group, i find correctly the ORDER_DETAIL. > The parser asks then for all the repetitions of the OBR segment. the > reps[] array contains only 1 element. > The other 2 instances of OBR are found after the group OBSERVATION. > > This is wrong on my opinion. The number of repetitions of OBR should be > 3 in the ORDER_DETAIL group. > > Somebody can explain this behavior? > > Greetz, > Fabio > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Hl7api-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > > ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Hl7api-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hl7api-devel

