<!-- BEGIN nhs_number.tt -->
[%
    IF ( item = nhs_number.match('(\d{3})(\d{3})(\d{4})') );
        item.join; # defaults to single space
    ELSE;
        site.html.grey_null;
    END;
%]
<!-- END nhs_number.tt -->