The posterior probability is transformed into prior probability by Bayesian formula. What needs to be calculated is the probability of getting cancer when it is positive, but what we know is the probability of getting positive when it is cancer, not the prior knowledge of getting negative when it is cancer.
Where c stands for Cancer and p stands for positive.