In various embodiments, a first classification assigned to a periodic component of an electrical waveform that represents electrical activity in a patient's heart may be identified (302). A corresponding periodic component of a hemodynamic waveform that represents hemodynamic activity in the patient's cardiovascular system may be analyzed (306, 318, 328). The corresponding periodic component may be causally related to the periodic component of the electrical waveform. Based on the analysis, the previously-assigned classification may be assigned (312, 324) to the corresponding periodic component of the hemodynamic waveform in response to a determination, based on the analyzing, that the previously-assigned classification also applies to the corresponding periodic component. In a database (130) of hemodynamic templates, a hemodynamic template associated with the previously-assigned classification may be updated (314) to include one or more features of the corresponding periodic component of the hemodynamic waveform.