Families described the unauthorised access of confidential medical records as an "abuse of power".