Methods, systems, and apparatus for detecting and/or validating a detection of a state change by matching the shape of one or more of an cardiac data series, a heart rate variability data series, or at least a portion of a heart beat complex, derived from cardiac data, to an appropriate template.