During the first four postoperative days , patients were screened for delirium based on the Confusion Assessment Method ( CAM ) for Intensive Care Unit on the intensive care unit , CAM on the ward , and by inspection of medical records .