AppointmentMapper.php PDO-ified