How to add status badge to "Edit Document" page?

I want to add a status badge whose value is based on a status field in the table (See the image below). How can I do this?
image