The document contains code for checking expiration dates of different medications (Paramex, OBH, Panadol, Komix, Amosilin) based on selected year, month and date from dropdowns. It also contains code for setting default values for unit, quantity and expiration date for each medication in different dropdown selection cases. The code loads initial values into dropdowns for year, month, date and medications. It also contains logic to calculate total price, discount and balance amount based on entered quantity, unit price, discount percentage.