you might find the MEDI dataset useful.  It links rxnorm to the ICD-9 codes the medications are written for based on EHR and other data.<p><a href="https:&#x2F;&#x2F;medschool.vanderbilt.edu&#x2F;cpm&#x2F;center-precision-medicine-blog&#x2F;medi-ensemble-medication-indication-resource" rel="nofollow">https:&#x2F;&#x2F;medschool.vanderbilt.edu&#x2F;cpm&#x2F;center-precision-medici...</a>