Transmission of HIV
through sexual route is just 0.3- 1%. That is 3 among 1000 contacts. It may be the first contact or 997th contact. Even some statistics reveal 5 per 10000 contacts.
So the contact with the broken condom HIV transmission is a remote possibility.
and C are more easily transmitted through sexual contact than HIV.
As your friend's serum bilirubin
level is more let him have a check up for HIV, Hepatitis B and C is advisable. Tests are available to confirm these disease according to the duration of time between the exposure and the testing day.
If your friend consult his physician, he/she will direct him what to do.
Get him well as early as possible.