Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies $actpart/@AlternativeUserIDE - 1
Description
Destination/@AlternativeUserID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies $partid/@ParticipantObjectSensitivityE - 2
Description
Document/@ParticipantObjectSensitivity is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies $partid/ParticipantObjectNameW - 1
Description
Document/ParticipantObjectName has optionality 'C' ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
false()W - 2
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.1 )
Test
false()W - 3
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.1 )
Test
every $partId in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies count($partId/ParticipantObjectDetail[normalize-space(@type)=normalize-space('ihe:homeCommunityID') and @value!='']) = 1W - 4
Description
The ParticipantObjectDetail element may occur more than once. In another element, the value of “ihe:homeCommunityID” as the value of the attribute type and the value of the homeCommunityID as the value of the attribute value. ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
false()W - 5
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.1 )
Test
every $cvt in //*[@codeSystemName] satisfies matches($cvt/@codeSystemName, '[0-2]((\.0)|(\.[1-9][0-9]*))*')W - 6
Description
Every element using "other-csd-attributes" attribute group, MUST use an OID as @codeSystemName value. (CH-ATNA-010) ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
false()W - 7
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.1 )
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.1 )
Test
not (/AuditMessage/EventIdentification/EventID) or /AuditMessage/EventIdentification/EventID/@csd-code='110107'R - 2
Description
/AuditMessage/EventIdentification/EventID@csd-code must be '110107' if Event/EventID present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
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.1 )
Test
not (/AuditMessage/EventIdentification/EventID) or /AuditMessage/EventIdentification/EventID/@originalText='Import'R - 4
Description
/AuditMessage/EventIdentification/EventID@originalText should be 'Import' if Event/EventID present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
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.1 )
Test
not (/AuditMessage/EventIdentification/@EventActionCode) or /AuditMessage/EventIdentification/@EventActionCode='C'R - 6
Description
/AuditMessage/EventIdentification/@EventActionCode must be 'C' if Event/EventActionCode present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
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.1 )
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.1 )
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.1 )
Test
count(/AuditMessage/EventIdentification/EventTypeCode)=0 or (every $i in /AuditMessage/EventIdentification/EventTypeCode satisfies $i/@csd-code='ITI-43')R - 10
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.1 )
Test
count(/AuditMessage/EventIdentification/EventTypeCode)=0 or (every $i in /AuditMessage/EventIdentification/EventTypeCode satisfies $i/@codeSystemName='IHE Transactions')R - 11
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.1 )
Test
count(/AuditMessage/EventIdentification/EventTypeCode)=0 or (every $i in /AuditMessage/EventIdentification/EventTypeCode satisfies $i/@originalText='Retrieve Document Set')R - 12
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.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies $actpart/@NetworkAccessPointIDR - 13
Description
Source/@NetworkAccessPointID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies $actpart/@NetworkAccessPointTypeCodeR - 14
Description
Source/@NetworkAccessPointTypeCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies not($actpart/@NetworkAccessPointTypeCode) or matches($actpart/@NetworkAccessPointTypeCode,'^1|2$')R - 15
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.1 )
Test
every $actpart in (/AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']]) satisfies count($actpart/RoleIDCode)>0R - 16
Description
Source/RoleIDCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
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 - 17
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.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies (some $i in $actpart/RoleIDCode satisfies $i/@originalText='Source Role ID')R - 18
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.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies $actpart/@UserIDR - 19
Description
Source/UserID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies $actpart/@UserIsRequestorR - 20
Description
Source/@UserIsRequestor is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies not($actpart/@UserIsRequestor) or $actpart/@UserIsRequestor='false'R - 21
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.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']] satisfies count($actpart/MediaIdentifier)=0R - 22
Description
Source/MediaIdentifier is prohibited ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies $actpart/@NetworkAccessPointIDR - 23
Description
Destination/@NetworkAccessPointID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies $actpart/@NetworkAccessPointTypeCodeR - 24
Description
Destination/@NetworkAccessPointTypeCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies not($actpart/@NetworkAccessPointTypeCode) or matches($actpart/@NetworkAccessPointTypeCode,'^1|2$')R - 25
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.1 )
Test
every $actpart in (/AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']]) satisfies count($actpart/RoleIDCode)>0R - 26
Description
Destination/RoleIDCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
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 - 27
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.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies (some $i in $actpart/RoleIDCode satisfies $i/@originalText='Destination Role ID')R - 28
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.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies $actpart/@UserIDR - 29
Description
Destination/UserID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']] satisfies count($actpart/MediaIdentifier)=0R - 30
Description
Destination/MediaIdentifier is prohibited ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in (/AuditMessage/ActiveParticipant[not(RoleIDCode) or RoleIDCode[@csd-code!='110153' and @csd-code!='110152']]) satisfies count($actpart/RoleIDCode)>0R - 31
Description
HumanRequestor/RoleIDCode has optionality 'C' ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[not(RoleIDCode) or RoleIDCode[@csd-code!='110153' and @csd-code!='110152']] satisfies $actpart/@UserIDR - 32
Description
HumanRequestor/UserID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[not(RoleIDCode) or RoleIDCode[@csd-code!='110153' and @csd-code!='110152']] satisfies not($actpart/@UserID) or matches($actpart/@UserID,'^[\w\.-]+@[\w-]+(\.[\w-]+)*$')R - 33
Description
HumanRequestor/@UserID must have this form '^[\w\.-]+@[\w-]+(\.[\w-]+)*$' if HumanRequestor/@UserID present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[not(RoleIDCode) or RoleIDCode[@csd-code!='110153' and @csd-code!='110152']] satisfies not($actpart/@UserName) or matches($actpart/@UserName,'^(\w+ )?\w+ \w+$')R - 34
Description
HumanRequestor/@UserName must have this form '^(\w+ )?\w+ \w+$' if HumanRequestor/@UserName present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $actpart in /AuditMessage/ActiveParticipant[not(RoleIDCode) or RoleIDCode[@csd-code!='110153' and @csd-code!='110152']] satisfies count($actpart/MediaIdentifier)=0R - 35
Description
HumanRequestor/MediaIdentifier is prohibited ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $as in /AuditMessage/AuditSourceIdentification satisfies $as/@AuditEnterpriseSiteIDR - 36
Description
AuditSource/@AuditEnterpriseSiteID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $as in /AuditMessage/AuditSourceIdentification satisfies not($as/@AuditEnterpriseSiteID) or matches($as/@AuditEnterpriseSiteID,'[0-2]((\.0)|(\.[1-9][0-9]*))*')R - 37
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.1 )
Test
every $as in /AuditMessage/AuditSourceIdentification satisfies $as/@AuditSourceIDR - 38
Description
AuditSource/@AuditSourceID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies $partid/@ParticipantObjectIDR - 39
Description
Patient/ParticipantObjectID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies not($partid/@ParticipantObjectID) or matches($partid/@ParticipantObjectID,'^.+?\^\^\^.*?&.+?&ISO(\^.*){0,4}$')R - 40
Description
Patient/@ParticipantObjectID must have this form '^.+?\^\^\^.*?&.+?&ISO(\^.*){0,4}$' if Patient/@ParticipantObjectID present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies $partid/ParticipantObjectIDTypeCodeR - 41
Description
Patient/ParticipantObjectIDTypeCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies $partid/@ParticipantObjectTypeCodeR - 42
Description
Patient/ParticipantObjectTypeCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies not($partid/@ParticipantObjectTypeCode) or $partid/@ParticipantObjectTypeCode='1'R - 43
Description
Patient/@ParticipantObjectTypeCode must be '1' if /Patient/@ParticipantObjectTypeCode present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies $partid/@ParticipantObjectTypeCodeRoleR - 44
Description
Patient/ParticipantObjectTypeCodeRole is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] satisfies not($partid/@ParticipantObjectTypeCodeRole) or $partid/@ParticipantObjectTypeCodeRole='1'R - 45
Description
Patient/@ParticipantObjectTypeCodeRole must be '1' if /Patient/@ParticipantObjectTypeCodeRole present ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies $partid/ParticipantObjectDetailR - 46
Description
Document/ParticipantObjectDetail is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies $partid/@ParticipantObjectIDR - 47
Description
Document/ParticipantObjectID is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies $partid/ParticipantObjectIDTypeCodeR - 48
Description
Document/ParticipantObjectIDTypeCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies $partid/@ParticipantObjectTypeCodeR - 49
Description
Document/ParticipantObjectTypeCode is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies not($partid/@ParticipantObjectTypeCode) or $partid/@ParticipantObjectTypeCode='2'R - 50
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.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies $partid/@ParticipantObjectTypeCodeRoleR - 51
Description
Document/ParticipantObjectTypeCodeRole is mandatory ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies not($partid/@ParticipantObjectTypeCodeRole) or $partid/@ParticipantObjectTypeCodeRole='3'R - 52
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.1 )
Test
count(/AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']])<2R - 53
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.1 )
Test
count(/AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110153']])>0R - 54
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.1 )
Test
count(/AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']])<2R - 55
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.1 )
Test
count(/AuditMessage/ActiveParticipant[RoleIDCode[@csd-code='110152']])>0R - 56
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.1 )
Test
count(/AuditMessage/AuditSourceIdentification)<2R - 57
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.1 )
Test
count(/AuditMessage/AuditSourceIdentification)>0R - 58
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.1 )
Test
/AuditMessage/EventIdentificationR - 59
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.1 )
Test
count(/AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'])<2R - 60
Description
The number of Patient 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.1 )
Test
count(/AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'])>0R - 61
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.1 )
Test
every $act in /AuditMessage/ActiveParticipant satisfies $act[RoleIDCode[@csd-code='110153']] or $act[RoleIDCode[@csd-code='110152']] or $act[not(RoleIDCode) or RoleIDCode[@csd-code!='110153' and @csd-code!='110152']]R - 62
Description
Allowed ActiveParticipants are Source, Destination, HumanRequestor ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification satisfies $partid[@ParticipantObjectTypeCode='1' and @ParticipantObjectTypeCodeRole='1'] or $partid[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3']R - 63
Description
Allowed ParticipantObjectIdentifications are Patient, Document ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partId in /AuditMessage/ParticipantObjectIdentification[@ParticipantObjectTypeCode='2' and @ParticipantObjectTypeCodeRole='3'] satisfies count($partId/ParticipantObjectDetail[normalize-space(@type)=normalize-space('Repository Unique Id') and @value!='']) = 1R - 64
Description
The ParticipantObjectDetail element may occur more than once. In one element, the value of <ihe:RepositoryUniqueId/> in value attribute, “Repository Unique Id” in type attribute ( IHE IT Infrastructure Technical Framework, Volume 2b (ITI TF-2b): Transactions Part B , 3.43.6.1.1 )
Test
every $partid in /AuditMessage/ParticipantObjectIdentification satisfies ( every $i in $partid/ParticipantObjectIDTypeCode satisfies matches($i/@csd-code, '.'))R - 65
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.1 )