In the 1990 film Total Recall, Dr. Edgemar tells Quaid he is suffering from a 'delusion caused by acute neurochemical trauma'; and the first step to wake up from this delusion is to swallow a red capsule Edgemar gives him.
In The Matrix, Morpheus gives Neo the choice of taking 'a red pill' to escape the simulated world known as the matrix or a 'blue pill' to stay part of the Matrix.
Was the scene in The Matrix involving the red pill/blue pill decision inspired in any way by the scene in Total Recall where Quaid is given the chance to 'wake up' by swallowing the red capsule?