This can be expressed with a simple OR clause:
AND (A.SpellAdmissionDate = G.SpellAdmissionDate OR Pod_Code != 'DI' OR Pod_Code IS NULL)
In case Pod_Code is not nullable then this reduces to:
AND (A.SpellAdmissionDate = G.SpellAdmissionDate OR Pod_Code != 'DI')