carpet tile doorway type question..

Hey gang.. I need to remove carpet from the bathroom (dont ask why ).. I plan to replace with tile. Carpet will remain in the hallway and I am unsure where the tile should terminate at the doorway. Any suggestions would help..

ALL carpet, tile or any other type of flooring should end in the middle of the doorway. That means that from inside the room you cannot see what is on the other side and same for hall or other room. I laid floors for 8 years so I do know what I am talking about.