What the 50, 15 and 5 years mean
Each building element has to keep meeting every other clause that applies to it, with only normal maintenance, for its period. 50 years, or the life of the building where that is longer, for an element that gives the building structural stability (floors, walls and fixings included), that is difficult to access or replace, or whose failure nobody would notice in use or in maintenance. 15 years for one that is moderately difficult to access or replace (the building envelope, exposed plumbing in the subfloor, built-in chimneys and flues), or whose failure would be missed in use but found in maintenance. 5 years only where both hold: easy to access and replace, and a failure plain in normal use (services, linings, protective coatings that are renewed, fixtures).
A period is a minimum, and what has to last is the element doing its job, not the element merely still being there.
NZBC B2.3.1, B2/AS1 2.1.1.1Worked in: Periods