We are using the OMRS core Hl7service to parse our HL7 message, but are receiving an error related to the parsing of the message.
when we run parseHL7String, we are getting an error where the carriage return (which is the segment terminator) is not being recognized. We have tried “\n”, “\r”, “\r\n” in the HL7 message and none have worked - Does anyone know the correct way to code the carriage return so that the OMRS HL7Service parser will recognize it as a segment terminator?