At least seven people are dead after suspected gang members attacked a hospital in Guatemala City in a bid to free a jailed associate who went there under police supervision for a checkup.