Smarter Pharmacy for Rare Diseases