Zaslat záznam emailem: Role of cognitive function in assessing informed consent for endoscopy