The first pilot-scale demonstration of the partial nitritation/anammox-hydroxyapatite process to treat the effluent of the anaerobic membrane bioreactor fed with the actual municipal wastewater.