Use CCOW to Notify the Context Manager
The following explains how CCOW notifies the Context Manager when a context change occurs.
- Select a patient.
- The application notifies the Context Manager to start a context change.
- The Context Manager notifies the mapping agent that a context change is occurring. The mapping agent supplies the Context Manager with other identifiers known to be linked to a patient. With the Sentillion SDK Context Manager, this happens automatically when the patient context changes in the active application. With the dbMotion NextGen® Enterprise EHR Agent Context Manager, the user must initiate the patient context change by interacting with the dbMotion NextGen® Enterprise EHR. Agent utility application which hovers over the screen of the application.
- The Context Manager notifies the other applications that a new patient context has been proposed.
- Each participating application indicates whether or not it can apply the next context.
- If one or more of the applications cannot apply the new context, a message is sent to the user on the instigating application asking if the user wants to Continue, Cancel or Break the Link. Otherwise, the context change continues automatically.
- The Context Manager notifies all applications to either apply the new context or that the transaction has been canceled.
- Each application applies the new context if instructed to do so by the Context Manager. Each application gets the new patient context from the Context Manager.