Three-step one-way model in terahertz biomedical detection