Wrote code for createPrescription. NOT TESTED YET.