A "confidential settlement" has brought an end to a lengthy legal dispute over Wairarapa's defective hospital.
What this means for Wairarapa patients remains to be seen.
The High Court claim, worth tens of millions of dollars, was brought by Health New Zealand - Te Whatu Ora against Masterton District Council (MDC) and was heard in court last year.
The claim related to defects in the construction of Wairarapa Hospital, with the dispute dating back more than 12 years.
During the court hearing, Health NZ claimed the building had widespread structural defects, including a risk of failure in a large earthquake.
Both parties confirmed on Thursday that the claim had been "settled satisfactorily" and that "the terms of the settlement are confidential".
In court last year, Health NZ claimed damages for negligence of just under $90 million, with GST, interest, and costs on top.
This amount would have covered the cost of a new stand-alone hospital building adjacent to the current hospital structure and this was the solution proposed by Health NZ.
In contrast, MDC's remediation proposal involved fixing the defective parts of the current hospital building at an estimated cost of $4m.
Health NZ told Local Democracy Reporting that no decisions on any facility remediation at Wairarapa Hospital had been made.
The High Court claim alleged MDC was negligent and failed in its duty to exercise reasonable care and skill in issuing a code compliance certificate for the hospital.
In particular, MDC was alleged to have issued a compliance certificate for the hospital building, even though it had defects, and without having reasonable grounds to be satisfied the structural design and building work complied with the Building Code.
Health NZ had to do seismic strengthening work to the entrance canopy, glazed walkways, cafeteria, and the ambulance bay of the hospital in 2019 and 2020, costing $293,280 plus GST.
The claim alleged that if the code compliance certificate had been refused by MDC in 2011, Health NZ would have been able to take steps to identify and remedy the defects at that stage.
The hospital was built between 2005 and 2006.
MDC denied liability and defended the claims.
The court was told MDC's proposed solution was estimated to cost $4m.
Local Democracy Reporting has asked both MDC and Health NZ to respond to a number of questions, citing public interest in the disclosure of information.
This included questions around the total legal fees spent by both parties, the settlement amount, and the grounds of the agreement.
MDC has also been asked how the settlement will be funded, and if any part is covered by insurance.
The parties had not responded to these questions by the article's deadline.
LDR is local body journalism co-funded by RNZ and NZ On Air.