Eye test records and personal contact details of hundreds of military personnel including soldiers posted overseas were sent to China in a significant data security breach, Fairfax Media has learnt.