A device, system and method for measuring the impedance during a medicalprocedure being performed on a patient is disclosed. The device, system andmethod include an electrode capable of being used in the medical procedure, aplurality of patches operationally located on the surface of a body of thepatient, anda sensor for measuring a signal between the electrode and at least one of theplurality of patches, the signal being processed using a processor using afirst filterand a second filter, and combining the result of the first filter and thesecond filterusing a weighting of the filters to provide a measurement of the impedance,whereinthe impedance indicates the end of the medical procedure.