An ethical case describes the use of a pharmacy's database to market directly to their patients without either patient consent or disclosure of the marketing intent of the materials they received.
The AMA's Code of Medical Ethics' opinion on the use of databanks in genomic research requires informed consent by groups and individuals who are subjects of research.