The authorities in Jakarta are trying to determine the extent of the injuries after the balcony collapsed at midday, sending people fleeing.