[2349][2564] fixed character encoding of hl7 file, patient matching