CompareRecord
The CompareRecord activity compares two versions of a record and generates a difference report. The difference is added to the mlXML output document. The <ActionLog> tag contains all comparison data of a record.
The comparison data includes:
- Record Attributes
- Relationships
- Relationship Attributes
- Relationship Target Records
- Classifications – Any changes in the classification data is displayed in the <ChangedClassificationData> element. The change in classification is represented in the <Classification> element. Every classification scheme that is available in the current or previous version of a record is displayed as a new <Classification> element in the mlXML document.
The classification data is compared scheme wise using the action attribute. Changes in the classification code are compared and shown in the hierarchical format. The current and previous classification code hierarchy is compared using the <CurrentCodeHierarchy> and <OriginalCodeHierarchy> elements respectively under its respective <Classification> tag.
Note: If the classification record does not include any changes, classification information is not displayed in the mlXML document.The classification action performed on each classification scheme is denoted using the action attribute. The following values are displayed for the action attribute:
- Added
- Modified
- Deleted