This phrase is more specific than just asking if somebody is all right. The question is asking directly to the health condition.
Check out these groups of Chinese phrases too. You might find more useful Mandarin phrases. The current Chinese phrase "Are you okay?" appears in these as well