It depends upon whether you are considering the All-Engines Operating (AEO) or 1 Engine Inoperative (OEI) scenario.
If you are talking of a normal AEO departure, you must ensure that your aircraft's AEO performance is such that you can meet the SID Gradient requirement.
Having established before departure that you CAN meet the AEO requirements for the SID, you must now establish a suitable OEI 'escape' from the SID, which mostly leads to a totally different lateral and vertical profile to the SID.
SIDs are calculated from PANS-OPS (and their equivalents) rules, OEI procedures are calculated from FAR 25 (and their equivalents) rules, totally different sets of rules, and........
BOTH MUST BE SATISFIED!
.... and that probably generates more questions than answers
Regards,
Old Smokey