def add_missing_cat_services_provided(df):
    """Replaces nan with 'Missing' for 'services provided' variables."""

    # Care_Provided Y/N to Y/N/Miss
    cp_vars = [
        "Care_Provided_Assisted_Living",
        "Care_Provided_Home",
        "Care_Provided_Inpatient_Hospice",
        "Care_Provided_Inpatient_Hospital",
        "Care_Provided_Nursing_Facility",
        "Care_Provided_Skilled_Nursing",
        "Care_Provided_other_locations",
        "Provided_Home_Care_and_other",
        "Provided_Home_Care_only"
    ]
    df[cp_vars] = df[cp_vars].fillna('Missing')
    return df