I'm conducting a research in which patients went through a surgery, for some the surgery was successful (outcome = 1) and for some it wasn't (outcome = 0). The risk factors were calculated using a Cox model to get HRs (hazard ratios) with respect to different features that were collected about the patients. One of those features was the "reason for the surgery", a binary feature with two values, let's call them "reason X" and "reason Y". My struggle is that for "reason Y", there was no patient in the data whose surgery wasn't successful (outcome = 0). This doesn't allow me to perform Cox regression to illustrate the relative risk of reason X vs. reason Y. It is also worth mentioning that the sample size is small (N=27). What can I do to illustrate this relative risk (HR) with respect to reason X and reason Y in this case?
Thank you all in advance :)