added function isPrescription to extract prescription requirement
added function isPrescription to extract prescription requirement