[OE-4695] fixed bug formating patient ticket in referal