¿Qué le había dicho el médico a Rubén? - Le había dicho que los resultados de sus análisis estaban bien.What had the doctor told Ruben? - He had told him that his test results were OK.
¿Cuándo supiste qué le había dicho el médico a Rubén? - El día que fue a la consulta.When did you learn what the doctor had told Ruben? - On the same day he went to his office.