Your consideration and concern indicate how caring you are so I would bet this came across to the young lady who lost her friend.
Very soon after I was diagnosed a friend in her early 30s was diagnosed with breast cancer and passed away a couple of years later so I try to think of her when I'm feeling sorry for myself.