Medical resources allocation Example

Hi every,
I am looking for an ML / DL example in Medical resources allocation field. I would like to understand how to define X and Y in these problems, hence an example would be very helpful.Thanks.