Is pain comprised of the four great elements?
No! Patavi, Apo, Tejo, Vayo are elements of Rupa. Pain is a sensation caused by those elements coming into contact with the sense doors while the the mind is present.