"The ministry had a discretion as to how it evaluated proposals.... The [request for proposals] was silent as to the process the ministry was to follow," the decision said.
It was a complex process which involved national and regional providers but the ministry was under no obligation to use a statistically sound process in arriving at its decision, the judges said.
Last year, opposition parties claimed the foundation was losing the funding because it opposed a Government deal which allowed the SkyCity casino an extra 230 pokie machines in exchange for building a convention centre.
But the Government said the new provider, The Salvation Army, also opposed the deal.
Associate Health Minister Peter Dunne welcomed today's court decision, saying the ministry had undertaken "a robust, independent, peer-reviewed process and the Court of Appeal's decision affirms this".
"Frankly, a lot of time and resources have been wasted through the judicial review process initiated by the Problem Gambling Foundation, which could have otherwise been far more effectively utilised. It is particularly pleasing to see that the hard work that was put in from the outset by Ministry of Health officials has been vindicated," he said.
"The Court of Appeal's decision will not impact on current contracts as the ministry has extended its original contracts with all providers, including the Problem Gambling Foundation, until June next year. Help remains available to people experiencing gambling harm."
- NZN, Herald staff