Patent Document ID: 20100234912
Application ID: 12785954
Patent Flag: 0

Claim One:
1. A method for implementing a neural stimulation therapy mode in an implantable medical device (IMD) comprising stimulation circuitry adapted to provide at least one neural stimulation energy to a patient using at least one neural stimulation electrode, the method comprising the acts of: mapping respective device states, defined by one or more timer states, including at least one neural event timer, or one or more indications of one or more sensed physiologic events, to associated device actions in a stored neural table, wherein the device actions include: one or more of a neural stimulation energy delivery or a change in one or more timer states; and a set of one or more action inputs, wherein an action input includes at least one of an input to the neural stimulation circuitry and an input to the one or more timers; storing an event represented as a device status word and a time stamp in a queue in response to an action input; and comparing one or more current timer states or one or more indications of one or more sensed physiologic events to a device state contained in the neural table and, if found to match, causing performance of one or more associated device actions.