Subscribe to the open encounter change event.
When the user navigates to an open encounter page, cb is called with the encounter information.
When the user navigates away from an open encounter page, cb is called with null.
This also immediately obtains the currently viewed open encounter (or null) and passes it to cb.
Subscribe to the open encounter change event. When the user navigates to an open encounter page,
cbis called with the encounter information. When the user navigates away from an open encounter page,cbis called withnull.This also immediately obtains the currently viewed open encounter (or
null) and passes it tocb.