Clicking the Diagnosis button opens a pop-up window to choose a single ICD that can be associated with the corresponding drug.