add document show function for doc_type, date and domain
Merge pull request #4342 from dimagi/doc_show

add document show function for doc_type, date and domain