Improve computeCareGraph functions to check shared term equality status once per...