Modeling compassion in healthcare