That is almost correct, but you need to remember that the temperature in the stratosphere above 36000 feet is constant at -56(ish) degrees Celsius.
So if OAT = -22 at 38000 feet the ISA deviation = -22 - (-56) = +34
Remeber that ISA Deviation = OAT - ISA Temperature at that altitude.