Hi
We encounter what seems to be a parsing error for the messages we been receiving. Below is a sample message:
MSH|^~\&|CPSS||iPHARM|iPHARM|20060713003438||ORM^O 01|TUCP0607130034380001|P|2.3||||||||
PID||D12345636A|||PATIENT NAME||19680617|M||||||||||||||||||||||
PV1||O|||||||||||||||||||||||||||||||||||||||||||| ||||||
ORC|NW|894373|||||||20060713003400|||11106F|WDSC|| |||||
RXO|NS^cephalexin||||||||||||||||||||||
RXR|||||
ZCO||||OP
ZXO|3|W2||20060713003437|||1|500MG|||
RXO|0004-28-168-E^synflex||||TA||||||||||||||||||
RXR|||||
ZCO||||OP
ZXO|2|W2||20060713003437|||2|275MG|||
RXO|0004-56-018-E^famotidine||||TA||||||||||||||||||
RXR|||||
ZCO||||OP
ZXO|2|W2||20060713003437|||3|20MG|||
Using hl7 inspector (http://www.elomagic.de/index.php?page=hl7), The parsed message shows all RXO (and RXR, ZCO, ZXO) are on the same level, but when mirth parses the message. The first RXO component is one level above the other RXO components. This causes a problem when we are trying to obtain the RXO data. Is this a HL7 message template problem or something wrong with the library? Thanks
We encounter what seems to be a parsing error for the messages we been receiving. Below is a sample message:
MSH|^~\&|CPSS||iPHARM|iPHARM|20060713003438||ORM^O 01|TUCP0607130034380001|P|2.3||||||||
PID||D12345636A|||PATIENT NAME||19680617|M||||||||||||||||||||||
PV1||O|||||||||||||||||||||||||||||||||||||||||||| ||||||
ORC|NW|894373|||||||20060713003400|||11106F|WDSC|| |||||
RXO|NS^cephalexin||||||||||||||||||||||
RXR|||||
ZCO||||OP
ZXO|3|W2||20060713003437|||1|500MG|||
RXO|0004-28-168-E^synflex||||TA||||||||||||||||||
RXR|||||
ZCO||||OP
ZXO|2|W2||20060713003437|||2|275MG|||
RXO|0004-56-018-E^famotidine||||TA||||||||||||||||||
RXR|||||
ZCO||||OP
ZXO|2|W2||20060713003437|||3|20MG|||
Using hl7 inspector (http://www.elomagic.de/index.php?page=hl7), The parsed message shows all RXO (and RXR, ZCO, ZXO) are on the same level, but when mirth parses the message. The first RXO component is one level above the other RXO components. This causes a problem when we are trying to obtain the RXO data. Is this a HL7 message template problem or something wrong with the library? Thanks
Comment