Removed 'PNC status' column and refactored 'visit_completion' calculations