An investigation into a ransomware attack earlier this month on London hospitals by the Russian group Qilin could take weeks to complete, the country’s state-run National Health Service said Friday, as concerns grow over a reported data dump of patient records.