They are not opening each and evey bag at the Airport. They will open only those bags which is suspicious of having something illegal. You can bring your medicines with the proof of purchase and the prescription from your doctor. There are many patients bringing their medicine for diabetes and blood pressure in hundreds.