The SAR development of substituted purine derivatives as selective CB2 agonists for the treatment of chronic pain.