Has anyone developed a fix for following problem?
When automatic encounter creation on check-in is set, encounters can be created by setting status in calendar OR as result of receiving co-payment from patient for that visit. However, payment route does not seem to initiate tracking. If subsequently status is set through tracker popup, additional encounter is created.
Update 1:
While reviewing code, noticed use of GLOBALS for storing an id created by previous activity (temporary-eid-for-manage-tracker). This will test ok for a single user with limited volume but GLOBALS (shared across application) invariably lead to data corruption if mult-user applications. SESSION may lessen the damage but relying on pure data oriented approach is ideal.