Appends the changes between two versions of a container to the history.
The current (old) containers containing the original objects.
The updated (new) containers with any changes.
This method works as follows:
If a container is removed (is in currentContainer but not in updatedContainer), then an entry for all the AnnObject children of this container is added to Items with AnnHistoryItemState equals to
If a container is added (is in updatedContainer but not in currentContainer), then an entry for all the AnnObject children of this container is added to Items with AnnHistoryItemState equals to
Any object that is in updatedContainer but not in its corresponding container in currentContainer is considered a new object and an entry of type
Added is added to Items.
Any object that is in currentContainer but not in its corresponding container in updatedContainer is considered deleted and an entry of type
Deleted is added to Items.
For all objects that are in both currentContainer and its corresponding updatedContainer, the AnnObject.ModifiedMetadataKey values are compared and if not equal, an entry of type 'Modified' is added to Items.
Therefore, when this method returns, Items will be updated to add a list of all the annotation objects that have been changed between the two container sets.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries