Is this legal?

Someone wanted to donate like 10 bucks and they said we could use it to help others who can't afford their copay (medicaid), can we accept this and put it into a iou jar or something only for those who swear they have 0 money? Or is this illegal? What if someone donated like 100 or something?
Source: Student Doctor Network - Category: Universities & Medical Training Authors: Source Type: forums