The utility of agent i is represented by a function u_i; when agent i receives y_i units of resource, he derives from it a utility of u_i(y_i).
The resource is a medication, the agents are patients, and the utility functions represent their chance of recovery - u_i(y_i) is the probability of agent i to recover by getting y_i doses of the medication.