The translation is correct. Both sentences mean "You (plural) are also doctors".
You are quite right if you are thinking af a physician "læge" is now more common (and more precisely). In Denmark "doktor" is also an academic tittle given to someone who has written and defended thesis, which could be about almost anything. Two and three generations back it vas normal to call the physician "doktor", and you can still hear it now and then.