As Max recovers from war injuries in a veterans ' hospital , he has a morphine-induced fever dream in which the beds in his ward rear up from the floor to the song " Happiness Is a Warm Gun , " and he is tended by five Salma Hayeks .