ihecb:Ihecb:IHE-XACML Binding
Custom Comparison Functions
This function SHALL take two arguments of data-type "urn:hl7-org:v3#CV" and SHALL return an "http://www.w3.org/2001/XMLSchema#boolean". The function SHALL return "True" if and only if the "code" attribute of both of its arguments are equal according to the function "urn:oasis:names:tc:xacml:1.0:function:string-equal" AND the "codeSystem" attribute of both of its arguments are equal according to the function "urn:oasis:names:tc:xacml:1.0:function:string-equal". Otherwise, it SHALL return "False".
This function SHALL take one argument of data-type "urn:hl7-org:v3#II" and SHALL return an "http://www.w3.org/2001/XMLSchema#string". The function SHALL return the "root" attribute of its argument if and only if the "extension" attribute of its arguments is empty. Otherwise, it SHALL return the concatenation of the "root" attribute of its argument, the character "@", and the "extension" attribute of its argument (in this order) according to the function "urn:oasis:names:tc:xacml:2.0:function:string-concatenate".
This function SHALL take two arguments of data-type "urn:hl7-org:v3#II" and SHALL return an "http://www.w3.org/2001/XMLSchema#boolean". The function SHALL return "True" a) if and only if the extension attribute is empty and the "root" attribute of both of its arguments are equal according to the function "urn:oasis:names:tc:xacml:1.0:function:string-equal" OR b) if and only if the "extension" attribute of both of its arguments are equal according to the function "urn:oasis:names:tc:xacml:1.0:function:string-equal" AND the "root" attribute of both of its arguments are equal according to the function "urn:oasis:names:tc:xacml:1.0:function:string-equal". Otherwise, it SHALL return "False".