Polite phrasing meaning 'what did you do?' or 'what happened?' used to ask about someone's action or the reason for a condition.
事故の現場で警官が被害者に『どうされましたか』と尋ねた。
At the accident scene, the officer asked the victim, 'What happened (to you)?'
コンピュータの操作で何か問題が起きた時、技術者が『どうされましたか』と聞いた。
When a computer problem occurred, the technician asked, 'What did you do?/What happened?'
友達に変わったことがあったときは、直接『どうされましたか』と聞いてみるといい。
If a friend seems different, it's good to ask them directly, 'What happened?'
A polite phrase meaning 'Is anything the matter?' or 'Can I help you?', used to show concern, often in hospitals or customer service.
病院の受付で看護師が患者に『どうされましたか』と声をかけた。
At the hospital reception, a nurse called to the patient, 'Is something wrong?'
店内で困っている様子の客に店員が『どうされましたか、何かお探しですか』と尋ねた。
A store clerk asked a customer who looked troubled, 'Can I help you? Are you looking for something?'
道で急に立ち止まっている人に近づいて『どうされましたか』と尋ねた。
I approached a person who suddenly stopped on the street and asked, 'Is something wrong?'