Health ministry says those affected can reapply when permanent positions are opened at the end of 2027.