SuccessConsole Output

Started by user marif
[EnvInject] - Loading node environment variables.
Building on master in workspace /home/jenkins/.hudson/jobs/SchematronValidator/workspace
Cleaning local Directory .
Checking out svn+ssh://scm.gforge.inria.fr/svn/gazelle/Maven/SchematronValidator/trunk at revision '2019-03-18T11:28:06.435 +0100'
Using sole credentials gazelle-jenkins in realm ‘svn+ssh://scm.gforge.inria.fr’
Using sole credentials gazelle-jenkins in realm ‘svn+ssh://scm.gforge.inria.fr’
A         doc
A         doc/schematronResultStylesheet.xsl
A         doc/GazelleObjectValidatorWS-SchematronValidator-soapui-project.xml
A         doc/schematronResultStyle.css
A         SchematronValidator-ejb
A         SchematronValidator-ejb/src
A         SchematronValidator-ejb/src/test
A         SchematronValidator-ejb/src/test/resources
A         SchematronValidator-ejb/src/test/resources/FilesToValidate
A         SchematronValidator-ejb/src/test/resources/FilesToValidate/PrescrittoOID.xml
A         SchematronValidator-ejb/src/test/resources/FilesToValidate/cdaInvalid.xml
A         SchematronValidator-ejb/src/test/resources/FilesToValidate/fileNotWellFormed.xml
A         SchematronValidator-ejb/src/test/resources/FilesToValidate/cda_asip.xml
A         SchematronValidator-ejb/src/test/resources/FilesToValidate/cdaValid.xml
A         SchematronValidator-ejb/src/test/resources/XML
A         SchematronValidator-ejb/src/test/resources/XML/adr_resp_not_hold_of_policy_2.xml
A         SchematronValidator-ejb/src/test/resources/XML/adr_due_to_PPQ_request_body.xml
A         SchematronValidator-ejb/src/test/resources/XML/adr_req.xml
A         SchematronValidator-ejb/src/test/resources/XSD-from-wsdl
A         SchematronValidator-ejb/src/test/resources/XSD-from-wsdl/access_control-xacml-2.0-context-schema-os.xsd
A         SchematronValidator-ejb/src/test/resources/XSD-from-wsdl/ihe-appc-xacml-hl7-datatypes-base-1.0.xsd
A         SchematronValidator-ejb/src/test/resources/XSD-from-wsdl/sstc-saml-schema-protocol-2.0.xsd
A         SchematronValidator-ejb/src/test/resources/XSD-from-wsdl/access_control-xacml-2.0-saml-protocol-schema-os.xsd
A         SchematronValidator-ejb/src/test/resources/XSD-from-wsdl/sstc-saml-schema-assertion-2.0.xsd
A         SchematronValidator-ejb/src/test/resources/XSD-from-wsdl/access_control-xacml-2.0-policy-schema-os.xsd
A         SchematronValidator-ejb/src/test/resources/XSD-from-wsdl/xenc-schema.xsd
A         SchematronValidator-ejb/src/test/resources/XSD-from-wsdl/xmldsig-core-schema.xsd
A         SchematronValidator-ejb/src/test/resources/bin
A         SchematronValidator-ejb/src/test/resources/bin/compilations
A         SchematronValidator-ejb/src/test/resources/bin/_pre_compilation
A         SchematronValidator-ejb/src/test/resources/bin/schematron
A         SchematronValidator-ejb/src/test/resources/bin/schematron/Art-Decor
A         SchematronValidator-ejb/src/test/resources/bin/schematron/Art-Decor/apl
AU        SchematronValidator-ejb/src/test/resources/bin/schematron/Art-Decor/apl/apl.sch
AU        SchematronValidator-ejb/src/test/resources/bin/schematron/iso_abstract_expand.xsl
AU        SchematronValidator-ejb/src/test/resources/bin/schematron/svrl2html.xsl
A         SchematronValidator-ejb/src/test/resources/bin/schematron/ASIP-CSE-CarnetSante.sch
AU        SchematronValidator-ejb/src/test/resources/bin/schematron/iso_svrl_for_xslt2.xsl
AU        SchematronValidator-ejb/src/test/resources/bin/schematron/apl.sch
AU        SchematronValidator-ejb/src/test/resources/bin/schematron/iso_dsdl_include.xsl
AU        SchematronValidator-ejb/src/test/resources/bin/schematron/saxon9he.jar
A         SchematronValidator-ejb/src/test/resources/bin/schematron/ASIP-CR-BIO-CR-BIO.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/colle.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.15933-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_BIN.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CV.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TS.EPSOS.TZ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.1.2-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_AD.EPSOS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TS.IPS.TZ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CE.EPSOS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.3.6.1.4.1.19376.1.5.3.1.11.3-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CD.IPS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.2.250.1.213.1.1.1.5.3-2017-12-11T152315-closed.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CE.IPS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_REAL.POS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TEL.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_ST.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.24-2018-01-05T000000.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.20.2.3-2017-03-24T102728.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.31-2016-10-21T143515.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_AD.NL.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.24-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_II.AT.KTONR.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_SXPR_TS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.28-2017-03-16T141037.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.34-2017-03-16T132652.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CV.IPS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.37-2017-03-16T124217.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.15.1-2017-03-24T133658.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.27-2017-03-16T141817.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.2.250.1.213.1.1.1.5.3-2017-12-11T152315.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_SXCM_PQ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TS.EPSOS.TZ.OPT.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.13.2-2016-09-29T092249.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.1-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_INT.NONNEG.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_PN.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TEL.CA.PHONE.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TEL.IPS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_BXIT_IVL_PQ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_PIVL_TS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_SXCM_INT.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.2.250.1.213.1.1.1.5.1-2017-12-11T150548-closed.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_ED.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.21.2.10-2017-03-24T131003.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_INT.POS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_II.AT.BLZ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_II.NL.BSN.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.3.28-2015-10-05T175206.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.12-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.26-2017-03-16T142612.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.25-2017-03-16T143441.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_II.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_EN.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.48-2017-03-16T160215.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_SXCM_MO.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.13.5.2-2017-03-15T134649.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.4-2018-01-05T000000.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.3.6.1.4.1.19376.1.5.3.1.11.4-2016-09-29T092211.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.19447-2014-03-26T000000.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.1-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.1.1-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_AD.DE.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.20-2016-10-02T180312.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.3.1-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVXB_TS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.4.1-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.7.2-2016-01-08T125158.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.2.250.1.213.1.1.1.5.2-2017-12-11T151817.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.21.2.3-2017-03-24T151232.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_thumbnail.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TS.AT.TZ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.20.6-2016-10-02T191152.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.13.5.1-2017-03-15T141323.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TEL.AT.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.5-2016-09-26T095055.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.16.2.1-2017-03-16T101628.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_II.EPSOS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.13.2.5-2017-03-16T091053.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.7.3.1.1.13.5-2017-03-24T142046.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TEL.CA.EMAIL.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_BL.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.3.31-2015-10-05T164639.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_BN.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_II.NL.URA.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVL_TS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CV.EPSOS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.11526-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.13-2016-09-26T084340.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_EIVL_TS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_REAL.NONNEG.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_hl7nl-TS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.19-2017-03-16T153607.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.29-2017-03-16T135039.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_II.NL.BIG.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2-2015-10-05T155707.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.19447-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TEL.EPSOS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_EIVL.event.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.4-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_II.NL.UZI.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.3.21-2017-03-17T144002.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.3.8-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVL_TS.EPSOS.TZ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.20.1-2016-10-02T180932.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVL_TS.CH.TZ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_AD.CA.BASIC.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-UCUM.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CE.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_INT.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.33-2017-03-16T133511.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVL_REAL.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_RTO_QTY_QTY.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_PN.CA.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CO.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_RTO.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_SC.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.17-2017-03-16T155434.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.35-2017-03-16T131854.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_ON.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.16866-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.3.6.1.4.1.19376.1.5.3.1.11.2-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.20.2-2016-10-02T183033.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.3.6.1.4.1.19376.1.5.3.1.11.4-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.78-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.20.5-2016-10-02T184103.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVXB_INT.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_hl7nl-IVL_TS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CS.LANG.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.21.2.4-2017-03-24T150307.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVL_TS.EPSOS.TZ.OPT.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.2.250.1.213.1.1.1.5.2-2017-12-11T151817-closed.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.22-2017-03-16T150304.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_SD.TEXT.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CO.EPSOS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.21-2017-03-16T151413.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.13.2.11-2015-10-05T161210.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.25.1.4.1-2017-03-21T124349.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_ADXP.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.16-2016-10-21T131736.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.7.3.1.1.13.7-2017-03-24T141618.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.15.2-2017-03-15T095900.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_hl7nl-PIVL_TS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_PQR.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TS.DATE.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_AD.CA.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4-2017-03-20T133842.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_ENXP.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.19-2016-09-28T103728.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.3-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_PQ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_SXCM_TS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TN.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.7-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_AD.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.13.4-2016-10-02T194304.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.2.250.1.213.1.1.2.13-2017-12-11T160233.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.11526-2014-03-26T000000.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.3.23-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.14079-2014-03-26T000000.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.3.6-2015-10-05T160207.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.21.2.9-2017-03-24T144934.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_RTO_PQ_PQ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.20268-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.18-2017-03-16T154623.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVXB_PQ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.3.6.1.4.1.19376.1.5.3.1.11.3-2016-09-26T140934.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_URL.NL.EXTENDED.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TS.CH.TZ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.4-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_MO.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_SXCM_REAL.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_QTY.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CD.EPSOS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.2.250.1.213.1.1.1.5.1-2017-12-11T150548.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_AD.IPS.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CD.SDTC.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_REAL.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.7.3-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TS.DATE.MIN.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.20.3-2016-10-02T190247.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.5.2-2016-09-26T085028.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.3.16.1-2015-10-05T154920.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.7.3.1.1.13.3-2017-03-24T143414.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVL_PQ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TEL.NL.EXTENDED.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.20-2017-03-16T152505.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.3.37-2016-10-02T175325.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.13.1-2013-12-20T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.32-2017-03-16T134216.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.20268-2014-03-26T000000.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.13.5-2016-10-21T145935.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.20.7-2016-10-02T191818.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.7.3.1.1.13.4-2017-03-24T142547.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_II.NL.AGB.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.15933-2014-03-26T000000.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_hl7nl-PQ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.23-2017-03-16T145435.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TS.DATE.FULL.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVXB_MO.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_TS.DATETIME.MIN.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVL_INT.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.11529-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.14079-DYNAMIC.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.16866-2014-03-26T000000.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/2.16.840.1.113883.10.20.1.46-2007-04-01T000000.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVXB_REAL.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_hl7nl-INT.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.78-2014-03-26T000000.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.3.6.1.4.1.19376.1.5.3.1.11.2-2016-09-26T135858.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_PN.NL.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVL_MO.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_hl7nl-RTO.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_IVL_TS.IPS.TZ.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CD.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_ANY.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.12.1-2016-09-28T135021.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.30-2016-10-21T141548.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_II.AT.ATU.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.36-2017-03-16T131034.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_II.AT.DVR.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.20.9-2016-10-02T185147.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.1.9.24-2017-03-16T144215.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-2.16.840.1.113883.1.11.11529-2014-03-26T000000.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.20.8-2016-10-02T192817.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_URL.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.1-2018-01-05T000000.xml
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/1.3.6.1.4.1.19376.1.5.3.1.4.20.10-2016-10-02T184612.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/DTr1_CR.sch
A         SchematronValidator-ejb/src/test/resources/bin/schematron/invio_prescritto.sch
A         SchematronValidator-ejb/src/test/resources/XSD
A         SchematronValidator-ejb/src/test/resources/XSD/access_control-xacml-2.0-policy-schema-os.xsd
A         SchematronValidator-ejb/src/test/resources/XSD/xenc-schema.xsd
A         SchematronValidator-ejb/src/test/resources/XSD/xmldsig-core-schema.xsd
A         SchematronValidator-ejb/src/test/resources/XSD/access_control-xacml-2.0-context-schema-os.xsd
A         SchematronValidator-ejb/src/test/resources/XSD/sstc-saml-schema-protocol-2.0.xsd
A         SchematronValidator-ejb/src/test/resources/XSD/access_control-xacml-2.0-saml-protocol-schema-os.xsd
A         SchematronValidator-ejb/src/test/resources/XSD/sstc-saml-schema-assertion-2.0.xsd
A         SchematronValidator-ejb/src/test/resources/xsd
A         SchematronValidator-ejb/src/test/resources/xsd/cda
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/CDA.xsd
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/CDA_extended.xsd
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/POCD_MT000040_extended_old.xsd
A         SchematronValidator-ejb/src/test/resources/xsd/cda/extendedschemas
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/extendedschemas/COCT_MT440001UV.xsd
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/extendedschemas/COCT_MT440001UV_ext.xsd
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/extendedschemas/COCT_MT230100UV.xsd
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/extendedschemas/COCT_MT230100UV_ext.xsd
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/POCD_MT000040.xsd
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/POCD_MT000040_extended.xsd
A         SchematronValidator-ejb/src/test/resources/xsd/cda/coreschemas
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/coreschemas/NarrativeBlock.xsd
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/coreschemas/datatypes-base.xsd
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/coreschemas/voc.xsd
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/coreschemas/datatypes.xsd
AU        SchematronValidator-ejb/src/test/resources/xsd/cda/coreschemas/infrastructureRoot.xsd
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/readme.txt
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/infrastructure
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/infrastructure/cda
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/infrastructure/cda/SDTC.xsd
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/infrastructure/cda/CDA_SDTC.xsd
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/infrastructure/cda/POCD_MT000040_SDTC.xsd
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/processable
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/processable/coreschemas
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/processable/coreschemas/NarrativeBlock.xsd
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/processable/coreschemas/voc.xsd
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/processable/coreschemas/datatypes.xsd
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/processable/coreschemas/datatypes-base_SDTC.xsd
A         SchematronValidator-ejb/src/test/resources/xsd/cda/20160601_CDA_SDTC_Schema/processable/coreschemas/infrastructureRoot.xsd
A         SchematronValidator-ejb/src/test/java
A         SchematronValidator-ejb/src/test/java/net
A         SchematronValidator-ejb/src/test/java/net/ihe
A         SchematronValidator-ejb/src/test/java/net/ihe/gazelle
A         SchematronValidator-ejb/src/test/java/net/ihe/gazelle/schematron
A         SchematronValidator-ejb/src/test/java/net/ihe/gazelle/schematron/compiler
A         SchematronValidator-ejb/src/test/java/net/ihe/gazelle/schematron/compiler/SchematronCompilerTest.java
A         SchematronValidator-ejb/src/test/java/net/ihe/gazelle/schematron/validation
A         SchematronValidator-ejb/src/test/java/net/ihe/gazelle/schematron/validation/SchematronValidatorTest.java
A         SchematronValidator-ejb/src/test/java/net/ihe/gazelle/schematron/validation/ValidationProcessTest.java
A         SchematronValidator-ejb/src/test/java/net/ihe/gazelle/schematron/validation/XMLValidationTest.java
AU        SchematronValidator-ejb/src/test/java/net/ihe/gazelle/schematron/PositionalXMLReader.java
A         SchematronValidator-ejb/src/main
A         SchematronValidator-ejb/src/main/java
A         SchematronValidator-ejb/src/main/java/net
A         SchematronValidator-ejb/src/main/java/net/ihe
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/model
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/model/Schematron.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/model/Notification.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/model/ObjectType.java
AU        SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/model/AuditModule.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/preferences
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/preferences/ApplicationManager.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/preferences/SchematronValidatorPreferenceProvider.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/preferences/ApplicationConfigurationProvider.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/users
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/users/action
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/users/action/SSOIdentity.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/users/action/AuthenticatorBean.java
AU        SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/users/action/Authenticator.java
AU        SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/users/action/IpPrincipal.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/dao
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/dao/SchematronDAO.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/dao/SchematronDAOImpl.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/dao/ObjectTypeDAO.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/dao/ObjectTypeDAOImpl.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/dao/FilteredDAO.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/transformation
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/transformation/DfdlTransformation.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/transformation/DfdlTransformationImpl.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/converter
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/converter/ObjectTypeConverter.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/converter/SchematronConverter.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/home
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/home/Home.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/home/HomeManager.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/ws
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/ws/SchematronWSImpl.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/ws/SchematronValidatorWS.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/ws/SchematronValidatorWSImpl.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/ws/SchematronWS.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/compiler
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/compiler/SchematronCompiler.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/validation
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/validation/SchematronValidator.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/validation/ValidationProcess.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/validation/XMLValidation.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/validation/XMLXSLValidator.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/validation/MIFValidator.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/action
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/action/SchematronManager.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/action/ObjectTypeManager.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/util
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/util/DetailedResultMarshaller.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/util/DetailedResultMarshallerImpl.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/util/EmailNotificationManager.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/util/SchFilePath.java
A         SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/util/SchematronXSLConverter.java
A         SchematronValidator-ejb/src/main/resources
A         SchematronValidator-ejb/src/main/resources/log4j.properties
A         SchematronValidator-ejb/src/main/resources/gzl.version.properties
A         SchematronValidator-ejb/src/main/resources/META-INF
A         SchematronValidator-ejb/src/main/resources/META-INF/persistence.xml
A         SchematronValidator-ejb/src/main/resources/META-INF/ejb-jar.xml
A         SchematronValidator-ejb/src/main/resources/META-INF/standard-jaxws-endpoint-config.xml
A         SchematronValidator-ejb/src/main/resources/components.properties
A         SchematronValidator-ejb/src/main/resources/seam.properties
A         SchematronValidator-ejb/pom.xml
A         pom.xml
A         SchematronValidator-ear
A         SchematronValidator-ear/src
A         SchematronValidator-ear/src/main
A         SchematronValidator-ear/src/main/application
A         SchematronValidator-ear/src/main/application/security.drl
A         SchematronValidator-ear/src/main/application/import.sql
A         SchematronValidator-ear/src/main/application/META-INF
A         SchematronValidator-ear/src/main/application/META-INF/jboss-deployment-structure.xml
A         SchematronValidator-ear/src/main/dist
A         SchematronValidator-ear/src/main/dist/opt
A         SchematronValidator-ear/src/main/dist/opt/SchematronValidator
A         SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin
A         SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/xsd
A         SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/xsd/atna
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/xsd/atna/RFC3881.xsd
A         SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/xsd/cda
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/xsd/cda/CDA.xsd
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/xsd/cda/CDA_extended.xsd
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/xsd/cda/POCD_MT000040.xsd
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/xsd/cda/POCD_MT000040_extended.xsd
A         SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/xsd/saml
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/xsd/saml/saml-schema-assertion-2.0.xsd
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/xsd/saml/xenc-schema.xsd
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/xsd/saml/xmldsig-core-schema.xsd
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/XSDValidator-1.0-jar-with-dependencies.jar
A         SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron
A         SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/schematron
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/schematron/iso_dsdl_include.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/schematron/readme.txt
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/schematron/iso_svrl_for_ihe.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/schematron/iso_abstract_expand.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/schematron/iso_schematron_skeleton_for_saxon.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/schematron/iso_svrl.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/schematron/iso_schematron_message.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/schematron/iso_schematron_skeleton.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/schematron/iso_svrl_for_xslt1.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/schematron/iso_schematron_skeleton_for_xslt1.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/schematron/iso_svrl_for_xslt2.xsl
A         SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/schematron/transformer.py
A         SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/ART-DECOR_precompilation_tools
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/ART-DECOR_precompilation_tools/iso_abstract_expand.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/ART-DECOR_precompilation_tools/svrl2html.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/ART-DECOR_precompilation_tools/iso_svrl_for_xslt2.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/ART-DECOR_precompilation_tools/iso_dsdl_include.xsl
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/ART-DECOR_precompilation_tools/precompile.sh
AU        SchematronValidator-ear/src/main/dist/opt/SchematronValidator/bin/ART-DECOR_precompilation_tools/saxon9he.jar
A         SchematronValidator-ear/src/main/doc
AU        SchematronValidator-ear/src/main/doc/pharmtrans.xsl
A         SchematronValidator-ear/src/main/datasource
A         SchematronValidator-ear/src/main/datasource/SchematronValidator-ds.xml
A         SchematronValidator-ear/src/main/resources
A         SchematronValidator-ear/src/main/resources/soapui
A         SchematronValidator-ear/src/main/resources/soapui/Schematron-soapui-project.xml
A         SchematronValidator-ear/src/main/resources/soapui/SchematronValidator-soapui-project.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/sake.irisa.fr
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/sake.irisa.fr/Schematron_valid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/sake.irisa.fr/Schematron_valid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/sake.irisa.fr/Schematron_valid_message/Schematron_valid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/sake.irisa.fr/Schematron_invalid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/sake.irisa.fr/Schematron_invalid_message/Schematron_invalid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/sake.irisa.fr/Schematron_invalid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.agence-esante.lu
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.agence-esante.lu/Schematron_valid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.agence-esante.lu/Schematron_valid_message/Schematron_valid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.agence-esante.lu/Schematron_valid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.agence-esante.lu/Schematron_invalid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.agence-esante.lu/Schematron_invalid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.agence-esante.lu/Schematron_invalid_message/Schematron_invalid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/edi-tu.efs.sante.fr
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/edi-tu.efs.sante.fr/Schematron_valid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/edi-tu.efs.sante.fr/Schematron_valid_message/Schematron_valid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/edi-tu.efs.sante.fr/Schematron_valid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/edi-tu.efs.sante.fr/Schematron_invalid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/edi-tu.efs.sante.fr/Schematron_invalid_message/Schematron_invalid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/edi-tu.efs.sante.fr/Schematron_invalid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/twlab.technikum-wien.at
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/twlab.technikum-wien.at/Schematron_valid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/twlab.technikum-wien.at/Schematron_valid_message/Schematron_valid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/twlab.technikum-wien.at/Schematron_valid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/twlab.technikum-wien.at/Schematron_invalid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/twlab.technikum-wien.at/Schematron_invalid_message/Schematron_invalid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/twlab.technikum-wien.at/Schematron_invalid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehdsi.ihe-europe.net
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehdsi.ihe-europe.net/Schematron_invalid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehdsi.ihe-europe.net/Schematron_invalid_message/Schematron_invalid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehdsi.ihe-europe.net/Schematron_invalid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehdsi.ihe-europe.net/Schematron_valid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehdsi.ihe-europe.net/Schematron_valid_message/Schematron_valid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehdsi.ihe-europe.net/Schematron_valid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/inter-amc.kereval.com
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/inter-amc.kereval.com/Schematron_valid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/inter-amc.kereval.com/Schematron_valid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/inter-amc.kereval.com/Schematron_valid_message/Schematron_valid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/inter-amc.kereval.com/Schematron_invalid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/inter-amc.kereval.com/Schematron_invalid_message/Schematron_invalid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/inter-amc.kereval.com/Schematron_invalid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/validointipalvelu.kanta.fi
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/validointipalvelu.kanta.fi/Schematron_invalid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/validointipalvelu.kanta.fi/Schematron_invalid_message/Schematron_invalid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/validointipalvelu.kanta.fi/Schematron_invalid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/validointipalvelu.kanta.fi/Schematron_valid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/validointipalvelu.kanta.fi/Schematron_valid_message/Schematron_valid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/validointipalvelu.kanta.fi/Schematron_valid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/ehealthsuisse.ihe-europe.net
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/ehealthsuisse.ihe-europe.net/Schematron_valid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/ehealthsuisse.ihe-europe.net/Schematron_valid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/ehealthsuisse.ihe-europe.net/Schematron_valid_message/Schematron_valid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/ehealthsuisse.ihe-europe.net/Schematron_invalid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/ehealthsuisse.ihe-europe.net/Schematron_invalid_message/Schematron_invalid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/ehealthsuisse.ihe-europe.net/Schematron_invalid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ihe.net
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ihe.net/Schematron_valid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ihe.net/Schematron_valid_message/Schematron_valid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ihe.net/Schematron_valid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ihe.net/Schematron_invalid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ihe.net/Schematron_invalid_message/Schematron_invalid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ihe.net/Schematron_invalid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehealth.brussels
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehealth.brussels/Schematron_valid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehealth.brussels/Schematron_valid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehealth.brussels/Schematron_valid_message/Schematron_valid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehealth.brussels/Schematron_invalid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehealth.brussels/Schematron_invalid_message/Schematron_invalid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/gazelle.ehealth.brussels/Schematron_invalid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/testivalidointipalvelu.kanta.fi
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/testivalidointipalvelu.kanta.fi/Schematron_valid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/testivalidointipalvelu.kanta.fi/Schematron_valid_message/Schematron_valid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/testivalidointipalvelu.kanta.fi/Schematron_valid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/testivalidointipalvelu.kanta.fi/Schematron_invalid_message
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/testivalidointipalvelu.kanta.fi/Schematron_invalid_message/Schematron_invalid_message.xml
A         SchematronValidator-ear/src/main/resources/soapui/calibration_message/testivalidointipalvelu.kanta.fi/Schematron_invalid_message/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/SchematronValidatorSamples
A         SchematronValidator-ear/src/main/resources/soapui/SchematronValidatorSamples/ValidSample
A         SchematronValidator-ear/src/main/resources/soapui/SchematronValidatorSamples/ValidSample/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/SchematronValidatorSamples/ValidSample/Schematron_Valid_Message.xml
A         SchematronValidator-ear/src/main/resources/soapui/SchematronValidatorSamples/InvalidSample
A         SchematronValidator-ear/src/main/resources/soapui/SchematronValidatorSamples/InvalidSample/Schematron_Invalid_Message.xml
A         SchematronValidator-ear/src/main/resources/soapui/SchematronValidatorSamples/InvalidSample/validator.properties
A         SchematronValidator-ear/src/main/resources/soapui/SchematronValidator-calibration-soapui-project.xml
A         SchematronValidator-ear/src/main/assembly
A         SchematronValidator-ear/src/main/assembly/soapui.xml
A         SchematronValidator-ear/src/main/assembly/zip.xml
A         SchematronValidator-ear/src/main/assembly/datasource.xml
A         SchematronValidator-ear/src/main/sql
A         SchematronValidator-ear/src/main/sql/update-2.0.0.sql
A         SchematronValidator-ear/src/main/sql/update-2.1.0.sql
A         SchematronValidator-ear/src/main/sql/update-2.1.1.sql
A         SchematronValidator-ear/src/main/sql/update-2.2.0.sql
A         SchematronValidator-ear/src/main/sql/schema-2.5.0.sql
A         SchematronValidator-ear/src/main/sql/update-2.3.0.sql
A         SchematronValidator-ear/src/main/sql/update-2.3.1.sql
A         SchematronValidator-ear/src/main/sql/update-2.4.0.sql
A         SchematronValidator-ear/src/main/sql/init-2.5.0.sql
A         SchematronValidator-ear/pom.xml
A         SchematronValidator-war
A         SchematronValidator-war/pom.xml
A         SchematronValidator-war/src
A         SchematronValidator-war/src/test
A         SchematronValidator-war/src/test/resources
A         SchematronValidator-war/src/main
A         SchematronValidator-war/src/main/webapp
A         SchematronValidator-war/src/main/webapp/layout
A         SchematronValidator-war/src/main/webapp/layout/template.xhtml
A         SchematronValidator-war/src/main/webapp/layout/footer.xhtml
A         SchematronValidator-war/src/main/webapp/layout/menu-right.xhtml
A         SchematronValidator-war/src/main/webapp/layout/menu_links.xhtml
A         SchematronValidator-war/src/main/webapp/META-INF
A         SchematronValidator-war/src/main/webapp/META-INF/MANIFEST.MF
A         SchematronValidator-war/src/main/webapp/home.xhtml
A         SchematronValidator-war/src/main/webapp/login.xhtml
A         SchematronValidator-war/src/main/webapp/error.xhtml
A         SchematronValidator-war/src/main/webapp/administration
A         SchematronValidator-war/src/main/webapp/administration/configure.page.xml
A         SchematronValidator-war/src/main/webapp/administration/configure.xhtml
A         SchematronValidator-war/src/main/webapp/errorExpired.xhtml
A         SchematronValidator-war/src/main/webapp/cas
A         SchematronValidator-war/src/main/webapp/cas/home.xhtml
A         SchematronValidator-war/src/main/webapp/schematrons
A         SchematronValidator-war/src/main/webapp/schematrons/createObjectType.page.xml
A         SchematronValidator-war/src/main/webapp/schematrons/createObjectType.xhtml
A         SchematronValidator-war/src/main/webapp/schematrons/editObjectType.page.xml
A         SchematronValidator-war/src/main/webapp/schematrons/editObjectType.xhtml
A         SchematronValidator-war/src/main/webapp/schematrons/viewSchematron.xhtml
A         SchematronValidator-war/src/main/webapp/schematrons/manageSchematrons.xhtml
A         SchematronValidator-war/src/main/webapp/schematrons/manageObjectTypes.xhtml
A         SchematronValidator-war/src/main/webapp/schematrons/createSchematron.page.xml
A         SchematronValidator-war/src/main/webapp/schematrons/createSchematron.xhtml
A         SchematronValidator-war/src/main/webapp/schematrons/editSchematron.page.xml
A         SchematronValidator-war/src/main/webapp/schematrons/editSchematron.xhtml
A         SchematronValidator-war/src/main/webapp/WEB-INF
A         SchematronValidator-war/src/main/webapp/WEB-INF/web.xml
A         SchematronValidator-war/src/main/webapp/WEB-INF/pages.xml
A         SchematronValidator-war/src/main/webapp/WEB-INF/faces-config.xml
A         SchematronValidator-war/src/main/webapp/WEB-INF/components.xml
A         SchematronValidator-war/src/main/webapp/index.html
A         SchematronValidator-war/src/main/webapp/resources
A         SchematronValidator-war/src/main/webapp/resources/stylesheet
A         SchematronValidator-war/src/main/webapp/resources/stylesheet/theme-SchematronValidator.css
A         SchematronValidator-war/src/main/crowdin
A         SchematronValidator-war/src/main/crowdin/es-ES
A         SchematronValidator-war/src/main/crowdin/es-ES/net.ihe.gazelle.maven.gazelle-seam-tools-war
A         SchematronValidator-war/src/main/crowdin/es-ES/net.ihe.gazelle.maven.gazelle-seam-tools-war/gazelle-seam-tools.properties
A         SchematronValidator-war/src/main/crowdin/es-ES/net.ihe.gazelle.gazelle-assets
A         SchematronValidator-war/src/main/crowdin/es-ES/net.ihe.gazelle.gazelle-assets/assets.properties
A         SchematronValidator-war/src/main/crowdin/es-ES/net.ihe.gazelle.maven.SchematronValidator-war
A         SchematronValidator-war/src/main/crowdin/es-ES/net.ihe.gazelle.maven.SchematronValidator-war/messages.properties
A         SchematronValidator-war/src/main/crowdin/sv-SE
A         SchematronValidator-war/src/main/crowdin/sv-SE/net.ihe.gazelle.gazelle-assets
A         SchematronValidator-war/src/main/crowdin/sv-SE/net.ihe.gazelle.gazelle-assets/assets.properties
A         SchematronValidator-war/src/main/crowdin/sv-SE/net.ihe.gazelle.maven.SchematronValidator-war
A         SchematronValidator-war/src/main/crowdin/sv-SE/net.ihe.gazelle.maven.SchematronValidator-war/messages.properties
A         SchematronValidator-war/src/main/crowdin/sv-SE/net.ihe.gazelle.maven.gazelle-seam-tools-war
A         SchematronValidator-war/src/main/crowdin/sv-SE/net.ihe.gazelle.maven.gazelle-seam-tools-war/gazelle-seam-tools.properties
A         SchematronValidator-war/src/main/crowdin/fi
A         SchematronValidator-war/src/main/crowdin/fi/net.ihe.gazelle.maven.SchematronValidator-war
A         SchematronValidator-war/src/main/crowdin/fi/net.ihe.gazelle.maven.SchematronValidator-war/messages.properties
A         SchematronValidator-war/src/main/crowdin/fi/net.ihe.gazelle.maven.gazelle-seam-tools-war
A         SchematronValidator-war/src/main/crowdin/fi/net.ihe.gazelle.maven.gazelle-seam-tools-war/gazelle-seam-tools.properties
A         SchematronValidator-war/src/main/crowdin/fi/net.ihe.gazelle.gazelle-assets
A         SchematronValidator-war/src/main/crowdin/fi/net.ihe.gazelle.gazelle-assets/assets.properties
A         SchematronValidator-war/src/main/crowdin/zh-CN
A         SchematronValidator-war/src/main/crowdin/zh-CN/net.ihe.gazelle.maven.gazelle-seam-tools-war
A         SchematronValidator-war/src/main/crowdin/zh-CN/net.ihe.gazelle.maven.gazelle-seam-tools-war/gazelle-seam-tools.properties
A         SchematronValidator-war/src/main/crowdin/zh-CN/net.ihe.gazelle.gazelle-assets
A         SchematronValidator-war/src/main/crowdin/zh-CN/net.ihe.gazelle.gazelle-assets/assets.properties
A         SchematronValidator-war/src/main/crowdin/zh-CN/net.ihe.gazelle.maven.SchematronValidator-war
A         SchematronValidator-war/src/main/crowdin/zh-CN/net.ihe.gazelle.maven.SchematronValidator-war/messages.properties
A         SchematronValidator-war/src/main/crowdin/en
A         SchematronValidator-war/src/main/crowdin/en/net.ihe.gazelle.maven.SchematronValidator-war
A         SchematronValidator-war/src/main/crowdin/en/net.ihe.gazelle.maven.SchematronValidator-war/messages.properties
A         SchematronValidator-war/src/main/crowdin/en/net.ihe.gazelle.maven.gazelle-seam-tools-war
A         SchematronValidator-war/src/main/crowdin/en/net.ihe.gazelle.maven.gazelle-seam-tools-war/gazelle-seam-tools.properties
A         SchematronValidator-war/src/main/crowdin/en/net.ihe.gazelle.gazelle-assets
A         SchematronValidator-war/src/main/crowdin/en/net.ihe.gazelle.gazelle-assets/assets.properties
A         SchematronValidator-war/src/main/crowdin/fr
A         SchematronValidator-war/src/main/crowdin/fr/net.ihe.gazelle.maven.gazelle-seam-tools-war
A         SchematronValidator-war/src/main/crowdin/fr/net.ihe.gazelle.maven.gazelle-seam-tools-war/gazelle-seam-tools.properties
A         SchematronValidator-war/src/main/crowdin/fr/net.ihe.gazelle.gazelle-assets
A         SchematronValidator-war/src/main/crowdin/fr/net.ihe.gazelle.gazelle-assets/assets.properties
A         SchematronValidator-war/src/main/crowdin/fr/net.ihe.gazelle.maven.SchematronValidator-war
A         SchematronValidator-war/src/main/crowdin/fr/net.ihe.gazelle.maven.SchematronValidator-war/messages.properties
A         SchematronValidator-war/src/main/crowdin/de
A         SchematronValidator-war/src/main/crowdin/de/net.ihe.gazelle.maven.SchematronValidator-war
A         SchematronValidator-war/src/main/crowdin/de/net.ihe.gazelle.maven.SchematronValidator-war/messages.properties
A         SchematronValidator-war/src/main/crowdin/de/net.ihe.gazelle.maven.gazelle-seam-tools-war
A         SchematronValidator-war/src/main/crowdin/de/net.ihe.gazelle.maven.gazelle-seam-tools-war/gazelle-seam-tools.properties
A         SchematronValidator-war/src/main/crowdin/de/net.ihe.gazelle.gazelle-assets
A         SchematronValidator-war/src/main/crowdin/de/net.ihe.gazelle.gazelle-assets/assets.properties
A         SchematronValidator-war/src/main/crowdin/zh-TW
A         SchematronValidator-war/src/main/crowdin/zh-TW/net.ihe.gazelle.maven.gazelle-seam-tools-war
A         SchematronValidator-war/src/main/crowdin/zh-TW/net.ihe.gazelle.maven.gazelle-seam-tools-war/gazelle-seam-tools.properties
A         SchematronValidator-war/src/main/crowdin/zh-TW/net.ihe.gazelle.gazelle-assets
A         SchematronValidator-war/src/main/crowdin/zh-TW/net.ihe.gazelle.gazelle-assets/assets.properties
A         SchematronValidator-war/src/main/crowdin/zh-TW/net.ihe.gazelle.maven.SchematronValidator-war
A         SchematronValidator-war/src/main/crowdin/zh-TW/net.ihe.gazelle.maven.SchematronValidator-war/messages.properties
A         SchematronValidator-war/src/main/crowdin/ja
A         SchematronValidator-war/src/main/crowdin/ja/net.ihe.gazelle.maven.gazelle-seam-tools-war
A         SchematronValidator-war/src/main/crowdin/ja/net.ihe.gazelle.maven.gazelle-seam-tools-war/gazelle-seam-tools.properties
A         SchematronValidator-war/src/main/crowdin/ja/net.ihe.gazelle.gazelle-assets
A         SchematronValidator-war/src/main/crowdin/ja/net.ihe.gazelle.gazelle-assets/assets.properties
A         SchematronValidator-war/src/main/crowdin/ja/net.ihe.gazelle.maven.SchematronValidator-war
A         SchematronValidator-war/src/main/crowdin/ja/net.ihe.gazelle.maven.SchematronValidator-war/messages.properties
A         SchematronValidator-war/src/main/crowdin/pl
A         SchematronValidator-war/src/main/crowdin/pl/net.ihe.gazelle.maven.gazelle-seam-tools-war
A         SchematronValidator-war/src/main/crowdin/pl/net.ihe.gazelle.maven.gazelle-seam-tools-war/gazelle-seam-tools.properties
A         SchematronValidator-war/src/main/crowdin/pl/net.ihe.gazelle.gazelle-assets
A         SchematronValidator-war/src/main/crowdin/pl/net.ihe.gazelle.gazelle-assets/assets.properties
A         SchematronValidator-war/src/main/crowdin/pl/net.ihe.gazelle.maven.SchematronValidator-war
A         SchematronValidator-war/src/main/crowdin/pl/net.ihe.gazelle.maven.SchematronValidator-war/messages.properties
A         SchematronValidator-war/src/main/messages
A         SchematronValidator-war/src/main/messages/messages.properties
A         SchematronValidator-war/src/main/resources
 U        .
