An NHS trust is investigating allegations that healthcare staff "inappropriately" accessed the medical records of the Nottingham attack victims.