Get document status