At revision 66859

No changes for svn+ssh://scm.gforge.inria.fr/svn/gazelle/Maven/SchematronValidator/trunk since the previous build
Injecting SonarQube environment variables using the configuration: Sonar
Parsing POMs
Established TCP socket on 38553
[workspace] $ /usr/lib/jvm/java-8-oracle//bin/java -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF8 -Xmx4096m -XX:MaxPermSize=1024m -cp /home/jenkins/.hudson/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.12.jar:/home/jenkins/.hudson/tools/hudson.tasks.Maven_MavenInstallation/Maven3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/.hudson/tools/hudson.tasks.Maven_MavenInstallation/Maven3/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/.hudson/tools/hudson.tasks.Maven_MavenInstallation/Maven3 /home/jenkins/.hudson/war/WEB-INF/lib/remoting-3.28.jar /home/jenkins/.hudson/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.12.jar /home/jenkins/.hudson/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12.jar 38553
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /home/jenkins/.hudson/jobs/SchematronValidator/workspace/pom.xml -DdevelopmentVersion=2.5.0-SNAPSHOT -DreleaseVersion=2.5.0 -Dresume=false release:prepare release:perform -P prod
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] SchematronValidator
[INFO] SchematronValidator-ejb
[INFO] SchematronValidator-war
[INFO] SchematronValidator-ear
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building SchematronValidator 2.4.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-release-plugin:2.5.3:prepare (default-cli) @ SchematronValidator ---
[INFO] Verifying that there are no local modifications...
[INFO]   ignoring changes on: **/pom.xml.releaseBackup, **/pom.xml.next, **/pom.xml.tag, **/pom.xml.branch, **/release.properties, **/pom.xml.backup
[INFO] Executing: /bin/sh -c cd /home/jenkins/.hudson/jobs/SchematronValidator/workspace && svn --non-interactive status
[INFO] Working directory: /home/jenkins/.hudson/jobs/SchematronValidator/workspace
[INFO] Checking dependencies and plugins for snapshots ...
[INFO] Transforming 'SchematronValidator'...
[INFO]   Ignoring artifact version update for expression ${project.version}
[INFO]   Ignoring artifact version update for expression ${project.version}
[INFO]   Ignoring artifact version update for expression ${project.version}
[INFO] Transforming 'SchematronValidator-ejb'...
[INFO] Transforming 'SchematronValidator-war'...
[INFO] Transforming 'SchematronValidator-ear'...
[INFO]   Ignoring artifact version update for expression ${project.version}
[INFO]   Ignoring artifact version update for expression ${project.version}
[INFO] Not generating release POMs
[INFO] Executing goals 'clean verify'...
[INFO] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0
[INFO] [INFO] Scanning for projects...
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Build Order:
[INFO] [INFO] 
[INFO] [INFO] SchematronValidator
[INFO] [INFO] SchematronValidator-ejb
[INFO] [INFO] SchematronValidator-war
[INFO] [INFO] SchematronValidator-ear
[INFO] [INFO] 
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building SchematronValidator 2.5.0
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] 
[INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ SchematronValidator ---
[INFO] [INFO] 
[INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java-version) @ SchematronValidator ---
[INFO] [INFO] 
[INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ SchematronValidator ---
[INFO] [INFO] 
[INFO] [INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ SchematronValidator ---
[INFO] [INFO] 
[INFO] [INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ SchematronValidator ---
[INFO] [INFO] Checking for local modifications: skipped.
[INFO] [INFO] Updating project files from SCM: skipped.
[INFO] [INFO] Executing: /bin/sh -c cd /home/jenkins/.hudson/jobs/SchematronValidator/workspace && svn --non-interactive info
[INFO] [INFO] Working directory: /home/jenkins/.hudson/jobs/SchematronValidator/workspace
[INFO] [INFO] Storing buildNumber: 66859 at timestamp: 1552904900795
[INFO] [INFO] Executing: /bin/sh -c cd /home/jenkins/.hudson/jobs/SchematronValidator/workspace && svn --non-interactive info
[INFO] [INFO] Working directory: /home/jenkins/.hudson/jobs/SchematronValidator/workspace
[INFO] [INFO] Storing buildScmBranch: trunk
[INFO] [INFO] 
[INFO] [INFO] --- maven-buildmetadata-plugin:1.1.0.IHE.3:provide-buildmetadata (default) @ SchematronValidator ---
[INFO] [INFO] Executing: /bin/sh -c cd /home/jenkins/.hudson/jobs/SchematronValidator/workspace && svn --non-interactive log -v -r '{2019-02-16 10:28:22 +0000}:{2019-03-19 10:28:22 +0000}' svn+ssh://scm.gforge.inria.fr/svn/gazelle/Maven/SchematronValidator/tags/SchematronValidator-2.5.0
[INFO] [INFO] Working directory: /home/jenkins/.hudson/jobs/SchematronValidator/workspace
[INFO] [INFO] Writing properties '/home/jenkins/.hudson/jobs/SchematronValidator/workspace/target/build.properties'...
[INFO] [INFO] Writing XML report '/home/jenkins/.hudson/jobs/SchematronValidator/workspace/target/buildmetadata.xml'...
[INFO] [INFO] 
[INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ SchematronValidator ---
[INFO] [INFO] argLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/jenkins/.hudson/jobs/SchematronValidator/workspace/target/jacoco.exec
[INFO] [INFO] 
[INFO] [INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ SchematronValidator ---
[INFO] [INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO] [INFO] 
[INFO] [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ SchematronValidator ---
[INFO] [INFO] 
[INFO] [INFO] --- maven-assembly-plugin:2.4:single (source-release-assembly) @ SchematronValidator ---
[INFO] [INFO] Building zip: /home/jenkins/.hudson/jobs/SchematronValidator/workspace/target/SchematronValidator-source-release.zip
[INFO] [INFO] 
[INFO] [INFO] --- maven-assembly-plugin:2.4:single (make-assembly-metadata) @ SchematronValidator ---
[INFO] [INFO] Building zip: /home/jenkins/.hudson/jobs/SchematronValidator/workspace/target/SchematronValidator-metadata.zip
[INFO] [INFO] 
[INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ SchematronValidator ---
[INFO] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] [INFO] 
[INFO] [INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ SchematronValidator ---
[INFO] [WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] [INFO] Building jar: /home/jenkins/.hudson/jobs/SchematronValidator/workspace/target/SchematronValidator-tests.jar
[INFO] [INFO] 
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building SchematronValidator-ejb 2.5.0
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] 
[INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ SchematronValidator-ejb ---
[INFO] [INFO] 
[INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java-version) @ SchematronValidator-ejb ---
[INFO] [INFO] 
[INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ SchematronValidator-ejb ---
[INFO] [INFO] 
[INFO] [INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ SchematronValidator-ejb ---
[INFO] [INFO] 
[INFO] [INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ SchematronValidator-ejb ---
[INFO] [INFO] 
[INFO] [INFO] --- maven-buildmetadata-plugin:1.1.0.IHE.3:provide-buildmetadata (default) @ SchematronValidator-ejb ---
[INFO] [INFO] Executing: /bin/sh -c cd /home/jenkins/.hudson/jobs/SchematronValidator/workspace/SchematronValidator-ejb && svn --non-interactive log -v -r '{2019-02-16 10:28:25 +0000}:{2019-03-19 10:28:25 +0000}' svn+ssh://scm.gforge.inria.fr/svn/gazelle/Maven/SchematronValidator/tags/SchematronValidator-2.5.0/SchematronValidator-ejb
[INFO] [INFO] Working directory: /home/jenkins/.hudson/jobs/SchematronValidator/workspace/SchematronValidator-ejb
[INFO] [INFO] Writing properties '/home/jenkins/.hudson/jobs/SchematronValidator/workspace/SchematronValidator-ejb/target/classes/META-INF/build.properties'...
[INFO] [INFO] Writing XML report '/home/jenkins/.hudson/jobs/SchematronValidator/workspace/SchematronValidator-ejb/target/buildmetadata.xml'...
[INFO] [INFO] 
[INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ SchematronValidator-ejb ---
[INFO] [INFO] argLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/jenkins/.hudson/jobs/SchematronValidator/workspace/SchematronValidator-ejb/target/jacoco.exec
[INFO] [INFO] 
[INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ SchematronValidator-ejb ---
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] [INFO] Copying 7 resources
[INFO] [INFO] 
[INFO] [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ SchematronValidator-ejb ---
[INFO] [INFO] Changes detected - recompiling the module!
[INFO] [INFO] Compiling 39 source files to /home/jenkins/.hudson/jobs/SchematronValidator/workspace/SchematronValidator-ejb/target/classes
[INFO] net.ihe.gazelle.common.interfacegenerator.InterfaceGeneratorProcessor processor
[INFO] Generating interfaces thanks to @GenerateInterface
[INFO] [WARNING] bootstrap class path not set in conjunction with -source 1.7
[INFO] [INFO] Hibernate JPA 2 Static-Metamodel Generator [WORKING]
[INFO] [WARNING] No SupportedSourceVersion annotation found on org.kohsuke.metainf_services.AnnotationProcessorImpl, returning RELEASE_6.
[INFO] [WARNING] Supported source version 'RELEASE_6' from annotation processor 'org.kohsuke.metainf_services.AnnotationProcessorImpl' less than -source '1.7'
[INFO] [INFO] Writing META-INF/services/net.ihe.gazelle.preferences.PreferenceProvider
[INFO] [INFO] Writing META-INF/services/net.ihe.gazelle.common.servletfilter.CSPPoliciesPreferences
[INFO] [INFO] /home/jenkins/.hudson/jobs/SchematronValidator/workspace/SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/validation/SchematronValidator.java: Some input files use unchecked or unsafe operations.
[INFO] [INFO] /home/jenkins/.hudson/jobs/SchematronValidator/workspace/SchematronValidator-ejb/src/main/java/net/ihe/gazelle/schematron/validation/SchematronValidator.java: Recompile with -Xlint:unchecked for details.
[INFO] [INFO] 
[INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ SchematronValidator-ejb ---
[INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] [INFO] Copying 288 resources
[INFO] [INFO] 
[INFO] [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ SchematronValidator-ejb ---
[INFO] [INFO] Changes detected - recompiling the module!
[INFO] [INFO] Compiling 5 source files to /home/jenkins/.hudson/jobs/SchematronValidator/workspace/SchematronValidator-ejb/target/test-classes
[INFO] [WARNING] bootstrap class path not set in conjunction with -source 1.7
[INFO] [INFO] Hibernate JPA 2 Static-Metamodel Generator [WORKING]
[INFO] [WARNING] No SupportedSourceVersion annotation found on org.kohsuke.metainf_services.AnnotationProcessorImpl, returning RELEASE_6.
[INFO] [WARNING] Supported source version 'RELEASE_6' from annotation processor 'org.kohsuke.metainf_services.AnnotationProcessorImpl' less than -source '1.7'
[INFO] [INFO] 
[INFO] [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ SchematronValidator-ejb ---
[INFO] [INFO] 
[INFO] [INFO] -------------------------------------------------------
[INFO] [INFO]  T E S T S
[INFO] [INFO] -------------------------------------------------------
[INFO] [INFO] Running net.ihe.gazelle.schematron.compiler.SchematronCompilerTest
[INFO] ERROR 2019-03-18 11:28:45,407 [main] net.ihe.gazelle.schematron.compiler.SchematronCompiler: Fail to create ART-DECOR schematron precompilation file : 
[INFO] java.io.IOException: Destination '/path' directory cannot be created
[INFO] 	at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1213)
[INFO] 	at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1186)
[INFO] 	at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1058)
[INFO] 	at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1027)
[INFO] 	at net.ihe.gazelle.schematron.compiler.SchematronCompiler.createArtDecorSchematronPreCompilationCopy(SchematronCompiler.java:62)
[INFO] 	at net.ihe.gazelle.schematron.compiler.SchematronCompilerTest.createArtDecorSchematronPreCompilationCopyInvalidTest(SchematronCompilerTest.java:93)
[INFO] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] 	at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[INFO] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[INFO] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[INFO] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[INFO] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
[INFO] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
[INFO] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
[INFO] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
[INFO] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[INFO] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[INFO] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[INFO] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[INFO] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[INFO] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[INFO] 	at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:78)
[INFO] 	at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:84)
[INFO] 	at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39)
[INFO] 	at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:161)
[INFO] 	at org.junit.runners.Suite.runChild(Suite.java:128)
[INFO] 	at org.junit.runners.Suite.runChild(Suite.java:27)
[INFO] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[INFO] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[INFO] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[INFO] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[INFO] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[INFO] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[INFO] 	at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
[INFO] 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
[INFO] 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
[INFO] 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
[INFO] 	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
[INFO] 	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:157)
[INFO] 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
[INFO] 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
[INFO] 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
[INFO] INFO  2019-03-18 11:28:46,110 [main] net.ihe.gazelle.schematron.util.SchematronXSLConverter: preprocessing schematron
[INFO] <?xml version="1.0" encoding="UTF-8"?>
[INFO] <schema xmlns="http://purl.oclc.org/dsdl/schematron" xmlns:hl7="urn:hl7-org:v3" xmlns:local="http://art-decor.org/functions" xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
[INFO]     <title>Scenario: CarnetSante - CarnetSanteEnfant8ejour (1.2.250.1.213.1.1.1.5.4.2)</title>
[INFO]     <ns uri="urn:hl7-org:v3" prefix="hl7" />
[INFO]     <ns uri="urn:hl7-org:v3" prefix="cda" />
[INFO]     <ns uri="http://www.w3.org/2001/XMLSchema-instance" prefix="xsi" />
[INFO]     <ns uri="http://www.w3.org/2001/XMLSchema" prefix="xs" />
[INFO]    
[INFO]     <ns uri="urn:ihe:pcc:hl7v3" prefix="ihe" />
[INFO]     <ns uri="http://www.w3.org/XML/1998/namespace" prefix="xml" />
[INFO]     <ns uri="urn:hl7-org:sdtc" prefix="sdtc" />
[INFO]    
[INFO]     <pattern>
[INFO]         <rule abstract="true" id="ANY">
[INFO]     <assert role="error" test="not(descendant-or-self::hl7:*[@nullFlavor]) or           descendant-or-self::hl7:*[           (@nullFlavor and count(@* except (@xsi:type|@xsi:nil|@classCode|@typeCode|@determinerCode|@moodCode|@nullFlavor))=0 and count(*)=0 and not(text()[string-length(normalize-space())&gt;0])) or            ((@nullFlavor='OTH' or @nullFlavor='NA') and (@codeSystem or hl7:originalText or hl7:translation) and count(@* except (@xsi:type|@xsi:nil|@codeSystem|@nullFlavor))=0) or            (@nullFlavor='UNC' and (@extension) and count(@* except (@xsi:type|@xsi:nill|@extension|@nullFlavor))=0)]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ANY">dtr1-1-ANY: if there is a nullFlavor, there shall be no text or other attribute or element, unless it's nullFlavor='OTH' or 'NA' (@codeSystem, &lt;originalText&gt; or &lt;translation&gt; may have a value), or nullFlavor 'UNC' (@extension may have a value)</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="AD">
[INFO]     <extends rule="ANY" />
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="@nullFlavor or (count(*)&gt;0 and not(text()[string-length(normalize-space())&gt;0])) or (count(*)=0 and text()[string-length(normalize-space())&gt;0])">dtr1-1-AD: address shall be null or text only or element only (no mixed content)</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (not(hl7:thumbnail) or hl7:useablePeriod/@nullFlavor)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD">dtr1-2-AD: no useablePeriod if null</assert>
[INFO]     <assert role="error" test="count(*[self::hl7:useablePeriod][@updateMode])=0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD">dtr1-3-AD: updateMode shall not be used on address elements</assert>
[INFO]     <assert role="error" test="not(hl7:useablePeriod/hl7:low/@value and hl7:useablePeriod/hl7:high/@value) or          string-length(hl7:useablePeriod/hl7:low/@value) = string-length(hl7:useablePeriod/hl7:high/@value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD">dtr1-5-AD: useablePeriod/low/@value must have the same precision as useablePeriod/high/@value</assert>
[INFO]     <assert role="error" test="not(hl7:useablePeriod/hl7:low/@value and hl7:useablePeriod/hl7:high/@value) or         number(substring(concat(hl7:useablePeriod/hl7:low/@value,'00000000000000'),1,14)) &lt; number(substring(concat(hl7:useablePeriod/hl7:high/@value,'00000000000000'),1,14))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD">dtr1-6-AD: useablePeriod/low/@value must be before useablePeriod/high/@value</assert>
[INFO] 
[INFO]     
[INFO]     <let name="tum" value="'^(us|ms|s|min|h|d|wk|mo|a|)$'" />
[INFO]     <assert role="error" test="matches(hl7:useablePeriod/hl7:width/@unit, $tum)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD">dtr1-7-AD: for useablePeriod/width only us (microseconds), ms (milliseconds), s (seconds), min (minute), h (hours), d (day), wk (week), mo (month) or a (year) are allowed</assert>
[INFO]     <report role="warning" test="*[not(@nullFlavor or self::hl7:useablePeriod)][normalize-space(.)='']" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD">dtr1-8-AD: empty address particles should not be present.</report>
[INFO]     
[INFO]     
[INFO]     <let name="name" value="local-name()" />
[INFO]     <let name="value" value="string-join((.//@use|.//text()),'')" />
[INFO]     <let name="set_other" value="preceding-sibling::*[local-name()=$name] | following-sibling::*[local-name()=$name]" />
[INFO]     <assert role="error" test="not(@nullFlavor and $set_other[not(@nullFlavor)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD">dtr1-9-AD: [RIM-001] <value-of select="$name" /> SHALL NOT have nullFlavor, if there are other <value-of select="$name" /> elements which are not null</assert>
[INFO]     <assert role="error" test="not($set_other[string-join((.//@use|.//text()),'')=$value])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD">dtr1-10-AD: [RIM-002] <value-of select="$name" /> (<value-of select="$value" />) SHALL be distinct</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="AD.NL">
[INFO]     <extends rule="AD" />
[INFO] 
[INFO]     
[INFO]     <let name="postalCodeText" value="hl7:postalCode/text()" />
[INFO]     <let name="countryCode" value="hl7:country/@code" />
[INFO]     <let name="countryCodeSystem" value="hl7:country/@codeSystem" />
[INFO]     <let name="countryText" value="upper-case(normalize-space(hl7:country))" />
[INFO]     <assert role="error" test="if (@codeSystem='2.16.840.1.113883.2.4.4.15') then (matches(@code,'^[0-9]{4}[A-Z]{2}$')) else ( true() )" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.NL">dtr1-1-AD.NL: postcodes onder codeSystem '2.16.840.1.113883.2.4.4.15' moeten voldoen aan '9999AA'</assert>
[INFO]     <assert role="error" test="if (hl7:postalCode/text() and (not(hl7:country) or            ($countryCode='NL' and $countryCodeSystem=('2.16.1','1.3.6.1.4.1.1466.115.121.1.11','1.0.3166.1.2.2')) or            ($countryCode='NLD' and $countryCodeSystem='2.16.2') or            ($countryCode='528' and $countryCodeSystem='2.16.3') or            $countryText='NL' or            $countryText='NLD' or            $countryText='NEDERLAND'            ))             then ( matches($postalCodeText,'^[0-9]{4} [A-Z]{2}$'))            else ( true() )" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.NL">dtr1-2-AD.NL: Nederlandse postcodes in de text-nodes moeten voldoen aan '9999 AA'</assert>
[INFO]     <let name="illegalAddressPart" value="*[not(self::hl7:delimiter|self::hl7:country|self::hl7:county|self::hl7:city|self::hl7:postalCode|self::hl7:houseNumber|self::hl7:buildingNumberSuffix|self::hl7:streetName|self::hl7:additionalLocator|self::hl7:useablePeriod)]/name()" />
[INFO]     <assert role="error" test="empty($illegalAddressPart)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.NL">dtr1-3-AD.NL: binnen Nederland mogen alleen delimiter, country, county, city, postalCode, houseNumber, buildingNumberSuffix, streetName, additionalLocator en useablePeriod worden gebruikt. Gevonden '<value-of select="$illegalAddressPart" />'.</assert>
[INFO]     <let name="illegalCodedAddressPart" value="*[not(self::hl7:postalCode|self::hl7:country|self::hl7:county)][@code]/name()" />
[INFO]     <assert role="error" test="empty($illegalCodedAddressPart)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.NL">dtr1-4-AD.NL: alleen postalCode, country en county kunnen gecodeerd worden. Gevonden '<value-of select="$illegalCodedAddressPart" />'</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="AD.DE">
[INFO]     <extends rule="AD" />
[INFO] 
[INFO]     
[INFO]     <let name="postalCodeText" value="hl7:postalCode/text()" />
[INFO]     <let name="countryCode" value="hl7:country/@code" />
[INFO]     <let name="countryCodeSystem" value="hl7:country/@codeSystem" />
[INFO]     <let name="countryText" value="upper-case(normalize-space(hl7:country))" />
[INFO]     <assert role="error" test="@nullFlavor or matches($postalCodeText,'^[0-9]{5}$')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.DE">dtr1-1-AD.DE: Deutsche Postleitzahlen in den Textknoten müssen im Format '99999' sein</assert>
[INFO]     <let name="illegalAddressPart" value="*[local-name(.)!='delimiter' and local-name(.)!='buildingNumberSuffix' and         local-name(.)!='country' and local-name(.)!='county' and         local-name(.)!='city' and local-name(.)!='postalCode' and         local-name(.)!='houseNumber' and local-name(.)!='streetName' and         local-name(.)!='additionalLocator' and         local-name(.)!='useablePeriod'][1]/name()" />
[INFO]     <assert role="error" test="count(*)=0 or string-length($illegalAddressPart)=0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.DE">dtr1-2-AD.DE: In Deutschland sind bei Adressen zugelassen: delimiter, country, county, city, postalCode, houseNumber, buildingNumberSuffix, streetName, additionalLocator und useablePeriod. Gefunden '<value-of select="$illegalAddressPart" />'.</assert>
[INFO]     <assert role="error" test="count(*)=0 or count(*[not(self::hl7:postalCode) and not(self::hl7:country) and not(self::hl7:county) and @code])=0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.DE">dtr1-3-AD.DE: Nur postalCode, country und county können codiert werden. Gefunden '<value-of select="*[not(self::hl7:postalCode) and not(self::hl7:country) and not(self::hl7:county) and @code][1]/name()" />'</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="AD.EPSOS">
[INFO]     <extends rule="AD" />
[INFO]     <assert role="error" test="@nullFlavor or hl7:*" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.EPSOS">dtr1-1-AD.EPSOS: if addr is not null at least one sub element has to be provided</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="AD.IPS">
[INFO]     <extends rule="AD" />
[INFO]     <assert role="error" test="@nullFlavor or hl7:*" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.IPS">dtr1-1-AD.IPS: if addr is not null at least one sub element has to be provided</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="AD.CA.BASIC">
[INFO]     <extends rule="AD" />
[INFO]     <assert role="error" test="@nullFlavor or not(hl7:useablePeriod)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.CA.BASIC">dtr1-1-AD.CA.BASIC: useablePeriod property is not permitted</assert>
[INFO]     <assert role="error" test="@nullFlavor or not(hl7:isNotOrdered)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.CA.BASIC">dtr1-2-AD.CA.BASIC: isNotOrdered property is not permitted</assert>
[INFO]     <assert role="error" test="@nullFlavor or @use" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.CA.BASIC">dtr1-3-AD.CA.BASIC: @use is required</assert>
[INFO]     <assert role="error" test="@nullFlavor or (translate(concat(' ', @use, ' '), '(H|PHYS|PST|TMP|WP|CONF|DIR) ', '') = '' and (count(tokenize (@use, ' '))&lt;=3))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.CA.BASIC">dtr1-4-AD.CA.BASIC: @use may have up to three codes and must be drawn from 'H', 'PHYS', 'PST', 'TMP', 'WP', 'CONF', 'DIR'</assert>
[INFO]     <assert role="error" test="@nullFlavor or count(* except (hl7:country | hl7:city | hl7:state | hl7:postalCode | hl7:addressLine))=0 or count(hl7:delimiter)&lt;=4" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.CA.BASIC">dtr1-5-AD.CA.BASIC: supported address parts (part types) are country, city, state, postalCode, addressLine and up to four delimiter</assert>
[INFO]     <assert role="error" test="not(*[string-length()&gt;80])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.CA.BASIC">dtr1-6-AD.CA.BASIC: address parts and delimiter-separated text has each a maximum length of 80 characters</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="AD.CA">
[INFO]     <extends rule="AD.CA.BASIC" />
[INFO]     <assert role="error" test="@nullFlavor or (translate(concat(' ', @use, ' '), '(H|PST|TMP|WP) ', '') = '' and (count(tokenize (@use, ' '))&lt;=3))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.CA">dtr1-1-AD.CA: @use may have up to three codes and must be drawn from 'H', 'PST', 'TMP', 'WP'</assert>
[INFO]     <assert role="error" test="@nullFlavor or count(* except (hl7:country | hl7:city | hl7:state | hl7:postalCode | hl7:streetAddressLine))=0 or count(hl7:delimiter)&lt;=4" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.CA">dtr1-2-AD.CA: supported address parts (part types) are country, city, state, postalCode, streetAddressLine and up to four delimiter</assert>
[INFO]     <assert role="error" test="@nullFlavor or count(*[@code])=0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_AD.CA">dtr1-3-AD.CA: address parts SHALL NOT contain @code</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="BIN">
[INFO]     <extends rule="ANY" />
[INFO]     <assert role="error" test="@nullFlavor | * | text()[string-length(normalize-space()) gt 0]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_BIN">dtr1-1-BIN: there must be a nullFlavor, or content must be non-empty</assert>
[INFO] </rule>
[INFO]         <rule xmlns:xs="http://www.w3.org/2001/XMLSchema" abstract="true" id="ED">
[INFO]     <extends rule="BIN" />
[INFO]     <assert role="error" test="not(@integrityCheck) or @integrityCheckAlgorithm" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-2-ED: integrityCheckAlgorithm required if integrityCheck</assert>
[INFO]     <assert role="error" test="not(hl7:thumbnail) or hl7:thumbnail[not(@nullFlavor and hl7:reference)]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-3-ED: thumbnails not null and reference</assert>
[INFO]     <assert role="error" test="not(hl7:thumbnail) or hl7:thumbnail[not(hl7:thumbnail)]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-4-ED: thumbnails do not have thumbnails</assert>
[INFO]     <assert role="error" test="(@compression and (hl7:reference/@value or (@representation='B64' and text()))) or not(@compression)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-5-ED: compression only on binary</assert>
[INFO]     <assert role="error" test="not(@value) or (@value and (not(@mediaType) or @mediaType='text/plain'))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-6-ED: value implies mediaType is text/plain</assert>
[INFO]     <assert role="error" test="count(*[self::hl7:reference or self::hl7:thumbnail][@validTimeLow or @validTimeHigh or @updateMode])=0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-7-ED: no history or updateMode</assert>
[INFO]     <assert role="error" test="not(@value or xml) or not(@charset)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-8-ED: no charset for value or xml</assert>
[INFO]     <assert role="error" test="not(hl7:translation) or hl7:thumbnail[not(hl7:translation)]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-9-ED: no nested translations</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@mediaType))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-10-ED: no mediaType if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@charset))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-11-ED: no charset if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@language))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-12-ED: no language if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@compression))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-13-ED: no compression if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@integrityCheck))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-14-ED: no integrityCheck if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@integrityCheckAlgorithm))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-15-ED: no integrityCheckAlgorithm if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (not(hl7:thumbnail) or hl7:thumbnail/@nullFlavor)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-16-ED: no thumbnail if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(hl7:translation))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-17-ED: no translation if null</assert>
[INFO]     
[INFO]     
[INFO]     
[INFO]     <let name="RFC3066" value="'^[a-z]{2,3}(-[a-z]{2})?|[ix](-[a-z\d]{2,8})+$'" />
[INFO]     <let name="RFC3066restricted" value="'^[a-z]{2,3}(-[a-z]{2})?$'" />
[INFO]     <assert role="error" test="not(@language) or matches(@language,$RFC3066,'i')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ED">dtr1-18-ED: @language SHALL conform to RFC 3066. This usually has format sss?-CC with sss? for language code (ISO-639-1 / ISO-639-2) and optional CC for country code (conform ISO-3166 alpha-2)</assert>
[INFO] </rule>
[INFO]         <rule xmlns:xs="http://www.w3.org/2001/XMLSchema" abstract="true" id="ST">
[INFO]     <extends rule="ED" />
[INFO] 
[INFO]     
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(hl7:reference)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ST">dtr1-3-ST: no reference</assert>
[INFO]     <assert role="error" test="not(hl7:thumbnail)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ST">dtr1-4-ST: no thumbnail</assert>
[INFO]     <assert role="error" test="not(@representation) or @representation='TXT'" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ST">dtr1-5-ST: @representation SHALL be 'TXT' if present.</assert>
[INFO]     <assert role="error" test="not(@mediaType) or @mediaType='text/plain'" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ST">dtr1-6-ST: @mediaType SHALL be 'text/plain' if present.</assert>
[INFO]     <assert role="error" test="not(@compression)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ST">dtr1-7-ST: @compression SHALL NOT be used on ST.</assert>
[INFO]     <assert role="error" test="not(@integrityCheck)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ST">dtr1-8-ST: @integrityCheck SHALL NOT be used on ST.</assert>
[INFO]     <assert role="error" test="not(@integrityCheckAlgorithm)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ST">dtr1-8-ST: @integrityCheckAlgorithm SHALL NOT be used on ST.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="SC">
[INFO]     <extends rule="ST" />
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="@codeSystem or not(@code)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SC">dtr1-2-SC: code requires codeSystem</assert>
[INFO]     <assert role="error" test="@codeSystem or not(@codeSystemName)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SC">dtr1-3-SC: codeSystemName only if codeSystem</assert>
[INFO]     <assert role="error" test="@codeSystem or not(@codeSystemVersion)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SC">dtr1-4-SC: codeSystemVersion only if codeSystem</assert>
[INFO]     <assert role="error" test="@code or not(@displayName)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SC">dtr1-5-SC: displayName only if code</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@code))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SC">dtr1-6-SC: no code if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@displayName))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SC">dtr1-7-SC: no displayName if null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="ENXP" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ENXP">
[INFO]     <extends rule="ST" />
[INFO] </rule>
[INFO]         <rule abstract="true" id="ADXP">
[INFO]     <extends rule="ST" />
[INFO]     
[INFO]     
[INFO]     <let name="name" value="local-name()" />
[INFO]     <let name="value" value="." />
[INFO]     <let name="set_other" value="preceding-sibling::*[local-name()=$name] | following-sibling::*[local-name()=$name]" />
[INFO]     <assert role="error" test="not($set_other[.=$value])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ADXP">dtr1-1-ADXP: [RIM-002] <name /> (<value-of select="$value" />) SHALL be distinct</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="thumbnail">
[INFO]     <extends rule="ED" />
[INFO]     <assert role="error" test="not(@integrityCheck) or @integrityCheckAlgorithm" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-2-thumbnail: integrityCheckAlgorithm required if integrityCheck</assert>
[INFO]     <assert role="error" test="not(@nullFlavor and hl7:reference)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-3-thumbnail: no reference if null</assert>
[INFO]     <assert role="error" test="not(hl7:thumbnail)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-4-thumbnail: thumbnails do not have thumbnails</assert>
[INFO]     <assert role="error" test="(@compression and (hl7:reference/@value or (@representation='B64' and text()))) or not(@compression)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-5-thumbnail: compression only on binary</assert>
[INFO]     <assert role="error" test="not(@value) or (@value and (not(@mediaType) or @mediaType='text/plain'))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-6-thumbnail: value implies mediaType is text/plain</assert>
[INFO]     <assert role="error" test="not(hl7:reference[@validTimeLow or @validTimeHigh or @updateMode])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-7-thumbnail: no history or updateMode</assert>
[INFO]     <assert role="error" test="not(@value or xml) or not(@charset)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-8-thumbnail: no charset for value or xml</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@mediaType))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-10-thumbnail: no mediaType if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@charset))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-11-thumbnail: no charset if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@language))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-12-thumbnail: no language if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@compression))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-13-thumbnail: no compression if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@integrityCheck))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-14-thumbnail: no integrityCheck if null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@integrityCheckAlgorithm))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_thumbnail">dtr1-15-thumbnail: no integrityCheckAlgorithm if null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="BL" see="https://art-decor.org/mediawiki/index.php?title=DTr1_BL">
[INFO]     <extends rule="ANY" />
[INFO]     
[INFO] </rule>
[INFO]         <rule abstract="true" id="BN" see="https://art-decor.org/mediawiki/index.php?title=DTr1_BN">
[INFO]     <extends rule="ANY" />
[INFO]     <assert test="not(@nullFlavor)">dtr1-1-BN: cannot have null</assert>
[INFO] </rule>
[INFO]         <rule xmlns:xs="http://www.w3.org/2001/XMLSchema" abstract="true" id="CD">
[INFO]     <extends rule="ANY" />
[INFO]     
[INFO]     <assert role="error" test="@nullFlavor or @code or (hl7:originalText and not(hl7:originalText/@nullFlavor))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-1-CD: null or code and/or originalText</assert>
[INFO]     
[INFO]     <assert role="error" test="@codeSystem or not(@code)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-2-CD: code requires codeSystem</assert>
[INFO]     <assert role="error" test="@codeSystem or not(@codeSystemName)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-3-CD: codeSystemName only if codeSystem</assert>
[INFO]     <assert role="error" test="@codeSystem or not(@codeSystemVersion)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-4-CD: codeSystemVersion only if codeSystem</assert>
[INFO]     <assert role="error" test="@code or not(@displayName)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-5-CD: displayName only if code</assert>
[INFO]     <assert role="error" test="not(@nullFlavor and @code)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-6-CD: co-occurence violation. Cannot have code and null</assert>
[INFO]     <assert role="error" test="not(@nullFlavor and @displayName)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-7-CD: co-occurence violation. Cannot have displayName and null</assert>
[INFO]     
[INFO]     
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(.//hl7:translation/@nullFlavor)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-10-CD: no null on translations (Exceptional values (NULL-values) can not be elements of a set.)</assert>
[INFO]     <assert role="error" test="not(.//hl7:translation[@codeSystem][not(@code)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-11-CD: translation code requires codeSystem</assert>
[INFO]     <assert role="error" test="not(.//hl7:translation[@codeSystemName][not(@codeSystem)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-12-CD: translation codeSystemName only if codeSystem</assert>
[INFO]     <assert role="error" test="not(.//hl7:translation[@codeSystemVersion][not(@codeSystem)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-13-CD: translation codeSystemVersion only if codeSystem</assert>
[INFO]     <assert role="error" test="not(.//hl7:translation[@displayName][not(@code)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-14-CD: translation displayName only if code</assert>
[INFO]     <report role="warning" test="matches(@displayName,'[\r\n\t]')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-15-CD: it looks like there are formatting instructions in attribute @displayName. Please note that this may lead to interoperability problems.</report>
[INFO]     
[INFO]     
[INFO]     
[INFO]     
[INFO]     
[INFO]     <let name="name" value="local-name()" />
[INFO]     <let name="set_other" value="preceding-sibling::*[local-name()=$name] | following-sibling::*[local-name()=$name]" />
[INFO]     
[INFO]     <let name="code" value="@code" />
[INFO]     <let name="codeSystem" value="@codeSystem" />
[INFO]     <assert role="error" test="not($set_other[@code=$code][@codeSystem=$codeSystem])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-18-CD: [RIM-002] <value-of select="$name" /> (@code=<value-of select="$code" /> @codeSystem=<value-of select="$codeSystem" />) SHALL be distinct</assert>
[INFO]     <let name="translations" value=".//hl7:translation/concat(@code,@codeSystem)" />
[INFO]     <assert test="count($translations)=count(distinct-values($translations))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-19-CD: [RIM-002] translations SHALL be distinct</assert>
[INFO]     
[INFO]     
[INFO]     
[INFO]     <let name="RFC3066" value="'^[a-z]{2,3}(-[a-z]{2})?|[ix](-[a-z\d]{2,8})+$'" />
[INFO]     <let name="RFC3066restricted" value="'^[a-z]{2,3}(-[a-z]{2})?$'" />
[INFO]     <assert role="error" test="not(.//hl7:originalText[@language and not(matches(@language,$RFC3066,'i'))])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD">dtr1-20-CD: originalText/@language SHALL conform to RFC 3066. This usually has format sss?-CC with sss? for language code (ISO-639-1 / ISO-639-2) and optional CC for country code (conform ISO-3166 alpha-2)</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="CE">
[INFO]     <extends rule="CD" />
[INFO]     <assert role="error" test="not(hl7:qualifier)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CE">dtr1-1-CE: cannot have qualifier</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="CV" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CV">
[INFO]     <extends rule="CE" />
[INFO] </rule>
[INFO]         <rule abstract="true" id="CO">
[INFO]     <extends rule="CV" />
[INFO]     <assert role="error" test="not(hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CO">dtr1-1-CO: cannot have translation</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="CO.EPSOS" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CO.EPSOS">
[INFO]     <extends rule="CO" />
[INFO] </rule>
[INFO]         <rule abstract="true" id="PQR">
[INFO]     <extends rule="CV" />
[INFO]     <assert role="error" test="not(@nullFlavor and @value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PQR">dtr1-1-PQR: not null and value</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="CV.EPSOS" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CV.EPSOS">
[INFO]     <extends rule="CE.EPSOS" />
[INFO] </rule>
[INFO]         <rule abstract="true" id="CV.IPS" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CV.IPS">
[INFO]     <extends rule="CE.IPS" />
[INFO] </rule>
[INFO]         <rule abstract="true" id="EIVL.event" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL.event">
[INFO]     <extends rule="CE" />
[INFO] </rule>
[INFO]         <rule abstract="true" id="CE.EPSOS">
[INFO]     <extends rule="CD.EPSOS" />
[INFO]     <assert role="error" test="not(hl7:qualifier)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CE.EPSOS">dtr1-1-CE.EPSOS: cannot have qualifier</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="CE.IPS">
[INFO]     <extends rule="CD.IPS" />
[INFO]     <assert role="error" test="not(hl7:qualifier)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD.IPS">dtr1-1-CE.IPS: cannot have qualifier</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="CD.EPSOS">
[INFO]     <extends rule="CD" />
[INFO]     <assert role="error" test="descendant-or-self::*[not(@code) or @displayName]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD.EPSOS">dtr1-1-CD.EPSOS: attribute @displayName is required on all codes and translations thereof</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="CD.IPS">
[INFO]     <extends rule="CD" />
[INFO]     <assert role="error" test="descendant-or-self::*[not(@code) or @displayName]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD.IPS">dtr1-1-CD.IPS: attribute @displayName is required on all codes and translations thereof</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="CD.SDTC">
[INFO]     <extends rule="CD" />
[INFO]     <assert role="error" test="descendant-or-self::*[not(@code) or @displayName]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CD.SDTC">dtr1-1-CD.SDTC: attribute @displayName is required on all codes and translations thereof</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="CR">
[INFO]     <extends rule="ANY" />
[INFO]     <assert test="(@nullFlavor or *) and not(@nullFlavor and *)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CR">dtr1-1-CR: null or value</assert>
[INFO]     
[INFO]     
[INFO]     
[INFO] </rule>
[INFO]         <rule abstract="true" id="CS">
[INFO]     <extends rule="ANY" />
[INFO]     <assert role="error" test="(@nullFlavor and not(@code or @typeCode)) or (not(@nullFlavor) and (@code or @typeCode))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CS">dtr1-1-CS: @code/@typeCode and @nullFlavor are mutually exclusive</assert>
[INFO]     <assert role="error" test="not(@codeSystem)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CS">dtr1-2-CS: cannot have codeSystem</assert>
[INFO]     <assert role="error" test="not(@codeSystemName)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CS">dtr1-3-CS: cannot have codeSystemName</assert>
[INFO]     <assert role="error" test="not(@codeSystemVersion)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CS">dtr1-4-CS: cannot have codeSystemVersion</assert>
[INFO]     <assert role="error" test="not(@displayName)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CS">dtr1-5-CS: cannot have displayName</assert>
[INFO]     <assert role="error" test="not(hl7:originalText)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CS">dtr1-6-CS: cannot have originalText</assert>
[INFO]     <assert role="error" test="not(hl7:qualifier)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CS">dtr1-7-CS: cannot have qualifier</assert>
[INFO]     <assert role="error" test="not(hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CS">dtr1-8-CS: cannot have translation</assert>
[INFO] </rule>
[INFO]         <rule xmlns:xs="http://www.w3.org/2001/XMLSchema" abstract="true" id="CS.LANG">
[INFO]     <extends rule="CS" />
[INFO] 
[INFO]     
[INFO]     
[INFO]     
[INFO]     
[INFO]     <let name="RFC3066" value="'^[a-z]{2,3}(-[a-z]{2})?|[ix](-[a-z\d]{2,8})+$'" />
[INFO]     <let name="RFC3066restricted" value="'^[a-z]{2,3}(-[a-z]{2})?$'" />
[INFO]     <assert role="error" test="not(@code) or matches(@code,$RFC3066,'i')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_CS.LANG">dtr1-2-CS.LANG: @code SHALL conform to RFC 3066. This usually has format sss?-CC with sss? for language code (ISO-639-1 / ISO-639-2) and optional CC for country code (conform ISO-3166 alpha-2)</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="EN">
[INFO]     <extends rule="ANY" />
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="not(@nullFlavor and (* or string-length(normalize-space(string-join(text(),'')))&gt;0))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EN">dtr1-1.1-EN: entity name shall not be null and have elements or text</assert>
[INFO]     <assert role="error" test="not(* and string-length(normalize-space(string-join(text(),'')))&gt;0)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EN">dtr1-1.2-EN: entity name shall not have both elements and text (no mixed content)</assert>
[INFO]     <assert role="error" test="@nullFlavor or * or string-length(normalize-space(string-join(text(),'')))&gt;0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EN">dtr1-1.3-EN: entity name that is not null shall not be empty</assert>
[INFO]     <report role="warning" test="*[not(@nullFlavor)][normalize-space(.)='']" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EN">dtr1-3-EN: empty name particles should not be present.</report>
[INFO]     <report role="warning" test="substring(normalize-space(.),1,1)='&quot;'" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EN">dtr1-4-EN: Use of quotes at the beginning of a name are probably not correct.</report>
[INFO]     
[INFO]     
[INFO]     <let name="name" value="local-name()" />
[INFO]     <let name="value" value="string-join((.//@use|.//text()),'')" />
[INFO]     <let name="set_other" value="preceding-sibling::*[local-name()=$name] | following-sibling::*[local-name()=$name]" />
[INFO]     <assert role="error" test="not(@nullFlavor and $set_other[not(@nullFlavor)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EN">dtr1-5-EN: [RIM-001] <value-of select="$name" /> SHALL NOT have nullFlavor, if there are other <value-of select="$name" /> elements which are not null</assert>
[INFO]     <assert role="error" test="not($set_other[string-join((.//@use|.//text()),'')=$value])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EN">dtr1-6-EN: [RIM-002] <value-of select="$name" /> (<value-of select="$value" />) SHALL be distinct</assert>
[INFO]     <assert role="error" test="not(hl7:*) or hl7:*[count(tokenize(@qualifier,'\s'))=count(distinct-values(tokenize(@qualifier,'\s')))]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EN">dtr1-7-EN: enxp elements SHALL have distinct values in @qualifier</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="ON">
[INFO]     <extends rule="EN" />
[INFO]     <assert role="error" test="count(hl7:family)=0 and count(hl7:given)=0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ON">dtr1-1-ON: no parts may be person name type particles</assert>
[INFO]     <assert role="error" test="not(*)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_ON">dtr1-2-ON: organization names SHALL be element content</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="PN">
[INFO]     <extends rule="EN" />
[INFO]     <assert role="error" test="not(*[tokenize(@qualifier,'\s')='LS'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN">dtr1-1-PN: Person names SHALL NOT contain a name part qualified with 'LS' (Legal status for organizations)</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="PN.NL">
[INFO]     <extends rule="PN" />
[INFO]     <assert role="error" test="not(*[tokenize(@qualifier,'\s')='LS'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.NL">dtr1-1-PN: Person names SHALL NOT contain a name part qualified with 'LS' (Legal status for organizations)</assert>
[INFO]     <assert role="error" test="not(hl7:given[contains(@qualifier,'IN')]) or hl7:given[contains(@qualifier,'IN') and not(starts-with(text(),'.')) and contains(text(),'.') and ends-with(text(),'.')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.NL">Datatype PN: als given/@qualifier 'IN' bevat dan moeten er initialen gescheiden en gevolgd door een punt in het element given staan.</assert>
[INFO]     <assert role="error" test="not(hl7:given[contains(@qualifier,'IN') and contains(@qualifier,'CL')])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.NL">Datatype PN: given/@qualifier 'IN' en 'CL' gaan niet samen. Initalen zijn geen roepnaam</assert>
[INFO]     <assert role="error" test="not(hl7:given[contains(@qualifier,'CL') and contains(text(),'.')])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.NL">Datatype PN: als given/@qualifier 'CL' bevat dan moeten er voornamen in dit element staan. Voornamen hebben geen puntjes.</assert>
[INFO]     <report role="warning" test="hl7:prefix[@qualifier='VV' and not(ends-with(text(),' '))]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.NL">Datatype PN: als er een spatie tussen een voorvoegsel en de bijbehorende achternaam hoort, moet het prefix element met qualifier=VV ook eindigen met een spatie.</report>
[INFO]     
[INFO]     
[INFO]     <report role="warning" test="hl7:family[substring(.,1,4)='van '] or hl7:family[substring(.,1,3)=('de ','in ')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.NL">Datatype PN: voorvoegsels moeten in het prefix element worden gevoerd, tenzij het bronsysteem voorvoegsels en achternaam niet gescheiden vastlegt.</report>
[INFO] </rule>
[INFO]         <rule abstract="true" id="PN.CA">
[INFO]     <extends rule="PN" />
[INFO]     <assert role="error" test="not(hl7:given) or hl7:given/@qualifier" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.CA">dtr1-1-PN.CA: given/@qualifier property is required</assert>
[INFO]     <assert role="error" test="not(hl7:given) or hl7:given[@qualifier='IN']" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.CA">dtr1-2-PN.CA: at present, the only value for name/given/@qualifier is IN (initial), indicating that the name part is just an initial</assert>
[INFO]     <assert role="error" test="@nullFlavor or count(* except (hl7:family | hl7:given | hl7:prefix | hl7:suffix)) = 0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.CA">dtr1-3-PN.CA: supported name parts (part types) are family, given, prefix, suffix</assert>
[INFO]     <assert role="error" test="@nullFlavor or count(hl7:family) = 1" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.CA">dtr1-4-PN.CA: Exactly one [1..1] name/family part SHALL be present</assert>
[INFO]     <assert role="error" test="@nullFlavor or count(hl7:given) &gt;= 1" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.CA">dtr1-5-PN.CA: One or more  [1..*] name/given parts SHALL be present</assert>
[INFO]     <assert role="error" test="@nullFlavor or count(hl7:prefix) &lt;= 1" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.CA">dtr1-6-PN.CA: Zero or 1 [0..1] name/prefix name parts may be provided</assert>
[INFO]     <assert role="error" test="@nullFlavor or count(hl7:suffix) &lt;= 1" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.CA">dtr1-7-PN.CA: Zero or 1 [0..1] name/suffix name parts may be provided</assert>
[INFO]     <assert role="error" test="@nullFlavor or count(*) &lt;= 7" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.CA">dtr1-8-PN.CA: At most seven name parts may be present; since a family name part and at least one given name are mandatory, the cardinality for name parts is [2..7]</assert>
[INFO]     <assert role="error" test="@nullFlavor or @use = ('L', 'P', 'ASGN', 'C', 'HC')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PN.CA">dtr1-9-AD.CA: @use must be drawn from 'L', 'P', 'ASGN', 'C', 'HC'</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TN">
[INFO]     <extends rule="EN" />
[INFO]     <assert role="error" test="not(*)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TN">dtr1-1-TN: trivial names SHALL consist of only one name part without any name part type or qualifier</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="II">
[INFO]     <extends rule="ANY" />
[INFO]     <assert role="error" test="@nullFlavor or (not(@nullFlavor) and @root)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II">dtr1-1-II: @root is required if @nullFlavor is not present</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@root))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II">dtr1-2-II: @root may not be used if @nullFlavor is present</assert>
[INFO]     
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@identifierName))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II">dtr1-4-II: @identifierName may not be used if @nullFlavor is present</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@displayable))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II">dtr1-5-II: @displayable may not be used if @nullFlavor is present</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@reliability))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II">dtr1-6-II: @reliability may not be used if @nullFlavor is present</assert>
[INFO]     <assert role="error" test="not(@nullFlavor) or (@nullFlavor and not(@assigningAuthorityName))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II">dtr1-7-II: @assigningAuthorityName may not be used if @nullFlavor is present</assert>
[INFO]     
[INFO]      
[INFO]     <report role="warning" test="not(string-length(@root) &lt;= 128)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II">dtr1-8-II: @root should not be longer than 128 characters. Please write a note to the authors of this rule if this is found to be not sufficient</report>
[INFO]     <report role="warning" test="not(string-length(@extension) &lt;= 64)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II">dtr1-9-II: @extension should not be longer than 64 characters. Please write a note to the authors of this rule if this is found to be not sufficient</report>
[INFO]     
[INFO]     <let name="OIDpattern" value="'^[0-2](\.(0|[1-9]\d*))*$'" />
[INFO]     <let name="RUIDpattern" value="'^[A-Za-z][A-Za-z\d\-]*$'" />
[INFO]     <let name="UUIDpattern" value="'^[A-Fa-f\d]{8}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{12}$'" />
[INFO]     <assert role="error" test="not(@root) or matches(@root, $OIDpattern) or matches(@root, $UUIDpattern)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II">dtr1-10-II: @root SHALL be a syntactically correct OID, UUID.</assert>
[INFO]     <assert role="error" test="not(matches(@root, $RUIDpattern) and not(matches(@root, $UUIDpattern)))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II">dtr1-10a-II: @root SHALL NOT be a RUID. Identifiers in this scheme are only defined by balloted HL7 specifications. Local communities or systems must never use such reserved identifiers based on bilateral negotiations.</assert>
[INFO]     
[INFO]     
[INFO]     <let name="name" value="local-name()" />
[INFO]     <let name="set_other" value="preceding-sibling::*[local-name()=$name] | following-sibling::*[local-name()=$name]" />
[INFO]     
[INFO]     <let name="root" value="@root" />
[INFO]     <let name="extension" value="@extension" />
[INFO]     <assert role="error" test="not($set_other[@root=$root][empty($extension)] or $set_other[@root=$root][@extension=$extension])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II">dtr1-12-II: [RIM-002] <value-of select="$name" /> SHALL be distinct</assert>
[INFO]     
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(@root) or not(matches(@root,$UUIDpattern) and matches(@root,'[a-z]'))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II">dtr1-13-II: When UUID is used, the hexadecimal digits A-F SHALL be in upper case</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="II.NL.AGB">
[INFO]     <extends rule="II" />
[INFO]     <assert role="error" test="@nullFlavor or @root='2.16.840.1.113883.2.4.6.1'" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.NL.AGB">dtr1-1-II.NL.AGB: AGB-code @root MOET 2.16.840.1.113883.2.4.6.1 zijn indien niet null</assert>
[INFO]     <assert role="error" test="not(@root='2.16.840.1.113883.2.4.6.1') or matches(@extension,'^[0-9]{8}$')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.NL.AGB">dtr1-2-II.NL.AGB: AGB-code moet 8 cijfers lang zijn</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="II.NL.BIG">
[INFO]     <extends rule="II" />
[INFO]     <assert role="error" test="@nullFlavor or @root='2.16.528.1.1007.5.1'" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.NL.BIG">dtr1-1-II.NL.BIG: Burgerservicenummer @root MOET 2.16.528.1.1007.5.1 zijn indien niet null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="II.NL.BSN">
[INFO]     <extends rule="II" />
[INFO]     <assert role="error" test="@nullFlavor or @root='2.16.840.1.113883.2.4.6.3'" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.NL.BSN">dtr1-1-II.NL.BSN: Burgerservicenummer @root MOET 2.16.840.1.113883.2.4.6.3 zijn indien niet null</assert>
[INFO]     <assert role="error" test="not(@root='2.16.840.1.113883.2.4.6.3') or matches(@extension,'^[0-9]{9}$')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.NL.BSN">dtr1-2-II.NL.BSN: Burgerservicenummer MOET 9 cijfers lang zijn</assert>
[INFO]     <assert role="error" test="not(@root='2.16.840.1.113883.2.4.6.3') or (         (   number(substring(@extension,1,1))*9 )+         (   number(substring(@extension,2,1))*8 )+         (   number(substring(@extension,3,1))*7 )+         (   number(substring(@extension,4,1))*6 )+         (   number(substring(@extension,5,1))*5 )+         (   number(substring(@extension,6,1))*4 )+         (   number(substring(@extension,7,1))*3 )+         (   number(substring(@extension,8,1))*2 )+         (   number(substring(@extension,9,1))*-1) ) mod 11=0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.NL.BSN">dtr1-3-II.NL.BSN: Burgerservicenummer voldoet niet aan modulo 11 proef</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="II.NL.URA">
[INFO]     <extends rule="II" />
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="@nullFlavor or @root='2.16.528.1.1007.3.3'" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.NL.URA">dtr1-1-II.NL.URA: UZI-registerabonneenummer @root MOET 2.16.528.1.1007.3.3 zijn indien niet null</assert>
[INFO]     <assert role="error" test="not(@root='2.16.528.1.1007.3.3') or matches(@extension,'^[0-9]{8}$')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.NL.URA">dtr1-2-II.NL.URA: UZI-registerabonneenummer MOET 8 cijfers lang zijn</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="II.NL.UZI">
[INFO]     <extends rule="II" />
[INFO]     <assert role="error" test="@nullFlavor or @root='2.16.528.1.1007.3.1' or @root='2.16.528.1.1007.3.2'" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.NL.UZI">dtr1-1-II.NL.UZI: UZI-nummer @root MOET 2.16.528.1.1007.3.1 (Personen) of 2.16.528.1.1007.3.2 (Systemen) zijn indien niet null</assert>
[INFO]     <assert role="error" test="not(@root='2.16.528.1.1007.3.1') or matches(@extension,'^[0-9]{9}$')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.NL.UZI">dtr1-2-II.NL.UZI: UZI-nummer persoon MOET 9 cijfers lang zijn</assert>
[INFO]     <assert role="error" test="not(@root='2.16.528.1.1007.3.2') or matches(@extension,'^[0-9]{9}$')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.NL.UZI">dtr1-3-II.NL.UZI: UZI-nummer systeem MOET 9 cijfers lang zijn</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="II.AT.DVR">
[INFO]     <extends rule="II" />
[INFO]     <assert role="error" test="@nullFlavor or @root = '1.2.40.0.10.2.0.2.1'" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.AT.DVR">dtr1-1-II.AT.DVR: @root SHALL be 1.2.40.0.10.2.0.2.1 if not null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="II.AT.ATU">
[INFO]     <extends rule="II" />
[INFO]     <assert role="error" test="@nullFlavor or @root = '1.2.40.0.10.2.0.2.1'" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.AT.ATU">dtr1-1-II.AT.ATU: @root SHALL be 1.2.40.0.10.2.0.2.1 if not null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="II.AT.BLZ">
[INFO]     <extends rule="II" />
[INFO]     <assert role="error" test="@nullFlavor or @root = '1.2.40.0.34.4.13'" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.AT.BLZ">dtr1-1-II.AT.BLZ: @root SHALL be 1.2.40.0.34.4.13 if not null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="II.AT.KTONR">
[INFO]     <extends rule="II" />
[INFO]     <assert role="error" test="@nullFlavor or @root = '1.2.40.0.34.4.14'" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.AT.KTONR">dtr1-1-II.AT.KTONR: @root SHALL be 1.2.40.0.34.4.14 if not null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="II.EPSOS">
[INFO]     <extends rule="II" />
[INFO]     <assert role="error" test="not(@root) or string-length(@root) &lt;= 64" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.EPSOS">dtr1-1-II.EPSOS: @root should exceed 64 characters</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="QTY">
[INFO]     <extends rule="ANY" />
[INFO]     <assert role="error" test="not(hl7:uncertainty/@expression) and not(hl7:uncertainty/@uncertainty) and not(hl7:uncertainty/@originalText)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_QTY">dtr1-1-QTY: no uncertainty</assert>
[INFO]     <assert role="error" test="count(*[self::hl7:originalText or self::hl7:uncertainty or self::hl7:expression][@validTimeLow or @validTimeHigh or @updateMode])=0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_QTY">dtr1-2-QTY: no history or updateMode</assert>
[INFO]     
[INFO]     
[INFO]     <let name="name" value="local-name()" />
[INFO]     <let name="set_other" value="preceding-sibling::*[local-name()=$name] | following-sibling::*[local-name()=$name]" />
[INFO]     <assert role="error" test="not(@nullFlavor and $set_other[not(@nullFlavor)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_QTY">dtr1-3-QTY: [RIM-001] <value-of select="$name" /> SHALL NOT have nullFlavor, if there are other <value-of select="$name" /> elements which are not null</assert>
[INFO]     <let name="value" value="@value" />
[INFO]     <let name="unit" value="@unit" />
[INFO]     <assert role="error" test="not($set_other[@value=$value][@unit=$unit])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_QTY">dtr1-4-QTY: [RIM-002] <value-of select="$name" /> (@value=<value-of select="$value" /> @unit=<value-of select="$unit" />) SHALL be distinct</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="INT">
[INFO]     <extends rule="QTY" />
[INFO]     <assert role="error" test="(@nullFlavor or @value or *) and not(@nullFlavor and @value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_INT">dtr1-1-INT: null or value or child element in case of extension</assert>
[INFO]     <assert role="error" test="not(hl7:uncertainty)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_INT">dtr1-2-INT: no uncertainty</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVXB_INT">
[INFO]     <extends rule="INT" />
[INFO]     <assert role="error" test="not(@nullFlavor and @inclusive)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVXB_INT">dtr1-1-IVXB_INT: not inclusive if null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="SXCM_INT">
[INFO]     <extends rule="INT" />
[INFO]     <assert role="error" test="not(@nullFlavor and @operator)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXCM_INT">dtr1-1-SXCM_INT: not operator if null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVL_INT">
[INFO]     <extends rule="SXCM_INT" />
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(descendant-or-self::*[@nullFlavor and (@value|@unit|hl7:low|hl7:center|hl7:high|hl7:width)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_INT">dtr1-2-IVL_INT: null violation. Cannot have @nullFlavor and @value or other child elements</assert>
[INFO]     <assert role="error" test="not(@value and hl7:*)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_INT">dtr1-3-IVL_INT: co-occurence violation. Cannot have @value and other child elements</assert>
[INFO]     
[INFO]     <assert role="error" test="not(@value and (hl7:low|hl7:center|hl7:high|hl7:width))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_INT">dtr1-4-2-IVL_INT: co-occurence violation. Cannot have @value and child elements</assert>
[INFO]     <assert role="error" test="not(hl7:center and (hl7:low|hl7:high|hl7:width))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_INT">dtr1-4-3-IVL_INT: co-occurence violation. Cannot have center and other elements</assert>
[INFO]     <assert role="error" test="not(hl7:width and hl7:low and hl7:high)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_INT">dtr1-4-4-IVL_INT: co-occurence violation. Cannot have width and have both low and high elements</assert>
[INFO]     <assert role="error" test="not(hl7:*[@updateMode])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_INT">dtr1-5-IVL_INT: no updateMode on IVL attributes</assert>
[INFO]     
[INFO]     
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(hl7:width[@unit][not(@value)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_INT">dtr1-1-PQR: width element: no unit without value</assert>
[INFO]     <assert role="error" test="not(hl7:width/hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_INT">dtr1-2-PQR: width element: no translation</assert>
[INFO]     <assert role="error" test="not(hl7:low/@value and hl7:high/@value) or hl7:low/number(@value) &lt;= hl7:high/number(@value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_INT">dtr1-7-IVL_INT: low/@value must be lower than or equal to high/@value</assert>
[INFO]     <assert role="error" test="not(hl7:low[@nullFlavor='PINF'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_INT">dtr1-7-1-IVL_INT: low must be lower than or equal to high. Found low boundary PINF (Positive Infinity)</assert>
[INFO]     <assert role="error" test="not(hl7:high[@nullFlavor='NINF'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_INT">dtr1-7-2-IVL_INT: low must be lower than or equal to high. Found high boundary NINF (Negative Infinity)</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="INT.NONNEG">
[INFO]     <extends rule="INT" />
[INFO]     <assert role="error" test="@nullFlavor or @value &gt;= 0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_INT.NONNEG">dtr1-2-INT.NONNEG: null or value &gt;= 0</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="INT.POS">
[INFO]     <extends rule="INT" />
[INFO]     <assert role="error" test="@nullFlavor or @value &gt; 0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_II.POS">dtr1-2-INT.POS: null or value &gt; 0</assert>
[INFO] </rule>
[INFO]         <rule xmlns:hl7nl="urn:hl7-nl:v3" abstract="true" id="hl7nl-INT">
[INFO]     <extends rule="QTY" />
[INFO]     <assert role="error" test="(@nullFlavor or @value or *) and not(@nullFlavor and @value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:INT">DTr2-1-hl7nl-INT: null or value or child element in case of extension</assert>
[INFO]     <assert role="error" test="not(hl7nl:uncertainty)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:INT">DTr2-2-hl7nl-INT: no uncertainty</assert>
[INFO]     <assert role="error" test="not(@value and hl7nl:uncertainRange)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:INT">DTr2-3-hl7nl-INT: not @value and uncertainRange</assert>
[INFO]     <assert role="error" test="@nullFlavor or @value or hl7nl:uncertainRange" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:INT">DTr2-4-hl7nl-INT: @nullFlavor or @value or uncertainRange</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="MO">
[INFO]     <extends rule="QTY" />
[INFO]     <assert role="error" test="(@nullFlavor or (@value and @currency) or *) and not(@nullFlavor and @value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_MO">dtr1-1-MO: null or value or child element in case of extension</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVXB_MO">
[INFO]     <extends rule="MO" />
[INFO]     <assert role="error" test="not(@nullFlavor and @inclusive)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVXB_MO">dtr1-1-IVXB_MO: not inclusive if null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="SXCM_MO">
[INFO]     <extends rule="MO" />
[INFO]     <assert role="error" test="not(@nullFlavor and @operator)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXCM_MO">dtr1-1-SXCM_MO: not operator if null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVL_MO">
[INFO]     <extends rule="SXCM_MO" />
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="not(descendant-or-self::*[@nullFlavor and (@value|@unit|hl7:low|hl7:center|hl7:high|hl7:width)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-2-IVL_MO: null violation. Cannot have @nullFlavor and @value or other child elements</assert>
[INFO]     <assert role="error" test="not(@value and hl7:* except hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-3-IVL_MO: co-occurence violation. Cannot have @value and other child elements except translations</assert>
[INFO]     
[INFO]     <assert role="error" test="not(@value and (hl7:low|hl7:center|hl7:high|hl7:width))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-4-2-IVL_MO: co-occurence violation. Cannot have @value and child elements</assert>
[INFO]     <assert role="error" test="not(hl7:center and (hl7:low|hl7:high|hl7:width))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-4-3-IVL_MO: co-occurence violation. Cannot have center and other elements</assert>
[INFO]     <assert role="error" test="not(hl7:width and hl7:low and hl7:high)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-4-4-IVL_MO: co-occurence violation. Cannot have width and have both low and high elements</assert>
[INFO]     <assert role="error" test="not(hl7:*[@updateMode])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-5-IVL_MO: no updateMode on IVL attributes</assert>
[INFO]     
[INFO]     
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(hl7:width[@unit][not(@value)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-1-PQR: width element: no unit without value</assert>
[INFO]     <assert role="error" test="not(hl7:width/hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-2-PQR: width element: no translation</assert>
[INFO]     <assert role="error" test="not(hl7:low/@value and hl7:high/@value) or hl7:low/number(@value) &lt;= hl7:high/number(@value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-7-IVL_MO: low/@value must be lower than or equal to high/@value</assert>
[INFO]     <assert role="error" test="not(hl7:low[@nullFlavor='PINF'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-7-1-IVL_MO: low must be lower than or equal to high. Found low boundary PINF (Positive Infinity)</assert>
[INFO]     <assert role="error" test="not(hl7:high[@nullFlavor='NINF'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-7-2-IVL_MO: low must be lower than or equal to high. Found high boundary NINF (Negative Infinity)</assert>
[INFO]     <assert role="error" test="not(hl7:low/@currency and hl7:high/@currency) or hl7:low/@currency = hl7:high/@currency" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-8-IVL_MO: currency in low and high must be equal</assert>
[INFO]     <assert role="error" test="not(hl7:translation and hl7:* except hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_MO">dtr1-9-IVL_MO: co-occurence violation. Cannot have translation and other child elements except translation</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="PQ">
[INFO]     <extends rule="QTY" />
[INFO]     <assert role="error" test="(@nullFlavor or @value or *) and not(@nullFlavor and @value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PQ">dtr1-1-PQ: null or value or child element in case of extension</assert>
[INFO]     
[INFO]     <let name="translations" value=".//hl7:translation/concat(@value,@code,@codeSystem)" />
[INFO]     <assert test="count($translations)=count(distinct-values($translations))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PQ">dtr1-3-PQ: [RIM-002] translations SHALL be distinct</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVXB_PQ">
[INFO]     <extends rule="PQ" />
[INFO]     <assert role="error" test="not(@nullFlavor and @inclusive)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVXB_PQ">dtr1-1-IVXB_PQ: not inclusive if null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="RTO_PQ_PQ">
[INFO]     <extends rule="PQ" />
[INFO]     <assert role="error" test="@nullFlavor or hl7:numerator[not(@nullFlavor)] or hl7:denominator[not(@nullFlavor)]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_RTO_PQ_PQ">dtr1-1-RTO_PQ_PQ: numerator or denominator required</assert>
[INFO]     <assert role="error" test="not(hl7:numerator[@updateMode] or hl7:denominator[@updateMode])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_RTO_PQ_PQ">dtr1-2-RTO_PQ_PQ: no updateMode on numerator or denominator</assert>
[INFO]     <assert role="error" test="not(hl7:uncertainty)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_RTO_PQ_PQ">dtr1-3-RTO_PQ_PQ: no uncertainty</assert>
[INFO]     <assert role="error" test="not(hl7:denominator/@value='0')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_RTO_PQ_PQ">dtr1-4-RTO_PQ_PQ: The denominator must not be zero.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="SXCM_PQ">
[INFO]     <extends rule="PQ" />
[INFO]     <assert role="error" test="not(@nullFlavor and @operator)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXCM_PQ">dtr1-1-SXCM_PQ: not operator if null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVL_PQ">
[INFO]     <extends rule="SXCM_PQ" />
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="not(descendant-or-self::*[@nullFlavor and (@value|@unit|hl7:low|hl7:center|hl7:high|hl7:width)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-2-IVL_PQ: null violation. Cannot have @nullFlavor and @value or other child elements</assert>
[INFO]     <assert role="error" test="not(@value and hl7:* except hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-3-IVL_PQ: co-occurence violation. Cannot have @value and other child elements except translation</assert>
[INFO]     
[INFO]     <assert role="error" test="not(@value and (hl7:low|hl7:center|hl7:high|hl7:width))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-4-2-IVL_PQ: co-occurence violation. Cannot have @value and child elements</assert>
[INFO]     <assert role="error" test="not(hl7:center and (hl7:low|hl7:high|hl7:width))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-4-3-IVL_PQ: co-occurence violation. Cannot have center and other elements</assert>
[INFO]     <assert role="error" test="not(hl7:width and hl7:low and hl7:high)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-4-4-IVL_PQ: co-occurence violation. Cannot have width and have both low and high elements</assert>
[INFO]     <assert role="error" test="not(hl7:*[@updateMode])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-5-IVL_PQ: no updateMode on IVL attributes</assert>
[INFO]     
[INFO]     
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(hl7:width[@unit][not(@value)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-1-PQR: width element: no unit without value</assert>
[INFO]     <assert role="error" test="not(hl7:width/hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-2-PQR: width element: no translation</assert>
[INFO]     <assert role="error" test="not(hl7:low/@value and hl7:high/@value) or hl7:low/number(@value) &lt;= hl7:high/number(@value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-7-IVL_PQ: low/@value must be lower than or equal to high/@value</assert>
[INFO]     <assert role="error" test="not(hl7:low[@nullFlavor='PINF'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-7-1-IVL_PQ: low must be lower than or equal to high. Found low boundary PINF (Positive Infinity)</assert>
[INFO]     <assert role="error" test="not(hl7:high[@nullFlavor='NINF'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-7-2-IVL_PQ: low must be lower than or equal to high. Found high boundary NINF (Negative Infinity)</assert>
[INFO]     <assert role="warning" test="not(hl7:low/@unit and hl7:high/@unit) or hl7:low/@unit = hl7:high/@unit" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-8-IVL_PQ: units in low and high should be equal or comparable</assert>
[INFO]     <assert role="error" test="not(hl7:translation and hl7:* except hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_PQ">dtr1-9-IVL_PQ: co-occurence violation. Cannot have translation and other child elements except translation</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="BXIT_IVL_PQ" see="https://art-decor.org/mediawiki/index.php?title=DTr1_BXIT_IVL_PQ">
[INFO]     <extends rule="IVL_PQ" />
[INFO] </rule>
[INFO]         <rule abstract="true" id="hl7nl-PQ">
[INFO]     <extends rule="QTY" />
[INFO]     <assert role="error" test="(@nullFlavor or @value or *) and not(@nullFlavor and @value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PQ">DTr2-1-hl7nl-PQ: null or value or child element in case of extension</assert>
[INFO]     
[INFO]     <assert role="error" test="not(@value and hl7nl:uncertainRange)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PQ">DTr2-3-hl7nl-PQ: not @value and uncertainRange</assert>
[INFO]     <assert role="error" test="@nullFlavor or @value or hl7nl:uncertainRange" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PQ">DTr2-4-hl7nl-PQ: @nullFlavor or @value or uncertainRange</assert>
[INFO]     <let name="translations" value=".//hl7:translation/concat(@value,@code,@codeSystem)" />
[INFO]     <assert test="count($translations)=count(distinct-values($translations))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PQ">DTr2-5-hl7nl-PQ: [RIM-002] translations SHALL be distinct</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="REAL">
[INFO]     <extends rule="QTY" />
[INFO]     <assert role="error" test="(@nullFlavor or @value or *) and not(@nullFlavor and @value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_REAL">dtr1-1-REAL: null or value or child element in case of extension</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVXB_REAL">
[INFO]     <extends rule="REAL" />
[INFO]     <assert role="error" test="not(@nullFlavor and @inclusive)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVXB_REAL">dtr1-1-IVXB_REAL: not inclusive if null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="SXCM_REAL">
[INFO]     <extends rule="REAL" />
[INFO]     <assert role="error" test="not(@nullFlavor and @inclusive)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXCM_REAL">dtr1-1-SXCM_REAL: not inclusive if null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVL_REAL">
[INFO]     <extends rule="SXCM_REAL" />
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(descendant-or-self::*[@nullFlavor and (@value|@unit|hl7:low|hl7:center|hl7:high|hl7:width)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_REAL">dtr1-2-IVL_REAL: null violation. Cannot have @nullFlavor and @value or other child elements</assert>
[INFO]     <assert role="error" test="not(@value and hl7:*)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_REAL">dtr1-3-IVL_REAL: co-occurence violation. Cannot have @value and other child elements</assert>
[INFO]     
[INFO]     <assert role="error" test="not(@value and (hl7:low|hl7:center|hl7:high|hl7:width))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_REAL">dtr1-4-2-IVL_REAL: co-occurence violation. Cannot have @value and child elements</assert>
[INFO]     <assert role="error" test="not(hl7:center and (hl7:low|hl7:high|hl7:width))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_REAL">dtr1-4-3-IVL_REAL: co-occurence violation. Cannot have center and other elements</assert>
[INFO]     <assert role="error" test="not(hl7:width and hl7:low and hl7:high)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_REAL">dtr1-4-4-IVL_REAL: co-occurence violation. Cannot have width and have both low and high elements</assert>
[INFO]     <assert role="error" test="not(hl7:*[@updateMode])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_REAL">dtr1-5-IVL_REAL: no updateMode on IVL attributes</assert>
[INFO]     
[INFO]     
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(hl7:width[@unit][not(@value)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_REAL">dtr1-1-PQR: width element: no unit without value</assert>
[INFO]     <assert role="error" test="not(hl7:width/hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_REAL">dtr1-2-PQR: width element: no translation</assert>
[INFO]     <assert role="error" test="not(hl7:low/@value and hl7:high/@value) or hl7:low/number(@value) &lt;= hl7:high/number(@value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_REAL">dtr1-7-IVL_REAL: low/@value must be lower than or equal to high/@value</assert>
[INFO]     <assert role="error" test="not(hl7:low[@nullFlavor='PINF'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_REAL">dtr1-7-1-IVL_REAL: low must be lower than or equal to high. Found low boundary PINF (Positive Infinity)</assert>
[INFO]     <assert role="error" test="not(hl7:high[@nullFlavor='NINF'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_REAL">dtr1-7-2-IVL_REAL: low must be lower than or equal to high. Found high boundary NINF (Negative Infinity)</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="REAL.NONNEG">
[INFO]     <extends rule="REAL" />
[INFO]     <assert role="error" test="@nullFlavor or @value &gt;= 0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_REAL.NONNEG">dtr1-1-REAL.NONNEG: null or value &gt;= 0</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="REAL.POS">
[INFO]     <extends rule="REAL" />
[INFO]     <assert role="error" test="@nullFlavor or @value &gt; 0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_REAL.POS">dtr1-1-REAL.POS: null or value &gt; 0</assert>
[INFO] </rule>
[INFO]         <rule xmlns:xs="http://www.w3.org/2001/XMLSchema" abstract="true" id="TS">
[INFO]     <extends rule="QTY" />
[INFO]     <assert role="error" test="(@nullFlavor or @value or *) and not(@nullFlavor and @value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS">dtr1-1-TS: null or value or child element in case of extension</assert>
[INFO]     <let name="theTS" value="@value" />
[INFO]     <let name="theBC" value="if (starts-with($theTS,'-')) then '-' else ()" />
[INFO]     <let name="theTZ" value="replace($theTS,'-?[^+-]+([+-].*)?$','$1')" />
[INFO]     <let name="theTZh" value="if (string-length($theTZ)&gt;0) then substring($theTZ,1,3) else ()" />
[INFO]     <let name="theTZm" value="if (string-length($theTZ)&gt;3) then substring($theTZ,4) else ()" />
[INFO]     <let name="theBaseTS" value="replace($theTS,'^-?([^+-]+)([+-].*)?','$1')" />
[INFO]     <let name="theCentury" value="if (substring($theBaseTS,1,2) castable as xs:integer) then substring($theBaseTS,1,2) else ()" />
[INFO]     <let name="theYear" value="if (substring($theBaseTS,3,2) castable as xs:integer) then substring($theBaseTS,3,2) else ()" />
[INFO]     <let name="theMonth" value="if (substring($theBaseTS,5,2) castable as xs:integer) then substring($theBaseTS,5,2) else ()" />
[INFO]     <let name="theDay" value="if (substring($theBaseTS,7,2) castable as xs:integer) then substring($theBaseTS,7,2) else ()" />
[INFO]     <let name="theHour" value="if (substring($theBaseTS,9,2) castable as xs:integer) then substring($theBaseTS,9,2) else ()" />
[INFO]     <let name="theMinute" value="if (substring($theBaseTS,11,2) castable as xs:integer) then substring($theBaseTS,11,2) else ()" />
[INFO]     <let name="theSecond" value="if (substring($theBaseTS,13,2) castable as xs:integer) then substring($theBaseTS,13,2) else ()" />
[INFO]     <let name="theSubSecond" value="if (substring($theBaseTS,16) castable as xs:integer) then substring($theBaseTS,15) else ()" />
[INFO]     <let name="cCentury" value="if (empty($theCentury)) then '00' else $theCentury" />
[INFO]     <let name="cYear" value="if (empty($theYear)) then '00' else $theYear" />
[INFO]     <let name="cMonth" value="if (empty($theMonth)) then '01' else $theMonth" />
[INFO]     <let name="cDay" value="if (empty($theDay)) then '01' else $theDay" />
[INFO]     <let name="cHour" value="if (empty($theHour)) then '00' else $theHour" />
[INFO]     <let name="cMinute" value="if (empty($theMinute)) then '00' else $theMinute" />
[INFO]     <let name="cSecond" value="if (empty($theSecond)) then '00' else $theSecond" />
[INFO]     <let name="cTZ" value="string-join(($theTZh,$theTZm),':')" />
[INFO]     <let name="theTSString" value="string-join(($theBC,$theCentury,$theYear,$theMonth,$theDay,$theHour,$theMinute,$theSecond,$theSubSecond,$theTZ),'')" />
[INFO]     <let name="theDateTime" value="concat($theBC,$cCentury,$cYear,'-',$cMonth,'-',$cDay,'T',$cHour,':',$cMinute,':',$cSecond,$theSubSecond,$cTZ)" />
[INFO]     <assert test="empty($theTS) or ($theTS=$theTSString and $theDateTime castable as xs:dateTime)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS">dtr1-2-TS: <value-of select="local-name()" /> "<value-of select="$theTS" />" is not a valid timestamp.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVXB_TS">
[INFO]     <extends rule="TS" />
[INFO]     <assert role="error" test="not(@nullFlavor and @inclusive)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVXB_TS">dtr1-1-IVXB_TS: not inclusive if null</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="SXCM_TS">
[INFO]     <extends rule="TS" />
[INFO]     <assert role="error" test="not(@nullFlavor and @operator)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXCM_TS">dtr1-1-SXCM_TS: not operator if null</assert>
[INFO] </rule>
[INFO]         <rule xmlns:xs="http://www.w3.org/2001/XMLSchema" abstract="true" id="IVL_TS">
[INFO]     <extends rule="SXCM_TS" />
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="not(descendant-or-self::*[@nullFlavor and (@value|@unit|hl7:low|hl7:center|hl7:high|hl7:width)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-2-IVL_TS: null violation. Cannot have @nullFlavor and @value or other child elements</assert>
[INFO]     <assert role="error" test="not(@value and hl7:*)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-3-IVL_TS: co-occurence violation. Cannot have @value and other child elements</assert>
[INFO]     
[INFO]     <assert role="error" test="not(@value and (hl7:low|hl7:center|hl7:high|hl7:width))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-4-2-IVL_TS: co-occurence violation. Cannot have @value and child elements</assert>
[INFO]     <assert role="error" test="not(hl7:center and (hl7:low|hl7:high|hl7:width))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-4-3-IVL_TS: co-occurence violation. Cannot have center and other elements</assert>
[INFO]     <assert role="error" test="not(hl7:width and hl7:low and hl7:high)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-4-4-IVL_TS: co-occurence violation. Cannot have width and have both low and high elements</assert>
[INFO]     <assert role="error" test="not(hl7:*[@updateMode])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-5-IVL_TS: no updateMode on IVL attributes</assert>
[INFO]     <assert role="error" test="not(hl7:low/@value = hl7:high/@value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-6-IVL_TS: low/@value must not be equal to high/@value</assert>
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(hl7:width[@unit][not(@value)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-1-PQR: width element: no unit without value</assert>
[INFO]     <assert role="error" test="not(hl7:width/hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-2-PQR: width element: no translation</assert>
[INFO]     <assert role="error" test="not(hl7:low/@value and hl7:high/@value) or number(substring(concat(hl7:low/@value,'00000000000000'),1,14)) &lt; number(substring(concat(hl7:high/@value,'00000000000000'),1,14))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-7-IVL_TS: low/@value must be before high/@value</assert>
[INFO]     <assert role="error" test="not(hl7:low[@nullFlavor='PINF'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-7-1-IVL_TS: low must be lower than or equal to high. Found low boundary PINF (Positive Infinity)</assert>
[INFO]     <assert role="error" test="not(hl7:high[@nullFlavor='NINF'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-7-2-IVL_TS: low must be lower than or equal to high. Found high boundary NINF (Negative Infinity)</assert>
[INFO] 
[INFO]     
[INFO]     <let name="tum" value="'^(us|ms|s|min|h|d|wk|mo|a|)$'" />
[INFO]     <assert role="error" test="matches(hl7:width/@unit, $tum)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-8-IVL_TS: for width only us (microseconds), ms (milliseconds), s (seconds), min (minute), h (hours), d (day), wk (week), mo (month) or a (year) are allowed</assert>
[INFO]     <let name="theTS" value="hl7:low/@value" />
[INFO]     <let name="theBC" value="if (starts-with($theTS,'-')) then '-' else ()" />
[INFO]     <let name="theTZ" value="replace($theTS,'-?[^+-]+([+-].*)?$','$1')" />
[INFO]     <let name="theTZh" value="if (string-length($theTZ)&gt;0) then substring($theTZ,1,3) else ()" />
[INFO]     <let name="theTZm" value="if (string-length($theTZ)&gt;3) then substring($theTZ,4) else ()" />
[INFO]     <let name="theBaseTS" value="replace($theTS,'^-?([^+-]+)([+-].*)?','$1')" />
[INFO]     <let name="theCentury" value="if (substring($theBaseTS,1,2) castable as xs:integer) then substring($theBaseTS,1,2) else ()" />
[INFO]     <let name="theYear" value="if (substring($theBaseTS,3,2) castable as xs:integer) then substring($theBaseTS,3,2) else ()" />
[INFO]     <let name="theMonth" value="if (substring($theBaseTS,5,2) castable as xs:integer) then substring($theBaseTS,5,2) else ()" />
[INFO]     <let name="theDay" value="if (substring($theBaseTS,7,2) castable as xs:integer) then substring($theBaseTS,7,2) else ()" />
[INFO]     <let name="theHour" value="if (substring($theBaseTS,9,2) castable as xs:integer) then substring($theBaseTS,9,2) else ()" />
[INFO]     <let name="theMinute" value="if (substring($theBaseTS,11,2) castable as xs:integer) then substring($theBaseTS,11,2) else ()" />
[INFO]     <let name="theSecond" value="if (substring($theBaseTS,13,2) castable as xs:integer) then substring($theBaseTS,13,2) else ()" />
[INFO]     <let name="theSubSecond" value="if (substring($theBaseTS,16) castable as xs:integer) then substring($theBaseTS,15) else ()" />
[INFO]     <let name="cCentury" value="if (empty($theCentury)) then '00' else $theCentury" />
[INFO]     <let name="cYear" value="if (empty($theYear)) then '00' else $theYear" />
[INFO]     <let name="cMonth" value="if (empty($theMonth)) then '01' else $theMonth" />
[INFO]     <let name="cDay" value="if (empty($theDay)) then '01' else $theDay" />
[INFO]     <let name="cHour" value="if (empty($theHour)) then '00' else $theHour" />
[INFO]     <let name="cMinute" value="if (empty($theMinute)) then '00' else $theMinute" />
[INFO]     <let name="cSecond" value="if (empty($theSecond)) then '00' else $theSecond" />
[INFO]     <let name="cTZ" value="string-join(($theTZh,$theTZm),':')" />
[INFO]     <let name="theTSString" value="string-join(($theBC,$theCentury,$theYear,$theMonth,$theDay,$theHour,$theMinute,$theSecond,$theSubSecond,$theTZ),'')" />
[INFO]     <let name="theDateTime" value="concat($theBC,$cCentury,$cYear,'-',$cMonth,'-',$cDay,'T',$cHour,':',$cMinute,':',$cSecond,$theSubSecond,$cTZ)" />
[INFO]     <assert test="empty($theTS) or ($theTS=$theTSString and $theDateTime castable as xs:dateTime)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-9-IVL_TS: <value-of select="local-name()" />/low "<value-of select="$theTS" />" is not a valid timestamp.</assert>
[INFO]     <let name="theTS" value="hl7:center/@value" />
[INFO]     <let name="theBC" value="if (starts-with($theTS,'-')) then '-' else ()" />
[INFO]     <let name="theTZ" value="replace($theTS,'-?[^+-]+([+-].*)?$','$1')" />
[INFO]     <let name="theTZh" value="if (string-length($theTZ)&gt;0) then substring($theTZ,1,3) else ()" />
[INFO]     <let name="theTZm" value="if (string-length($theTZ)&gt;3) then substring($theTZ,4) else ()" />
[INFO]     <let name="theBaseTS" value="replace($theTS,'^-?([^+-]+)([+-].*)?','$1')" />
[INFO]     <let name="theCentury" value="if (substring($theBaseTS,1,2) castable as xs:integer) then substring($theBaseTS,1,2) else ()" />
[INFO]     <let name="theYear" value="if (substring($theBaseTS,3,2) castable as xs:integer) then substring($theBaseTS,3,2) else ()" />
[INFO]     <let name="theMonth" value="if (substring($theBaseTS,5,2) castable as xs:integer) then substring($theBaseTS,5,2) else ()" />
[INFO]     <let name="theDay" value="if (substring($theBaseTS,7,2) castable as xs:integer) then substring($theBaseTS,7,2) else ()" />
[INFO]     <let name="theHour" value="if (substring($theBaseTS,9,2) castable as xs:integer) then substring($theBaseTS,9,2) else ()" />
[INFO]     <let name="theMinute" value="if (substring($theBaseTS,11,2) castable as xs:integer) then substring($theBaseTS,11,2) else ()" />
[INFO]     <let name="theSecond" value="if (substring($theBaseTS,13,2) castable as xs:integer) then substring($theBaseTS,13,2) else ()" />
[INFO]     <let name="theSubSecond" value="if (substring($theBaseTS,16) castable as xs:integer) then substring($theBaseTS,15) else ()" />
[INFO]     <let name="cCentury" value="if (empty($theCentury)) then '00' else $theCentury" />
[INFO]     <let name="cYear" value="if (empty($theYear)) then '00' else $theYear" />
[INFO]     <let name="cMonth" value="if (empty($theMonth)) then '01' else $theMonth" />
[INFO]     <let name="cDay" value="if (empty($theDay)) then '01' else $theDay" />
[INFO]     <let name="cHour" value="if (empty($theHour)) then '00' else $theHour" />
[INFO]     <let name="cMinute" value="if (empty($theMinute)) then '00' else $theMinute" />
[INFO]     <let name="cSecond" value="if (empty($theSecond)) then '00' else $theSecond" />
[INFO]     <let name="cTZ" value="string-join(($theTZh,$theTZm),':')" />
[INFO]     <let name="theTSString" value="string-join(($theBC,$theCentury,$theYear,$theMonth,$theDay,$theHour,$theMinute,$theSecond,$theSubSecond,$theTZ),'')" />
[INFO]     <let name="theDateTime" value="concat($theBC,$cCentury,$cYear,'-',$cMonth,'-',$cDay,'T',$cHour,':',$cMinute,':',$cSecond,$theSubSecond,$cTZ)" />
[INFO]     <assert test="empty($theTS) or ($theTS=$theTSString and $theDateTime castable as xs:dateTime)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-9-IVL_TS: <value-of select="local-name()" />/center "<value-of select="$theTS" />" is not a valid timestamp.</assert>
[INFO]     <let name="theTS" value="hl7:high/@value" />
[INFO]     <let name="theBC" value="if (starts-with($theTS,'-')) then '-' else ()" />
[INFO]     <let name="theTZ" value="replace($theTS,'-?[^+-]+([+-].*)?$','$1')" />
[INFO]     <let name="theTZh" value="if (string-length($theTZ)&gt;0) then substring($theTZ,1,3) else ()" />
[INFO]     <let name="theTZm" value="if (string-length($theTZ)&gt;3) then substring($theTZ,4) else ()" />
[INFO]     <let name="theBaseTS" value="replace($theTS,'^-?([^+-]+)([+-].*)?','$1')" />
[INFO]     <let name="theCentury" value="if (substring($theBaseTS,1,2) castable as xs:integer) then substring($theBaseTS,1,2) else ()" />
[INFO]     <let name="theYear" value="if (substring($theBaseTS,3,2) castable as xs:integer) then substring($theBaseTS,3,2) else ()" />
[INFO]     <let name="theMonth" value="if (substring($theBaseTS,5,2) castable as xs:integer) then substring($theBaseTS,5,2) else ()" />
[INFO]     <let name="theDay" value="if (substring($theBaseTS,7,2) castable as xs:integer) then substring($theBaseTS,7,2) else ()" />
[INFO]     <let name="theHour" value="if (substring($theBaseTS,9,2) castable as xs:integer) then substring($theBaseTS,9,2) else ()" />
[INFO]     <let name="theMinute" value="if (substring($theBaseTS,11,2) castable as xs:integer) then substring($theBaseTS,11,2) else ()" />
[INFO]     <let name="theSecond" value="if (substring($theBaseTS,13,2) castable as xs:integer) then substring($theBaseTS,13,2) else ()" />
[INFO]     <let name="theSubSecond" value="if (substring($theBaseTS,16) castable as xs:integer) then substring($theBaseTS,15) else ()" />
[INFO]     <let name="cCentury" value="if (empty($theCentury)) then '00' else $theCentury" />
[INFO]     <let name="cYear" value="if (empty($theYear)) then '00' else $theYear" />
[INFO]     <let name="cMonth" value="if (empty($theMonth)) then '01' else $theMonth" />
[INFO]     <let name="cDay" value="if (empty($theDay)) then '01' else $theDay" />
[INFO]     <let name="cHour" value="if (empty($theHour)) then '00' else $theHour" />
[INFO]     <let name="cMinute" value="if (empty($theMinute)) then '00' else $theMinute" />
[INFO]     <let name="cSecond" value="if (empty($theSecond)) then '00' else $theSecond" />
[INFO]     <let name="cTZ" value="string-join(($theTZh,$theTZm),':')" />
[INFO]     <let name="theTSString" value="string-join(($theBC,$theCentury,$theYear,$theMonth,$theDay,$theHour,$theMinute,$theSecond,$theSubSecond,$theTZ),'')" />
[INFO]     <let name="theDateTime" value="concat($theBC,$cCentury,$cYear,'-',$cMonth,'-',$cDay,'T',$cHour,':',$cMinute,':',$cSecond,$theSubSecond,$cTZ)" />
[INFO]     <assert test="empty($theTS) or ($theTS=$theTSString and $theDateTime castable as xs:dateTime)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS">dtr1-9-IVL_TS: <value-of select="local-name()" />/high "<value-of select="$theTS" />" is not a valid timestamp.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVL_TS.EPSOS.TZ">
[INFO]     <extends rule="IVL_TS" />
[INFO]     <assert role="error" test="not(@value) or matches(@value,'^[0-9]{8}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ">dtr1-1-IVL_TS.EPSOS.TZ: time SHALL be precise to the day</assert>
[INFO]     <assert role="warning" test="not(@value) or matches(@value,'^[0-9]{14}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ">dtr1-2-IVL_TS.EPSOS.TZ: time SHOULD be precise to the second</assert>
[INFO]     <assert role="error" test="not(matches(@value,'^[0-9]{10}')) or contains(@value,'+') or contains(@value,'-')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ">dtr1-3-IVL_TS.EPSOS.TZ: time SHALL include a time zone if more precise than to the day</assert>
[INFO]     <assert role="error" test="not(hl7:low/@value) or hl7:low[matches(@value,'^[0-9]{8}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ">dtr1-4-IVL_TS.EPSOS.TZ: low boundary SHALL be precise to the day</assert>
[INFO]     <assert role="warning" test="not(hl7:low/@value) or hl7:low[matches(@value,'^[0-9]{14}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ">dtr1-5-IVL_TS.EPSOS.TZ: low boundary SHOULD be precise to the second</assert>
[INFO]     <assert role="error" test="not(hl7:low[matches(@value,'^[0-9]{10}')]) or hl7:low[contains(@value,'+') or contains(@value,'-')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ">dtr1-6-IVL_TS.EPSOS.TZ: low boundary SHALL include a time zone if more precise than to the day</assert>
[INFO]     <assert role="error" test="not(hl7:center/@value) or hl7:center[matches(@value,'^[0-9]{8}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ">dtr1-7-IVL_TS.EPSOS.TZ: center value SHALL be precise to the day</assert>
[INFO]     <assert role="warning" test="not(hl7:center/@value) or hl7:center[matches(@value,'^[0-9]{14}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ">dtr1-8-IVL_TS.EPSOS.TZ: center value SHOULD be precise to the second</assert>
[INFO]     <assert role="error" test="not(hl7:center[matches(@value,'^[0-9]{10}')]) or hl7:center[contains(@value,'+') or contains(@value,'-')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ">dtr1-9-IVL_TS.EPSOS.TZ: center value SHALL include a time zone if more precise than to the day</assert>
[INFO]     <assert role="error" test="not(hl7:high/@value) or hl7:high[matches(@value,'^[0-9]{8}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ">dtr1-10-IVL_TS.EPSOS.TZ: high boundary SHALL be precise to the day</assert>
[INFO]     <assert role="warning" test="not(hl7:high/@value) or hl7:high[matches(@value,'^[0-9]{14}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ">dtr1-11-IVL_TS.EPSOS.TZ: high boundary SHOULD be precise to the second</assert>
[INFO]     <assert role="error" test="not(hl7:high[matches(@value,'^[0-9]{10}')]) or hl7:high[contains(@value,'+') or contains(@value,'-')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ">dtr1-12-IVL_TS.EPSOS.TZ: high boundary SHALL include a time zone if more precise than to the day</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVL_TS.IPS.TZ">
[INFO]     <extends rule="IVL_TS" />
[INFO]     <assert role="error" test="not(@value) or matches(@value,'^[0-9]{8}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.IPS.TZ">dtr1-1-IVL_TS.IPS.TZ: time SHALL be precise to the day</assert>
[INFO]     <assert role="warning" test="not(@value) or matches(@value,'^[0-9]{14}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.IPS.TZ">dtr1-2-IVL_TS.IPS.TZ: time SHOULD be precise to the second</assert>
[INFO]     <assert role="error" test="not(matches(@value,'^[0-9]{10}')) or contains(@value,'+') or contains(@value,'-')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.IPS.TZ">dtr1-3-IVL_TS.IPS.TZ: time SHALL include a time zone if more precise than to the day</assert>
[INFO]     <assert role="error" test="not(hl7:low/@value) or hl7:low[matches(@value,'^[0-9]{8}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.IPS.TZ">dtr1-4-IVL_TS.IPS.TZ: low boundary SHALL be precise to the day</assert>
[INFO]     <assert role="warning" test="not(hl7:low/@value) or hl7:low[matches(@value,'^[0-9]{14}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.IPS.TZ">dtr1-5-IVL_TS.IPS.TZ: low boundary SHOULD be precise to the second</assert>
[INFO]     <assert role="error" test="not(hl7:low[matches(@value,'^[0-9]{10}')]) or hl7:low[contains(@value,'+') or contains(@value,'-')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.IPS.TZ">dtr1-6-IVL_TS.IPS.TZ: low boundary SHALL include a time zone if more precise than to the day</assert>
[INFO]     <assert role="error" test="not(hl7:center/@value) or hl7:center[matches(@value,'^[0-9]{8}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.IPS.TZ">dtr1-7-IVL_TS.IPS.TZ: center value SHALL be precise to the day</assert>
[INFO]     <assert role="warning" test="not(hl7:center/@value) or hl7:center[matches(@value,'^[0-9]{14}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.IPS.TZ">dtr1-8-IVL_TS.IPS.TZ: center value SHOULD be precise to the second</assert>
[INFO]     <assert role="error" test="not(hl7:center[matches(@value,'^[0-9]{10}')]) or hl7:center[contains(@value,'+') or contains(@value,'-')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.IPS.TZ">dtr1-9-IVL_TS.IPS.TZ: center value SHALL include a time zone if more precise than to the day</assert>
[INFO]     <assert role="error" test="not(hl7:high/@value) or hl7:high[matches(@value,'^[0-9]{8}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.IPS.TZ">dtr1-10-IVL_TS.IPS.TZ: high boundary SHALL be precise to the day</assert>
[INFO]     <assert role="warning" test="not(hl7:high/@value) or hl7:high[matches(@value,'^[0-9]{14}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.IPS.TZ">dtr1-11-IVL_TS.IPS.TZ: high boundary SHOULD be precise to the second</assert>
[INFO]     <assert role="error" test="not(hl7:high[matches(@value,'^[0-9]{10}')]) or hl7:high[contains(@value,'+') or contains(@value,'-')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.IPS.TZ">dtr1-12-IVL_TS.IPS.TZ: high boundary SHALL include a time zone if more precise than to the day</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVL_TS.EPSOS.TZ.OPT">
[INFO]     <extends rule="IVL_TS" />
[INFO]     <assert role="error" test="not(@value) or matches(@value,'^[0-9]{4}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ.OPT">dtr1-1-IVL_TS.EPSOS.TZ.OPT.TZ: time SHALL be precise to at least the year</assert>
[INFO]     <assert role="warning" test="not(@value) or matches(@value,'^[0-9]{8}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ.OPT">dtr1-2-IVL_TS.EPSOS.TZ.OPT.TZ: time SHOULD be precise to the day</assert>
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(hl7:low/@value) or hl7:low[matches(@value,'^[0-9]{4}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ.OPT">dtr1-4-IVL_TS.EPSOS.TZ.OPT: low boundary SHALL be precise to at least the year</assert>
[INFO]     <assert role="warning" test="not(hl7:low/@value) or hl7:low[matches(@value,'^[0-9]{8}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ.OPT">dtr1-5-IVL_TS.EPSOS.TZ.OPT: low boundary SHOULD be precise to the day</assert>
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(hl7:center/@value) or hl7:center[matches(@value,'^[0-9]{4}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ.OPT">dtr1-7-IVL_TS.EPSOS.TZ.OPT: center value SHALL be precise to at least the year</assert>
[INFO]     <assert role="warning" test="not(hl7:center/@value) or hl7:center[matches(@value,'^[0-9]{8}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ.OPT">dtr1-8-IVL_TS.EPSOS.TZ.OPT: center value SHOULD be precise to the day</assert>
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(hl7:high/@value) or hl7:high[matches(@value,'^[0-9]{4}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ.OPT">dtr1-10-IVL_TS.EPSOS.TZ.OPT: high boundary SHALL be precise to at least the year</assert>
[INFO]     <assert role="warning" test="not(hl7:high/@value) or hl7:high[matches(@value,'^[0-9]{8}')]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.EPSOS.TZ.OPT">dtr1-11-IVL_TS.EPSOS.TZ.OPT: high boundary SHOULD be precise to the day</assert>
[INFO]     
[INFO]     
[INFO] </rule>
[INFO]         <rule abstract="true" id="IVL_TS.CH.TZ">
[INFO]     <extends rule="IVL_TS" />
[INFO]     <assert role="error" test="not(@value) or (matches(@value,'^[0-9]{4}$|^[0-9]{6}$|^[0-9]{8}$') or contains(@value,'+') or contains(@value,'-'))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.CH.TZ">dtr1-1-IVL_TS.CH.TZ: time value SHALL include a time zone if more precise than to the day</assert>
[INFO]     <assert role="error" test="not(hl7:low/@value) or (matches(hl7:low/@value,'^[0-9]{4}$|^[0-9]{6}$|^[0-9]{8}$') or contains(hl7:low/@value,'+') or contains(hl7:low/@value,'-'))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.CH.TZ">dtr1-2-IVL_TS.CH.TZ: time low value SHALL include a time zone if more precise than to the day</assert>
[INFO]     <assert role="error" test="not(hl7:center/@value) or (matches(hl7:center/@value,'^[0-9]{4}$|^[0-9]{6}$|^[0-9]{8}$') or contains(hl7:center/@value,'+') or contains(hl7:center/@value,'-'))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.CH.TZ">dtr1-3-IVL_TS.CH.TZ: time center value SHALL include a time zone if more precise than to the day</assert>
[INFO]     <assert role="error" test="not(hl7:high/@value) or (matches(hl7:high/@value,'^[0-9]{4}$|^[0-9]{6}$|^[0-9]{8}$') or contains(hl7:high/@value,'+') or contains(hl7:high/@value,'-'))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_IVL_TS.CH.TZ">dtr1-4-IVL_TS.CH.TZ: time high value SHALL include a time zone if more precise than to the day</assert>
[INFO] </rule>
[INFO]         <rule xmlns:xs="http://www.w3.org/2001/XMLSchema" abstract="true" id="hl7nl-IVL_TS">
[INFO]     <extends rule="SXCM_TS" />
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="not(descendant-or-self::*[@nullFlavor and (@value|@unit|hl7:low|hl7:center|hl7:high|hl7:width)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">DTr2-2-hl7nl-IVL_TS: null violation. Cannot have @nullFlavor and @value or other child elements</assert>
[INFO]     <assert role="error" test="not(@value and hl7:*)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">DTr2-3-hl7nl-IVL_TS: co-occurence violation. Cannot have @value and other child elements</assert>
[INFO]     
[INFO]     <assert role="error" test="not(@value and (hl7:low|hl7:center|hl7:high|hl7:width))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">dtr1-4-2-IVL_TS: co-occurence violation. Cannot have @value and child elements</assert>
[INFO]     <assert role="error" test="not(hl7:center and (hl7:low|hl7:high|hl7:width))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">dtr1-4-3-IVL_TS: co-occurence violation. Cannot have center and other elements</assert>
[INFO]     <assert role="error" test="not(hl7:width and hl7:low and hl7:high)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">dtr1-4-4-IVL_TS: co-occurence violation. Cannot have width and have both low and high elements</assert>
[INFO]     <assert role="error" test="not(hl7:*[@updateMode])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">DTr2-5-hl7nl-IVL_TS: no updateMode on IVL attributes</assert>
[INFO]     <assert role="error" test="not(hl7:low/@value = hl7:high/@value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">DTr2-6-hl7nl-IVL_TS: low/@value must not be equal to high/@value</assert>
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(hl7:width[@unit][not(@value)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">dtr1-1-PQR: width element: no unit without value</assert>
[INFO]     <assert role="error" test="not(hl7:width/hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">dtr1-2-PQR: width element: no translation</assert>
[INFO]     <assert role="error" test="not(hl7:low/@value and hl7:high/@value) or number(substring(concat(hl7:low/@value,'00000000000000'),1,14)) &lt; number(substring(concat(hl7:high/@value,'00000000000000'),1,14))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">DTr2-7-hl7nl-IVL_TS: low/@value must be before high/@value</assert>
[INFO]     <assert role="error" test="not(hl7:low[@nullFlavor='PINF'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">dtr1-7-1-IVL_TS: low must be lower than or equal to high. Found low boundary PINF (Positive Infinity)</assert>
[INFO]     <assert role="error" test="not(hl7:high[@nullFlavor='NINF'])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">dtr1-7-2-IVL_TS: low must be lower than or equal to high. Found high boundary NINF (Negative Infinity)</assert>
[INFO] 
[INFO]     
[INFO]     <let name="tum" value="'^(us|ms|s|min|h|d|wk|mo|a|)$'" />
[INFO]     <assert role="error" test="matches(hl7:width/@unit, $tum)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">DTr2-8-hl7nl-IVL_TS: for width only us (microseconds), ms (milliseconds), s (seconds), min (minute), h (hours), d (day), wk (week), mo (month) or a (year) are allowed</assert>
[INFO]     <let name="theTS" value="hl7:low/@value" />
[INFO]     <let name="theBC" value="if (starts-with($theTS,'-')) then '-' else ()" />
[INFO]     <let name="theTZ" value="replace($theTS,'-?[^+-]+([+-].*)?$','$1')" />
[INFO]     <let name="theTZh" value="if (string-length($theTZ)&gt;0) then substring($theTZ,1,3) else ()" />
[INFO]     <let name="theTZm" value="if (string-length($theTZ)&gt;3) then substring($theTZ,4) else ()" />
[INFO]     <let name="theBaseTS" value="replace($theTS,'^-?([^+-]+)([+-].*)?','$1')" />
[INFO]     <let name="theCentury" value="if (substring($theBaseTS,1,2) castable as xs:integer) then substring($theBaseTS,1,2) else ()" />
[INFO]     <let name="theYear" value="if (substring($theBaseTS,3,2) castable as xs:integer) then substring($theBaseTS,3,2) else ()" />
[INFO]     <let name="theMonth" value="if (substring($theBaseTS,5,2) castable as xs:integer) then substring($theBaseTS,5,2) else ()" />
[INFO]     <let name="theDay" value="if (substring($theBaseTS,7,2) castable as xs:integer) then substring($theBaseTS,7,2) else ()" />
[INFO]     <let name="theHour" value="if (substring($theBaseTS,9,2) castable as xs:integer) then substring($theBaseTS,9,2) else ()" />
[INFO]     <let name="theMinute" value="if (substring($theBaseTS,11,2) castable as xs:integer) then substring($theBaseTS,11,2) else ()" />
[INFO]     <let name="theSecond" value="if (substring($theBaseTS,13,2) castable as xs:integer) then substring($theBaseTS,13,2) else ()" />
[INFO]     <let name="theSubSecond" value="if (substring($theBaseTS,16) castable as xs:integer) then substring($theBaseTS,15) else ()" />
[INFO]     <let name="cCentury" value="if (empty($theCentury)) then '00' else $theCentury" />
[INFO]     <let name="cYear" value="if (empty($theYear)) then '00' else $theYear" />
[INFO]     <let name="cMonth" value="if (empty($theMonth)) then '01' else $theMonth" />
[INFO]     <let name="cDay" value="if (empty($theDay)) then '01' else $theDay" />
[INFO]     <let name="cHour" value="if (empty($theHour)) then '00' else $theHour" />
[INFO]     <let name="cMinute" value="if (empty($theMinute)) then '00' else $theMinute" />
[INFO]     <let name="cSecond" value="if (empty($theSecond)) then '00' else $theSecond" />
[INFO]     <let name="cTZ" value="string-join(($theTZh,$theTZm),':')" />
[INFO]     <let name="theTSString" value="string-join(($theBC,$theCentury,$theYear,$theMonth,$theDay,$theHour,$theMinute,$theSecond,$theSubSecond,$theTZ),'')" />
[INFO]     <let name="theDateTime" value="concat($theBC,$cCentury,$cYear,'-',$cMonth,'-',$cDay,'T',$cHour,':',$cMinute,':',$cSecond,$theSubSecond,$cTZ)" />
[INFO]     <assert test="empty($theTS) or ($theTS=$theTSString and $theDateTime castable as xs:dateTime)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">DTr2-9-hl7nl-IVL_TS: <value-of select="local-name()" />/low "<value-of select="$theTS" />" is not a valid timestamp.</assert>
[INFO]     <let name="theTS" value="hl7:center/@value" />
[INFO]     <let name="theBC" value="if (starts-with($theTS,'-')) then '-' else ()" />
[INFO]     <let name="theTZ" value="replace($theTS,'-?[^+-]+([+-].*)?$','$1')" />
[INFO]     <let name="theTZh" value="if (string-length($theTZ)&gt;0) then substring($theTZ,1,3) else ()" />
[INFO]     <let name="theTZm" value="if (string-length($theTZ)&gt;3) then substring($theTZ,4) else ()" />
[INFO]     <let name="theBaseTS" value="replace($theTS,'^-?([^+-]+)([+-].*)?','$1')" />
[INFO]     <let name="theCentury" value="if (substring($theBaseTS,1,2) castable as xs:integer) then substring($theBaseTS,1,2) else ()" />
[INFO]     <let name="theYear" value="if (substring($theBaseTS,3,2) castable as xs:integer) then substring($theBaseTS,3,2) else ()" />
[INFO]     <let name="theMonth" value="if (substring($theBaseTS,5,2) castable as xs:integer) then substring($theBaseTS,5,2) else ()" />
[INFO]     <let name="theDay" value="if (substring($theBaseTS,7,2) castable as xs:integer) then substring($theBaseTS,7,2) else ()" />
[INFO]     <let name="theHour" value="if (substring($theBaseTS,9,2) castable as xs:integer) then substring($theBaseTS,9,2) else ()" />
[INFO]     <let name="theMinute" value="if (substring($theBaseTS,11,2) castable as xs:integer) then substring($theBaseTS,11,2) else ()" />
[INFO]     <let name="theSecond" value="if (substring($theBaseTS,13,2) castable as xs:integer) then substring($theBaseTS,13,2) else ()" />
[INFO]     <let name="theSubSecond" value="if (substring($theBaseTS,16) castable as xs:integer) then substring($theBaseTS,15) else ()" />
[INFO]     <let name="cCentury" value="if (empty($theCentury)) then '00' else $theCentury" />
[INFO]     <let name="cYear" value="if (empty($theYear)) then '00' else $theYear" />
[INFO]     <let name="cMonth" value="if (empty($theMonth)) then '01' else $theMonth" />
[INFO]     <let name="cDay" value="if (empty($theDay)) then '01' else $theDay" />
[INFO]     <let name="cHour" value="if (empty($theHour)) then '00' else $theHour" />
[INFO]     <let name="cMinute" value="if (empty($theMinute)) then '00' else $theMinute" />
[INFO]     <let name="cSecond" value="if (empty($theSecond)) then '00' else $theSecond" />
[INFO]     <let name="cTZ" value="string-join(($theTZh,$theTZm),':')" />
[INFO]     <let name="theTSString" value="string-join(($theBC,$theCentury,$theYear,$theMonth,$theDay,$theHour,$theMinute,$theSecond,$theSubSecond,$theTZ),'')" />
[INFO]     <let name="theDateTime" value="concat($theBC,$cCentury,$cYear,'-',$cMonth,'-',$cDay,'T',$cHour,':',$cMinute,':',$cSecond,$theSubSecond,$cTZ)" />
[INFO]     <assert test="empty($theTS) or ($theTS=$theTSString and $theDateTime castable as xs:dateTime)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">DTr2-9-hl7nl-IVL_TS: <value-of select="local-name()" />/center "<value-of select="$theTS" />" is not a valid timestamp.</assert>
[INFO]     <let name="theTS" value="hl7:high/@value" />
[INFO]     <let name="theBC" value="if (starts-with($theTS,'-')) then '-' else ()" />
[INFO]     <let name="theTZ" value="replace($theTS,'-?[^+-]+([+-].*)?$','$1')" />
[INFO]     <let name="theTZh" value="if (string-length($theTZ)&gt;0) then substring($theTZ,1,3) else ()" />
[INFO]     <let name="theTZm" value="if (string-length($theTZ)&gt;3) then substring($theTZ,4) else ()" />
[INFO]     <let name="theBaseTS" value="replace($theTS,'^-?([^+-]+)([+-].*)?','$1')" />
[INFO]     <let name="theCentury" value="if (substring($theBaseTS,1,2) castable as xs:integer) then substring($theBaseTS,1,2) else ()" />
[INFO]     <let name="theYear" value="if (substring($theBaseTS,3,2) castable as xs:integer) then substring($theBaseTS,3,2) else ()" />
[INFO]     <let name="theMonth" value="if (substring($theBaseTS,5,2) castable as xs:integer) then substring($theBaseTS,5,2) else ()" />
[INFO]     <let name="theDay" value="if (substring($theBaseTS,7,2) castable as xs:integer) then substring($theBaseTS,7,2) else ()" />
[INFO]     <let name="theHour" value="if (substring($theBaseTS,9,2) castable as xs:integer) then substring($theBaseTS,9,2) else ()" />
[INFO]     <let name="theMinute" value="if (substring($theBaseTS,11,2) castable as xs:integer) then substring($theBaseTS,11,2) else ()" />
[INFO]     <let name="theSecond" value="if (substring($theBaseTS,13,2) castable as xs:integer) then substring($theBaseTS,13,2) else ()" />
[INFO]     <let name="theSubSecond" value="if (substring($theBaseTS,16) castable as xs:integer) then substring($theBaseTS,15) else ()" />
[INFO]     <let name="cCentury" value="if (empty($theCentury)) then '00' else $theCentury" />
[INFO]     <let name="cYear" value="if (empty($theYear)) then '00' else $theYear" />
[INFO]     <let name="cMonth" value="if (empty($theMonth)) then '01' else $theMonth" />
[INFO]     <let name="cDay" value="if (empty($theDay)) then '01' else $theDay" />
[INFO]     <let name="cHour" value="if (empty($theHour)) then '00' else $theHour" />
[INFO]     <let name="cMinute" value="if (empty($theMinute)) then '00' else $theMinute" />
[INFO]     <let name="cSecond" value="if (empty($theSecond)) then '00' else $theSecond" />
[INFO]     <let name="cTZ" value="string-join(($theTZh,$theTZm),':')" />
[INFO]     <let name="theTSString" value="string-join(($theBC,$theCentury,$theYear,$theMonth,$theDay,$theHour,$theMinute,$theSecond,$theSubSecond,$theTZ),'')" />
[INFO]     <let name="theDateTime" value="concat($theBC,$cCentury,$cYear,'-',$cMonth,'-',$cDay,'T',$cHour,':',$cMinute,':',$cSecond,$theSubSecond,$cTZ)" />
[INFO]     <assert test="empty($theTS) or ($theTS=$theTSString and $theDateTime castable as xs:dateTime)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:IVL_TS">DTr2-9-hl7nl-IVL_TS: <value-of select="local-name()" />/high "<value-of select="$theTS" />" is not a valid timestamp.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="PIVL_TS">
[INFO]     <extends rule="SXCM_TS" />
[INFO]     <assert role="error" test="count(hl7:*[self::hl7:phase or self::hl7:period][@updateMode])=0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PIVL_TS">dtr1-1-PIVL_TS: Datatype PIVL_TS: no updateMode on PIVL attributes</assert>
[INFO]     <assert role="error" test="descendant-or-self::hl7:*[(@nullFlavor and not(@value|@unit|*)) or (not(@nullFlavor) and (@value|@unit|*))]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PIVL_TS">dtr1-2-PIVL_TS: null violation. Cannot have @nullFlavor and @value or child elements, or the other way round</assert>
[INFO]     <assert role="error" test="         not(*) or         self::hl7:*[@nullFlavor] or         self::hl7:*[not(@nullFlavor) and @value and not(*)] or         self::hl7:*[not(@nullFlavor) and not(@value)]/*[@nullFlavor] or         self::hl7:*[not(@nullFlavor) and not(@value)]/*[not(@nullFlavor) and not(hl7:center and (hl7:low|hl7:high|hl7:width))] or         self::hl7:*[not(@nullFlavor) and not(@value)]/*[not(@nullFlavor) and not(hl7:center) and not(hl7:width and (hl7:low|hl7:high))]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PIVL_TS">dtr1-3-PIVL_TS: co-occurence violation. Cannot have @value and other child elements, or missing @value and child elements with data, or center element with other elements, or width element
[INFO]         with both low and high elements</assert>
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="not(hl7:period[string-length(substring-after(@value,'.')) &gt; 4])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PIVL_TS">dtr1-5-PIVL_TS: period/@value must be rounded to 4 digits or less</assert>
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="not(hl7:width) or hl7:width[not(@unit)] or hl7:width[@value and @unit]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PIVL_TS">dtr1-6-PIVL_TS: width element: no unit without value</assert>
[INFO]     <assert role="error" test="not(hl7:width/hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_PIVL_TS">dtr1-7-PIVL_TS: width element: no translation</assert>
[INFO] </rule>
[INFO]         <rule xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:hl7nl="urn:hl7-nl:v3" abstract="true" id="hl7nl-PIVL_TS">
[INFO]     <extends rule="SXCM_TS" />
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="@nullFlavor | *:period | *:frequency" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PIVL_TS">DTr2-1-hl7nl-PIVL_TS: PIVL_TS, in datatypes release 2, SHALL have at least a period or frequency, or SHALL have @nullFlavor</assert>
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(*:count/@value) or *:count[@value castable as xs:integer][xs:integer(@value) &gt; 0]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PIVL_TS">DTr2-2-hl7nl-PIVL_TS: count/@value SHALL, if present, be a positive integer. Found <value-of select="*:count/@value" />
[INFO]     </assert>
[INFO]     <assert role="error" test="not(*:frequency) or *:frequency[@nullFlavor or (*:numerator[not(@nullFlavor)] and *:denominator[not(@nullFlavor)])]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PIVL_TS">DTr2-3-hl7nl-PIVL_TS: frequency SHALL have @nullFlavor or both numerator AND denominator without @nullFlavor</assert>
[INFO]     <assert role="error" test="not(*:frequency) or *:frequency[not(*:uncertainty)]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PIVL_TS">DTr2-4-hl7nl-PIVL_TS: frequency SHALL NOT have uncertainty</assert>
[INFO]     <assert role="error" test="not(*:frequency) or *:frequency[not(*:numerator/@xsi:type[matches(.,'(^|:)TS')]) and not(*:denominator/@xsi:type[matches(.,'(^|:)TS')])]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PIVL_TS">DTr2-5-hl7nl-PIVL_TS: frequency SHALL NOT have a numerator AND a denonimator with datatype TS. Found numerator "<value-of select="*:numerator/@xsi:type" />" and denominator "<value-of select="*:denominator/@xsi:type" />"</assert>
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(*:phase[@updateMode] | *:period[@updateMode])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PIVL_TS">dtr1/2-1-hl7nl-PIVL_TS: Datatype PIVL_TS: no updateMode on PIVL attributes</assert>
[INFO]     <assert role="error" test="descendant-or-self::*[(@nullFlavor and not(@value|@unit|*)) or (not(@nullFlavor) and (@value|@unit|*))]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PIVL_TS">dtr1/2-2-hl7nl-PIVL_TS: null violation. Cannot have @nullFlavor and @value or child elements, or the other way round</assert>
[INFO]     <assert role="error" test="not(*:period[string-length(substring-after(@value,'.')) &gt; 4])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PIVL_TS">dtr1/2-5-hl7nl-PIVL_TS: period/@value must be rounded to 4 digits or less</assert>
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="not(descendant-or-self::*:width[@unit][not(@value)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PIVL_TS">dtr1/2-6-hl7nl-PIVL_TS: width element: no unit without value</assert>
[INFO]     <assert role="error" test="not(descendant-or-self::*:width[*:translation])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:PIVL_TS">dtr1/2-7-hl7nl-PIVL_TS: width element: no translation</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="EIVL_TS">
[INFO]     <extends rule="SXCM_TS" />
[INFO]     <assert role="error" test="@nullFlavor or (hl7:event)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-1-EIVL_TS: required attributes</assert>
[INFO]     <assert role="error" test="count(*[self::hl7:offset][@updateMode])=0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-2-EIVL_TS: no updateMode on EIVL attributes</assert>
[INFO]     <assert role="error" test="not(hl7:event) or not(hl7:event[@nullFlavor][@code]) or hl7:event[@nullFlavor or @code]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-3-EIVL_TS: null violation</assert>
[INFO]     <assert role="error" test="not(hl7:event/@codeSystem)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-4-EIVL_TS: cannot have codeSystem</assert>
[INFO]     <assert role="error" test="not(hl7:event/@codeSystemName)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-5-EIVL_TS: cannot have codeSystemName</assert>
[INFO]     <assert role="error" test="not(hl7:event/@codeSystemVersion)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-6-EIVL_TS: cannot have codeSystemVersion</assert>
[INFO]     <assert role="error" test="not(hl7:event/@displayName)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-7-EIVL_TS: cannot have displayName</assert>
[INFO]     <assert role="error" test="not(hl7:event/hl7:originalText)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-8-EIVL_TS: cannot have originalText</assert>
[INFO]     <assert role="error" test="not(hl7:event/hl7:qualifier)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-9-EIVL_TS: cannot have qualifier</assert>
[INFO]     <assert role="error" test="not(hl7:event/hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-10-EIVL_TS: cannot have translation</assert>
[INFO]     <assert role="error" test="(not(hl7:offset)) or (hl7:offset/@nullFlavor and not(hl7:offset/@value|hl7:offset/@unit|hl7:offset/*)) or (not(hl7:offset/@nullFlavor) and (hl7:offset/@value|hl7:offset/@unit|hl7:offset/*))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-11-EIVL_TS: offset null violation. Cannot have @nullFlavor and @value or child elements, or the other way around</assert>
[INFO]     <assert role="error" test="not(hl7:offset/*[@nullFlavor and (@value|@unit)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-12-EIVL_TS: offset null violation. Cannot have @nullFlavor and @value on any child elements</assert>
[INFO]     <assert role="error" test="(not(hl7:offset)) or hl7:offset/@nullFlavor or         (not(hl7:offset/@nullFlavor) and hl7:offset/@value and not(hl7:offset/*)) or         (not(hl7:offset/@nullFlavor) and not(hl7:offset/@value) and (hl7:offset/hl7:low|hl7:offset/hl7:center|hl7:offset/hl7:high|hl7:offset/hl7:width)) or         (not(hl7:offset/@nullFlavor) and not(hl7:offset/@value) and (hl7:offset/hl7:*[not(@nullFlavor)])) or         (not(hl7:offset/@nullFlavor) and not(hl7:offset/@value) and hl7:center and not(hl7:low|hl7:high|hl7:width)) or         (not(hl7:offset/@nullFlavor) and not(hl7:offset/@value) and not(hl7:offset/hl7:center) and hl7:offset/hl7:width and not(hl7:offset/hl7:low and hl7:offset/hl7:high))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-13-EIVL_TS: offset co-occurence violation. Cannot have @value and other child elements, or missing @value and child elements with data, or center element with other elements, or width element with both low and high elements</assert>
[INFO]     <assert role="error" test="count(hl7:offset/*[@updateMode])=0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-14-EIVL_TS: no updateMode on IVL attributes</assert>
[INFO]     <assert role="error" test="not(hl7:offset/hl7:low/@value and hl7:offset/hl7:high/@value) or string-length(hl7:offset/hl7:low/@value) = string-length(hl7:offset/hl7:high/@value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-15-EIVL_TS: value in offset/low/@value shall have same precision as offset/high/@value</assert>
[INFO] 
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="not(hl7:offset[@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS')]/hl7:width) or         hl7:offset[@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS')]/hl7:width[not(@unit)] or         hl7:offset[@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS')]/hl7:width[@value and @unit]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-16-EIVL_TS: width element: no unit without value</assert>
[INFO]     <assert role="error" test="not(hl7:offset/hl7:width/hl7:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_EIVL_TS">dtr1-17-EIVL_TS: width element: no translation</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="SXPR_TS">
[INFO]     <extends rule="SXCM_TS" />
[INFO]     <assert role="error" test="@nullFlavor or count(hl7:comp) &gt;= 2" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-1-SXPR_TS: null or at least two components</assert>
[INFO]     <assert role="error" test="not(descendant::hl7:comp[(@xsi:type='SXPR_TS' or ends-with(@xsi:type,':SXPR_TS'))]) or          descendant::hl7:comp[(@xsi:type='SXPR_TS' or ends-with(@xsi:type,':SXPR_TS')) and @nullFlavor] or          descendant::hl7:comp[(@xsi:type='SXPR_TS' or ends-with(@xsi:type,':SXPR_TS')) and count(hl7:comp) &gt;= 2]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-2-SXPR_TS: null or at least two components</assert>
[INFO]     <assert role="error" test="count(descendant::*[@updateMode])=0" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-3-SXPR_TS: no updateMode on components or other subelements</assert>
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="not(descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS'))]) or         (descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS')) and @nullFlavor and not(@value|@unit|*)]) or          (descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS')) and not(@nullFlavor) and (@value|@unit|*)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-4-SXPR_TS: null violation. Cannot have @nullFlavor and @value or child elements, or the other way around</assert>
[INFO]     <assert role="error" test="         not(descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS'))]/*) or         descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS')) and @nullFlavor] or         descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS')) and not(@nullFlavor) and @value and not(*)] or         descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS')) and not(@nullFlavor) and not(@value)]/*[@nullFlavor] or         descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS')) and not(@nullFlavor) and not(@value)]/*[not(@nullFlavor) and not(*:center and (*:low|*:high|*:width))] or         descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS')) and not(@nullFlavor) and not(@value)]/*[not(@nullFlavor) and not(*:center) and not(*:width and (*:low|*:high))]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-5-SXPR_TS: co-occurence violation. Cannot have @value and other child elements, or missing @value and child elements with data, or center element with other elements, or width element with both low and high elements</assert>
[INFO]     <assert role="error" test="         not(descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS')) and *:low/@value and *:high/@value]) or          descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS')) and string-length(*:low/@value) = string-length(*:high/@value)]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-6-SXPR_TS: comp/low/@value must have the same precision as comp/high/@value</assert>
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="not(descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS'))]/*:width) or         descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS'))]/*:width[not(@unit)] or         descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS'))]/*:width[@value and @unit]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-7-SXPR_TS: width element: no unit without value</assert>
[INFO]     <assert role="error" test="not(descendant::hl7:comp[(@xsi:type='IVL_TS' or ends-with(@xsi:type,':IVL_TS'))]/*:width/*:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-8-SXPR_TS: width element: no translation</assert>
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="not(descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]) or         descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]/*:period[@nullFlavor and not(@value)] or         descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]/*:period[not(@nullFlavor) and @value]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-9-SXPR_TS: null or value in period</assert>
[INFO]     <assert role="error" test="not(descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]) or         not(descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]/*:period[@nullFlavor]/*:translation) or         descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]/*:period[not(@nullFlavor)]/*:translation" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-10-SXPR_TS: no translation if null in period</assert>
[INFO]     <assert role="error" test="not(descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]) or         (descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS')) and @nullFlavor and not(@value|@unit|*)]) or          (descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS')) and not(@nullFlavor) and (@value|@unit|*)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-11-SXPR_TS: null violation. Cannot have @nullFlavor and @value or child elements, or the other way around</assert>
[INFO]     <assert role="error" test="         not(descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]/*) or         descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS')) and @nullFlavor] or         descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS')) and not(@nullFlavor) and @value and not(*)] or         descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS')) and not(@nullFlavor) and not(@value)]/*[@nullFlavor] or         descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS')) and not(@nullFlavor) and not(@value)]/*[not(@nullFlavor) and not(*:center and (*:low|*:high|*:width))] or         descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS')) and not(@nullFlavor) and not(@value)]/*[not(@nullFlavor) and not(*:center) and not(*:width and (*:low|*:high))]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-12-SXPR_TS: co-occurence violation. Cannot have @value and other child elements, or missing @value and child elements with data, or center element with other elements, or width element with both low and high elements</assert>
[INFO]     <assert role="error" test="         not(descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS')) and *:low/@value and *:high/@value]) or          descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS')) and string-length(*:low/@value) = string-length(*:high/@value)]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-13-SXPR_TS: comp/low/@value must have the same precision as comp/high/@value</assert>
[INFO]     <assert role="error" test="not(descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]/*:period[string-length(substring-after(@value,'.')) &gt; 4])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-14-SXPR_TS: value in period/@value SHALL be rounded to 4 decimals or less</assert>
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="not(descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]/*:width) or         descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]/*:width[not(@unit)] or         descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]/*:width[@value and @unit]" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-15-SXPR_TS: width element: no unit without value</assert>
[INFO]     <assert role="error" test="not(descendant::hl7:comp[(@xsi:type='PIVL_TS' or ends-with(@xsi:type,':PIVL_TS'))]/*:width/*:translation)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SXPR_TS">dtr1-16-SXPR_TS: width element: no translation</assert>
[INFO] 
[INFO]     
[INFO] </rule>
[INFO]         <rule abstract="true" id="TS.DATE">
[INFO]     <extends rule="TS" />
[INFO]     <assert role="error" test="@nullFlavor or matches(@value, '^[0-9]{4,8}$')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.DATE">dtr1-1-TS.DATE: null or date precision of time stamp shall be YYYYMMDD.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TS.DATE.FULL">
[INFO]     <extends rule="TS" />
[INFO]     <assert role="error" test="@nullFlavor or matches(@value, '^[0-9]{8,8}$')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.DATE.FULL">dtr1-1-TS.DATE.FULL: null or date precision of time stamp shall be YYYYMMDD.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TS.DATE.MIN">
[INFO]     <extends rule="TS" />
[INFO]     <assert role="error" test="@nullFlavor or matches(@value, '^[0-9]{8,8}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.DATE.MIN">dtr1-1-TS.DATE.MIN: null or date precision of time stamp shall be at least YYYYMMDD.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TS.DATETIME.MIN">
[INFO]     <extends rule="TS" />
[INFO]     <assert role="error" test="@nullFlavor or matches(@value, '^[0-9]{14,14}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.DATETIME.MIN">dtr1-1-TS.DATETIME.MIN: null or date precision of time stamp shall be at least YYYYMMDDhhmmss.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TS.EPSOS.TZ" see="http://art-decor.org/mediawiki/index.php/DTr1_TS.EPSOS.TZ">
[INFO]     <extends rule="TS" />
[INFO]     <assert role="error" test="not(@value) or matches(@value,'^[0-9]{8}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.EPSOS.TZ">dtr1-1-TS.EPSOS.TZ: time SHALL be precise to the day</assert>
[INFO]     <assert role="warning" test="not(@value) or matches(@value,'^[0-9]{14}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.EPSOS.TZ">dtr1-2-TS.EPSOS.TZ: time SHOULD be precise to the second</assert>
[INFO]     <assert role="error" test="not(matches(@value,'^[0-9]{10}')) or contains(@value,'+') or contains(@value,'-')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.EPSOS.TZ">dtr1-3-TS.EPSOS.TZ: time SHALL include a time zone if more precise than to the day</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TS.IPS.TZ" see="http://art-decor.org/mediawiki/index.php/DTr1_TS.IPS.TZ">
[INFO]     <extends rule="TS" />
[INFO]     <assert role="error" test="not(@value) or matches(@value,'^[0-9]{8}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.IPS.TZ">dtr1-1-TS.IPS.TZ: time SHALL be precise to the day</assert>
[INFO]     <assert role="warning" test="not(@value) or matches(@value,'^[0-9]{14}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.IPS.TZ">dtr1-2-TS.IPS.TZ: time SHOULD be precise to the second</assert>
[INFO]     <assert role="error" test="not(matches(@value,'^[0-9]{10}')) or contains(@value,'+') or contains(@value,'-')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.IPS.TZ">dtr1-3-TS.IPS.TZ: time SHALL include a time zone if more precise than to the day</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TS.EPSOS.TZ.OPT" see="http://art-decor.org/mediawiki/index.php/DTr1_TS.EPSOS.TZ.OPT">
[INFO]     <extends rule="TS" />
[INFO]     <assert role="error" test="not(@value) or matches(@value,'^[0-9]{4}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.EPSOS.TZ.OPT">dtr1-1-TS.EPSOS.TZ.OPT: time SHALL be precise to at least the year</assert>
[INFO]     <assert role="warning" test="not(@value) or matches(@value,'^[0-9]{8}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.EPSOS.TZ.OPT">dtr1-2-TS.EPSOS.TZ.OPT: time SHOULD be precise to the day</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TS.CH.TZ">
[INFO]     <extends rule="TS" />
[INFO]     <assert role="error" test="@nullFlavor or matches(@value,'^[0-9]{4}$|^[0-9]{6}$|^[0-9]{8}$') or contains(@value,'+') or contains(@value,'-')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.CH.TZ">dtr1-1-TS.CH.TZ: time SHALL include a time zone if more precise than to the day</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TS.AT.TZ">
[INFO]     <extends rule="TS" />
[INFO]     <assert role="error" test="not(@value) or matches(@value,'^[0-9]{8}$') or matches(@value,'^[0-9]{14}')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.AT.TZ">dtr1-1-TS.AT.TZ: time if specified SHALL be precise to the day or precise to the second</assert>
[INFO]     <assert role="error" test="not(@value) or matches(@value,'^[0-9]{8}$') or contains(@value,'+') or contains(@value,'-')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TS.AT.TZ">dtr1-2-TS.AT.TZ: time SHALL include a time zone if more precise than to the day</assert>
[INFO] </rule>
[INFO]         <rule xmlns:xs="http://www.w3.org/2001/XMLSchema" abstract="true" id="hl7nl-TS">
[INFO]     <extends rule="QTY" />
[INFO]     <assert role="error" test="(@nullFlavor or @value or *) and not(@nullFlavor and @value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:TS">dtr1-1-hl7nl-TS: null or value or child element in case of extension</assert>
[INFO]     <let name="theTS" value="@value" />
[INFO]     <let name="theBC" value="if (starts-with($theTS,'-')) then '-' else ()" />
[INFO]     <let name="theTZ" value="replace($theTS,'-?[^+-]+([+-].*)?$','$1')" />
[INFO]     <let name="theTZh" value="if (string-length($theTZ)&gt;0) then substring($theTZ,1,3) else ()" />
[INFO]     <let name="theTZm" value="if (string-length($theTZ)&gt;3) then substring($theTZ,4) else ()" />
[INFO]     <let name="theBaseTS" value="replace($theTS,'^-?([^+-]+)([+-].*)?','$1')" />
[INFO]     <let name="theCentury" value="if (substring($theBaseTS,1,2) castable as xs:integer) then substring($theBaseTS,1,2) else ()" />
[INFO]     <let name="theYear" value="if (substring($theBaseTS,3,2) castable as xs:integer) then substring($theBaseTS,3,2) else ()" />
[INFO]     <let name="theMonth" value="if (substring($theBaseTS,5,2) castable as xs:integer) then substring($theBaseTS,5,2) else ()" />
[INFO]     <let name="theDay" value="if (substring($theBaseTS,7,2) castable as xs:integer) then substring($theBaseTS,7,2) else ()" />
[INFO]     <let name="theHour" value="if (substring($theBaseTS,9,2) castable as xs:integer) then substring($theBaseTS,9,2) else ()" />
[INFO]     <let name="theMinute" value="if (substring($theBaseTS,11,2) castable as xs:integer) then substring($theBaseTS,11,2) else ()" />
[INFO]     <let name="theSecond" value="if (substring($theBaseTS,13,2) castable as xs:integer) then substring($theBaseTS,13,2) else ()" />
[INFO]     <let name="theSubSecond" value="if (substring($theBaseTS,16) castable as xs:integer) then substring($theBaseTS,15) else ()" />
[INFO]     <let name="cCentury" value="if (empty($theCentury)) then '00' else $theCentury" />
[INFO]     <let name="cYear" value="if (empty($theYear)) then '00' else $theYear" />
[INFO]     <let name="cMonth" value="if (empty($theMonth)) then '01' else $theMonth" />
[INFO]     <let name="cDay" value="if (empty($theDay)) then '01' else $theDay" />
[INFO]     <let name="cHour" value="if (empty($theHour)) then '00' else $theHour" />
[INFO]     <let name="cMinute" value="if (empty($theMinute)) then '00' else $theMinute" />
[INFO]     <let name="cSecond" value="if (empty($theSecond)) then '00' else $theSecond" />
[INFO]     <let name="cTZ" value="string-join(($theTZh,$theTZm),':')" />
[INFO]     <let name="theTSString" value="string-join(($theBC,$theCentury,$theYear,$theMonth,$theDay,$theHour,$theMinute,$theSecond,$theSubSecond,$theTZ),'')" />
[INFO]     <let name="theDateTime" value="concat($theBC,$cCentury,$cYear,'-',$cMonth,'-',$cDay,'T',$cHour,':',$cMinute,':',$cSecond,$theSubSecond,$cTZ)" />
[INFO]     <assert test="empty($theTS) or ($theTS=$theTSString and $theDateTime castable as xs:dateTime)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:TS">dtr1-2-hl7nl-TS: <value-of select="local-name()" /> "<value-of select="$theTS" />" is not a valid timestamp.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="hl7nl-RTO" see="https://art-decor.org/mediawiki/index.php?title=DTr1_hl7nl:RTO">
[INFO]     <extends rule="QTY" />
[INFO] </rule>
[INFO]         <rule abstract="true" id="RTO_QTY_QTY">
[INFO]     <extends rule="QTY" />
[INFO]     <assert role="error" test="@nullFlavor or (*:numerator[not(@nullFlavor)] and *:denominator[not(@nullFlavor)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_RTO_QTY_QTY">dtr1-1-RTO_QTY_QTY: numerator and denominator required</assert>
[INFO]     <assert role="error" test="not(*:numerator[@updateMode] or *:denominator[@updateMode])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_RTO_QTY_QTY">dtr1-2-RTO_QTY_QTY: no updateMode on numerator or denominator</assert>
[INFO]     <assert role="error" test="not(*:uncertainty)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_RTO_QTY_QTY">dtr1-3-RTO_QTY_QTY: no uncertainty</assert>
[INFO]     <assert role="error" test="not(*:denominator/@value='0')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_RTO_QTY_QTY">dtr1-4-RTO_QTY_QTY: The denominator must not be zero.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="RTO" see="https://art-decor.org/mediawiki/index.php?title=DTr1_RTO">
[INFO]     <extends rule="RTO_QTY_QTY" />
[INFO] </rule>
[INFO]         <rule abstract="true" id="SD.TEXT" see="https://art-decor.org/mediawiki/index.php?title=DTr1_SD.TEXT">
[INFO]     
[INFO]     <extends rule="ANY" />
[INFO] </rule>
[INFO]         <rule abstract="true" id="URL">
[INFO]     <extends rule="ANY" />
[INFO]     <assert role="error" test="@nullFlavor or @value" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL">dtr1-1-URL: elements of type URL SHALL have a @value attribute.</assert>
[INFO]     <assert role="error" test="@nullFlavor or @value=iri-to-uri(@value)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL">dtr1-2-URL: @value must be a valid URI, e.g. '<value-of select="iri-to-uri(@value)" />'.</assert>
[INFO]     
[INFO]     
[INFO]     
[INFO]     <let name="name" value="local-name()" />
[INFO]     <let name="use" value="@use" />
[INFO]     <let name="value" value="@value" />
[INFO]     <let name="set_other" value="preceding-sibling::*[local-name()=$name] | following-sibling::*[local-name()=$name]" />
[INFO]     <assert role="error" test="not(@nullFlavor and $set_other[not(@nullFlavor)])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL">dtr1-4-URL: [RIM-001] <value-of select="$name" /> SHALL NOT have nullFlavor, if there are other <value-of select="$name" /> elements which are not null</assert>
[INFO]     <assert role="error" test="not($set_other[@use=$use][@value=$value])" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL">dtr1-5-URL: [RIM-002] <value-of select="$name" /> (<value-of select="$value" />) SHALL be distinct</assert>
[INFO]     
[INFO]     
[INFO] </rule>
[INFO]         <rule abstract="true" id="TEL">
[INFO]     <extends rule="URL" />
[INFO]     <assert role="error" test="not(@nullFlavor and hl7:useablePeriod)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL">dtr1-1-TEL: not null and useablePeriod</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TEL.AT">
[INFO]     <extends rule="TEL" />
[INFO]     <let name="urlScheme" value="substring-before(@value,':')" />
[INFO]     <assert role="error" test="not(@value) or $urlScheme = ('fax', 'file', 'ftp', 'mllp', 'http', 'mailto', 'me', 'modem', 'nfs', 'tel', 'telnet')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.AT">dtr1-1-TEL.AT: ungültiges URL-Schema <value-of select="$urlScheme" />
[INFO]     </assert>
[INFO]     <assert role="error" test="not(@use) or translate(concat(' ', @use, ' '), '(H|HP|HV|WP|AS|EC|MC|PG) ', '') = ''" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.AT">dtr1-2-TEL.AT: @use MUSS aus den Werten 'H', 'HP', 'HV', 'WP', 'AS', 'EC', 'MC', 'PG' gewählt werden.</assert>
[INFO]     <assert role="error" test="not($urlScheme=('tel','fax')) or matches(@value,'[a-z\d+\.-]+:\+{0,1}[0-9\.\-\(\)]+$')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.AT">dtr1-3-TEL.AT: Nur Ziffernzeichen 0 bis 9, ggf. mit vorangehendem + sowie als visuelle Separatorzeichen Bindestrich -, Punkt . oder Klammern () sind erlaubt.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TEL.EPSOS">
[INFO]     <extends rule="TEL" />
[INFO]     <let name="urlScheme" value="substring-before(@value,':')" />
[INFO]     <let name="urlStr" value="substring-after(@value,':')" />
[INFO]     <assert test="not($urlScheme=('tel','fax')) or matches($urlStr,'^\+?[0-9()\.-]+$')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.EPSOS">dtr1-TEL.EPSOS: Phone and fax numbers SHALL consist of an optional leading + for country code followed by digits 0-9. The only other allowable characters are parentheses (), hyphens - and/or dots. Pattern is '^\+?[0-9()\.-]+$'</assert>
[INFO]     <assert test="not($urlScheme=('tel','fax')) or matches(replace($urlStr,'[^\d]',''),'[0-9]+')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.EPSOS">dtr2-TEL.EPSOS: Phone and fax numbers SHALL have at least one dialing digit in the phone number after visual separators are removed.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TEL.IPS">
[INFO]     <extends rule="TEL" />
[INFO]     <let name="urlScheme" value="substring-before(@value,':')" />
[INFO]     <let name="urlStr" value="substring-after(@value,':')" />
[INFO]     <assert test="not($urlScheme=('tel','fax')) or matches($urlStr,'^\+?[0-9()\.-]+$')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.IPS">dtr1-TEL.IPS: Phone and fax numbers SHALL consist of an optional leading + for country code followed by digits 0-9. The only other allowable characters are parentheses (), hyphens - and/or dots. Pattern is '^\+?[0-9()\.-]+$'</assert>
[INFO]     <assert test="not($urlScheme=('tel','fax')) or matches(replace($urlStr,'[^\d]',''),'[0-9]+')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.IPS">dtr2-TEL.IPS: Phone and fax numbers SHALL have at least one dialing digit in the phone number after visual separators are removed.</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TEL.NL.EXTENDED">
[INFO]     <extends rule="URL.NL.EXTENDED" />
[INFO]     <assert role="error" test="not(@nullFlavor and hl7:usablePeriod)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.NL.EXTENDED">dtr1-1-TEL.NL.EXTENDED: not null and usablePeriod</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TEL.CA.EMAIL">
[INFO]     <extends rule="TEL" />
[INFO]     <assert role="error" test="@nullFlavor or not(hl7:useablePeriod)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.CA.EMAIL">dtr1-1-TEL.CA.EMAIL: useablePeriod property is not permitted</assert>
[INFO]     <assert role="error" test="@nullFlavor or @use" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.CA.EMAIL">dtr1-2-TEL.CA.EMAIL: @use is required</assert>
[INFO]     <assert role="error" test="@nullFlavor or (translate(concat(' ', @use, ' '), '(EC|H|MC|PG|TMP|WP) ', '') = '' and (count(tokenize (@use, ' '))&lt;=3))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.CA.EMAIL">dtr1-3-TEL.CA.EMAIL: @use may have up to three codes and must be drawn from 'EC', 'H', 'MC', 'PG', 'TMP', 'WP'</assert>
[INFO]     <assert role="error" test="@nullFlavor or string-length(@value)&lt;=50" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.CA.EMAIL">dtr1-4-TEL.CA.EMAIL: @value has maximum length of 50 characters</assert>
[INFO]     <assert role="error" test="@nullFlavor or matches(@value,'^mailto:')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.CA.EMAIL">dtr1-5-TEL.CA.EMAIL: telecommunication scheme supported is "mailto:"</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="TEL.CA.PHONE">
[INFO]     <extends rule="TEL" />
[INFO]     <assert role="error" test="@nullFlavor or not(hl7:useablePeriod)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.CA.PHONE">dtr1-1-TEL.CA.PHONE: useablePeriod property is not permitted</assert>
[INFO]     <assert role="error" test="@nullFlavor or @use" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.CA.PHONE">dtr1-2-TEL.CA.PHONE: @use is required</assert>
[INFO]     <assert role="error" test="@nullFlavor or (translate(concat(' ', @use, ' '), '(EC|H|MC|PG|TMP|WP) ', '') = '' and (count(tokenize (@vauselue, ' '))&lt;=3))" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.CA.PHONE">dtr1-3-TEL.CA.PHONE: œuse may have up to three codes and must be drawn from 'EC', 'H', 'MC', 'PG', 'TMP', 'WP'</assert>
[INFO]     <assert role="error" test="@nullFlavor or string-length(@value)&lt;=40" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.CA.PHONE">dtr1-4-TEL.CA.PHONE: @value has maximum length of 40 characters</assert>
[INFO]     <assert role="error" test="@nullFlavor or matches(@value,'^(fax | tel):')" see="https://art-decor.org/mediawiki/index.php?title=DTr1_TEL.CA.PHONE">dtr1-5-TEL.CA.PHONE: telecommunication scheme supported is "fax:" or "tel:"</assert>
[INFO] </rule>
[INFO]         <rule abstract="true" id="URL.NL.EXTENDED">
[INFO]     <extends rule="URL" />
[INFO]     <let name="urlScheme" value="substring-before(@value,':')" />
[INFO]     <let name="urlStr" value="substring-after(@value,':')" />
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="if ($urlScheme='tel' or $urlScheme='fax') then (         matches($urlStr,'^(\+?([\d()./-]|(%[a-f\d]{2}))+)*(;(phone-context=((\+?([\d()./-]|(%[a-f\d]{2}))+)|(([a-z\d-]|(%[a-f\d]{2}))+(\.([a-z\d-]|(%[a-f\d]{2}))+)*))|(ext=[\d./-]+)|(isub=(([a-z\d();/?:@&amp;=+$,_.!~*''-])|(%[a-f\d]{2}))+)|([a-z\d-]+=([a-z\d\[\]/:&amp;+$_.!~*()-]|(%[a-f\d]{2}))+)))*$')         ) else (1=1)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL.NL.EXTENDED">dtr3-URL.NL.EXTENDED: URIs with URL Scheme <value-of select="$urlScheme" /> MUST comply with RFC 3966</assert>
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="if ($urlScheme='file') then (         matches($urlStr,'^///{0,2}((((([1-2]\d{0,2})(\.([1-2]\d{0,2})){3})|(([\w-]+\.)+([a-z]+))))|([a-z][:|]))(/(([a-z\d$\.+!*(),?&amp;~_=-])|(%[a-f\d]{2}))*)*$','i')         ) else (1=1)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL.NL.EXTENDED">dtr4-URL.NL.EXTENDED: URIs with URL Scheme <value-of select="$urlScheme" /> MUST comply with RFC 1738.</assert>
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="if ($urlScheme='nfs') then (         matches($urlStr,'^//((((([1-2]\d{0,2})(\.([1-2]\d{0,2})){3})|(([\w-]+\.)+([a-z]+))))|([a-z][:|]))/?(/(([a-z\d$\.+!*(),?&amp;~_=-])|(%[a-f\d]{2}))*)*$','i')         ) else (1=1)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL.NL.EXTENDED">dtr5-URL.NL.EXTENDED: URIs with URL Scheme <value-of select="$urlScheme" /> MUST comply with RFC 2224.</assert>
[INFO] 
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="if ($urlScheme='ftp' or $urlScheme='ftps') then (         matches($urlStr,'^//((([a-z\d$\.+!*(),?&amp;=~_-])|(%[a-f\d]{2}))+(:(([a-z\d$\.+!*(),?&amp;~_=-])|(%[a-f\d]{2}))*)?@)?((([1-2]\d{0,2})(\.([1-2]\d{0,2})){3})|(([\w-]+\.)+(aero|arpa|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel|[a-z]{2})))(:(([1-9]\d{0,4})|([a-z][\w-]*))?)?(/(([a-z\d$\.+!*(),?&amp;_~=-])|(%[a-f\d]{2}))*)*(;type=[aid])?$','i')         ) else (1=1)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL.NL.EXTENDED">dtr6-URL.NL.EXTENDED: URIs with URL Scheme <value-of select="$urlScheme" /> MUST comply with RFC 1738.</assert>
[INFO] 
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="if ($urlScheme='http' or $urlScheme='https') then (         matches($urlStr,'^//((([a-z\d$\.+!*(),?&amp;~_=-])|(%[a-f\d]{2}))+(:(([a-z\d$\.+!*(),?&amp;~_=-])|(%[a-f\d]{2}))*)?@)?((([1-2]\d{0,2})(\.([1-2]\d{0,2})){3})|(([\w-]+\.)+(aero|arpa|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel|[a-z]{2})))(:(([1-9]\d{0,4})|([a-z]\w*))?)?(/(([a-z\d$\.+!*(),?&amp;~_=-])|(%[a-f\d]{2}))*)*(\?(([\w$_\.+;:@~!*(),])|(%[a-f\d]{2}))+=(([\w$_\.+;:/@~!*(),-])|(%[a-f\d]{2}))*(&amp;((([\w$_\.+;:@~!*(),])|(%[a-f\d]{2}))+=(([\w$_\.+;:/@~!*(),-])|(%[a-f\d]{2}))*)?)*)?(#([\w~!$+|.,*:=~_]|%[a-f\d]{2})*)?$', 'i')         ) else (1=1)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL.NL.EXTENDED">dtr7-URL.NL.EXTENDED: URIs with URL Scheme <value-of select="$urlScheme" /> MUST comply with RFC 1738</assert>
[INFO] 
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="if ($urlScheme='telnet') then (         matches($urlStr,'^//((([a-z\d$\.+!*(),?&amp;~_=-])|(%[a-f\d]{2}))+(:(([a-z\d$\.+!*(),?&amp;=-])|(%[a-f\d]{2}))*)?@)?((([1-2]\d{0,2})(\.([1-2]\d{0,2})){3})|(([\w-]+\.)+(aero|arpa|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel|[a-z]{2})))(:(([1-9]\d{0,4})|([a-z]\w*))?)?(/(([a-z\d$\.+!*(),?&amp;=-])|(%[a-f\d]{2}))*)*$','i')         ) else (1=1)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL.NL.EXTENDED">dtr8-URL.NL.EXTENDED: URIs with URL Scheme <value-of select="$urlScheme" /> MUST comply with RFC 1738.</assert>
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="if ($urlScheme='mailto') then (         matches($urlStr,'^[\w$\.+!*(),?&amp;~_=-]+(\.[\w$\.+!*(),?&amp;~_=-]+)*@([\w$+!*(),?&amp;~_=-]+\.)+([a-z]{2,4})$','i')         ) else (1=1)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL.NL.EXTENDED">dtr9-URL.NL.EXTENDED: URIs with URL Scheme <value-of select="$urlScheme" /> MUST comply with RFC 2368. Note that it is not allowed to carry extra headers</assert>
[INFO] 
[INFO]     
[INFO]     <assert role="error" test="if ($urlScheme='x-hl7-applicatie') then (         matches($urlStr,'^2\.16\.840\.1\.113883\.2\.4\.6\.6\.[1-9]\d*$')         ) else (1=1)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL.NL.EXTENDED">dtr10-URL.NL.EXTENDED: URIs with URL Scheme <value-of select="$urlScheme" /> MUST start with "2.16.840.1.113883.2.4.6.6." prefixed with the numerical part</assert>
[INFO] 
[INFO]     
[INFO]     
[INFO]     <assert role="error" test="if ($urlScheme='mllp') then (         matches($urlStr,'^//(([1-2]\d{0,2})(\.([1-2]\d{0,2})){3}|(([\w-]+\.)+(aero|arpa|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel|[a-z]{2}))):(([1-9]\d{0,4})|([A-Za-z]\w*))/$')         ) else (1=1)" see="https://art-decor.org/mediawiki/index.php?title=DTr1_URL.NL.EXTENDED">dtr11-URL.NL.EXTENDED: URIs with URL Scheme <value-of select="$urlScheme" /> MUST comply with mllp://host:port/ where 'host' MAY be a name or IP and 'port' a named port or integer</assert>
[INFO] </rule>
[INFO]     </pattern>
[INFO] 
[INFO]    
[INFO] 
[INFO] 
[INFO]     <pattern id="template-1.2.250.1.213.1.1.1.5.1-2017-12-11T150548">
[INFO]     <title>Certificat de sante du 8e jour</title>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]" id="d506897e2269-false-d508993e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1'])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1'] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1'])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1'] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:id)&gt;=1">(CertificatDeSanteDu8eJour): element hl7:id is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:id)&lt;=1">(CertificatDeSanteDu8eJour): element hl7:id appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:code)&gt;=1">(CertificatDeSanteDu8eJour): element hl7:code is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:code)&lt;=1">(CertificatDeSanteDu8eJour): element hl7:code appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:title)&lt;=1">(CertificatDeSanteDu8eJour): element hl7:title appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:effectiveTime)&gt;=1">(CertificatDeSanteDu8eJour): element hl7:effectiveTime is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:effectiveTime)&lt;=1">(CertificatDeSanteDu8eJour): element hl7:effectiveTime appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component)&gt;=1">(CertificatDeSanteDu8eJour): element hl7:component is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component)&lt;=1">(CertificatDeSanteDu8eJour): element hl7:component appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:componentOf[not(@nullFlavor)])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:componentOf[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:componentOf[not(@nullFlavor)])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:componentOf[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:relatedDocument[@typeCode='RPLC'])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:relatedDocument[@typeCode='RPLC'] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:relatedDocument[@typeCode='RPLC'])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:relatedDocument[@typeCode='RPLC'] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:documentationOf[not(@nullFlavor)])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:documentationOf[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:documentationOf[not(@nullFlavor)])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:documentationOf[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:custodian[not(@nullFlavor)])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:custodian[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:custodian[not(@nullFlavor)])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:custodian[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:author[not(@nullFlavor)])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:author[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:author[not(@nullFlavor)])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:author[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:informant)&gt;=1">(CertificatDeSanteDu8eJour): element hl7:informant is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:informant)&lt;=1">(CertificatDeSanteDu8eJour): element hl7:informant appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:participant)&gt;=1">(CertificatDeSanteDu8eJour): element hl7:participant is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:participant)&lt;=1">(CertificatDeSanteDu8eJour): element hl7:participant appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:recordTarget)&gt;=1">(CertificatDeSanteDu8eJour): element hl7:recordTarget is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:recordTarget)&lt;=1">(CertificatDeSanteDu8eJour): element hl7:recordTarget appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']" id="d506897e2270-false-d509449e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CertificatDeSanteDu8eJour): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="string(@root)=('1.2.250.1.213.1.1.1.5.1')">(CertificatDeSanteDu8eJour): The value for @root SHALL be '1.2.250.1.213.1.1.1.5.1'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:id" id="d506897e2272-false-d509463e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CertificatDeSanteDu8eJour): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:code" id="d506897e2273-false-d509473e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CertificatDeSanteDu8eJour): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:title" id="d506897e2274-false-d509483e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CertificatDeSanteDu8eJour): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:effectiveTime" id="d506897e2275-false-d509493e0">
[INFO]         <extends rule="TS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CertificatDeSanteDu8eJour): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="not(*)">(CertificatDeSanteDu8eJour): <value-of select="local-name()" /> with datatype TS, SHOULD NOT have child elements.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:component" id="d506897e2276-false-d509643e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:structuredBody)&gt;=1">(CertificatDeSanteDu8eJour): element hl7:structuredBody is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:structuredBody)&lt;=1">(CertificatDeSanteDu8eJour): element hl7:structuredBody appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:component/hl7:structuredBody" id="d506897e2277-false-d509932e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] and hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] and hl7:templateId[@root='2.16.840.1.113883.10.20.1.15']]])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] and hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] and hl7:templateId[@root='2.16.840.1.113883.10.20.1.15']]] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] and hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] and hl7:templateId[@root='2.16.840.1.113883.10.20.1.15']]])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16.1'] and hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.16'] and hl7:templateId[@root='2.16.840.1.113883.10.20.1.15']]] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4']]])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4']]] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4']]])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.5.3.4']]] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.10.10'] and hl7:templateId[@root='1.2.250.1.213.1.1.2.13'] and hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.21.2.3']]])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.10.10'] and hl7:templateId[@root='1.2.250.1.213.1.1.2.13'] and hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.21.2.3']]] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.10.10'] and hl7:templateId[@root='1.2.250.1.213.1.1.2.13'] and hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.21.2.3']]])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.10.10'] and hl7:templateId[@root='1.2.250.1.213.1.1.2.13'] and hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.21.2.3']]] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.21.2.4']]])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.21.2.4']]] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.21.2.4']]])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.21.2.4']]] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.5']]])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.5']]] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.5']]])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.5']]] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] and hl7:templateId[@root='2.16.840.1.113883.10.20.1.6']]])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] and hl7:templateId[@root='2.16.840.1.113883.10.20.1.6']]] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] and hl7:templateId[@root='2.16.840.1.113883.10.20.1.6']]])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.23'] and hl7:templateId[@root='2.16.840.1.113883.10.20.1.6']]] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] and hl7:templateId[@root='2.16.840.1.113883.10.20.1.10']]])&gt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] and hl7:templateId[@root='2.16.840.1.113883.10.20.1.10']]] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.5.1" test="count(hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] and hl7:templateId[@root='2.16.840.1.113883.10.20.1.10']]])&lt;=1">(CertificatDeSanteDu8eJour): element hl7:component[hl7:section[hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.31'] and hl7:templateId[@root='2.16.840.1.113883.10.20.1.10']]] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]" id="d510396e12-false-d510428e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:encompassingEncounter[not(@nullFlavor)])&gt;=1">(CI-SISComponentOf): element hl7:encompassingEncounter[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:encompassingEncounter[not(@nullFlavor)])&lt;=1">(CI-SISComponentOf): element hl7:encompassingEncounter[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]" id="d510396e13-false-d510490e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:code[(@code='IMP' and @codeSystem='2.16.840.1.113883.5.4') or (@code='EMER' and @codeSystem='2.16.840.1.113883.5.4') or (@code='AMB' and @codeSystem='2.16.840.1.113883.5.4') or (@code='FLD' and @codeSystem='2.16.840.1.113883.5.4') or (@code='HH' and @codeSystem='2.16.840.1.113883.5.4') or (@code='VR' and @codeSystem='2.16.840.1.113883.5.4') or (@code='EXTERNE' and @codeSystem='1.2.250.1.213.1.1.4.2.291') or (@code='SEANCE' and @codeSystem='1.2.250.1.213.1.1.4.2.291')])&lt;=1">(CI-SISComponentOf): element hl7:code[(@code='IMP' and @codeSystem='2.16.840.1.113883.5.4') or (@code='EMER' and @codeSystem='2.16.840.1.113883.5.4') or (@code='AMB' and @codeSystem='2.16.840.1.113883.5.4') or (@code='FLD' and @codeSystem='2.16.840.1.113883.5.4') or (@code='HH' and @codeSystem='2.16.840.1.113883.5.4') or (@code='VR' and @codeSystem='2.16.840.1.113883.5.4') or (@code='EXTERNE' and @codeSystem='1.2.250.1.213.1.1.4.2.291') or (@code='SEANCE' and @codeSystem='1.2.250.1.213.1.1.4.2.291')] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:effectiveTime)&gt;=1">(CI-SISComponentOf): element hl7:effectiveTime is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:effectiveTime)&lt;=1">(CI-SISComponentOf): element hl7:effectiveTime appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:dischargeDispositionCode)&lt;=1">(CI-SISComponentOf): element hl7:dischargeDispositionCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:responsibleParty)&lt;=1">(CI-SISComponentOf): element hl7:responsibleParty appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]])&gt;=1">(CI-SISComponentOf): element hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]])&lt;=1">(CI-SISComponentOf): element hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:id" id="d510396e19-false-d510574e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISComponentOf): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@root">(CI-SISComponentOf): attribute @root SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@root) or matches(@root,'^[0-2](\.(0|[1-9]\d*))*$') or matches(@root,'^[A-Fa-f\d]{8}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{12}$') or matches(@root,'^[A-Za-z][A-Za-z\d\-]*$')">(CI-SISComponentOf): Attribute @root SHALL be of data type 'uid'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:code[(@code='IMP' and @codeSystem='2.16.840.1.113883.5.4') or (@code='EMER' and @codeSystem='2.16.840.1.113883.5.4') or (@code='AMB' and @codeSystem='2.16.840.1.113883.5.4') or (@code='FLD' and @codeSystem='2.16.840.1.113883.5.4') or (@code='HH' and @codeSystem='2.16.840.1.113883.5.4') or (@code='VR' and @codeSystem='2.16.840.1.113883.5.4') or (@code='EXTERNE' and @codeSystem='1.2.250.1.213.1.1.4.2.291') or (@code='SEANCE' and @codeSystem='1.2.250.1.213.1.1.4.2.291')]" id="d510396e27-false-d510596e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@nullFlavor or (@code='IMP' and @codeSystem='2.16.840.1.113883.5.4') or (@code='EMER' and @codeSystem='2.16.840.1.113883.5.4') or (@code='AMB' and @codeSystem='2.16.840.1.113883.5.4') or (@code='FLD' and @codeSystem='2.16.840.1.113883.5.4') or (@code='HH' and @codeSystem='2.16.840.1.113883.5.4') or (@code='VR' and @codeSystem='2.16.840.1.113883.5.4') or (@code='EXTERNE' and @codeSystem='1.2.250.1.213.1.1.4.2.291') or (@code='SEANCE' and @codeSystem='1.2.250.1.213.1.1.4.2.291')">(CI-SISComponentOf): The element value SHALL be one of 'code 'IMP' codeSystem '2.16.840.1.113883.5.4' or code 'EMER' codeSystem '2.16.840.1.113883.5.4' or code 'AMB' codeSystem '2.16.840.1.113883.5.4' or code 'FLD' codeSystem '2.16.840.1.113883.5.4' or code 'HH' codeSystem '2.16.840.1.113883.5.4' or code 'VR' codeSystem '2.16.840.1.113883.5.4' or code 'EXTERNE' codeSystem '1.2.250.1.213.1.1.4.2.291' or code 'SEANCE' codeSystem '1.2.250.1.213.1.1.4.2.291''.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@displayName">(CI-SISComponentOf): attribute @displayName SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@displayName) or string-length(@displayName)&gt;0">(CI-SISComponentOf): Attribute @displayName SHALL be of data type 'st'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:effectiveTime" id="d510396e70-false-d510640e0">
[INFO]         <extends rule="IVL_TS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='IVL_TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:IVL_TS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:low)&lt;=1">(CI-SISComponentOf): element hl7:low appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:high)&lt;=1">(CI-SISComponentOf): element hl7:high appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:effectiveTime/hl7:low" id="d510396e76-false-d510664e0">
[INFO]         <extends rule="IVXB_TS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='IVXB_TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:IVXB_TS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@value">(CI-SISComponentOf): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@value) or matches(string(@value), '^[0-9]{4,14}')">(CI-SISComponentOf): Attribute @value SHALL be of data type 'ts'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:effectiveTime/hl7:high" id="d510396e84-false-d510681e0">
[INFO]         <extends rule="IVXB_TS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='IVXB_TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:IVXB_TS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@value">(CI-SISComponentOf): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@value) or matches(string(@value), '^[0-9]{4,14}')">(CI-SISComponentOf): Attribute @value SHALL be of data type 'ts'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:dischargeDispositionCode" id="d510396e92-false-d510698e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@displayName">(CI-SISComponentOf): attribute @displayName SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@displayName) or string-length(@displayName)&gt;0">(CI-SISComponentOf): Attribute @displayName SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="string(@codeSystem)=('1.2.250.1.213.2.14') or not(@codeSystem)">(CI-SISComponentOf): The value for @codeSystem SHALL be '1.2.250.1.213.2.14'.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@code">(CI-SISComponentOf): attribute @code SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@code) or (string-length(@code)&gt;0 and not(matches(@code,'\s')))">(CI-SISComponentOf): Attribute @code SHALL be of data type 'cs'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty" id="d510396e107-false-d510737e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']])&gt;=1">(CI-SISComponentOf): element hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']])&lt;=1">(CI-SISComponentOf): element hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]" id="d510396e113-false-d510776e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:id[@root='1.2.250.1.71.4.2.1'])&gt;=1">(CI-SISComponentOf): element hl7:id[@root='1.2.250.1.71.4.2.1'] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:id[@root='1.2.250.1.71.4.2.1'])&lt;=1">(CI-SISComponentOf): element hl7:id[@root='1.2.250.1.71.4.2.1'] appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:assignedPerson)&lt;=1">(CI-SISComponentOf): element hl7:assignedPerson appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:representedOrganization)&lt;=1">(CI-SISComponentOf): element hl7:representedOrganization appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:id[@root='1.2.250.1.71.4.2.1']" id="d510396e121-false-d510842e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@extension">(CI-SISComponentOf): attribute @extension SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISComponentOf): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="string(@root)=('1.2.250.1.71.4.2.1')">(CI-SISComponentOf): The value for @root SHALL be '1.2.250.1.71.4.2.1'.</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr" id="d510843e76-false-d510865e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:country" id="d510843e94-false-d510963e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:state" id="d510843e98-false-d510973e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:city" id="d510843e102-false-d510983e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:postalCode" id="d510843e110-false-d510993e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:houseNumber" id="d510843e118-false-d511003e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:houseNumberNumeric" id="d510843e122-false-d511013e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetName" id="d510843e126-false-d511023e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetNameType" id="d510843e130-false-d511033e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:additionalLocator" id="d510843e175-false-d511043e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:unitID" id="d510843e190-false-d511053e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:postBox" id="d510843e200-false-d511063e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:precinct" id="d510843e204-false-d511073e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr" id="d510843e208-false-d511083e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d510843e226-false-d511139e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d510843e232-false-d511149e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d510843e236-false-d511159e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d510843e240-false-d511169e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d510843e244-false-d511179e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d510843e248-false-d511189e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:telecom" id="d511190e27-false-d511200e0">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:assignedPerson" id="d510396e126-false-d511221e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:name)&gt;=1">(CI-SISComponentOf): element hl7:name is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:name)&lt;=1">(CI-SISComponentOf): element hl7:name appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:assignedPerson/hl7:name" id="d510396e127-false-d511237e0">
[INFO]         <extends rule="PN" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='PN' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:PN", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:family)&gt;=1">(CI-SISComponentOf): element hl7:family is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:family)&lt;=1">(CI-SISComponentOf): element hl7:family appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:given)&lt;=1">(CI-SISComponentOf): element hl7:given appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:prefix)&lt;=1">(CI-SISComponentOf): element hl7:prefix appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization" id="d510396e140-false-d511298e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:id[@root='1.2.250.1.71.4.2.2'])&lt;=1">(CI-SISComponentOf): element hl7:id[@root='1.2.250.1.71.4.2.2'] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:name)&lt;=1">(CI-SISComponentOf): element hl7:name appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:standardIndustryClassCode)&lt;=1">(CI-SISComponentOf): element hl7:standardIndustryClassCode appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:id[@root='1.2.250.1.71.4.2.2']" id="d510396e141-false-d511355e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@extension">(CI-SISComponentOf): attribute @extension SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISComponentOf): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="string(@root)=('1.2.250.1.71.4.2.2')">(CI-SISComponentOf): The value for @root SHALL be '1.2.250.1.71.4.2.2'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:name" id="d510396e149-false-d511376e0">
[INFO]         <extends rule="ON" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ON' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ON", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr" id="d511377e70-false-d511388e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:country" id="d511377e88-false-d511486e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:state" id="d511377e92-false-d511496e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:city" id="d511377e96-false-d511506e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:postalCode" id="d511377e104-false-d511516e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:houseNumber" id="d511377e112-false-d511526e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:houseNumberNumeric" id="d511377e116-false-d511536e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetName" id="d511377e120-false-d511546e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetNameType" id="d511377e124-false-d511556e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:additionalLocator" id="d511377e169-false-d511566e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:unitID" id="d511377e184-false-d511576e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:postBox" id="d511377e194-false-d511586e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:precinct" id="d511377e198-false-d511596e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr" id="d511377e202-false-d511606e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d511377e220-false-d511662e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d511377e226-false-d511672e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d511377e230-false-d511682e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d511377e234-false-d511692e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d511377e238-false-d511702e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d511377e242-false-d511712e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:telecom" id="d511713e27-false-d511723e0">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:responsibleParty/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:standardIndustryClassCode" id="d510396e152-false-d511744e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@displayName">(CI-SISComponentOf): attribute @displayName SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@displayName) or string-length(@displayName)&gt;0">(CI-SISComponentOf): Attribute @displayName SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@codeSystem">(CI-SISComponentOf): attribute @codeSystem SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@codeSystem) or matches(@codeSystem,'^[0-2](\.(0|[1-9]\d*))*$')">(CI-SISComponentOf): Attribute @codeSystem SHALL be of data type 'oid'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@code">(CI-SISComponentOf): attribute @code SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@code) or (string-length(@code)&gt;0 and not(matches(@code,'\s')))">(CI-SISComponentOf): Attribute @code SHALL be of data type 'cs'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant" id="d510396e165-false-d511786e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']])&gt;=1">(CI-SISComponentOf): element hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']])&lt;=1">(CI-SISComponentOf): element hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]" id="d510396e171-false-d511825e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:id[@root='1.2.250.1.71.4.2.1'])&gt;=1">(CI-SISComponentOf): element hl7:id[@root='1.2.250.1.71.4.2.1'] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:id[@root='1.2.250.1.71.4.2.1'])&lt;=1">(CI-SISComponentOf): element hl7:id[@root='1.2.250.1.71.4.2.1'] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:assignedPerson)&lt;=1">(CI-SISComponentOf): element hl7:assignedPerson appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:representedOrganization)&lt;=1">(CI-SISComponentOf): element hl7:representedOrganization appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:id[@root='1.2.250.1.71.4.2.1']" id="d510396e179-false-d511881e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@extension">(CI-SISComponentOf): attribute @extension SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISComponentOf): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="string(@root)=('1.2.250.1.71.4.2.1')">(CI-SISComponentOf): The value for @root SHALL be '1.2.250.1.71.4.2.1'.</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr" id="d511882e76-false-d511904e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:country" id="d511882e94-false-d512002e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:state" id="d511882e98-false-d512012e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:city" id="d511882e102-false-d512022e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:postalCode" id="d511882e110-false-d512032e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:houseNumber" id="d511882e118-false-d512042e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:houseNumberNumeric" id="d511882e122-false-d512052e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetName" id="d511882e126-false-d512062e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetNameType" id="d511882e130-false-d512072e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:additionalLocator" id="d511882e175-false-d512082e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:unitID" id="d511882e190-false-d512092e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:postBox" id="d511882e200-false-d512102e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:precinct" id="d511882e204-false-d512112e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr" id="d511882e208-false-d512122e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d511882e226-false-d512178e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d511882e232-false-d512188e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d511882e236-false-d512198e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d511882e240-false-d512208e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d511882e244-false-d512218e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d511882e248-false-d512228e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:telecom" id="d512229e27-false-d512239e0">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:assignedPerson" id="d510396e184-false-d512260e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:name)&gt;=1">(CI-SISComponentOf): element hl7:name is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:name)&lt;=1">(CI-SISComponentOf): element hl7:name appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:assignedPerson/hl7:name" id="d510396e185-false-d512276e0">
[INFO]         <extends rule="PN" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='PN' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:PN", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:family)&gt;=1">(CI-SISComponentOf): element hl7:family is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:family)&lt;=1">(CI-SISComponentOf): element hl7:family appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:given)&lt;=1">(CI-SISComponentOf): element hl7:given appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:prefix)&lt;=1">(CI-SISComponentOf): element hl7:prefix appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization" id="d510396e189-false-d512337e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:id[@root='1.2.250.1.71.4.2.2'])&lt;=1">(CI-SISComponentOf): element hl7:id[@root='1.2.250.1.71.4.2.2'] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:name)&lt;=1">(CI-SISComponentOf): element hl7:name appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:standardIndustryClassCode)&lt;=1">(CI-SISComponentOf): element hl7:standardIndustryClassCode appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:id[@root='1.2.250.1.71.4.2.2']" id="d510396e190-false-d512384e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@extension">(CI-SISComponentOf): attribute @extension SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISComponentOf): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="string(@root)=('1.2.250.1.71.4.2.2')">(CI-SISComponentOf): The value for @root SHALL be '1.2.250.1.71.4.2.2'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:name" id="d510396e198-false-d512405e0">
[INFO]         <extends rule="ON" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ON' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ON", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr" id="d512406e70-false-d512417e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:country" id="d512406e88-false-d512515e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:state" id="d512406e92-false-d512525e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:city" id="d512406e96-false-d512535e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:postalCode" id="d512406e104-false-d512545e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:houseNumber" id="d512406e112-false-d512555e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:houseNumberNumeric" id="d512406e116-false-d512565e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetName" id="d512406e120-false-d512575e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetNameType" id="d512406e124-false-d512585e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:additionalLocator" id="d512406e169-false-d512595e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:unitID" id="d512406e184-false-d512605e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:postBox" id="d512406e194-false-d512615e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:precinct" id="d512406e198-false-d512625e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr" id="d512406e202-false-d512635e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d512406e220-false-d512691e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d512406e226-false-d512701e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d512406e230-false-d512711e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d512406e234-false-d512721e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d512406e238-false-d512731e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d512406e242-false-d512741e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:telecom" id="d512742e27-false-d512752e0">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:encounterParticipant/hl7:assignedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:representedOrganization/hl7:standardIndustryClassCode" id="d510396e201-false-d512773e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@displayName">(CI-SISComponentOf): attribute @displayName SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@displayName) or string-length(@displayName)&gt;0">(CI-SISComponentOf): Attribute @displayName SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@codeSystem">(CI-SISComponentOf): attribute @codeSystem SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@codeSystem) or matches(@codeSystem,'^[0-2](\.(0|[1-9]\d*))*$')">(CI-SISComponentOf): Attribute @codeSystem SHALL be of data type 'oid'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@code">(CI-SISComponentOf): attribute @code SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="not(@code) or (string-length(@code)&gt;0 and not(matches(@code,'\s')))">(CI-SISComponentOf): Attribute @code SHALL be of data type 'cs'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]" id="d510396e214-false-d512810e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]])&gt;=1">(CI-SISComponentOf): element hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]])&lt;=1">(CI-SISComponentOf): element hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]" id="d510396e220-false-d512838e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)])&gt;=1">(CI-SISComponentOf): element hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)])&lt;=1">(CI-SISComponentOf): element hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:location)&gt;=1">(CI-SISComponentOf): element hl7:location is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:location)&lt;=1">(CI-SISComponentOf): element hl7:location appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]" id="d510396e226-false-d512873e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <let name="theCode" value="@code" />
[INFO]         <let name="theCodeSystem" value="@codeSystem" />
[INFO]         <let name="theCodeSystemVersion" value="@codeSystemVersion" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="@nullFlavor or exists(doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1][conceptList/concept[@code = $theCode][@codeSystem = $theCodeSystem][not(@codeSystemVersion) or @codeSystemVersion=$theCodeSystemVersion] or completeCodeSystem[@codeSystem=$theCodeSystem][not(@codeSystemVersion) or @codeSystemVersion=$theCodeSystemVersion]])">(CI-SISComponentOf): The element value SHALL be one of '1.2.250.1.213.1.1.5.3 J02-HealthcareFacilityTypeCode (2018-01-05T00:00:00)'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location" id="d510396e236-false-d512894e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="count(hl7:name)&lt;=1">(CI-SISComponentOf): element hl7:name appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="$elmcount&lt;=1">(CI-SISComponentOf): choice (hl7:addr or hl7:addr) contains too many elements [max 1x]</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:name" id="d510396e242-false-d512928e0">
[INFO]         <extends rule="EN" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.2" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='EN' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISComponentOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:EN", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr" id="d512929e70-false-d512940e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:country" id="d512929e88-false-d513038e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:state" id="d512929e92-false-d513048e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:city" id="d512929e96-false-d513058e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:postalCode" id="d512929e104-false-d513068e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:houseNumber" id="d512929e112-false-d513078e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:houseNumberNumeric" id="d512929e116-false-d513088e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:streetName" id="d512929e120-false-d513098e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:streetNameType" id="d512929e124-false-d513108e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:additionalLocator" id="d512929e169-false-d513118e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:unitID" id="d512929e184-false-d513128e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:postBox" id="d512929e194-false-d513138e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:precinct" id="d512929e198-false-d513148e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr" id="d512929e202-false-d513158e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:streetAddressLine" id="d512929e220-false-d513214e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:streetAddressLine" id="d512929e226-false-d513224e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:streetAddressLine" id="d512929e230-false-d513234e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:streetAddressLine" id="d512929e234-false-d513244e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:streetAddressLine" id="d512929e238-false-d513254e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:componentOf[not(@nullFlavor)]/hl7:encompassingEncounter[not(@nullFlavor)]/hl7:location[hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]]/hl7:healthCareFacility[hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.3-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem)]]/hl7:location/hl7:addr/hl7:streetAddressLine" id="d512929e242-false-d513264e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:relatedDocument[@typeCode='RPLC']" id="d513265e48-false-d513275e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.3" test="string(@typeCode)=('RPLC')">(CI-SISRelatedDocument): The value for @typeCode SHALL be 'RPLC'.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.3" test="count(hl7:parentDocument[not(@nullFlavor)])&gt;=1">(CI-SISRelatedDocument): element hl7:parentDocument[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.3" test="count(hl7:parentDocument[not(@nullFlavor)])&lt;=1">(CI-SISRelatedDocument): element hl7:parentDocument[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:relatedDocument[@typeCode='RPLC']/hl7:parentDocument[not(@nullFlavor)]" id="d513265e50-false-d513295e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.3" test="count(hl7:id[not(@nullFlavor)])&gt;=1">(CI-SISRelatedDocument): element hl7:id[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.3" test="count(hl7:id[not(@nullFlavor)])&lt;=1">(CI-SISRelatedDocument): element hl7:id[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:relatedDocument[@typeCode='RPLC']/hl7:parentDocument[not(@nullFlavor)]/hl7:id[not(@nullFlavor)]" id="d513265e51-false-d513311e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.3" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISRelatedDocument): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.3" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISRelatedDocument): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.3" test="@root">(CI-SISRelatedDocument): attribute @root SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.3" test="not(@root) or matches(@root,'^[0-2](\.(0|[1-9]\d*))*$') or matches(@root,'^[A-Fa-f\d]{8}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{12}$') or matches(@root,'^[A-Za-z][A-Za-z\d\-]*$')">(CI-SISRelatedDocument): Attribute @root SHALL be of data type 'uid'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]" id="d513312e25-false-d513343e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:serviceEvent[not(@nullFlavor)])&gt;=1">(CI-SISDocumentationOf): element hl7:serviceEvent[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:serviceEvent[not(@nullFlavor)])&lt;=1">(CI-SISDocumentationOf): element hl7:serviceEvent[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]" id="d513312e26-false-d513379e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:code)&lt;=1">(CI-SISDocumentationOf): element hl7:code appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:effectiveTime)&lt;=1">(CI-SISDocumentationOf): element hl7:effectiveTime appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:performer[@typeCode='PRF'][not(@nullFlavor)])&lt;=1">(CI-SISDocumentationOf): element hl7:performer[@typeCode='PRF'][not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:code" id="d513312e34-false-d513416e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISDocumentationOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="not(@displayName) or string-length(@displayName)&gt;0">(CI-SISDocumentationOf): Attribute @displayName SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="@codeSystem">(CI-SISDocumentationOf): attribute @codeSystem SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="not(@codeSystem) or matches(@codeSystem,'^[0-2](\.(0|[1-9]\d*))*$')">(CI-SISDocumentationOf): Attribute @codeSystem SHALL be of data type 'oid'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="@code">(CI-SISDocumentationOf): attribute @code SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="not(@code) or (string-length(@code)&gt;0 and not(matches(@code,'\s')))">(CI-SISDocumentationOf): Attribute @code SHALL be of data type 'cs'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:effectiveTime" id="d513312e58-false-d513444e0">
[INFO]         <extends rule="IVL_TS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='IVL_TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISDocumentationOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:IVL_TS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:low)&gt;=1">(CI-SISDocumentationOf): element hl7:low is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:low)&lt;=1">(CI-SISDocumentationOf): element hl7:low appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:high)&lt;=1">(CI-SISDocumentationOf): element hl7:high appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:effectiveTime/hl7:low" id="d513312e62-false-d513471e0">
[INFO]         <extends rule="IVXB_TS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='IVXB_TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISDocumentationOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:IVXB_TS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="@value">(CI-SISDocumentationOf): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="not(@value) or matches(string(@value), '^[0-9]{4,14}')">(CI-SISDocumentationOf): Attribute @value SHALL be of data type 'ts'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:effectiveTime/hl7:high" id="d513312e70-false-d513488e0">
[INFO]         <extends rule="IVXB_TS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='IVXB_TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISDocumentationOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:IVXB_TS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="@value">(CI-SISDocumentationOf): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="not(@value) or matches(string(@value), '^[0-9]{4,14}')">(CI-SISDocumentationOf): Attribute @value SHALL be of data type 'ts'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]" id="d513312e78-false-d513515e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="string(@typeCode)=('PRF')">(CI-SISDocumentationOf): The value for @typeCode SHALL be 'PRF'.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:assignedEntity)&gt;=1">(CI-SISDocumentationOf): element hl7:assignedEntity is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:assignedEntity)&lt;=1">(CI-SISDocumentationOf): element hl7:assignedEntity appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity" id="d513312e117-false-d513555e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:id)&gt;=1">(CI-SISDocumentationOf): element hl7:id is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:id)&lt;=1">(CI-SISDocumentationOf): element hl7:id appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:assignedPerson)&lt;=1">(CI-SISDocumentationOf): element hl7:assignedPerson appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:representedOrganization)&gt;=1">(CI-SISDocumentationOf): element hl7:representedOrganization is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:representedOrganization)&lt;=1">(CI-SISDocumentationOf): element hl7:representedOrganization appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:id" id="d513312e130-false-d513622e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISDocumentationOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="@extension">(CI-SISDocumentationOf): attribute @extension SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISDocumentationOf): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="@root">(CI-SISDocumentationOf): attribute @root SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="not(@root) or matches(@root,'^[0-2](\.(0|[1-9]\d*))*$') or matches(@root,'^[A-Fa-f\d]{8}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{12}$') or matches(@root,'^[A-Za-z][A-Za-z\d\-]*$')">(CI-SISDocumentationOf): Attribute @root SHALL be of data type 'uid'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:telecom" id="d513623e35-false-d513647e0">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr" id="d513648e85-false-d513670e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:country" id="d513648e103-false-d513768e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:state" id="d513648e107-false-d513778e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:city" id="d513648e111-false-d513788e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:postalCode" id="d513648e119-false-d513798e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:houseNumber" id="d513648e127-false-d513808e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:houseNumberNumeric" id="d513648e131-false-d513818e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:streetName" id="d513648e135-false-d513828e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:streetNameType" id="d513648e139-false-d513838e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:additionalLocator" id="d513648e184-false-d513848e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:unitID" id="d513648e199-false-d513858e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:postBox" id="d513648e209-false-d513868e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:precinct" id="d513648e213-false-d513878e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr" id="d513648e217-false-d513888e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine" id="d513648e235-false-d513944e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine" id="d513648e241-false-d513954e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine" id="d513648e245-false-d513964e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine" id="d513648e249-false-d513974e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine" id="d513648e253-false-d513984e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine" id="d513648e257-false-d513994e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:assignedPerson/hl7:name" id="d513312e136-false-d514014e0">
[INFO]         <extends rule="PN" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='PN' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISDocumentationOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:PN", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:family)&gt;=1">(CI-SISDocumentationOf): element hl7:family is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:family)&lt;=1">(CI-SISDocumentationOf): element hl7:family appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:given)&lt;=1">(CI-SISDocumentationOf): element hl7:given appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:prefix)&lt;=1">(CI-SISDocumentationOf): element hl7:prefix appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization" id="d513312e143-false-d514074e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:id)&lt;=1">(CI-SISDocumentationOf): element hl7:id appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:name)&lt;=1">(CI-SISDocumentationOf): element hl7:name appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:standardIndustryClassCode[not(@nullFlavor)])&gt;=1">(CI-SISDocumentationOf): element hl7:standardIndustryClassCode[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="count(hl7:standardIndustryClassCode[not(@nullFlavor)])&lt;=1">(CI-SISDocumentationOf): element hl7:standardIndustryClassCode[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:id" id="d513312e147-false-d514133e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISDocumentationOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:name" id="d513312e148-false-d514143e0">
[INFO]         <extends rule="ON" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ON' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISDocumentationOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ON", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:telecom" id="d514144e27-false-d514154e0">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr" id="d514155e85-false-d514177e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:country" id="d514155e103-false-d514275e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:state" id="d514155e107-false-d514285e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:city" id="d514155e111-false-d514295e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:postalCode" id="d514155e119-false-d514305e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:houseNumber" id="d514155e127-false-d514315e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:houseNumberNumeric" id="d514155e131-false-d514325e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetName" id="d514155e135-false-d514335e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetNameType" id="d514155e139-false-d514345e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:additionalLocator" id="d514155e184-false-d514355e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:unitID" id="d514155e199-false-d514365e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:postBox" id="d514155e209-false-d514375e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:precinct" id="d514155e213-false-d514385e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr" id="d514155e217-false-d514395e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d514155e235-false-d514451e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d514155e241-false-d514461e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d514155e245-false-d514471e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d514155e249-false-d514481e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d514155e253-false-d514491e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine" id="d514155e257-false-d514501e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:documentationOf[not(@nullFlavor)]/hl7:serviceEvent[not(@nullFlavor)]/hl7:performer[@typeCode='PRF'][not(@nullFlavor)]/hl7:assignedEntity/hl7:representedOrganization/hl7:standardIndustryClassCode[not(@nullFlavor)]" id="d513312e151-false-d514511e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISDocumentationOf): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="@displayName">(CI-SISDocumentationOf): attribute @displayName SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="not(@displayName) or string-length(@displayName)&gt;0">(CI-SISDocumentationOf): Attribute @displayName SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="@codeSystem">(CI-SISDocumentationOf): attribute @codeSystem SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="not(@codeSystem) or matches(@codeSystem,'^[0-2](\.(0|[1-9]\d*))*$')">(CI-SISDocumentationOf): Attribute @codeSystem SHALL be of data type 'oid'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="@code">(CI-SISDocumentationOf): attribute @code SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.4" test="not(@code) or (string-length(@code)&gt;0 and not(matches(@code,'\s')))">(CI-SISDocumentationOf): Attribute @code SHALL be of data type 'cs'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]" id="d514512e29-false-d514548e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="count(hl7:assignedCustodian)&gt;=1">(CI-SISCustodian): element hl7:assignedCustodian is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="count(hl7:assignedCustodian)&lt;=1">(CI-SISCustodian): element hl7:assignedCustodian appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian" id="d514512e35-false-d514574e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="count(hl7:representedCustodianOrganization)&gt;=1">(CI-SISCustodian): element hl7:representedCustodianOrganization is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="count(hl7:representedCustodianOrganization)&lt;=1">(CI-SISCustodian): element hl7:representedCustodianOrganization appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization" id="d514512e41-false-d514600e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="count(hl7:id[not(@nullFlavor)])&gt;=1">(CI-SISCustodian): element hl7:id[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="count(hl7:id[not(@nullFlavor)])&lt;=1">(CI-SISCustodian): element hl7:id[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="count(hl7:name)&lt;=1">(CI-SISCustodian): element hl7:name appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="count(hl7:telecom)&lt;=1">(CI-SISCustodian): element hl7:telecom appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="$elmcount&lt;=1">(CI-SISCustodian): choice (hl7:addr or hl7:addr) contains too many elements [max 1x]</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:id[not(@nullFlavor)]" id="d514512e92-false-d514658e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISCustodian): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISCustodian): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="@root">(CI-SISCustodian): attribute @root SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="not(@root) or matches(@root,'^[0-2](\.(0|[1-9]\d*))*$') or matches(@root,'^[A-Fa-f\d]{8}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{12}$') or matches(@root,'^[A-Za-z][A-Za-z\d\-]*$')">(CI-SISCustodian): Attribute @root SHALL be of data type 'uid'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="hl7:custodian/hl7:representedCustodianOrganization/hl7:id/@root='1.2.250.1.71.4.2.2' or hl7:custodian/hl7:representedCustodianOrganization/hl7:id/@root='1.2.250.1.213.4.1'">(CI-SISCustodian): L'attribut @root doit avoir la valeur :
[INFO] - soit "1.2.250.1.71.4.2.2" pour l'OID des structures de santé
[INFO] - soit "1.2.250.1.213.4.1" pour l'OID de l'organisation hébergeant les documents produits par le patient</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:name" id="d514512e110-false-d514679e0">
[INFO]         <extends rule="ON" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.5" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ON' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISCustodian): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ON", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:telecom" id="d514680e27-false-d514690e0">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr" id="d514691e85-false-d514713e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:country" id="d514691e103-false-d514811e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:state" id="d514691e107-false-d514821e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:city" id="d514691e111-false-d514831e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:postalCode" id="d514691e119-false-d514841e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:houseNumber" id="d514691e127-false-d514851e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:houseNumberNumeric" id="d514691e131-false-d514861e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:streetName" id="d514691e135-false-d514871e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:streetNameType" id="d514691e139-false-d514881e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:additionalLocator" id="d514691e184-false-d514891e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:unitID" id="d514691e199-false-d514901e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:postBox" id="d514691e209-false-d514911e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:precinct" id="d514691e213-false-d514921e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr" id="d514691e217-false-d514931e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:streetAddressLine" id="d514691e235-false-d514987e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:streetAddressLine" id="d514691e241-false-d514997e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:streetAddressLine" id="d514691e245-false-d515007e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:streetAddressLine" id="d514691e249-false-d515017e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:streetAddressLine" id="d514691e253-false-d515027e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:custodian[not(@nullFlavor)]/hl7:assignedCustodian/hl7:representedCustodianOrganization/hl7:addr/hl7:streetAddressLine" id="d514691e257-false-d515037e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]" id="d515038e25-false-d515059e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:time)&gt;=1">(CI-SISLegalAuthenticator): element hl7:time is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:time)&lt;=1">(CI-SISLegalAuthenticator): element hl7:time appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:signatureCode[@code='S' or @nullFlavor])&gt;=1">(CI-SISLegalAuthenticator): element hl7:signatureCode[@code='S' or @nullFlavor] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:signatureCode[@code='S' or @nullFlavor])&lt;=1">(CI-SISLegalAuthenticator): element hl7:signatureCode[@code='S' or @nullFlavor] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:assignedEntity)&gt;=1">(CI-SISLegalAuthenticator): element hl7:assignedEntity is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:assignedEntity)&lt;=1">(CI-SISLegalAuthenticator): element hl7:assignedEntity appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:time" id="d515038e26-false-d515106e0">
[INFO]         <extends rule="TS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISLegalAuthenticator): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="not(*)">(CI-SISLegalAuthenticator): <value-of select="local-name()" /> with datatype TS, SHOULD NOT have child elements.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="@value">(CI-SISLegalAuthenticator): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="not(@value) or matches(string(@value), '^[0-9]{4,14}')">(CI-SISLegalAuthenticator): Attribute @value SHALL be of data type 'ts'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:signatureCode[@code='S' or @nullFlavor]" id="d515038e34-false-d515127e0">
[INFO]         <extends rule="CS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISLegalAuthenticator): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="@nullFlavor or (@code='S')">(CI-SISLegalAuthenticator): The element value SHALL be one of 'code 'S''.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity" id="d515038e41-false-d515153e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:id[not(@nullFlavor)])&gt;=1">(CI-SISLegalAuthenticator): element hl7:id[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:id[not(@nullFlavor)])&lt;=1">(CI-SISLegalAuthenticator): element hl7:id[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:assignedPerson[not(@nullFlavor)])&gt;=1">(CI-SISLegalAuthenticator): element hl7:assignedPerson[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:assignedPerson[not(@nullFlavor)])&lt;=1">(CI-SISLegalAuthenticator): element hl7:assignedPerson[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']])&lt;=1">(CI-SISLegalAuthenticator): element hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:id[not(@nullFlavor)]" id="d515038e51-false-d515221e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISLegalAuthenticator): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="@root">(CI-SISLegalAuthenticator): attribute @root SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="not(@root) or matches(@root,'^[0-2](\.(0|[1-9]\d*))*$') or matches(@root,'^[A-Fa-f\d]{8}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{12}$') or matches(@root,'^[A-Za-z][A-Za-z\d\-]*$')">(CI-SISLegalAuthenticator): Attribute @root SHALL be of data type 'uid'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="@extension">(CI-SISLegalAuthenticator): attribute @extension SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISLegalAuthenticator): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr" id="d515222e78-false-d515247e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:country" id="d515222e96-false-d515345e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:state" id="d515222e100-false-d515355e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:city" id="d515222e104-false-d515365e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:postalCode" id="d515222e112-false-d515375e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:houseNumber" id="d515222e120-false-d515385e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:houseNumberNumeric" id="d515222e124-false-d515395e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:streetName" id="d515222e128-false-d515405e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:streetNameType" id="d515222e132-false-d515415e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:additionalLocator" id="d515222e177-false-d515425e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:unitID" id="d515222e192-false-d515435e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:postBox" id="d515222e202-false-d515445e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:precinct" id="d515222e206-false-d515455e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr" id="d515222e210-false-d515465e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine" id="d515222e228-false-d515521e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine" id="d515222e234-false-d515531e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine" id="d515222e238-false-d515541e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine" id="d515222e242-false-d515551e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine" id="d515222e246-false-d515561e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine" id="d515222e250-false-d515571e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:telecom" id="d515572e27-false-d515582e0">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:assignedPerson[not(@nullFlavor)]" id="d515038e73-false-d515603e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:name[not(@nullFlavor)])&gt;=1">(CI-SISLegalAuthenticator): element hl7:name[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:name[not(@nullFlavor)])&lt;=1">(CI-SISLegalAuthenticator): element hl7:name[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:assignedPerson[not(@nullFlavor)]/hl7:name[not(@nullFlavor)]" id="d515038e80-false-d515619e0">
[INFO]         <extends rule="PN" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='PN' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISLegalAuthenticator): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:PN", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:family)&gt;=1">(CI-SISLegalAuthenticator): element hl7:family is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:family)&lt;=1">(CI-SISLegalAuthenticator): element hl7:family appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:given)&lt;=1">(CI-SISLegalAuthenticator): element hl7:given appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:prefix)&lt;=1">(CI-SISLegalAuthenticator): element hl7:prefix appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]" id="d515038e90-false-d515680e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:id[@root='1.2.250.1.71.4.2.2'])&gt;=1">(CI-SISLegalAuthenticator): element hl7:id[@root='1.2.250.1.71.4.2.2'] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:id[@root='1.2.250.1.71.4.2.2'])&lt;=1">(CI-SISLegalAuthenticator): element hl7:id[@root='1.2.250.1.71.4.2.2'] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:name)&lt;=1">(CI-SISLegalAuthenticator): element hl7:name appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="count(hl7:standardIndustryClassCode)&lt;=1">(CI-SISLegalAuthenticator): element hl7:standardIndustryClassCode appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:id[@root='1.2.250.1.71.4.2.2']" id="d515038e91-false-d515741e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISLegalAuthenticator): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="@extension">(CI-SISLegalAuthenticator): attribute @extension SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISLegalAuthenticator): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="string(@root)=('1.2.250.1.71.4.2.2')">(CI-SISLegalAuthenticator): The value for @root SHALL be '1.2.250.1.71.4.2.2'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:name" id="d515038e94-false-d515762e0">
[INFO]         <extends rule="ON" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ON' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISLegalAuthenticator): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ON", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:standardIndustryClassCode" id="d515038e95-false-d515772e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISLegalAuthenticator): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="@displayName">(CI-SISLegalAuthenticator): attribute @displayName SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="not(@displayName) or string-length(@displayName)&gt;0">(CI-SISLegalAuthenticator): Attribute @displayName SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="@codeSystem">(CI-SISLegalAuthenticator): attribute @codeSystem SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="not(@codeSystem) or matches(@codeSystem,'^[0-2](\.(0|[1-9]\d*))*$')">(CI-SISLegalAuthenticator): Attribute @codeSystem SHALL be of data type 'oid'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="@code">(CI-SISLegalAuthenticator): attribute @code SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.6" test="not(@code) or (string-length(@code)&gt;0 and not(matches(@code,'\s')))">(CI-SISLegalAuthenticator): Attribute @code SHALL be of data type 'cs'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:telecom" id="d515773e39-false-d515804e0">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr" id="d515805e85-false-d515827e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:country" id="d515805e103-false-d515925e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:state" id="d515805e107-false-d515935e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:city" id="d515805e111-false-d515945e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:postalCode" id="d515805e119-false-d515955e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:houseNumber" id="d515805e127-false-d515965e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:houseNumberNumeric" id="d515805e131-false-d515975e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:streetName" id="d515805e135-false-d515985e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:streetNameType" id="d515805e139-false-d515995e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:additionalLocator" id="d515805e184-false-d516005e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:unitID" id="d515805e199-false-d516015e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:postBox" id="d515805e209-false-d516025e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:precinct" id="d515805e213-false-d516035e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr" id="d515805e217-false-d516045e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:streetAddressLine" id="d515805e235-false-d516101e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:streetAddressLine" id="d515805e241-false-d516111e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:streetAddressLine" id="d515805e245-false-d516121e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:streetAddressLine" id="d515805e249-false-d516131e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:streetAddressLine" id="d515805e253-false-d516141e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:legalAuthenticator[hl7:signatureCode[@code='S' or @nullFlavor]]/hl7:assignedEntity/hl7:representedOrganization[hl7:id[@root='1.2.250.1.71.4.2.2']]/hl7:addr/hl7:streetAddressLine" id="d515805e257-false-d516151e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]" id="d516152e99-false-d516168e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:functionCode[(@code='ADMPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ATTPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='DISPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PRISURG' and @codeSystem='2.16.840.1.113883.5.88') or (@code='FASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='SASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='NASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANEST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANRS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='MDWF' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PCP' and @codeSystem='2.16.840.1.113883.5.88') or (@code='CORRE' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='REMPL' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='GYNEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='OPHTA' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PSYCH' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='CARDT' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PRELV' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='ASPEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='APSIN' and @codeSystem='1.2.250.1.213.1.1.4.2.280')])&lt;=1">(CI-SISAuthor): element hl7:functionCode[(@code='ADMPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ATTPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='DISPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PRISURG' and @codeSystem='2.16.840.1.113883.5.88') or (@code='FASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='SASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='NASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANEST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANRS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='MDWF' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PCP' and @codeSystem='2.16.840.1.113883.5.88') or (@code='CORRE' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='REMPL' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='GYNEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='OPHTA' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PSYCH' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='CARDT' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PRELV' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='ASPEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='APSIN' and @codeSystem='1.2.250.1.213.1.1.4.2.280')] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:time)&gt;=1">(CI-SISAuthor): element hl7:time is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:time)&lt;=1">(CI-SISAuthor): element hl7:time appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:assignedAuthor[not(@nullFlavor)])&gt;=1">(CI-SISAuthor): element hl7:assignedAuthor[not(@nullFlavor)] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:assignedAuthor[not(@nullFlavor)])&lt;=1">(CI-SISAuthor): element hl7:assignedAuthor[not(@nullFlavor)] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:functionCode[(@code='ADMPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ATTPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='DISPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PRISURG' and @codeSystem='2.16.840.1.113883.5.88') or (@code='FASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='SASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='NASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANEST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANRS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='MDWF' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PCP' and @codeSystem='2.16.840.1.113883.5.88') or (@code='CORRE' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='REMPL' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='GYNEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='OPHTA' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PSYCH' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='CARDT' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PRELV' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='ASPEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='APSIN' and @codeSystem='1.2.250.1.213.1.1.4.2.280')]" id="d516152e100-false-d516208e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAuthor): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="@nullFlavor or (@code='ADMPHYS' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='médecin ayant admis le patient dans la structure de soins') or (@code='ATTPHYS' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='médecin responsable du patient dans la structure de soins') or (@code='DISPHYS' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='médecin ayant décidé la sortie du patient de la structure de soins') or (@code='PRISURG' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='médecin intervenant principal') or (@code='FASST' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='premier assistant lors de l’intervention') or (@code='SASST' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='second assistant lors de l’intervention') or (@code='NASST' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='infirmier(e)') or (@code='ANEST' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='médecin anesthésiste') or (@code='ANRS' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='infirmier(e) anesthésiste') or (@code='MDWF' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='sage-femme') or (@code='PCP' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='médecin traitant') or (@code='CORRE' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='médecin correspondant') or (@code='REMPL' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='médecin remplaçant du médecin traitant') or (@code='GYNEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='gynécologue') or (@code='OPHTA' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='ophtalmologue') or (@code='PSYCH' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='psychiatre ou neuropsychiatre') or (@code='CARDT' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='cardiologue traitant') or (@code='PRELV' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='préleveur d’échantillons biologiques pour l’exécution d’une prescription d’examens biologiques') or (@code='ASPEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='autre spécialiste') or (@code='APSIN' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='autre PS informateur')">(CI-SISAuthor): The element value SHALL be one of 'code 'ADMPHYS' codeSystem '2.16.840.1.113883.5.88' displayName='médecin ayant admis le patient dans la structure de soins' or code 'ATTPHYS' codeSystem '2.16.840.1.113883.5.88' displayName='médecin responsable du patient dans la structure de soins' or code 'DISPHYS' codeSystem '2.16.840.1.113883.5.88' displayName='médecin ayant décidé la sortie du patient de la structure de soins' or code 'PRISURG' codeSystem '2.16.840.1.113883.5.88' displayName='médecin intervenant principal' or code 'FASST' codeSystem '2.16.840.1.113883.5.88' displayName='premier assistant lors de l’intervention' or code 'SASST' codeSystem '2.16.840.1.113883.5.88' displayName='second assistant lors de l’intervention' or code 'NASST' codeSystem '2.16.840.1.113883.5.88' displayName='infirmier(e)' or code 'ANEST' codeSystem '2.16.840.1.113883.5.88' displayName='médecin anesthésiste' or code 'ANRS' codeSystem '2.16.840.1.113883.5.88' displayName='infirmier(e) anesthésiste' or code 'MDWF' codeSystem '2.16.840.1.113883.5.88' displayName='sage-femme' or code 'PCP' codeSystem '2.16.840.1.113883.5.88' displayName='médecin traitant' or code 'CORRE' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='médecin correspondant' or code 'REMPL' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='médecin remplaçant du médecin traitant' or code 'GYNEC' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='gynécologue' or code 'OPHTA' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='ophtalmologue' or code 'PSYCH' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='psychiatre ou neuropsychiatre' or code 'CARDT' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='cardiologue traitant' or code 'PRELV' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='préleveur d’échantillons biologiques pour l’exécution d’une prescription d’examens biologiques' or code 'ASPEC' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='autre spécialiste' or code 'APSIN' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='autre PS informateur''.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="not(@displayName) or string-length(@displayName)&gt;0">(CI-SISAuthor): Attribute @displayName SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="@codeSystem">(CI-SISAuthor): attribute @codeSystem SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="not(@codeSystem) or matches(@codeSystem,'^[0-2](\.(0|[1-9]\d*))*$')">(CI-SISAuthor): Attribute @codeSystem SHALL be of data type 'oid'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="@code">(CI-SISAuthor): attribute @code SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="not(@code) or (string-length(@code)&gt;0 and not(matches(@code,'\s')))">(CI-SISAuthor): Attribute @code SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:originalText)&lt;=1">(CI-SISAuthor): element hl7:originalText appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:functionCode[(@code='ADMPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ATTPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='DISPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PRISURG' and @codeSystem='2.16.840.1.113883.5.88') or (@code='FASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='SASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='NASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANEST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANRS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='MDWF' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PCP' and @codeSystem='2.16.840.1.113883.5.88') or (@code='CORRE' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='REMPL' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='GYNEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='OPHTA' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PSYCH' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='CARDT' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PRELV' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='ASPEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='APSIN' and @codeSystem='1.2.250.1.213.1.1.4.2.280')]/hl7:originalText" id="d516152e180-false-d516306e0">
[INFO]         <extends rule="ED" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ED' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAuthor): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ED", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:time" id="d516152e186-false-d516316e0">
[INFO]         <extends rule="TS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAuthor): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="not(*)">(CI-SISAuthor): <value-of select="local-name()" /> with datatype TS, SHOULD NOT have child elements.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="@value">(CI-SISAuthor): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="not(@value) or matches(string(@value), '^[0-9]{4,14}')">(CI-SISAuthor): Attribute @value SHALL be of data type 'ts'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]" id="d516152e194-false-d516342e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:id)&gt;=1">(CI-SISAuthor): element hl7:id is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:id)&lt;=1">(CI-SISAuthor): element hl7:id appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.1-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor])&lt;=1">(CI-SISAuthor): element hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.1-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor] appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:assignedPerson)&lt;=1">(CI-SISAuthor): element hl7:assignedPerson appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:assignedAuthoringDevice)&lt;=1">(CI-SISAuthor): element hl7:assignedAuthoringDevice appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:representedOrganization)&lt;=1">(CI-SISAuthor): element hl7:representedOrganization appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:id" id="d516152e205-false-d516416e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAuthor): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="@root">(CI-SISAuthor): attribute @root SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="not(@root) or matches(@root,'^[0-2](\.(0|[1-9]\d*))*$') or matches(@root,'^[A-Fa-f\d]{8}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{12}$') or matches(@root,'^[A-Za-z][A-Za-z\d\-]*$')">(CI-SISAuthor): Attribute @root SHALL be of data type 'uid'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="@extension">(CI-SISAuthor): attribute @extension SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISAuthor): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.1-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor]" id="d516152e223-false-d516443e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAuthor): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <let name="theCode" value="@code" />
[INFO]         <let name="theCodeSystem" value="@codeSystem" />
[INFO]         <let name="theCodeSystemVersion" value="@codeSystemVersion" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="@nullFlavor or exists(doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.1-DYNAMIC.xml')//valueSet[1][conceptList/concept[@code = $theCode][@codeSystem = $theCodeSystem][not(@codeSystemVersion) or @codeSystemVersion=$theCodeSystemVersion] or completeCodeSystem[@codeSystem=$theCodeSystem][not(@codeSystemVersion) or @codeSystemVersion=$theCodeSystemVersion]])">(CI-SISAuthor): The element value SHALL be one of '1.2.250.1.213.1.1.5.1 JDV_J01-XdsAuthorSpecialty-CISIS (DYNAMIC)'.</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr" id="d516444e75-false-d516466e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:country" id="d516444e93-false-d516564e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:state" id="d516444e97-false-d516574e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:city" id="d516444e101-false-d516584e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:postalCode" id="d516444e109-false-d516594e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:houseNumber" id="d516444e117-false-d516604e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:houseNumberNumeric" id="d516444e121-false-d516614e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:streetName" id="d516444e125-false-d516624e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:streetNameType" id="d516444e129-false-d516634e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:additionalLocator" id="d516444e174-false-d516644e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:unitID" id="d516444e189-false-d516654e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:postBox" id="d516444e199-false-d516664e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:precinct" id="d516444e203-false-d516674e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr" id="d516444e207-false-d516684e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:streetAddressLine" id="d516444e225-false-d516740e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:streetAddressLine" id="d516444e231-false-d516750e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:streetAddressLine" id="d516444e235-false-d516760e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:streetAddressLine" id="d516444e239-false-d516770e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:streetAddressLine" id="d516444e243-false-d516780e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:addr/hl7:streetAddressLine" id="d516444e247-false-d516790e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:telecom" id="d516791e27-false-d516801e0">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:assignedPerson" id="d516152e259-false-d516822e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:name)&gt;=1">(CI-SISAuthor): element hl7:name is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:name)&lt;=1">(CI-SISAuthor): element hl7:name appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:assignedPerson/hl7:name" id="d516152e265-false-d516838e0">
[INFO]         <extends rule="PN" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='PN' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAuthor): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:PN", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:family)&gt;=1">(CI-SISAuthor): element hl7:family is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:family)&lt;=1">(CI-SISAuthor): element hl7:family appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:given)&lt;=1">(CI-SISAuthor): element hl7:given appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:prefix[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.24-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor])&lt;=1">(CI-SISAuthor): element hl7:prefix[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.24-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:assignedPerson/hl7:name/hl7:prefix[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.24-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor]" id="d516152e295-false-d516892e0">
[INFO]         <let name="theCode" value="@code" />
[INFO]         <let name="theCodeSystem" value="@codeSystem" />
[INFO]         <let name="theCodeSystemVersion" value="@codeSystemVersion" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="@nullFlavor or exists(doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.24-2018-01-05T000000.xml')//valueSet[1][conceptList/concept[@code = $theCode][@codeSystem = $theCodeSystem][not(@codeSystemVersion) or @codeSystemVersion=$theCodeSystemVersion] or completeCodeSystem[@codeSystem=$theCodeSystem][not(@codeSystemVersion) or @codeSystemVersion=$theCodeSystemVersion]])">(CI-SISAuthor): The element value SHALL be one of '1.2.250.1.213.1.1.5.24 JDV_J12-CiviliteTitre (2018-01-05T00:00:00)'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:assignedAuthoringDevice" id="d516152e302-false-d516906e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:manufacturerModelName)&lt;=1">(CI-SISAuthor): element hl7:manufacturerModelName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:softwareName)&lt;=1">(CI-SISAuthor): element hl7:softwareName appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:assignedAuthoringDevice/hl7:manufacturerModelName" id="d516152e308-false-d516926e0">
[INFO]         <extends rule="SC" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='SC' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAuthor): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:SC", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:assignedAuthoringDevice/hl7:softwareName" id="d516152e314-false-d516936e0">
[INFO]         <extends rule="SC" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='SC' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAuthor): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:SC", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:representedOrganization" id="d516152e320-false-d516946e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:id[@root='1.2.250.1.71.4.2.2'])&lt;=1">(CI-SISAuthor): element hl7:id[@root='1.2.250.1.71.4.2.2'] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="count(hl7:name)&lt;=1">(CI-SISAuthor): element hl7:name appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:representedOrganization/hl7:id[@root='1.2.250.1.71.4.2.2']" id="d516152e326-false-d516968e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAuthor): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="@extension">(CI-SISAuthor): attribute @extension SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISAuthor): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="string(@root)=('1.2.250.1.71.4.2.2')">(CI-SISAuthor): The value for @root SHALL be '1.2.250.1.71.4.2.2'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:author[not(@nullFlavor)]/hl7:assignedAuthor[not(@nullFlavor)]/hl7:representedOrganization/hl7:name" id="d516152e339-false-d516989e0">
[INFO]         <extends rule="ON" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.7" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ON' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAuthor): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ON", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant" id="d516990e29-false-d517030e0">
[INFO]         <let name="elmcount" value="count(hl7:assignedEntity|hl7:relatedEntity)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.12" test="$elmcount&gt;=1">(CI-SISInformant): choice (hl7:assignedEntity or hl7:relatedEntity) does not contain enough elements [min 1x]</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.12" test="$elmcount&lt;=1">(CI-SISInformant): choice (hl7:assignedEntity or hl7:relatedEntity) contains too many elements [max 1x]</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.12" test="count(hl7:assignedEntity)&lt;=1">(CI-SISInformant): element hl7:assignedEntity appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.12" test="count(hl7:relatedEntity)&lt;=1">(CI-SISInformant): element hl7:relatedEntity appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:id)&gt;=1">(CI-SISAssignedEntity): element hl7:id is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:id)&lt;=1">(CI-SISAssignedEntity): element hl7:id appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:assignedPerson)&lt;=1">(CI-SISAssignedEntity): element hl7:assignedPerson appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:representedOrganization)&lt;=1">(CI-SISAssignedEntity): element hl7:representedOrganization appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:id">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="@root">(CI-SISAssignedEntity): attribute @root SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="not(@root) or matches(@root,'^[0-2](\.(0|[1-9]\d*))*$') or matches(@root,'^[A-Fa-f\d]{8}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{12}$') or matches(@root,'^[A-Za-z][A-Za-z\d\-]*$')">(CI-SISAssignedEntity): Attribute @root SHALL be of data type 'uid'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="@extension">(CI-SISAssignedEntity): attribute @extension SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISAssignedEntity): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:country">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:state">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:city">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:postalCode">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:houseNumber">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:houseNumberNumeric">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:streetName">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:streetNameType">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:additionalLocator">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:unitID">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:postBox">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:precinct">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:telecom">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:assignedPerson">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:name)&gt;=1">(CI-SISAssignedEntity): element hl7:name is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:name)&lt;=1">(CI-SISAssignedEntity): element hl7:name appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:assignedPerson/hl7:name">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:prefix)&lt;=1">(CI-SISAssignedEntity): element hl7:prefix appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:given)&lt;=1">(CI-SISAssignedEntity): element hl7:given appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:family)&gt;=1">(CI-SISAssignedEntity): element hl7:family is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:family)&lt;=1">(CI-SISAssignedEntity): element hl7:family appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:id[@root='1.2.250.1.71.4.2.2'])&lt;=1">(CI-SISAssignedEntity): element hl7:id[@root='1.2.250.1.71.4.2.2'] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:name)&lt;=1">(CI-SISAssignedEntity): element hl7:name appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="count(hl7:standardIndustryClassCode[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.4-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor])&lt;=1">(CI-SISAssignedEntity): element hl7:standardIndustryClassCode[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.4-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:id[@root='1.2.250.1.71.4.2.2']">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="@extension">(CI-SISAssignedEntity): attribute @extension SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISAssignedEntity): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="string(@root)=('1.2.250.1.71.4.2.2')">(CI-SISAssignedEntity): The value for @root SHALL be '1.2.250.1.71.4.2.2'.</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:country">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:state">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:city">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:postalCode">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:houseNumber">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:houseNumberNumeric">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetName">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetNameType">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:additionalLocator">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:unitID">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:postBox">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:precinct">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:telecom">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:assignedEntity/hl7:representedOrganization/hl7:standardIndustryClassCode[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.4-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor]">
[INFO]         <let name="theCode" value="@code" />
[INFO]         <let name="theCodeSystem" value="@codeSystem" />
[INFO]         <let name="theCodeSystemVersion" value="@codeSystemVersion" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.14" test="@nullFlavor or exists(doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.4-2018-01-05T000000.xml')//valueSet[1][conceptList/concept[@code = $theCode][@codeSystem = $theCodeSystem][not(@codeSystemVersion) or @codeSystemVersion=$theCodeSystemVersion] or completeCodeSystem[@codeSystem=$theCodeSystem][not(@codeSystemVersion) or @codeSystemVersion=$theCodeSystemVersion]])">(CI-SISAssignedEntity): The element value SHALL be one of '1.2.250.1.213.1.1.5.4 J04-XdsPracticeSettingCode (2018-01-05T00:00:00)'.</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="@classCode">(CI-SISRelatedEntity): attribute @classCode SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="not(@classCode) or (string-length(@classCode)&gt;0 and not(matches(@classCode,'\s')))">(CI-SISRelatedEntity): Attribute @classCode SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="@classCode='ECON' or @classCode='GUARD' or @classCode='QUAL' or @classCode='POLHOLD' or @classCode='CON'">(CI-SISRelatedEntity): @classCode doit être renseigné avec une de ces valeurs :
[INFO] "ECON" pour personne à prévenir en cas d’urgence
[INFO] "GUARD" pour rôle de tuteur légal
[INFO] "QUAL" pour personne de confiance
[INFO] "POLHOLD" pour assuré ouvrant droit
[INFO] "CON" pour informateur</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="count(hl7:code)&lt;=1">(CI-SISRelatedEntity): element hl7:code appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="$elmcount&gt;=1">(CI-SISRelatedEntity): choice (hl7:addr or hl7:addr) does not contain enough elements [min 1x]</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="count(hl7:telecom)&gt;=1">(CI-SISRelatedEntity): element hl7:telecom is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="count(hl7:relatedPerson)&gt;=1">(CI-SISRelatedEntity): element hl7:relatedPerson is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="count(hl7:relatedPerson)&lt;=1">(CI-SISRelatedEntity): element hl7:relatedPerson appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:code">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="@displayName">(CI-SISRelatedEntity): attribute @displayName SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="not(@displayName) or string-length(@displayName)&gt;0">(CI-SISRelatedEntity): Attribute @displayName SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="@codeSystem">(CI-SISRelatedEntity): attribute @codeSystem SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="not(@codeSystem) or matches(@codeSystem,'^[0-2](\.(0|[1-9]\d*))*$')">(CI-SISRelatedEntity): Attribute @codeSystem SHALL be of data type 'oid'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="@code">(CI-SISRelatedEntity): attribute @code SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="not(@code) or (string-length(@code)&gt;0 and not(matches(@code,'\s')))">(CI-SISRelatedEntity): Attribute @code SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="count(hl7:originalText)&lt;=1">(CI-SISRelatedEntity): element hl7:originalText appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO] 
[INFO] 
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:country">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:state">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:city">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:postalCode">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:houseNumber">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:houseNumberNumeric">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:streetName">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:streetNameType">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:additionalLocator">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:unitID">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:postBox">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:precinct">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:addr/hl7:streetAddressLine">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:telecom">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISTelecom): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@value">(CI-SISTelecom): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@value) or string(@value castable as xs:anyURI)">(CI-SISTelecom): Attribute @value SHALL be of data type 'url'<value-of select="@value" />
[INFO]         </assert>
[INFO]         <let name="prefix" value="substring-before(@value, ':')" />
[INFO]         <let name="suffix" value="substring-after(@value, ':')" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(             (count(@*) = 1 and name(@*) = 'nullFlavor' and             (@* = 'UNK' or @* = 'NASK' or @* = 'ASKU' or @* = 'NAV' or @* = 'MSK')) or             ($suffix and (             $prefix = 'tel' or              $prefix = 'fax' or              $prefix = 'mailto' or              $prefix = 'http' or              $prefix = 'ftp' or              $prefix = 'mllp'))             )">(CI-SISTelecom): Erreur de conformité CI-SIS : <name /> n'est pas conforme à une adresse de télécommunication préfixe:chaîne 
[INFO]             (avec préfixe = tel, fax, mailto, http, ftp ou mllp) 
[INFO]             ou est vide et sans nullFlavor, ou contient un nullFlavor non admis.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="@use = 'H'                      or @use = 'HP'                      or @use = 'HV'                      or @use = 'WP'                     or @use = 'DIR'                      or @use = 'PUB'                      or @use = 'EC'                      or @use = 'MC'                      or @use = 'PG'                      or not(@use)">(CI-SISTelecom): Erreur de conformité CI-SIS : L'attribut use de l'élément telecom n'est pas conforme. 
[INFO]             Il est facultatif et les valeurs permises sont 'H','HP', 'HV','WP','DIR','PUB','EC','MC','PG'.</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:relatedPerson">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="count(hl7:name)&gt;=1">(CI-SISRelatedEntity): element hl7:name is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="count(hl7:name)&lt;=1">(CI-SISRelatedEntity): element hl7:name appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:informant/hl7:relatedEntity/hl7:relatedPerson/hl7:name">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="count(hl7:family)&gt;=1">(CI-SISRelatedEntity): element hl7:family is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="count(hl7:family)&lt;=1">(CI-SISRelatedEntity): element hl7:family appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.13" test="count(hl7:given)&lt;=1">(CI-SISRelatedEntity): element hl7:given appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO] 
[INFO]    
[INFO] 
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant" id="d518685e22-false-d518698e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="@typeCode">(CI-SISParticipant): attribute @typeCode SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="not(@typeCode) or (string-length(@typeCode)&gt;0 and not(matches(@typeCode,'\s')))">(CI-SISParticipant): Attribute @typeCode SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:functionCode[(@code='ADMPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ATTPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='DISPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PRISURG' and @codeSystem='2.16.840.1.113883.5.88') or (@code='FASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='SASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='NASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANEST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANRS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='MDWF' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PCP' and @codeSystem='2.16.840.1.113883.5.88') or (@code='CORRE' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='REMPL' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='GYNEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='OPHTA' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PSYCH' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='CARDT' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PRELV' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='ASPEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='APSIN' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or @nullFlavor])&lt;=1">(CI-SISParticipant): element hl7:functionCode[(@code='ADMPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ATTPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='DISPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PRISURG' and @codeSystem='2.16.840.1.113883.5.88') or (@code='FASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='SASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='NASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANEST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANRS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='MDWF' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PCP' and @codeSystem='2.16.840.1.113883.5.88') or (@code='CORRE' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='REMPL' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='GYNEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='OPHTA' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PSYCH' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='CARDT' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PRELV' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='ASPEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='APSIN' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or @nullFlavor] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:time)&gt;=1">(CI-SISParticipant): element hl7:time is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:time)&lt;=1">(CI-SISParticipant): element hl7:time appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']])&gt;=1">(CI-SISParticipant): element hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']] is mandatory [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']])&lt;=1">(CI-SISParticipant): element hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']] appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:functionCode[(@code='ADMPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ATTPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='DISPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PRISURG' and @codeSystem='2.16.840.1.113883.5.88') or (@code='FASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='SASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='NASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANEST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANRS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='MDWF' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PCP' and @codeSystem='2.16.840.1.113883.5.88') or (@code='CORRE' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='REMPL' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='GYNEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='OPHTA' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PSYCH' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='CARDT' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PRELV' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='ASPEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='APSIN' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or @nullFlavor]" id="d518685e43-false-d518746e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISParticipant): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="@nullFlavor or (@code='ADMPHYS' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='médecin ayant admis le patient dans la structure de soins') or (@code='ATTPHYS' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='médecin responsable du patient dans la structure de soins') or (@code='DISPHYS' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='médecin ayant décidé la sortie du patient de la structure de soins') or (@code='PRISURG' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='médecin intervenant principal') or (@code='FASST' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='premier assistant lors de l’intervention') or (@code='SASST' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='second assistant lors de l’intervention') or (@code='NASST' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='infirmier(e)') or (@code='ANEST' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='médecin anesthésiste') or (@code='ANRS' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='infirmier(e) anesthésiste') or (@code='MDWF' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='sage-femme') or (@code='PCP' and @codeSystem='2.16.840.1.113883.5.88' and @displayName='médecin traitant') or (@code='CORRE' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='médecin correspondant') or (@code='REMPL' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='médecin remplaçant du médecin traitant') or (@code='GYNEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='gynécologue') or (@code='OPHTA' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='ophtalmologue') or (@code='PSYCH' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='psychiatre ou neuropsychiatre') or (@code='CARDT' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='cardiologue traitant') or (@code='PRELV' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='préleveur d’échantillons biologiques pour l’exécution d’une prescription d’examens biologiques') or (@code='ASPEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='autre spécialiste') or (@code='APSIN' and @codeSystem='1.2.250.1.213.1.1.4.2.280' and @displayName='autre PS informateur')">(CI-SISParticipant): The element value SHALL be one of 'code 'ADMPHYS' codeSystem '2.16.840.1.113883.5.88' displayName='médecin ayant admis le patient dans la structure de soins' or code 'ATTPHYS' codeSystem '2.16.840.1.113883.5.88' displayName='médecin responsable du patient dans la structure de soins' or code 'DISPHYS' codeSystem '2.16.840.1.113883.5.88' displayName='médecin ayant décidé la sortie du patient de la structure de soins' or code 'PRISURG' codeSystem '2.16.840.1.113883.5.88' displayName='médecin intervenant principal' or code 'FASST' codeSystem '2.16.840.1.113883.5.88' displayName='premier assistant lors de l’intervention' or code 'SASST' codeSystem '2.16.840.1.113883.5.88' displayName='second assistant lors de l’intervention' or code 'NASST' codeSystem '2.16.840.1.113883.5.88' displayName='infirmier(e)' or code 'ANEST' codeSystem '2.16.840.1.113883.5.88' displayName='médecin anesthésiste' or code 'ANRS' codeSystem '2.16.840.1.113883.5.88' displayName='infirmier(e) anesthésiste' or code 'MDWF' codeSystem '2.16.840.1.113883.5.88' displayName='sage-femme' or code 'PCP' codeSystem '2.16.840.1.113883.5.88' displayName='médecin traitant' or code 'CORRE' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='médecin correspondant' or code 'REMPL' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='médecin remplaçant du médecin traitant' or code 'GYNEC' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='gynécologue' or code 'OPHTA' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='ophtalmologue' or code 'PSYCH' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='psychiatre ou neuropsychiatre' or code 'CARDT' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='cardiologue traitant' or code 'PRELV' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='préleveur d’échantillons biologiques pour l’exécution d’une prescription d’examens biologiques' or code 'ASPEC' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='autre spécialiste' or code 'APSIN' codeSystem '1.2.250.1.213.1.1.4.2.280' displayName='autre PS informateur''.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:originalText)&lt;=1">(CI-SISParticipant): element hl7:originalText appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:functionCode[(@code='ADMPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ATTPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='DISPHYS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PRISURG' and @codeSystem='2.16.840.1.113883.5.88') or (@code='FASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='SASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='NASST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANEST' and @codeSystem='2.16.840.1.113883.5.88') or (@code='ANRS' and @codeSystem='2.16.840.1.113883.5.88') or (@code='MDWF' and @codeSystem='2.16.840.1.113883.5.88') or (@code='PCP' and @codeSystem='2.16.840.1.113883.5.88') or (@code='CORRE' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='REMPL' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='GYNEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='OPHTA' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PSYCH' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='CARDT' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='PRELV' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='ASPEC' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or (@code='APSIN' and @codeSystem='1.2.250.1.213.1.1.4.2.280') or @nullFlavor]/hl7:originalText" id="d518685e119-false-d518826e0">
[INFO]         <extends rule="ED" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ED' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISParticipant): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ED", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:time" id="d518685e125-false-d518836e0">
[INFO]         <extends rule="IVL_TS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='IVL_TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISParticipant): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:IVL_TS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:low)&lt;=1">(CI-SISParticipant): element hl7:low appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:high)&lt;=1">(CI-SISParticipant): element hl7:high appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:time/hl7:low" id="d518685e129-false-d518860e0">
[INFO]         <extends rule="IVXB_TS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='IVXB_TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISParticipant): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:IVXB_TS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="@value">(CI-SISParticipant): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="not(@value) or matches(string(@value), '^[0-9]{4,14}')">(CI-SISParticipant): Attribute @value SHALL be of data type 'ts'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:time/hl7:high" id="d518685e137-false-d518877e0">
[INFO]         <extends rule="IVXB_TS" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='IVXB_TS' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISParticipant): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:IVXB_TS", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="@value">(CI-SISParticipant): attribute @value SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="not(@value) or matches(string(@value), '^[0-9]{4,14}')">(CI-SISParticipant): Attribute @value SHALL be of data type 'ts'</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]" id="d518685e147-false-d518901e0">
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="@classCode">(CI-SISParticipant): attribute @classCode SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="not(@classCode) or (string-length(@classCode)&gt;0 and not(matches(@classCode,'\s')))">(CI-SISParticipant): Attribute @classCode SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:id[@root='1.2.250.1.71.4.2.1'])&gt;=1">(CI-SISParticipant): element hl7:id[@root='1.2.250.1.71.4.2.1'] is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:id[@root='1.2.250.1.71.4.2.1'])&lt;=1">(CI-SISParticipant): element hl7:id[@root='1.2.250.1.71.4.2.1'] appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.1-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor])&lt;=1">(CI-SISParticipant): element hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.1-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor] appears too often [max 1x].</assert>
[INFO]         <let name="elmcount" value="count(hl7:addr|hl7:addr)" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:associatedPerson)&gt;=1">(CI-SISParticipant): element hl7:associatedPerson is required [min 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="count(hl7:associatedPerson)&lt;=1">(CI-SISParticipant): element hl7:associatedPerson appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:id[@root='1.2.250.1.71.4.2.1']" id="d518685e157-false-d518974e0">
[INFO]         <extends rule="II" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='II' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISParticipant): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:II", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="@extension">(CI-SISParticipant): attribute @extension SHALL be present.</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="not(@extension) or string-length(@extension)&gt;0">(CI-SISParticipant): Attribute @extension SHALL be of data type 'st'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="string(@root)=('1.2.250.1.71.4.2.1')">(CI-SISParticipant): The value for @root SHALL be '1.2.250.1.71.4.2.1'.</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:code[concat(@code,@codeSystem)=doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.1-2018-01-05T000000.xml')//valueSet[1]/conceptList/concept/concat(@code,@codeSystem) or @nullFlavor]" id="d518685e192-false-d518998e0">
[INFO]         <extends rule="CE" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='CE' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISParticipant): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:CE", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <let name="theCode" value="@code" />
[INFO]         <let name="theCodeSystem" value="@codeSystem" />
[INFO]         <let name="theCodeSystemVersion" value="@codeSystemVersion" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.9" test="@nullFlavor or exists(doc('src/test/resources/bin/schematron/asip-ad/ASIP-CSE/include/voc-1.2.250.1.213.1.1.5.1-2018-01-05T000000.xml')//valueSet[1][conceptList/concept[@code = $theCode][@codeSystem = $theCodeSystem][not(@codeSystemVersion) or @codeSystemVersion=$theCodeSystemVersion] or completeCodeSystem[@codeSystem=$theCodeSystem][not(@codeSystemVersion) or @codeSystemVersion=$theCodeSystemVersion]])">(CI-SISParticipant): The element value SHALL be one of '1.2.250.1.213.1.1.5.1 JDV_J01-XdsAuthorSpecialty-CISIS (2018-01-05T00:00:00)'.</assert>
[INFO]     </rule>
[INFO]    
[INFO] 
[INFO] 
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr" id="d518999e75-false-d519018e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@hl7:use) or (string-length(@hl7:use)&gt;0 and not(matches(@hl7:use,'\s')))">(CI-SISAddr): Attribute @hl7:use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:country)&lt;=1">(CI-SISAddr): element hl7:country appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:state)&lt;=1">(CI-SISAddr): element hl7:state appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:city)&lt;=1">(CI-SISAddr): element hl7:city appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postalCode)&lt;=1">(CI-SISAddr): element hl7:postalCode appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumber)&lt;=1">(CI-SISAddr): element hl7:houseNumber appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:houseNumberNumeric)&lt;=1">(CI-SISAddr): element hl7:houseNumberNumeric appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetName)&lt;=1">(CI-SISAddr): element hl7:streetName appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetNameType)&lt;=1">(CI-SISAddr): element hl7:streetNameType appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:additionalLocator)&lt;=1">(CI-SISAddr): element hl7:additionalLocator appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:unitID)&lt;=1">(CI-SISAddr): element hl7:unitID appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:postBox)&lt;=1">(CI-SISAddr): element hl7:postBox appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:precinct)&lt;=1">(CI-SISAddr): element hl7:precinct appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:country" id="d518999e93-false-d519116e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:state" id="d518999e97-false-d519126e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:city" id="d518999e101-false-d519136e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:postalCode" id="d518999e109-false-d519146e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:houseNumber" id="d518999e117-false-d519156e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:houseNumberNumeric" id="d518999e121-false-d519166e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetName" id="d518999e125-false-d519176e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetNameType" id="d518999e129-false-d519186e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:additionalLocator" id="d518999e174-false-d519196e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:unitID" id="d518999e189-false-d519206e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:postBox" id="d518999e199-false-d519216e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:precinct" id="d518999e203-false-d519226e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr" id="d518999e207-false-d519236e0">
[INFO]         <extends rule="AD" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='AD' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:AD", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="not(@use) or (string-length(@use)&gt;0 and not(matches(@use,'\s')))">(CI-SISAddr): Attribute @use SHALL be of data type 'cs'</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="count(hl7:streetAddressLine)&lt;=1">(CI-SISAddr): element hl7:streetAddressLine appears too often [max 1x].</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d518999e225-false-d519292e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d518999e231-false-d519302e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d518999e235-false-d519312e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d518999e239-false-d519322e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d518999e243-false-d519332e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:addr/hl7:streetAddressLine" id="d518999e247-false-d519342e0">
[INFO]         <extends rule="ST" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.18" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISAddr): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:ST", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]     </rule>
[INFO]    
[INFO]     <rule context="//hl7:ClinicalDocument[hl7:templateId[@root='1.2.250.1.213.1.1.1.5.1']]/hl7:participant/hl7:associatedEntity[hl7:id[@root='1.2.250.1.71.4.2.1']]/hl7:telecom" id="d519343e27-false-d519353e0">
[INFO]         <extends rule="TEL" />
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="(local-name-from-QName(resolve-QName(@xsi:type,.))='TEL' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3') or not(@xsi:type)">(CI-SISTelecom): If an @xsi:type instruction is present it SHALL be valued "{urn:hl7-org:v3}:TEL", found "{<value-of select="namespace-uri-from-QName(resolve-QName(@xsi:type,.))" />}:<value-of select="local-name-from-QName(resolve-QName(@xsi:type,.))" />"</assert>
[INFO]         <assert role="error" see="https://poc-art-decor.kereval.com/art-decor/decor-templates--ASIP-CSE-?id=1.2.250.1.213.1.1.1.1.10.19" test="not(@use) or (string-length(@