Test
count(/AuditMessage/EventIdentification/EventTypeCode)=0 or (every $i in /AuditMessage/EventIdentification/EventTypeCode satisfies $i/@csd-code='ITI-43')E - 1
Description
Event/EventTypeCode@csd-code must be 'ITI-43' if Event/EventTypeCode present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies not($actpart/@UserIsRequestor) or $actpart/@UserIsRequestor='false'E - 2
Description
Source/@UserIsRequestor must be 'false' if Source/@UserIsRequestor present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
count(/AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'])>0E - 3
Description
The number of Document SHALL be greater than or equal to 1 ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
count(/AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3']/ParticipantObjectDetail[@type="ihe:homeCommunityID" and @value!=''] ) > 0 or count(/AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3']/ParticipantObjectDetail[@type="Repository Unique Id" and @value!=''] ) > 0E - 4
Description
The ParticipantObjectDetail element may occur more than once (Repository Unique Id or/and ihe:homeCommunityID) ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
count(/AuditMessage/EventIdentification/EventTypeCode)=0 or (every $i in /AuditMessage/EventIdentification/EventTypeCode satisfies $i/@originalText='Retrieve Document Set')W - 1
Description
Event/EventTypeCode@originalText should be 'Retrieve Document Set' if Event/EventTypeCode present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies (some $i in $actpart/RoleIDCode satisfies $i/@originalText='Source Role ID')W - 2
Description
Source/RoleIDCode should have @originalText equals to 'Source Role ID' ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies (some $i in $actpart/RoleIDCode satisfies $i/@originalText='Destination Role ID')W - 3
Description
Destination/RoleIDCode should have @originalText equals to 'Destination Role ID' ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $act in /AuditMessage/ActiveParticipant satisfies $act[RoleIDCode[@csd-code='110153']] or $act[RoleIDCode[@csd-code='110152']]W - 4
Description
Allowed ActiveParticipants are Source, Destination ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification satisfies $partid[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3']W - 5
Description
Allowed ParticipantObjectIdentifications are Document ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
false()W - 6
Description
This condition is not checked by the validator : Source/UserID shall be the SOAP endpoint URI ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
false()W - 7
Description
This condition is not checked by the validator : Destination/UserID SHALL be the valueOf <wsa:ReplyTo/> ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
false()W - 8
Description
This condition is not checked by the validator : Document/ParticipantObjectID SHALL have the value of <ihe:DocumentUniqueId/> ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
false()W - 9
Description
This condition is not checked by the validator : Patient ID for profiles that conforms to Metadata used in Document Sharing profiles (IHE ITI TF Vol3, Cross-Transaction Specifications and Content Specifications) SHALL use the CX HL7 v2.5 Identifier restricted to the use of two components, the ID Number, and the Assigning Authority (AA). The Assigning Authority identifies the "domain" over which the Id Number represents a unique entity. In Document Sharing profiles, the AA is characterized by the ISO Object Identifiers as Universal Id and Type. No other values/modifications in other components or subcomponents are allowed. Specifically, components 2 and 3 shall be empty. ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $cvt in //*[@codeSystemName] satisfies matches($cvt/@codeSystemName, '[0-2]((\.0)|(\.[1-9][0-9]*))*')W - 10
Description
In all elements of the type CodedValueType: whenever the represented code belongs to the Swiss Metadata Value Set, the attribute @codeSystemName shall contain the OID of the corresponding code system instead of its symbolic name. (CH-ATNA-010) ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
false()W - 11
Description
This condition is not checked by the validator: In the AuditMessage/ParticipantObjectIdentification node, for the value of the @ParticipantObjectSensitivity field, the current confidentiality code of the object MUST be specified when the object is a document in the EPR. This value MUST represent a value from the Swiss Metadata Value-Set “xds-confCod” (2.16.756.5.30.1.127.3.10.1.5) in the HL7 CNE datatype format.(CH-ATNA-007) ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
/AuditMessage/EventIdentification/EventIDR - 1
Description
Event/EventID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
not (/AuditMessage/EventIdentification/EventID) or /AuditMessage/EventIdentification/EventID/@csd-code='110106'R - 2
Description
/AuditMessage/EventIdentification/EventID@csd-code must be '110106' if Event/EventID present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
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 ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
not (/AuditMessage/EventIdentification/EventID) or /AuditMessage/EventIdentification/EventID/@originalText='Export'R - 4
Description
/AuditMessage/EventIdentification/EventID@originalText should be 'Export' if Event/EventID present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
/AuditMessage/EventIdentification/@EventActionCodeR - 5
Description
Event/@EventActionCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
not (/AuditMessage/EventIdentification/@EventActionCode) or /AuditMessage/EventIdentification/@EventActionCode='R'R - 6
Description
/AuditMessage/EventIdentification/@EventActionCode must be 'R' if Event/EventActionCode present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
/AuditMessage/EventIdentification/@EventDateTimeR - 7
Description
Event/@EventDateTime is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
/AuditMessage/EventIdentification/@EventOutcomeIndicatorR - 8
Description
Event/@EventOutcomeIndicator is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
/AuditMessage/EventIdentification/EventTypeCodeR - 9
Description
Event/EventTypeCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
count(/AuditMessage/EventIdentification/EventTypeCode)=0 or (every $i in /AuditMessage/EventIdentification/EventTypeCode satisfies $i/@codeSystemName='IHE Transactions')R - 10
Description
Event/EventTypeCode@codeSystemName must be 'IHE Transactions' if Event/EventTypeCode present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies $actpart/@AlternativeUserIDR - 11
Description
Source/@AlternativeUserID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies $actpart/@NetworkAccessPointIDR - 12
Description
Source/@NetworkAccessPointID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies $actpart/@NetworkAccessPointTypeCodeR - 13
Description
Source/@NetworkAccessPointTypeCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies not($actpart/@NetworkAccessPointTypeCode) or matches($actpart/@NetworkAccessPointTypeCode,'^1|2$')R - 14
Description
Source/@NetworkAccessPointTypeCode must have this form '^1|2$' if Source/@NetworkAccessPointTypeCode present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in (/AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']]) satisfies count($actpart/RoleIDCode)>0R - 15
Description
Source/RoleIDCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies (some $i in $actpart/RoleIDCode satisfies $i/@csd-code='110153' and $i/@codeSystemName='DCM')R - 16
Description
Source/RoleIDCode must have @csd-code equals to '110153' and @codeSystemName equals to 'DCM' ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies $actpart/@UserIDR - 17
Description
Source/UserID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies $actpart/@UserIsRequestorR - 18
Description
Source/@UserIsRequestor is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies count($actpart/MediaIdentifier)=0R - 19
Description
Source/MediaIdentifier is prohibited ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies $actpart/@NetworkAccessPointIDR - 20
Description
Destination/@NetworkAccessPointID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies $actpart/@NetworkAccessPointTypeCodeR - 21
Description
Destination/@NetworkAccessPointTypeCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies not($actpart/@NetworkAccessPointTypeCode) or matches($actpart/@NetworkAccessPointTypeCode,'^1|2$')R - 22
Description
Destination/@NetworkAccessPointTypeCode must have this form '^1|2$' if Destination/@NetworkAccessPointTypeCode present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in (/AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']]) satisfies count($actpart/RoleIDCode)>0R - 23
Description
Destination/RoleIDCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies (some $i in $actpart/RoleIDCode satisfies $i/@csd-code='110152' and $i/@codeSystemName='DCM')R - 24
Description
Destination/RoleIDCode must have @csd-code equals to '110152' and @codeSystemName equals to 'DCM' ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies $actpart/@UserIDR - 25
Description
Destination/UserID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies $actpart/@UserIsRequestorR - 26
Description
Destination/@UserIsRequestor is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies count($actpart/MediaIdentifier)=0R - 27
Description
Destination/MediaIdentifier is prohibited ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $as in /AuditMessage/AuditSourceIdentification satisfies $as/@AuditEnterpriseSiteIDR - 28
Description
AuditSource/@AuditEnterpriseSiteID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $as in /AuditMessage/AuditSourceIdentification satisfies not($as/@AuditEnterpriseSiteID) or matches($as/@AuditEnterpriseSiteID,'[0-2]((\.0)|(\.[1-9][0-9]*))*')R - 29
Description
AuditSource/@AuditEnterpriseSiteID must have this form : '[0-2]((\.0)|(\.[1-9][0-9]*))*' if AuditSource/@AuditEnterpriseSiteID present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $as in /AuditMessage/AuditSourceIdentification satisfies $as/@AuditSourceIDR - 30
Description
AuditSource/@AuditSourceID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies $partid/ParticipantObjectDetailR - 31
Description
Document/ParticipantObjectDetail is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies $partid/@ParticipantObjectIDR - 32
Description
Document/ParticipantObjectID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies $partid/ParticipantObjectIDTypeCodeR - 33
Description
Document/ParticipantObjectIDTypeCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies not($partid/@ParticipantObjectSensitivity) or matches($partid/@ParticipantObjectSensitivity,'[0-9]{13}\^[a-z]{1,75}\^(([0-9.])+.)*([0-9])')R - 34
Description
Document/@ParticipantObjectSensitivity must have this form '[0-9]{13}\^[a-z]{1,75}\^(([0-9.])+.)*([0-9])' if Document/@ParticipantObjectSensitivity present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies $partid/@ParticipantObjectTypeCodeR - 35
Description
Document/ParticipantObjectTypeCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies not($partid/@ParticipantObjectTypeCode) or $partid/@ParticipantObjectTypeCode='2'R - 36
Description
Document/@ParticipantObjectTypeCode must be '2' if /Document/@ParticipantObjectTypeCode present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies $partid/@ParticipantObjectTypeCodeRoleR - 37
Description
Document/ParticipantObjectTypeCodeRole is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies not($partid/@ParticipantObjectTypeCodeRole) or $partid/@ParticipantObjectTypeCodeRole='3'R - 38
Description
Document/@ParticipantObjectTypeCodeRole must be '3' if /Document/@ParticipantObjectTypeCodeRole present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
count(/AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']])<2R - 39
Description
The number of Source SHALL be less than or equal to 1 ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
count(/AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']])>0R - 40
Description
The number of Source SHALL be greater than or equal to 1 ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
count(/AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']])<2R - 41
Description
The number of Destination SHALL be less than or equal to 1 ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
count(/AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']])>0R - 42
Description
The number of Destination SHALL be greater than or equal to 1 ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
count(/AuditMessage/AuditSourceIdentification)<2R - 43
Description
The number of AuditSource SHALL be less than or equal to 1 ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
count(/AuditMessage/AuditSourceIdentification)>0R - 44
Description
The number of AuditSource SHALL be greater than or equal to 1 ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
/AuditMessage/EventIdentificationR - 45
Description
The cardinality of Event is 1..1 ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification satisfies ( every $i in $partid/ParticipantObjectIDTypeCode satisfies matches($i/@csd-code, '.'))R - 46
Description
ParticipantObjectIDTypeCode/@csd-code must be present and not null. (CH-ATNA-009) ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.2 )