Most councils allow the blue badge exemption on yellow lines but Westminster is not one of them, which is why you got the PCN.
But we've seen them cancel for hospital appointments before, so this well worth a polite ask on the basis that it is unusual for the exemption not to be given.