Complaints about dilapidated buildings are checked by a building inspector to see if there appears to be any code violations. If so, the owner is notified and a hearing scheduled. At the hearing, the hearing officer decides whether to issue an order for the building to be closed, repaired, or demolished. A court hearing may also be needed.