Navy commander takes on second career as doctor in Brooklyn