Now-a-days, in the medical field, prescribing a medicine for a patient without mentioning its brand name is a tedious job. But it can be made possible, when both the parties (physician and pharmacist) are adapting well and standardized methodology. Our aim is to suggest an idea to make this process easy to understand and light to use. Based on the types of common diseases, the medicinal prescription lists can be categorized with relevant medicinal blocks. If a physician prescribes the medicine through this standardized predefined scheme, then the system will generate a unique number using Grace Code Cryptography and Linear RSA algorithms. The unique number will be given to the patient in the prescription sheet. Through this unique number, the pharmacist can get back the medical unit which is intended for a particular patient with the help of the same algorithms and using the standardized predefined scheme as it is a general template, and he delivers the medicine. So the patient will be given the prescribed medicine without specifying the brand name at any stage. © 2016 IEEE.