Accepted answer
Start with the regulatory basis, because compounding is permitted under specific conditions and those conditions are the whole subject.
Additives are the other divergence. Preparations combining an active with vitamins or other agents are not equivalent to the approved product and have not been studied in that combination.
Salt forms matter: a compounded preparation using a different salt from the approved product is not the same active moiety, and that has been the specific object of regulatory warnings.
Beyond-use dating for compounded sterile preparations is governed by published standards keyed to the compounding environment.
Nothing here is medical advice.
The framework is jurisdiction-specific. Check yours rather than a general answer.
edited 16 Dec 2025 by ilaria_bertone — reworded for clarity after a comment