Due to its complexity and involvement of numerous stakeholders, the pharmaceutical supply chain presents many challenges that companies must overcome to deliver necessary medications to patients efficiently. The pharmaceutical supply chain poses different challenging issues, encompasses supply chain visibility, cold-chain shipping, drug counterfeiting, and rising prescription drug prices, which can considerably surge out-of-pocket patient costs. Blockchain (BC) offers the technical base for such a scheme, as it could track legitimate drugs and avoid fake circulation. The designers presented the procedure of BC with fabric for creating a secured drug supplychain management (DSCM) method. With this motivation, the study presents a new blockchain with optimal deep learning-enabled DSCM and recommendation scheme (BCODL-DSCMRS) for Pharmaceutical Industries. Firstly, Hyperledger fabric is used for DSC management, enabling effective tracking processes in the smart pharmaceutical industry. In addition, a hybrid deep belief network (HDBN) model is used to suggest the best or top-rated medicines to healthcare providers and consumers. The spotted hyena optimizer (SHO) algorithm is used to optimize the performance of the HDBN model. The design of the HSO algorithm for tuning the HDBN model demonstrates the novelty of the work. The presented model is tested on the UCI repository's open-access drug reviews database.