Errors

Test
wst:Claims/@Dialect='http://www.bag.admin.ch/epr/2017/annex/5/amendment/2'E - 1
Location
/Envelope/Body/wst:RequestSecurityToken
Description
Error : The claim dialect must be http://www.bag.admin.ch/epr/2017/annex/5/amendment/2.

Warnings

Test
not(//S12:Header/wsse:Security/saml2:Assertion)W - 1
Location
/Envelope/Body/wst:RequestSecurityToken/wst:Claims
Description
Warning : The presence of the SAML Identity Assertion in the header has been verified but not its content.

Reports

Test
S12:EnvelopeR - 1
Location
/Envelope
Description
Success : The Get X-User Assertion Request/Response SHOULD be bind to SOAP 1.2 (IHE ITI-TF-vol2x Appendix V).
Test
S12:Body/wst:RequestSecurityTokenR - 2
Location
/Envelope
Description
Success : The Get X-User Assertion Request MUST use the RequestSecurityToken WS-Trust 1.3 (SR 816.111_Ergaenzung 1 Anhang 5 - §Referenced Standard).
Test
wst:ClaimsR - 3
Location
/Envelope/Body/wst:RequestSecurityToken
Description
Success : The Get X-User Assertion Request MUST contain a list of claims.
Test
wst:Claims/saml2:Attribute[@Name='urn:oasis:names:tc:xacml:2.0:subject:role']/saml2:AttributeValueR - 4
Location
/Envelope/Body/wst:RequestSecurityToken
Description
Success : The Get X-User Assertion Request MUST contain the SAML Attribute defining the role of the accessing person in the claims.
Test
wst:Claims/saml2:Attribute[@Name='urn:oasis:names:tc:xacml:2.0:resource:resource-id']/saml2:AttributeValueR - 5
Location
/Envelope/Body/wst:RequestSecurityToken
Description
Success : The Get X-User Assertion Request MUST contain the SAML Attribute defining the requested resource id in the claims.
Test
wst:Claims/saml2:Attribute[@Name='urn:oasis:names:tc:xspa:1.0:subject:purposeofuse']/saml2:AttributeValueR - 6
Location
/Envelope/Body/wst:RequestSecurityToken
Description
Success : The Get X-User Assertion Request MUST contain the SAML Attribute defining the purpose of use in the claims.
Test
//S12:Header/wsse:Security/saml2:AssertionR - 7
Location
/Envelope/Body/wst:RequestSecurityToken/wst:Claims
Description
Success : The Get X-User Assertion Request for a patient MUST contain the original SAML Identity Assertion in the Web Service Security header.
Test
saml2:Attribute[@Name='urn:oasis:names:tc:xspa:1.0:subject:purposeofuse']/saml2:AttributeValue/hl7:PurposeOfUse[@code='NORM' and @codeSystem='2.16.756.5.30.1.127.3.10.5']R - 8
Location
/Envelope/Body/wst:RequestSecurityToken/wst:Claims
Description
Success : The Get X-User Assertion Request for a patient MUST contain the purpose of use claim attribute with the code NORM from the code system 2.16.756.5.30.1.127.3.10.5 of the CH:EPR value set.
Test
not(//saml2:Attribute[@Name='urn:e-health-suisse:principal-id']/saml2:AttributeValue) or substring(normalize-space(saml2:Attribute[@Name='urn:e-health-suisse:principal-id']/saml2:AttributeValue/text()), 0, 9) = '76133761'R - 9
Location
/Envelope/Body/wst:RequestSecurityToken/wst:Claims
Description
Success : There MAY be one Attribute element with name "urn:e-health-suisse:principal-id". If present, the AttributeValue child element MUST convey the EPR-SPID of the patient.