How to say how are you in Japanese

How are you definition translation in Japanese is;
Japanese お元気ですか

how are you means お元気ですか in Japanese.