Each level of the tree presents a coding for drugs and divides drugs based on the organ or system on which they act or their chemical or therapeutic characteristics.Using this hierarchical coding, they defined similarities between events based on the assigned codes in each level of the ATC hierarchy.