Bangladesh cricketer Tamim Iqbal has been discharged from the hospital following treatment after suffering a heart attack before participating in a Dhaka Premier League (DPL) match.