An optical sensor for the determination of digoxin in serum samples based on a molecularly imprinted polymer membrane.