17-5-7: INSPECTIONS:
   A.   Inspection Of Owner Occupied, Single-Family Dwellings: Inspections of owner occupied, single-family dwellings shall occur only upon request or complaint to the inspector, and only the standards of sections 17-5-17, 17-5-19 and 17-5-20 of this chapter shall be applicable.
   B.   Inspections Of Structure Items: The provisions of sections 17-5-17 and 17-5-18 of this chapter in effect at the time of issuance of a certificate of structure compliance shall be the only structure standards applicable to a dwelling. Upon the issuance of a certificate of structure compliance, there shall be no further inspection and enforcement of the structure items under sections 17-5-17 and 17-5-18 of this chapter.
   C.   Maintenance Inspections: Inspections of the provisions of section 17-5-19 of this chapter shall be conducted upon request, on a complaint basis and/or through a program of regular rental inspections. Regular inspections shall be conducted as determined by resolution of the city council.
   D.   Right To Access By Inspector:
      1.   The inspector is hereby authorized to conduct consensual inspections of any dwelling within Iowa City in order to perform the duty of safeguarding the health, safety and general welfare of the occupants or the public. Whenever necessary to make an inspection to enforce any of the provisions of the housing code or whenever the inspector has reasonable cause to believe that there exists in any dwelling, dwelling unit, rooming unit or premises any condition which makes such unit or premises in violation of any provision of the housing code or in response to a complaint that an alleged violation of a provision of the housing code may exist, the inspector may enter such unit or premises at all reasonable times to inspect the same or to perform any duty imposed upon the inspector by the housing code, provided if such unit or premises be occupied, the inspector shall first make a reasonable effort to locate the owner or other person having charge or control of the building or premises and request entry. The inspector and/or authorized representative shall, at such time: a) identify themselves and their positions; and b) explain why entry is sought.
      2.   If entry is refused, the inspector shall request that the inspection be conducted at a reasonable time, suitable to the owner or occupant. If the request for future entry is refused, the inspector shall, at that time or at a later time, explain to the owner and/or occupant that: a) the occupant may refuse, without penalty, entry without a search warrant; and b) the inspector may apply to the magistrate for a search warrant.
   E.   Search Warrant: If consent to inspect a building is withheld by any person having the lawful right to exclude, the inspector may apply to a magistrate of the Iowa district court in and for county for a search warrant of the building. No owner or occupant or any other person having charge, care or control of any dwelling, dwelling unit, rooming unit, structure or premises shall fail or neglect, after presentation of a search warrant, to properly permit entry therein by the inspector or authorized representative for the purpose of inspection and examination pursuant to the housing code. (1978 Code §17-3)