iterating through patient show pages