Diclofenac is used for the treatment of osteoarthritis ( OA ) ; however , like other nonsteroidal anti-inflammatory drugs ( NSAIDs ) it can be associated with serious dose-related adverse events ( AEs ) .