def get_client_referred(row):
    """
    Applied to a dataframe
    Returns whether a client was referred to HL
    """
    client_referral_origin = row['How Was Client Referred to HL?']
    referral =  [
                'Referred by non-clinical staff (medical asst., registration, legal services, etc)',
                'Referred by friend/relative',
                'Referred by health care provider (MD, RN, Social Work)',
                ]
    not_referral = [
                'No referral, advocate outreach brought client to HL',
                'No referral today, returning client',
                'Unknown',
                'No referral, marketing materials/signage brought client to HL',
                'Negative screen',
                ]
    if client_referral_origin in referral:
        return 1
    else:
        return 0