Comparing remote instances with the master

During development one may confirm the accuracy of the sync process. From the master, go to Admin/Publishing and click the "Compare" link on the record for the remote site to which the master is subscribed:

Link to Compare on subscription record

The system requests an XML record for each patient in the Master database for that site. This record is rendered dynamically on the remote site. Using the XML record is in-lieu of connecting to the remote database directly. Elements of the patient record on the master such as all encounter recordsd are compared with the remote version. The system displays a report to the user when the analysis is complete:

Results of compare process

The system also generates a report on the filesystem in the "syncReports" directory for the site - in this case, in webapp/archive/AIR/syncReport. It provides more detail on missing or incomplete records.The UUID of the missing patient or encounter is displays. Incorrect values and UUID for the encounter are also provided.

XML report that displays problems w/ sync