Not sure if it’s any good but I have made a start. i am working in reverse order and if it matches exactly we can return the correct stage.
I think we need some kind of exception to pick up the last couple of stages where the 'any' come in to play
Question - where do the Tx & N1a come into the calculation?
Have a look at the attached and let me if you think it could work or not
|