added multiple medicines input and dosage functionality