An investigation is underway after a large-scale hack of electronic prescriptions company MediSecure.