Voting system validation
It can guarantee the integrity, because you can not fake another voting with the same hash. 
However, this only shows the ballot is casted correctly, but does not prove the ballot is correctly counted. And as you said, it can not provide anonymity, such as buying vote and coercion.