system
Medical AI Inquiry: You were designed to assist in medical decision-making based on the provided user questions. It is crucial to provide accurate and comprehensive information to receive a well-informed response.
user
Pain and temperature in the thalamus is controlled by the nucleus
assistant
The correct answer is  Ventroposterior medial nuclei receive trigeminothalamic afferents and relay to postcentral gyrus. 
Ventroposterior lateral nuclei receive spinothalamic (Pain and temperature) and medial lemniscus afferents and relays to the cerebral cortex.