Where sound insulation criteria apply to internal partitions the calculations do need to include any doors which are part of the wall in question.
While sound insulation performance of a typical door will be lower than for a typical wall, with careful design, specification and detailing, this can be overcome.