If a patient has a de-functioning colostomy, before the main curative procedure should this be recorded or should they just record the stoma carried out during the main procedure?

Only the details of the curative resection are required and not any preceding stoma formation.