WARNING: This page is about a different car, the 2005 Nissan Quest. However, it is still accessible from the selected car via links, so may be relevant.
These self-diagnoses have the one trip detection logic.
Fig 1: DTC Detecting Condition - Possible Cause Chart