expression
is something wrong?; what's the matter?
Used to ask if someone is troubled or if something is amiss. Often appears as どうかしたの or どうかしましたか.
どうかしたの?顔色が悪いよ。
Is something wrong? You look pale.
彼はどうかしたのか、急に黙り込んだ。
He suddenly fell silent, as if something was the matter.
expression, noun-modifying (irregular)
Used prenominally in set phrases like どうかした拍子に or どうかしたはずみに, meaning 'by some chance' or 'on a mere impulse'. Not freely productive.
どうかした拍子に、秘密を漏らしてしまった。
By some chance, I let the secret slip.
どうかしたはずみで、彼女と出会った。
I met her by a mere coincidence.