Further detailed inspections will reveal what type of repair is required. This may involve some NDT work (Ultra sound, X-Ray etc) which will require specialist equipment and inspectors.
I would imagine that some of the inspection required to return the aircraft to certified service may be accomplished elsewhere, following a ferry flight. A flight permit (issued in Canada) has the required standard of "safe for flight", which is not the same thing as "conforming to its type design", which would be required for certified commercial service. This is the purpose of a flight permit, which among many other limitations, prohibits carriage of passengers.