In yet another example, the implantable medical device 102 records the time spans the heart valve 1000A is open and closed, and uses the information for modulating a therapy, such as pacing, resynchronization, defibrillation, drug dispensing or the like.