Test
/AuditMessage/EventIdentification/EventIDE - 1
Description
Event/EventID is mandatory ( PS3.15 , A.5.3.2 )
Test
/AuditMessage/EventIdentification/@EventActionCodeE - 2
Description
Event/@EventActionCode is mandatory ( PS3.15 , A.5.3.2 )
Test
/AuditMessage/EventIdentification/@EventDateTimeE - 3
Description
Event/@EventDateTime is mandatory ( PS3.15 , A.5.3.2 )
Test
/AuditMessage/EventIdentification/@EventOutcomeIndicatorE - 4
Description
Event/@EventOutcomeIndicator is mandatory ( PS3.15 , A.5.3.2 )
Test
count(/AuditMessage/ActiveParticipant[true()])>0E - 5
Description
The number of Persons and or processes that started the Application SHALL be greater than or equal to 1 ( PS3.15 , A.5.3.2 )
Test
/AuditMessage/EventIdentificationE - 6
Description
The cardinality of Event is 1..1 ( PS3.15 , A.5.3.2 )
Test
count(/AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'])>0E - 7
Description
The number of Identity of the audit log SHALL be greater than or equal to 1 ( PS3.15 , A.5.3.2 )
Test
not (/AuditMessage/EventIdentification/EventID) or /AuditMessage/EventIdentification/EventID/@csd-code='110101'R - 1
Description
/AuditMessage/EventIdentification/EventID@csd-code must be '110101' if Event/EventID present ( PS3.15 , A.5.3.2 )
Test
not (/AuditMessage/EventIdentification/EventID) or /AuditMessage/EventIdentification/EventID/@codeSystemName='DCM'R - 2
Description
/AuditMessage/EventIdentification/EventID@codeSystemName must be 'DCM' if Event/EventID present ( PS3.15 , A.5.3.2 )
Test
not (/AuditMessage/EventIdentification/EventID) or /AuditMessage/EventIdentification/EventID/@originalText='Audit Log Used'R - 3
Description
/AuditMessage/EventIdentification/EventID@originalText should be 'Audit Log Used' if Event/EventID present ( PS3.15 , A.5.3.2 )
Test
not (/AuditMessage/EventIdentification/@EventActionCode) or /AuditMessage/EventIdentification/@EventActionCode='R'R - 4
Description
/AuditMessage/EventIdentification/@EventActionCode must be 'R' if Event/EventActionCode present ( PS3.15 , A.5.3.2 )
Test
every $actpart in (/AuditMessage/ActiveParticipant[true()]) satisfies count($actpart/RoleIDCode)>0R - 5
Description
Persons and or processes that started the Application/RoleIDCode has optionality 'C' ( PS3.15 , A.5.3.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[true()] satisfies $actpart/@UserIDR - 6
Description
Persons and or processes that started the Application/UserID is mandatory ( PS3.15 , A.5.3.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[true()] satisfies $actpart/@UserIsRequestorR - 7
Description
Persons and or processes that started the Application/@UserIsRequestor is mandatory ( PS3.15 , A.5.3.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[true()] satisfies count($actpart/MediaIdentifier)=0R - 8
Description
Persons and or processes that started the Application/MediaIdentifier is prohibited ( PS3.15 , A.5.3.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'] satisfies $partid/@ParticipantObjectIDR - 9
Description
Identity of the audit log/ParticipantObjectID is mandatory ( PS3.15 , A.5.3.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'] satisfies $partid/ParticipantObjectIDTypeCodeR - 10
Description
Identity of the audit log/ParticipantObjectIDTypeCode is mandatory ( PS3.15 , A.5.3.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'] satisfies not($partid/ParticipantObjectName) or $partid/ParticipantObjectName='Security Audit Log'R - 11
Description
Identity of the audit log/ParticipantObjectName must be 'Security Audit Log' if /Identity of the audit log/ParticipantObjectName present ( PS3.15 , A.5.3.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'] satisfies $partid/@ParticipantObjectTypeCodeR - 12
Description
Identity of the audit log/ParticipantObjectTypeCode is mandatory ( PS3.15 , A.5.3.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'] satisfies not($partid/@ParticipantObjectTypeCode) or $partid/@ParticipantObjectTypeCode='2'R - 13
Description
Identity of the audit log/@ParticipantObjectTypeCode must be '2' if /Identity of the audit log/@ParticipantObjectTypeCode present ( PS3.15 , A.5.3.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'] satisfies $partid/@ParticipantObjectTypeCodeRoleR - 14
Description
Identity of the audit log/ParticipantObjectTypeCodeRole is mandatory ( PS3.15 , A.5.3.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'] satisfies not($partid/@ParticipantObjectTypeCodeRole) or $partid/@ParticipantObjectTypeCodeRole='13'R - 15
Description
Identity of the audit log/@ParticipantObjectTypeCodeRole must be '13' if /Identity of the audit log/@ParticipantObjectTypeCodeRole present ( PS3.15 , A.5.3.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'] satisfies not($partid/ParticipantObjectContainsStudy/StudyIDs)R - 16
Description
Identity of the audit log/ParticipantObjectContainsStudy/StudyIDs is prohibited ( PS3.15 , A.5.3.2 )
Test
count(/AuditMessage/ActiveParticipant[true()])<3R - 17
Description
The number of Persons and or processes that started the Application SHALL be less than or equal to 2 ( PS3.15 , A.5.3.2 )
Test
count(/AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'])<2R - 18
Description
The number of Identity of the audit log SHALL be less than or equal to 1 ( PS3.15 , A.5.3.2 )
Test
every $act in /AuditMessage/ActiveParticipant satisfies $act[true()]R - 19
Description
Allowed ActiveParticipants are Persons and or processes that started the Application ( PS3.15 , A.5.3.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification satisfies $partid[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13']R - 20
Description
Allowed ParticipantObjectIdentifications are Identity of the audit log ( PS3.15 , A.5.3.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='13'] satisfies $partid/ParticipantObjectIDTypeCode[@code='12' or @csd-code='12']R - 21
Description
Identity/ParticipantObjectIDTypeCode SHALL have @code='12' or @csd-code='12' ( PS3.15 , A.5.3.2 )