The NHS Trust has reported that a memory stick containing the medical information of more than 6,000 prisoners has been lost.