Towards improved quality of written patient records