《金史·列传·卷二十三》
完颜永功做官时，跟随引医人沈思存违反了一些禁令，应当解除官职。
永功之官，随引医人沈思存过制限，当解职。
When Wanyan Yonggong was an official, he and the imperial physician Shen Sizun violated some prohibitions, which should result in the dismissal of his position.
<s>[INST] Translate the following passage from Classical Chinese to both modern Chinese and English, focusing on preserving the emotional tone in both translations: 永功之官，随引医人沈思存过制限，当解职。 [/INST] Modern Chinese: 完颜永功做官时，跟随引医人沈思存违反了一些禁令，应当解除官职。 English: When Wanyan Yonggong was an official, he and the imperial physician Shen Sizun violated some prohibitions, which should result in the dismissal of his position.</s>
Translate the following passage from Classical Chinese to both modern Chinese and English, focusing on preserving the emotional tone in both translations: 永功之官，随引医人沈思存过制限，当解职。
user
Modern Chinese: 完颜永功做官时，跟随引医人沈思存违反了一些禁令，应当解除官职。 English: When Wanyan Yonggong was an official, he and the imperial physician Shen Sizun violated some prohibitions, which should result in the dismissal of his position.
assistant