NHS Lothian's chief officer of acute services Jacquie Campbell said the issue had been caused by being unable to "reliably secure the levels of staffing required overnight and at weekends to guarantee a safe service."