the almost finished iratze had helped , but the pain in his chest was still bad , and he knew , in a detached sort of way , that the fact that he was coughing up blood probably meant that he had a punctured lung .