"he drank so as not to think of the pain"?
Almost exactly the same as my response, the suggested translation is not idiomatic English IMO.
He drank to ignore the pain would be the colloquial translation.
The voice says "Han drak for at ikke tænke på smerten" and not "...for ikke at..."
I wrote what she said and it was marked wrong !
the for sounded like så to me