This should call getCareSettingByUuid, if there is no match then try call getCareSettingByName, these methods have been added so update your openmrs core code first