Please post the op note. I don't think Ron has answered your question. But, without seeing the op note, I'm betting on 44160 as the code you're asking for.
44160 sounds good because it references the terminal ileum, however, it describes a different procedure and that one fails to mention performing a Hartman type procedure. So, I'm not yet convinced that it is likely the proper code.
Ingenix 2011 Coders' Desk Reference: Procedures 'lay description' for CPT 44160 is:
The physician makes an abdominal incision and removes a segment of the colon and terminal ileum and perforrms an anastomosis between the remaining ileum and colon. The physician makes an abdominal incision. Next, the selected segment of colon and terminal ileum are isolated and divided proximal and distal to the remainng bowel and removed. An anastomosis is created between the distal ileum and remaining colon with staples or sutures. The incision is closed. (p.408)
In contrast, the CDR's 'lay description' for CPT 44143 reads:
The physician resects a segment of colon and brings the proximal end of colon throught the abdominal wall onto the skin as a colostomy. The physician makes an abdominal incision. Next, the selected segment of colon and terminal ileum are isolated and divided proximally and distally to the remainng bowel and removed. The proximal end of colon is brought through a separate incision on the abdominal wall onto the skin as a colostomy. The distal end of colon is closed with staples or sutures and left in the abdomen. The initial incision is closed.
In 44160, there is no mention of the physician creating a colostomy (or ileostomy, since it's the ileum being brought out), nor is there mention of closing the distal end of colon with staples or sutures and leaving it in the abdomen.
Thus, 44160 appears to not fit the facts we've been given so far.