Hi,
I used Mirth 1.3.2.
With the following message, I got an error. According to the standard, a segment with segment id alone is allowed. I would not have this error if I add a vertical bar right after PV1. i.e. PV1|
Is this a bug or I have to use preprocessor to make it work?
Thanks,
Charles
MSH|^~\&|REG|CH||CWHC|20061221090035||ADT^A01|1059 9072|P|2.2|
EVN|A01|20061221090035|||JJL
PID|||||name^name^name^^^||19780710|F|||5408 address ST^^VANCOUVER^BC^^^|||||M||||
PV1
##################
Caused by: com.webreach.mirth.model.converters.SerializerExce ption: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at com.webreach.mirth.model.converters.HAPIMessageSer ializer.deserialize(HAPIMessageSerializer.java:54)
at com.webreach.mirth.server.mule.transformers.HL7ToM essageObject.doTransform(HL7ToMessageObject.java:8 0)
... 30 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at ca.uhn.hl7v2.parser.PipeParser.doParse(PipeParser. java:239)
at ca.uhn.hl7v2.parser.Parser.parse(Parser.java:151)
at com.webreach.mirth.model.converters.HAPIMessageSer ializer.deserialize(HAPIMessageSerializer.java:52)
... 31 more
I used Mirth 1.3.2.
With the following message, I got an error. According to the standard, a segment with segment id alone is allowed. I would not have this error if I add a vertical bar right after PV1. i.e. PV1|
Is this a bug or I have to use preprocessor to make it work?
Thanks,
Charles
MSH|^~\&|REG|CH||CWHC|20061221090035||ADT^A01|1059 9072|P|2.2|
EVN|A01|20061221090035|||JJL
PID|||||name^name^name^^^||19780710|F|||5408 address ST^^VANCOUVER^BC^^^|||||M||||
PV1
##################
Caused by: com.webreach.mirth.model.converters.SerializerExce ption: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at com.webreach.mirth.model.converters.HAPIMessageSer ializer.deserialize(HAPIMessageSerializer.java:54)
at com.webreach.mirth.server.mule.transformers.HL7ToM essageObject.doTransform(HL7ToMessageObject.java:8 0)
... 30 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at ca.uhn.hl7v2.parser.PipeParser.doParse(PipeParser. java:239)
at ca.uhn.hl7v2.parser.Parser.parse(Parser.java:151)
at com.webreach.mirth.model.converters.HAPIMessageSer ializer.deserialize(HAPIMessageSerializer.java:52)
... 31 more
Comment