Medical competence as a multilayered construct