Charges against a teenage boy accused of raping a 13-year-old girl at Perth Children’s Hospital were discontinued because of serious concerns about the safety and wellbeing of the alleged victim, it is revealed.