I would reword this to use only one or the other. "When" and "while" are generally used for different situations. So they are seldom used together.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
AnonymousI learned this when I had to translate for an upset patient who was denied IV sedation while IYour original is grammatically correct, but I suggest a change above (in red) that you may want to consider. The continuous tense often works well after "while".workedwas working at an oral surgery practice.