Managing resources in hospitals is one of the most challenging duties in healthcare. The complexity of supply chain management in hospitals is high due to different factors such as life cycle of medicines, demand uncertainty, variation of prices, monetary resources, space constraints, among others. The main important factor of the supply chain in hospitals is the welfare of patients which depends of the correct management and administration of medicines, in this way backorders or stockouts are not allowed. In this paper we propose a mathematical model to make real planning over a health care supply chain considering real factors face by decision makers. For testing results we have used real data considering different sources of uncertainty. We have choose 5 different types of medicines and run the optimization model to determine the optimal solution over a set of scenarios generated for modeling uncertainty. For testing the results, we have compare over a year planning the results obtained by our policy and the results obtained by the hospital, improving the results in terms of costs.