Relationship between the legal concepts

The diagram below illustrates the relationship between consent, anonymisation and confidentiality: