def convert_pecos_to_form(pecos_res, user):
    """Converts a Practitioner Resource into Values for Form"""
    data = {}
    data['user'] = user
    data['name']= pecos_res[0]['NAME']
    data['npi']= pecos_res[0]['NPI']
    data['description']= pecos_res[0]['DESCRIPTION']

    return data