revise patient records for pdf layout