Test
every $actpart in (/AuditMessage/ActiveParticipant[]) satisfies count($actpart/RoleIDCode)>0W - 1
Description
Internal error while evaluating the xPath. This condition can not be verified by the validator : The person or process deleting the study/RoleIDCode has optionality 'C' ( PS3.15 , A.5.3.8 )
Test
every $actpart in /AuditMessage/ActiveParticipant[] satisfies $actpart/@UserIDW - 2
Description
Internal error while evaluating the xPath. This condition can not be verified by the validator : The person or process deleting the study/UserID is mandatory ( PS3.15 , A.5.3.8 )
Test
every $actpart in /AuditMessage/ActiveParticipant[] satisfies $actpart/@UserIsRequestorW - 3
Description
Internal error while evaluating the xPath. This condition can not be verified by the validator : The person or process deleting the study/@UserIsRequestor is mandatory ( PS3.15 , A.5.3.8 )
Test
every $actpart in /AuditMessage/ActiveParticipant[] satisfies count($actpart/MediaIdentifier)=0W - 4
Description
Internal error while evaluating the xPath. This condition can not be verified by the validator : The person or process deleting the study/MediaIdentifier is prohibited ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3' ] satisfies $partid/SOPClassW - 5
Description
Studies being transferred/SOPClass has optionality 'C' ( PS3.15 , A.5.3.8 )
Test
count(/AuditMessage/ActiveParticipant[])<3W - 6
Description
Internal error while evaluating the xPath. This condition can not be verified by the validator : The number of The person or process deleting the study SHALL be less than or equal to 2 ( PS3.15 , A.5.3.8 )
Test
count(/AuditMessage/ActiveParticipant[])>0W - 7
Description
Internal error while evaluating the xPath. This condition can not be verified by the validator : The number of The person or process deleting the study SHALL be greater than or equal to 1 ( PS3.15 , A.5.3.8 )
Test
every $act in /AuditMessage/ActiveParticipant satisfies $act[]W - 8
Description
Internal error while evaluating the xPath. This condition can not be verified by the validator : Allowed ActiveParticipants are The person or process deleting the study ( PS3.15 , A.5.3.8 )
Test
/AuditMessage/EventIdentification/EventIDR - 1
Description
Event/EventID is mandatory ( PS3.15 , A.5.3.8 )
Test
not (/AuditMessage/EventIdentification/EventID) or /AuditMessage/EventIdentification/EventID/@csd-code='110105'R - 2
Description
/AuditMessage/EventIdentification/EventID@csd-code must be '110105' if Event/EventID present ( PS3.15 , A.5.3.8 )
Test
not (/AuditMessage/EventIdentification/EventID) or /AuditMessage/EventIdentification/EventID/@codeSystemName='DCM'R - 3
Description
/AuditMessage/EventIdentification/EventID@codeSystemName must be 'DCM' if Event/EventID present ( PS3.15 , A.5.3.8 )
Test
not (/AuditMessage/EventIdentification/EventID) or /AuditMessage/EventIdentification/EventID/@originalText='DICOM Study Deleted'R - 4
Description
/AuditMessage/EventIdentification/EventID@originalText should be 'DICOM Study Deleted' if Event/EventID present ( PS3.15 , A.5.3.8 )
Test
/AuditMessage/EventIdentification/@EventActionCodeR - 5
Description
Event/@EventActionCode is mandatory ( PS3.15 , A.5.3.8 )
Test
not (/AuditMessage/EventIdentification/@EventActionCode) or /AuditMessage/EventIdentification/@EventActionCode='D'R - 6
Description
/AuditMessage/EventIdentification/@EventActionCode must be 'D' if Event/EventActionCode present ( PS3.15 , A.5.3.8 )
Test
/AuditMessage/EventIdentification/@EventDateTimeR - 7
Description
Event/@EventDateTime is mandatory ( PS3.15 , A.5.3.8 )
Test
/AuditMessage/EventIdentification/@EventOutcomeIndicatorR - 8
Description
Event/@EventOutcomeIndicator is mandatory ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3' ] satisfies $partid/@ParticipantObjectIDR - 9
Description
Studies being transferred/ParticipantObjectID is mandatory ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3' ] satisfies $partid/ParticipantObjectIDTypeCodeR - 10
Description
Studies being transferred/ParticipantObjectIDTypeCode is mandatory ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3' ] satisfies (every $i in $partid/ParticipantObjectIDTypeCode satisfies $i/@csd-code='110180')R - 11
Description
Studies being transferred/ParticipantObjectIDTypeCode@csd-code must be '110180' if Studies being transferred/ParticipantObjectIDTypeCode present ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3' ] satisfies (every $i in $partid/ParticipantObjectIDTypeCode satisfies $i/@codeSystemName='DCM')R - 12
Description
Studies being transferred/ParticipantObjectIDTypeCode@codeSystemName must be 'DCM' if Studies being transferred/ParticipantObjectIDTypeCode present ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3' ] satisfies (every $i in $partid/ParticipantObjectIDTypeCode satisfies $i/@originalText='Study Instance UID')R - 13
Description
Studies being transferred/ParticipantObjectIDTypeCode@originalText should be 'Study Instance UID' if Studies being transferred/ParticipantObjectIDTypeCode present ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3' ] satisfies $partid/@ParticipantObjectTypeCodeR - 14
Description
Studies being transferred/ParticipantObjectTypeCode is mandatory ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3' ] satisfies not($partid/@ParticipantObjectTypeCode) or $partid/@ParticipantObjectTypeCode='2'R - 15
Description
Studies being transferred/@ParticipantObjectTypeCode must be '2' if /Studies being transferred/@ParticipantObjectTypeCode present ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3' ] satisfies $partid/@ParticipantObjectTypeCodeRoleR - 16
Description
Studies being transferred/ParticipantObjectTypeCodeRole is mandatory ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3' ] satisfies not($partid/@ParticipantObjectTypeCodeRole) or $partid/@ParticipantObjectTypeCodeRole='3'R - 17
Description
Studies being transferred/@ParticipantObjectTypeCodeRole must be '3' if /Studies being transferred/@ParticipantObjectTypeCodeRole present ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies $partid/@ParticipantObjectIDR - 18
Description
Patient/ParticipantObjectID is mandatory ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies not($partid/@ParticipantObjectID) or matches($partid/@ParticipantObjectID,'^.+$')R - 19
Description
Patient/@ParticipantObjectID must have this form '^.+$' if Patient/@ParticipantObjectID present ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies $partid/ParticipantObjectIDTypeCodeR - 20
Description
Patient/ParticipantObjectIDTypeCode is mandatory ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies $partid/@ParticipantObjectTypeCodeR - 21
Description
Patient/ParticipantObjectTypeCode is mandatory ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies not($partid/@ParticipantObjectTypeCode) or $partid/@ParticipantObjectTypeCode='1'R - 22
Description
Patient/@ParticipantObjectTypeCode must be '1' if /Patient/@ParticipantObjectTypeCode present ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies $partid/@ParticipantObjectTypeCodeRoleR - 23
Description
Patient/ParticipantObjectTypeCodeRole is mandatory ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies not($partid/@ParticipantObjectTypeCodeRole) or $partid/@ParticipantObjectTypeCodeRole='1'R - 24
Description
Patient/@ParticipantObjectTypeCodeRole must be '1' if /Patient/@ParticipantObjectTypeCodeRole present ( PS3.15 , A.5.3.8 )
Test
/AuditMessage/EventIdentificationR - 25
Description
The cardinality of Event is 1..1 ( PS3.15 , A.5.3.8 )
Test
count(/AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3' ])>0R - 26
Description
The number of Studies being transferred SHALL be greater than or equal to 1 ( PS3.15 , A.5.3.8 )
Test
count(/AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'])<2R - 27
Description
The number of Patient SHALL be less than or equal to 1 ( PS3.15 , A.5.3.8 )
Test
count(/AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'])>0R - 28
Description
The number of Patient SHALL be greater than or equal to 1 ( PS3.15 , A.5.3.8 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification satisfies $partid[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3' ] or $partid[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1']R - 29
Description
Allowed ParticipantObjectIdentifications are Studies being transferred, Patient ( PS3.15 , A.5.3.8 )