1. A pressure transmitter adapted to couple to a process fluid to sense pressure, the pressure transmitter comprising: a pressure sensor adapted to measure pressure of the process fluid; an analog to digital converter coupled to the pressure sensor and configured to generate a series of digital representations of pressure of the process fluid; a microprocessor system configured to receive the series of digital representations of pressure and having: a first algorithm stored therein calculating a difference between the series of digital representations and a moving average of the series of digital representations, and having a second algorithm stored therein receiving the difference and calculating a trained data set of historical data during a training mode and calculating a current data set during a monitoring mode and generating diagnostic data as a function of the current data set relative to the historical data, the diagnostic data indicative of a condition of a primary element and/or an impulse line; and an output configured to provide an output related to pressure of the process fluid.