Twenty-one patients with primary hypothyroidism who had been using a stabilized levothyroxine dosage for at least one year were selected and randomly assigned to take omeprazole at the dosage of 40 mg or 20 mg per day .