All his life he scrupulously adhered to the duties of a doctor.
Tips
register
谨守 is more formal than 遵守 (to comply with). 遵守 is the everyday word for following rules; 谨守 carries an extra note of carefulness or moral conscientiousness - fitting for vows, professional ethics, or strict principles.